+ cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_802_1x_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_802_1x_nm.yml ************************************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_802_1x_nm.yml PLAY [Run playbook 'playbooks/tests_802_1x.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_802_1x_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_802_1x_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_802_1x_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [INIT: 802.1x tests] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:7 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:10 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802.1x.yml for /cache/fedora-33.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802.1x.yml:1 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802_1x_server.yml for /cache/fedora-33.qcow2 TASK [Install hostapd] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802_1x_server.yml:3 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: hostapd-2.9-5.fc33.x86_64"]} TASK [Create directory for test certificates] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802_1x_server.yml:8 changed: [/cache/fedora-33.qcow2] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pki/tls/hostapd_test", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 4096, "state": "directory", "uid": 0} TASK [Copy server certificates] ************************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802_1x_server.yml:13 changed: [/cache/fedora-33.qcow2] => (item=server.key) => {"ansible_loop_var": "item", "changed": true, "checksum": "cdb9dc915fdc71f7fd22ad887def7ecffab6cb6e", "dest": "/etc/pki/tls/hostapd_test/server.key", "gid": 0, "group": "root", "item": "server.key", "md5sum": "cd4f4d7098e86ee9d0e88e61f0c44ec4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1782, "src": "/root/.ansible/tmp/ansible-tmp-1636397415.5571387-49650-273123031850949/source", "state": "file", "uid": 0} changed: [/cache/fedora-33.qcow2] => (item=dh.pem) => {"ansible_loop_var": "item", "changed": true, "checksum": "bf0f85791e75de8be4c2d350f275a2ba11387409", "dest": "/etc/pki/tls/hostapd_test/dh.pem", "gid": 0, "group": "root", "item": "dh.pem", "md5sum": "4113e34f62361150e6900c737183327e", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 424, "src": "/root/.ansible/tmp/ansible-tmp-1636397416.37613-49650-221131327859367/source", "state": "file", "uid": 0} changed: [/cache/fedora-33.qcow2] => (item=server.pem) => {"ansible_loop_var": "item", "changed": true, "checksum": "8e23f3b43e1d5346659d6e46a7415d5da14128a0", "dest": "/etc/pki/tls/hostapd_test/server.pem", "gid": 0, "group": "root", "item": "server.pem", "md5sum": "7b57077d9e9aea06a4e2dd4ca1f4be7d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1334, "src": "/root/.ansible/tmp/ansible-tmp-1636397416.9456866-49650-195219307294824/source", "state": "file", "uid": 0} changed: [/cache/fedora-33.qcow2] => (item=cacert.pem) => {"ansible_loop_var": "item", "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/hostapd_test/cacert.pem", "gid": 0, "group": "root", "item": "cacert.pem", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1636397417.6018984-49650-50735802757821/source", "state": "file", "uid": 0} TASK [Create test interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802_1x_server.yml:24 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "ip link add veth1 type veth peer name veth1-br\nip link add veth2 type veth peer name veth2-br\n\nip link add br1 type bridge\nip link set br1 up\n\nip netns add ns1\n\nip link set veth1 netns ns1\n\nip netns exec ns1 ip addr add 203.0.113.1/24 dev veth1\n\nip link set veth1-br up\nip link set veth2-br up\n\nip link set veth1-br master br1\nip link set veth2-br master br1\n\nip netns exec ns1 ip link set veth1 up\nip link set veth2 up\n\n# Enable forwarding of EAP 802.1x messages through software bridge \"br1\".\necho 8 > /sys/class/net/br1/bridge/group_fwd_mask\n", "delta": "0:00:00.091715", "end": "2021-11-08 18:50:18.649004", "rc": 0, "start": "2021-11-08 18:50:18.557289", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create hostapd config] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802_1x_server.yml:51 changed: [/cache/fedora-33.qcow2] => {"changed": true, "checksum": "63d57fa1df50be4e935d3ebaf25081e64c6f3cce", "dest": "/etc/hostapd/wired.conf", "gid": 0, "group": "root", "md5sum": "925e7b62de46d20b695d58823d8e706b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 397, "src": "/root/.ansible/tmp/ansible-tmp-1636397418.7389998-49769-225045502650390/source", "state": "file", "uid": 0} TASK [Create eap_user_file config] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802_1x_server.yml:72 changed: [/cache/fedora-33.qcow2] => {"changed": true, "checksum": "efe2ba91d712f9e07f9ad035796dc766d91b1f4e", "dest": "/etc/hostapd/hostapd.eap_user", "gid": 0, "group": "root", "md5sum": "51fa368b94ad6544dbd0ac27754ed092", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 6, "src": "/root/.ansible/tmp/ansible-tmp-1636397419.3393571-49797-5214290166393/source", "state": "file", "uid": 0} TASK [Run hostapd in namespace] ************************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802_1x_server.yml:79 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "ip netns exec ns1 hostapd -B /etc/hostapd/wired.conf && sleep 5", "delta": "0:00:05.033467", "end": "2021-11-08 18:50:25.189591", "rc": 0, "start": "2021-11-08 18:50:20.156124", "stderr": "", "stderr_lines": [], "stdout": "Configuration file: /etc/hostapd/wired.conf\nUsing interface veth1 with hwaddr 82:fc:83:94:d4:c6 and ssid \"\"\nveth1: interface state UNINITIALIZED->ENABLED\nveth1: AP-ENABLED ", "stdout_lines": ["Configuration file: /etc/hostapd/wired.conf", "Using interface veth1 with hwaddr 82:fc:83:94:d4:c6 and ssid \"\"", "veth1: interface state UNINITIALIZED->ENABLED", "veth1: AP-ENABLED "]} TASK [Copy client certs] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802.1x.yml:2 changed: [/cache/fedora-33.qcow2] => (item=client.key) => {"ansible_loop_var": "item", "changed": true, "checksum": "4e613674a093ce2b6f3f7838c417ae52497298d9", "dest": "/etc/pki/tls/client.key", "gid": 0, "group": "root", "item": "client.key", "md5sum": "04ac780ee7f45b957931ef5904ff1db3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1782, "src": "/root/.ansible/tmp/ansible-tmp-1636397425.2791367-49843-172106818818533/source", "state": "file", "uid": 0} changed: [/cache/fedora-33.qcow2] => (item=client.key.nocrypt) => {"ansible_loop_var": "item", "changed": true, "checksum": "da377753604d62ad8a5da4b67cd4e98e9a66433b", "dest": "/etc/pki/tls/client.key.nocrypt", "gid": 0, "group": "root", "item": "client.key.nocrypt", "md5sum": "cd7792b2fbafd1669e6d5e519cbdb6c6", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1675, "src": "/root/.ansible/tmp/ansible-tmp-1636397425.8425999-49843-17194272140244/source", "state": "file", "uid": 0} changed: [/cache/fedora-33.qcow2] => (item=client.pem) => {"ansible_loop_var": "item", "changed": true, "checksum": "f872445a88ad99f43f281c911af2329b323c43b1", "dest": "/etc/pki/tls/client.pem", "gid": 0, "group": "root", "item": "client.pem", "md5sum": "2ee1d9c042ecfad6cb2240c0a310b993", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1334, "src": "/root/.ansible/tmp/ansible-tmp-1636397426.4141877-49843-56533841663819/source", "state": "file", "uid": 0} changed: [/cache/fedora-33.qcow2] => (item=cacert.pem) => {"ansible_loop_var": "item", "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/cacert.pem", "gid": 0, "group": "root", "item": "cacert.pem", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1636397426.997414-49843-261489764177522/source", "state": "file", "uid": 0} TASK [TEST: 802.1x profile with private key password and ca cert] ************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:12 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: wpa_supplicant-1:2.9-8.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 changed: [/cache/fedora-33.qcow2] => {"changed": true, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice dbus-broker.service sysinit.target basic.target systemd-journald.socket dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7732", "LimitNPROCSoft": "7732", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7732", "LimitSIGPENDINGSoft": "7732", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootHashSignature": "", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity"}} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ieee802_1x": {"ca_cert": "/etc/pki/tls/cacert.pem", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key", "private_key_password": "test", "private_key_password_flags": ["none"]}, "interface_name": "veth2", "ip": {"address": ["203.0.113.2/24"], "auto6": "no", "dhcp4": "no"}, "name": "802-1x-test", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 0ebdc2e9-4c38-4cfd-989e-c08ec1599463\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 0ebdc2e9-4c38-4cfd-989e-c08ec1599463 (not-active)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 0ebdc2e9-4c38-4cfd-989e-c08ec1599463", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 0ebdc2e9-4c38-4cfd-989e-c08ec1599463 (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 0ebdc2e9-4c38-4cfd-989e-c08ec1599463", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 0ebdc2e9-4c38-4cfd-989e-c08ec1599463 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ieee802_1x": { "ca_cert": "/etc/pki/tls/cacert.pem", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key", "private_key_password": "test", "private_key_password_flags": [ "none" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 0ebdc2e9-4c38-4cfd-989e-c08ec1599463\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 0ebdc2e9-4c38-4cfd-989e-c08ec1599463 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 0ebdc2e9-4c38-4cfd-989e-c08ec1599463", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 0ebdc2e9-4c38-4cfd-989e-c08ec1599463 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:38 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ping", "-c1", "203.0.113.1"], "delta": "0:00:00.005269", "end": "2021-11-08 18:50:38.319602", "rc": 0, "start": "2021-11-08 18:50:38.314333", "stderr": "", "stderr_lines": [], "stdout": "PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data.\n64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.054 ms\n\n--- 203.0.113.1 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.054/0.054/0.054/0.000 ms", "stdout_lines": ["PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data.", "64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.054 ms", "", "--- 203.0.113.1 ping statistics ---", "1 packets transmitted, 1 received, 0% packet loss, time 0ms", "rtt min/avg/max/mdev = 0.054/0.054/0.054/0.000 ms"]} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "802-1x-test", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [TEST: 802.1x profile with unencrypted private key, domain suffix match, and system ca certs] *** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:48 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [Copy cacert to system truststore] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:53 changed: [/cache/fedora-33.qcow2] => {"changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/ca-trust/source/anchors/cacert.pem", "gid": 0, "group": "root", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1636397442.322064-50186-265392102919486/source", "state": "file", "uid": 0} TASK [Update ca trust] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:58 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["update-ca-trust"], "delta": "0:00:00.228923", "end": "2021-11-08 18:50:43.406369", "rc": 0, "start": "2021-11-08 18:50:43.177446", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 ok: [/cache/fedora-33.qcow2] => {"changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": {"ActiveEnterTimestamp": "Mon 2021-11-08 18:50:34 UTC", "ActiveEnterTimestampMonotonic": "70808126", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice basic.target dbus.socket systemd-journald.socket dbus-broker.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2021-11-08 18:50:34 UTC", "AssertTimestampMonotonic": "70803049", "Before": "shutdown.target multi-user.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "11389000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2021-11-08 18:50:34 UTC", "ConditionTimestampMonotonic": "70803048", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9384", "ExecMainStartTimestamp": "Mon 2021-11-08 18:50:34 UTC", "ExecMainStartTimestampMonotonic": "70804046", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Mon 2021-11-08 18:50:34 UTC] ; stop_time=[n/a] ; pid=9384 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[Mon 2021-11-08 18:50:34 UTC] ; stop_time=[n/a] ; pid=9384 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2021-11-08 18:50:34 UTC", "InactiveExitTimestampMonotonic": "70804351", "InvocationID": "a9c4a127c37b47c8aa310c74fe483077", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7732", "LimitNPROCSoft": "7732", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7732", "LimitSIGPENDINGSoft": "7732", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9384", "MemoryAccounting": "yes", "MemoryCurrent": "1159168", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootHashSignature": "", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2021-11-08 18:50:34 UTC", "StateChangeTimestampMonotonic": "70808126", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ieee802_1x": {"client_cert": "/etc/pki/tls/client.pem", "domain_suffix_match": "example.com", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": ["not-required"], "system_ca_certs": true}, "interface_name": "veth2", "ip": {"address": ["203.0.113.2/24"], "auto6": "no", "dhcp4": "no"}, "name": "802-1x-test", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 18d23234-561d-43db-81ef-12d005b615a3\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 18d23234-561d-43db-81ef-12d005b615a3 (is-modified)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 18d23234-561d-43db-81ef-12d005b615a3", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 18d23234-561d-43db-81ef-12d005b615a3 (is-modified)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 18d23234-561d-43db-81ef-12d005b615a3", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 18d23234-561d-43db-81ef-12d005b615a3 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ieee802_1x": { "client_cert": "/etc/pki/tls/client.pem", "domain_suffix_match": "example.com", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ], "system_ca_certs": true }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 18d23234-561d-43db-81ef-12d005b615a3\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 18d23234-561d-43db-81ef-12d005b615a3 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 18d23234-561d-43db-81ef-12d005b615a3", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 18d23234-561d-43db-81ef-12d005b615a3 (is-modified)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:83 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ping", "-c1", "203.0.113.1"], "delta": "0:00:00.003597", "end": "2021-11-08 18:50:50.085310", "rc": 0, "start": "2021-11-08 18:50:50.081713", "stderr": "", "stderr_lines": [], "stdout": "PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data.\n64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.062 ms\n\n--- 203.0.113.1 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.062/0.062/0.062/0.000 ms", "stdout_lines": ["PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data.", "64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.062 ms", "", "--- 203.0.113.1 ping statistics ---", "1 packets transmitted, 1 received, 0% packet loss, time 0ms", "rtt min/avg/max/mdev = 0.062/0.062/0.062/0.000 ms"]} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "802-1x-test", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:94 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml for /cache/fedora-33.qcow2 TASK [TEST: 802.1x profile with unencrypted private key and ca_path] *********** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:2 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [Set __NM_capath_ignored_NVRs] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:6 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"__NM_capath_ignored_NVRs": ["NetworkManager-1.18.0-5.el7.x86_64", "NetworkManager-1.18.4-3.el7.x86_64", "NetworkManager-1.20.0-3.el8.x86_64", "NetworkManager-1.22.8-4.el8.x86_64", "NetworkManager-1.20.4-1.fc31.x86_64", "NetworkManager-1.22.10-1.fc32.x86_64", "NetworkManager-1.22.12-1.fc32.x86_64"]}, "changed": false} TASK [Create directory for ca_path test] *************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:22 changed: [/cache/fedora-33.qcow2] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pki/tls/my_ca_certs", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 4096, "state": "directory", "uid": 0} TASK [Copy cacert to ca_path] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:27 changed: [/cache/fedora-33.qcow2] => {"changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/my_ca_certs/cacert.pem", "gid": 0, "group": "root", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1636397454.5015926-50474-112131463001884/source", "state": "file", "uid": 0} TASK [Install openssl (test dependency)] *************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:32 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: openssl-1:1.1.1l-2.fc33.x86_64"]} TASK [Hash cacert] ************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:36 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["openssl", "x509", "-hash", "-noout", "-in", "/etc/pki/tls/my_ca_certs/cacert.pem"], "delta": "0:00:00.010070", "end": "2021-11-08 18:50:58.310955", "rc": 0, "start": "2021-11-08 18:50:58.300885", "stderr": "", "stderr_lines": [], "stdout": "d1b7d027", "stdout_lines": ["d1b7d027"]} TASK [Add symlink for cacert] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:41 changed: [/cache/fedora-33.qcow2] => {"changed": true, "dest": "/etc/pki/tls/my_ca_certs/d1b7d027.0", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 10, "src": "cacert.pem", "state": "link", "uid": 0} TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:46 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["rpm", "-qa", "NetworkManager"], "delta": "0:00:00.111086", "end": "2021-11-08 18:50:59.084195", "rc": 0, "start": "2021-11-08 18:50:58.973109", "stderr": "", "stderr_lines": [], "stdout": "NetworkManager-1.26.8-1.fc33.x86_64", "stdout_lines": ["NetworkManager-1.26.8-1.fc33.x86_64"]} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 ok: [/cache/fedora-33.qcow2] => {"changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": {"ActiveEnterTimestamp": "Mon 2021-11-08 18:50:34 UTC", "ActiveEnterTimestampMonotonic": "70808126", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice basic.target dbus.socket systemd-journald.socket dbus-broker.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2021-11-08 18:50:34 UTC", "AssertTimestampMonotonic": "70803049", "Before": "shutdown.target multi-user.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "24015000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2021-11-08 18:50:34 UTC", "ConditionTimestampMonotonic": "70803048", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9384", "ExecMainStartTimestamp": "Mon 2021-11-08 18:50:34 UTC", "ExecMainStartTimestampMonotonic": "70804046", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Mon 2021-11-08 18:50:34 UTC] ; stop_time=[n/a] ; pid=9384 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[Mon 2021-11-08 18:50:34 UTC] ; stop_time=[n/a] ; pid=9384 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2021-11-08 18:50:34 UTC", "InactiveExitTimestampMonotonic": "70804351", "InvocationID": "a9c4a127c37b47c8aa310c74fe483077", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7732", "LimitNPROCSoft": "7732", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7732", "LimitSIGPENDINGSoft": "7732", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9384", "MemoryAccounting": "yes", "MemoryCurrent": "1892352", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootHashSignature": "", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2021-11-08 18:50:34 UTC", "StateChangeTimestampMonotonic": "70808126", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ieee802_1x": {"ca_path": "/etc/pki/tls/my_ca_certs", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost_capath", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": ["not-required"]}, "interface_name": "veth2", "ip": {"address": ["203.0.113.2/24"], "auto6": "no", "dhcp4": "no"}, "name": "802-1x-test", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 3157f1c4-aa3d-48dd-8328-5383a74e5944\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 3157f1c4-aa3d-48dd-8328-5383a74e5944 (is-modified)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 3157f1c4-aa3d-48dd-8328-5383a74e5944", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 3157f1c4-aa3d-48dd-8328-5383a74e5944 (is-modified)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 3157f1c4-aa3d-48dd-8328-5383a74e5944", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 3157f1c4-aa3d-48dd-8328-5383a74e5944 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ieee802_1x": { "ca_path": "/etc/pki/tls/my_ca_certs", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost_capath", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 3157f1c4-aa3d-48dd-8328-5383a74e5944\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 3157f1c4-aa3d-48dd-8328-5383a74e5944 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 3157f1c4-aa3d-48dd-8328-5383a74e5944", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 3157f1c4-aa3d-48dd-8328-5383a74e5944 (is-modified)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:75 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ping", "-c1", "203.0.113.1"], "delta": "0:00:00.004239", "end": "2021-11-08 18:51:05.732934", "rc": 0, "start": "2021-11-08 18:51:05.728695", "stderr": "", "stderr_lines": [], "stdout": "PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data.\n64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.071 ms\n\n--- 203.0.113.1 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.071/0.071/0.071/0.000 ms", "stdout_lines": ["PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data.", "64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.071 ms", "", "--- 203.0.113.1 ping statistics ---", "1 packets transmitted, 1 received, 0% packet loss, time 0ms", "rtt min/avg/max/mdev = 0.071/0.071/0.071/0.000 ms"]} TASK [trigger failure in case the role did not fail] *************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:77 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "msg": "after test"} TASK [Show failed item] ******************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:81 ok: [/cache/fedora-33.qcow2] => (item=ansible_failed_result) => { "ansible_failed_result": { "changed": false, "failed": true, "msg": "after test" }, "ansible_loop_var": "item", "item": "ansible_failed_result" } ok: [/cache/fedora-33.qcow2] => (item=ansible_failed_task) => { "ansible_failed_task": { "action": "fail", "any_errors_fatal": false, "args": { "msg": "after test" }, "async": 0, "async_val": 0, "become": false, "become_exe": null, "become_flags": null, "become_method": "sudo", "become_user": null, "changed_when": [], "check_mode": false, "collections": [], "connection": "smart", "debugger": null, "delay": 5, "delegate_facts": null, "delegate_to": null, "diff": false, "environment": [ {} ], "failed_when": [], "finalized": true, "ignore_errors": null, "ignore_unreachable": null, "loop": null, "loop_control": null, "loop_with": null, "module_defaults": [], "name": "trigger failure in case the role did not fail", "no_log": null, "notify": null, "poll": 15, "port": null, "register": null, "remote_user": null, "retries": 3, "run_once": null, "squashed": true, "tags": [], "throttle": 0, "until": [], "uuid": "0a58ac36-1723-7adb-30fc-00000000025e", "vars": {}, "when": [ "ansible_distribution_major_version != '6'", "ansible_distribution != 'RedHat' or ansible_distribution_major_version | int < 9" ] }, "ansible_loop_var": "item", "item": "ansible_failed_task" } ok: [/cache/fedora-33.qcow2] => (item=__network_NM_NVR.stdout) => { "__network_NM_NVR.stdout": "NetworkManager-1.26.8-1.fc33.x86_64", "ansible_loop_var": "item", "item": "__network_NM_NVR.stdout" } ok: [/cache/fedora-33.qcow2] => (item=__NM_capath_ignored_NVRs) => { "__NM_capath_ignored_NVRs": [ "NetworkManager-1.18.0-5.el7.x86_64", "NetworkManager-1.18.4-3.el7.x86_64", "NetworkManager-1.20.0-3.el8.x86_64", "NetworkManager-1.22.8-4.el8.x86_64", "NetworkManager-1.20.4-1.fc31.x86_64", "NetworkManager-1.22.10-1.fc32.x86_64", "NetworkManager-1.22.12-1.fc32.x86_64" ], "ansible_loop_var": "item", "item": "__NM_capath_ignored_NVRs" } TASK [Assert role behavior] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:91 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Assert role failure] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:101 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Assert ping succeeded] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:110 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "802-1x-test", "persistent_state": "absent", "state": "down"}, {"name": "br1", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" }, { "name": "br1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:108 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_802_1x_server.yml for /cache/fedora-33.qcow2 TASK [Remove test interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_802_1x_server.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "ip netns delete ns1\nip link delete veth1-br\nip link delete veth2-br\nip link delete br1\n", "delta": "0:00:00.072475", "end": "2021-11-08 18:51:10.247548", "rc": 0, "start": "2021-11-08 18:51:10.175073", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Kill hostapd process] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_802_1x_server.yml:11 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["pkill", "hostapd"], "delta": "0:00:00.053101", "end": "2021-11-08 18:51:10.630257", "rc": 0, "start": "2021-11-08 18:51:10.577156", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Remove certs and config] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 changed: [/cache/fedora-33.qcow2] => (item=/etc/pki/tls/hostapd_test) => {"ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/hostapd_test", "path": "/etc/pki/tls/hostapd_test", "state": "absent"} changed: [/cache/fedora-33.qcow2] => (item=/etc/hostapd/wired.conf) => {"ansible_loop_var": "item", "changed": true, "item": "/etc/hostapd/wired.conf", "path": "/etc/hostapd/wired.conf", "state": "absent"} changed: [/cache/fedora-33.qcow2] => (item=/etc/hostapd/hostapd.eap_user) => {"ansible_loop_var": "item", "changed": true, "item": "/etc/hostapd/hostapd.eap_user", "path": "/etc/hostapd/hostapd.eap_user", "state": "absent"} TASK [Remove test certificates] ************************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:109 changed: [/cache/fedora-33.qcow2] => (item=client.key) => {"ansible_loop_var": "item", "changed": true, "item": "client.key", "path": "/etc/pki/tls/client.key", "state": "absent"} changed: [/cache/fedora-33.qcow2] => (item=client.key.nocrypt) => {"ansible_loop_var": "item", "changed": true, "item": "client.key.nocrypt", "path": "/etc/pki/tls/client.key.nocrypt", "state": "absent"} changed: [/cache/fedora-33.qcow2] => (item=client.pem) => {"ansible_loop_var": "item", "changed": true, "item": "client.pem", "path": "/etc/pki/tls/client.pem", "state": "absent"} changed: [/cache/fedora-33.qcow2] => (item=cacert.pem) => {"ansible_loop_var": "item", "changed": true, "item": "cacert.pem", "path": "/etc/pki/tls/cacert.pem", "state": "absent"} TASK [Remove test CA] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:118 changed: [/cache/fedora-33.qcow2] => (item=/etc/pki/tls/my_ca_certs) => {"ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/my_ca_certs", "path": "/etc/pki/tls/my_ca_certs", "state": "absent"} changed: [/cache/fedora-33.qcow2] => (item=/etc/pki/ca-trust/source/anchors/cacert.pem) => {"ansible_loop_var": "item", "changed": true, "item": "/etc/pki/ca-trust/source/anchors/cacert.pem", "path": "/etc/pki/ca-trust/source/anchors/cacert.pem", "state": "absent"} TASK [Update ca trust] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:125 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["update-ca-trust"], "delta": "0:00:00.225758", "end": "2021-11-08 18:51:14.137613", "rc": 0, "start": "2021-11-08 18:51:13.911855", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=95 changed=27 unreachable=0 failed=0 skipped=33 rescued=1 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_802_1x_updated_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_802_1x_updated_nm.yml ****************************************** 3 plays in /tmp/tmpmd5a3eg6/tests/tests_802_1x_updated_nm.yml PLAY [Run playbook 'playbooks/tests_802_1x_updated.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_802_1x_updated_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_802_1x_updated_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_802_1x_updated_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x_updated.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Update NetworkManager] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x_updated.yml:5 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Restart NetworkManager] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x_updated.yml:9 changed: [/cache/fedora-33.qcow2] => {"changed": true, "name": "NetworkManager", "state": "started", "status": {"ActiveEnterTimestamp": "Mon 2021-11-08 18:51:21 UTC", "ActiveEnterTimestampMonotonic": "4172202", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket systemd-journald.socket network-pre.target dbus-broker.service system.slice cloud-init-local.service basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2021-11-08 18:51:20 UTC", "AssertTimestampMonotonic": "4127193", "Before": "shutdown.target network.service NetworkManager-wait-online.service cloud-init.service network.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "yes", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "61698000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_dac_override cap_kill cap_setgid cap_setuid cap_net_bind_service cap_net_admin cap_net_raw cap_sys_module cap_sys_chroot cap_audit_write", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2021-11-08 18:51:20 UTC", "ConditionTimestampMonotonic": "4127192", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "\"man:NetworkManager(8)\"", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "641", "ExecMainStartTimestamp": "Mon 2021-11-08 18:51:20 UTC", "ExecMainStartTimestampMonotonic": "4128343", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/busctl ; argv[]=/usr/bin/busctl call org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager Reload u 0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/busctl ; argv[]=/usr/bin/busctl call org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager Reload u 0 ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[Mon 2021-11-08 18:51:20 UTC] ; stop_time=[n/a] ; pid=641 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; flags= ; start_time=[Mon 2021-11-08 18:51:20 UTC] ; stop_time=[n/a] ; pid=641 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2021-11-08 18:51:20 UTC", "InactiveExitTimestampMonotonic": "4128544", "InvocationID": "6bc921bc02bc42da9f24f89261b59f84", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7732", "LimitNPROCSoft": "7732", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7732", "LimitSIGPENDINGSoft": "7732", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "641", "MemoryAccounting": "yes", "MemoryCurrent": "10457088", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "read-only", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "on-failure", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootHashSignature": "", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2021-11-08 18:51:21 UTC", "StateChangeTimestampMonotonic": "4172202", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [INIT: 802.1x tests] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:7 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:10 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802.1x.yml for /cache/fedora-33.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802.1x.yml:1 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802_1x_server.yml for /cache/fedora-33.qcow2 TASK [Install hostapd] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802_1x_server.yml:3 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: hostapd-2.9-5.fc33.x86_64"]} TASK [Create directory for test certificates] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802_1x_server.yml:8 changed: [/cache/fedora-33.qcow2] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pki/tls/hostapd_test", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 4096, "state": "directory", "uid": 0} TASK [Copy server certificates] ************************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802_1x_server.yml:13 changed: [/cache/fedora-33.qcow2] => (item=server.key) => {"ansible_loop_var": "item", "changed": true, "checksum": "cdb9dc915fdc71f7fd22ad887def7ecffab6cb6e", "dest": "/etc/pki/tls/hostapd_test/server.key", "gid": 0, "group": "root", "item": "server.key", "md5sum": "cd4f4d7098e86ee9d0e88e61f0c44ec4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1782, "src": "/root/.ansible/tmp/ansible-tmp-1636397534.2154703-51182-83343014102408/source", "state": "file", "uid": 0} changed: [/cache/fedora-33.qcow2] => (item=dh.pem) => {"ansible_loop_var": "item", "changed": true, "checksum": "bf0f85791e75de8be4c2d350f275a2ba11387409", "dest": "/etc/pki/tls/hostapd_test/dh.pem", "gid": 0, "group": "root", "item": "dh.pem", "md5sum": "4113e34f62361150e6900c737183327e", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 424, "src": "/root/.ansible/tmp/ansible-tmp-1636397535.102742-51182-232766711988438/source", "state": "file", "uid": 0} changed: [/cache/fedora-33.qcow2] => (item=server.pem) => {"ansible_loop_var": "item", "changed": true, "checksum": "8e23f3b43e1d5346659d6e46a7415d5da14128a0", "dest": "/etc/pki/tls/hostapd_test/server.pem", "gid": 0, "group": "root", "item": "server.pem", "md5sum": "7b57077d9e9aea06a4e2dd4ca1f4be7d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1334, "src": "/root/.ansible/tmp/ansible-tmp-1636397535.7155433-51182-228055706268836/source", "state": "file", "uid": 0} changed: [/cache/fedora-33.qcow2] => (item=cacert.pem) => {"ansible_loop_var": "item", "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/hostapd_test/cacert.pem", "gid": 0, "group": "root", "item": "cacert.pem", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1636397536.3350227-51182-131176788695242/source", "state": "file", "uid": 0} TASK [Create test interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802_1x_server.yml:24 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "ip link add veth1 type veth peer name veth1-br\nip link add veth2 type veth peer name veth2-br\n\nip link add br1 type bridge\nip link set br1 up\n\nip netns add ns1\n\nip link set veth1 netns ns1\n\nip netns exec ns1 ip addr add 203.0.113.1/24 dev veth1\n\nip link set veth1-br up\nip link set veth2-br up\n\nip link set veth1-br master br1\nip link set veth2-br master br1\n\nip netns exec ns1 ip link set veth1 up\nip link set veth2 up\n\n# Enable forwarding of EAP 802.1x messages through software bridge \"br1\".\necho 8 > /sys/class/net/br1/bridge/group_fwd_mask\n", "delta": "0:00:00.090636", "end": "2021-11-08 18:52:16.889915", "rc": 0, "start": "2021-11-08 18:52:16.799279", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create hostapd config] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802_1x_server.yml:51 changed: [/cache/fedora-33.qcow2] => {"changed": true, "checksum": "63d57fa1df50be4e935d3ebaf25081e64c6f3cce", "dest": "/etc/hostapd/wired.conf", "gid": 0, "group": "root", "md5sum": "925e7b62de46d20b695d58823d8e706b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 397, "src": "/root/.ansible/tmp/ansible-tmp-1636397537.5309563-51301-213145165119010/source", "state": "file", "uid": 0} TASK [Create eap_user_file config] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802_1x_server.yml:72 changed: [/cache/fedora-33.qcow2] => {"changed": true, "checksum": "efe2ba91d712f9e07f9ad035796dc766d91b1f4e", "dest": "/etc/hostapd/hostapd.eap_user", "gid": 0, "group": "root", "md5sum": "51fa368b94ad6544dbd0ac27754ed092", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 6, "src": "/root/.ansible/tmp/ansible-tmp-1636397538.1572642-51329-274607575601475/source", "state": "file", "uid": 0} TASK [Run hostapd in namespace] ************************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802_1x_server.yml:79 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "ip netns exec ns1 hostapd -B /etc/hostapd/wired.conf && sleep 5", "delta": "0:00:05.034223", "end": "2021-11-08 18:52:23.528791", "rc": 0, "start": "2021-11-08 18:52:18.494568", "stderr": "", "stderr_lines": [], "stdout": "Configuration file: /etc/hostapd/wired.conf\nUsing interface veth1 with hwaddr ae:d2:22:ef:e4:68 and ssid \"\"\nveth1: interface state UNINITIALIZED->ENABLED\nveth1: AP-ENABLED ", "stdout_lines": ["Configuration file: /etc/hostapd/wired.conf", "Using interface veth1 with hwaddr ae:d2:22:ef:e4:68 and ssid \"\"", "veth1: interface state UNINITIALIZED->ENABLED", "veth1: AP-ENABLED "]} TASK [Copy client certs] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_802.1x.yml:2 changed: [/cache/fedora-33.qcow2] => (item=client.key) => {"ansible_loop_var": "item", "changed": true, "checksum": "4e613674a093ce2b6f3f7838c417ae52497298d9", "dest": "/etc/pki/tls/client.key", "gid": 0, "group": "root", "item": "client.key", "md5sum": "04ac780ee7f45b957931ef5904ff1db3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1782, "src": "/root/.ansible/tmp/ansible-tmp-1636397544.168487-51373-278154267500667/source", "state": "file", "uid": 0} changed: [/cache/fedora-33.qcow2] => (item=client.key.nocrypt) => {"ansible_loop_var": "item", "changed": true, "checksum": "da377753604d62ad8a5da4b67cd4e98e9a66433b", "dest": "/etc/pki/tls/client.key.nocrypt", "gid": 0, "group": "root", "item": "client.key.nocrypt", "md5sum": "cd7792b2fbafd1669e6d5e519cbdb6c6", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1675, "src": "/root/.ansible/tmp/ansible-tmp-1636397544.7899282-51373-8460704739219/source", "state": "file", "uid": 0} changed: [/cache/fedora-33.qcow2] => (item=client.pem) => {"ansible_loop_var": "item", "changed": true, "checksum": "f872445a88ad99f43f281c911af2329b323c43b1", "dest": "/etc/pki/tls/client.pem", "gid": 0, "group": "root", "item": "client.pem", "md5sum": "2ee1d9c042ecfad6cb2240c0a310b993", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1334, "src": "/root/.ansible/tmp/ansible-tmp-1636397545.4381607-51373-122606034548437/source", "state": "file", "uid": 0} changed: [/cache/fedora-33.qcow2] => (item=cacert.pem) => {"ansible_loop_var": "item", "changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/cacert.pem", "gid": 0, "group": "root", "item": "cacert.pem", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1636397546.0642273-51373-212440404975670/source", "state": "file", "uid": 0} TASK [TEST: 802.1x profile with private key password and ca cert] ************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:12 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: wpa_supplicant-1:2.9-8.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 changed: [/cache/fedora-33.qcow2] => {"changed": true, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.socket systemd-journald.socket dbus-broker.service basic.target sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7732", "LimitNPROCSoft": "7732", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7732", "LimitSIGPENDINGSoft": "7732", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootHashSignature": "", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity"}} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ieee802_1x": {"ca_cert": "/etc/pki/tls/cacert.pem", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key", "private_key_password": "test", "private_key_password_flags": ["none"]}, "interface_name": "veth2", "ip": {"address": ["203.0.113.2/24"], "auto6": "no", "dhcp4": "no"}, "name": "802-1x-test", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 90071251-8662-4cb7-9080-4d588ceb7885\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 90071251-8662-4cb7-9080-4d588ceb7885 (not-active)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 90071251-8662-4cb7-9080-4d588ceb7885", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 90071251-8662-4cb7-9080-4d588ceb7885 (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 90071251-8662-4cb7-9080-4d588ceb7885", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 90071251-8662-4cb7-9080-4d588ceb7885 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ieee802_1x": { "ca_cert": "/etc/pki/tls/cacert.pem", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key", "private_key_password": "test", "private_key_password_flags": [ "none" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 90071251-8662-4cb7-9080-4d588ceb7885\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 90071251-8662-4cb7-9080-4d588ceb7885 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 90071251-8662-4cb7-9080-4d588ceb7885", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 90071251-8662-4cb7-9080-4d588ceb7885 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:38 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ping", "-c1", "203.0.113.1"], "delta": "0:00:00.007055", "end": "2021-11-08 18:52:37.142227", "rc": 0, "start": "2021-11-08 18:52:37.135172", "stderr": "", "stderr_lines": [], "stdout": "PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data.\n64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.092 ms\n\n--- 203.0.113.1 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.092/0.092/0.092/0.000 ms", "stdout_lines": ["PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data.", "64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.092 ms", "", "--- 203.0.113.1 ping statistics ---", "1 packets transmitted, 1 received, 0% packet loss, time 0ms", "rtt min/avg/max/mdev = 0.092/0.092/0.092/0.000 ms"]} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "802-1x-test", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [TEST: 802.1x profile with unencrypted private key, domain suffix match, and system ca certs] *** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:48 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [Copy cacert to system truststore] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:53 changed: [/cache/fedora-33.qcow2] => {"changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/ca-trust/source/anchors/cacert.pem", "gid": 0, "group": "root", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1636397561.8450797-51721-275032098527700/source", "state": "file", "uid": 0} TASK [Update ca trust] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:58 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["update-ca-trust"], "delta": "0:00:00.251315", "end": "2021-11-08 18:52:42.463200", "rc": 0, "start": "2021-11-08 18:52:42.211885", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 ok: [/cache/fedora-33.qcow2] => {"changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": {"ActiveEnterTimestamp": "Mon 2021-11-08 18:52:33 UTC", "ActiveEnterTimestampMonotonic": "76565696", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target dbus.socket dbus-broker.service basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2021-11-08 18:52:33 UTC", "AssertTimestampMonotonic": "76559227", "Before": "multi-user.target shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "13069000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2021-11-08 18:52:33 UTC", "ConditionTimestampMonotonic": "76559225", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9670", "ExecMainStartTimestamp": "Mon 2021-11-08 18:52:33 UTC", "ExecMainStartTimestampMonotonic": "76560366", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Mon 2021-11-08 18:52:33 UTC] ; stop_time=[n/a] ; pid=9670 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[Mon 2021-11-08 18:52:33 UTC] ; stop_time=[n/a] ; pid=9670 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2021-11-08 18:52:33 UTC", "InactiveExitTimestampMonotonic": "76560669", "InvocationID": "207945dfd2c74465be46a0ea8d3e5c61", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7732", "LimitNPROCSoft": "7732", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7732", "LimitSIGPENDINGSoft": "7732", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9670", "MemoryAccounting": "yes", "MemoryCurrent": "1167360", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootHashSignature": "", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2021-11-08 18:52:33 UTC", "StateChangeTimestampMonotonic": "76565696", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ieee802_1x": {"client_cert": "/etc/pki/tls/client.pem", "domain_suffix_match": "example.com", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": ["not-required"], "system_ca_certs": true}, "interface_name": "veth2", "ip": {"address": ["203.0.113.2/24"], "auto6": "no", "dhcp4": "no"}, "name": "802-1x-test", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 0f632810-0860-4680-8fe0-e5a37e9ed268\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 0f632810-0860-4680-8fe0-e5a37e9ed268 (not-active)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 0f632810-0860-4680-8fe0-e5a37e9ed268", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 0f632810-0860-4680-8fe0-e5a37e9ed268 (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 0f632810-0860-4680-8fe0-e5a37e9ed268", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 0f632810-0860-4680-8fe0-e5a37e9ed268 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ieee802_1x": { "client_cert": "/etc/pki/tls/client.pem", "domain_suffix_match": "example.com", "eap": "tls", "identity": "myhost", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ], "system_ca_certs": true }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 0f632810-0860-4680-8fe0-e5a37e9ed268\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 0f632810-0860-4680-8fe0-e5a37e9ed268 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 0f632810-0860-4680-8fe0-e5a37e9ed268", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 0f632810-0860-4680-8fe0-e5a37e9ed268 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:83 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ping", "-c1", "203.0.113.1"], "delta": "0:00:00.004272", "end": "2021-11-08 18:52:49.403432", "rc": 0, "start": "2021-11-08 18:52:49.399160", "stderr": "", "stderr_lines": [], "stdout": "PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data.\n64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.074 ms\n\n--- 203.0.113.1 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.074/0.074/0.074/0.000 ms", "stdout_lines": ["PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data.", "64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.074 ms", "", "--- 203.0.113.1 ping statistics ---", "1 packets transmitted, 1 received, 0% packet loss, time 0ms", "rtt min/avg/max/mdev = 0.074/0.074/0.074/0.000 ms"]} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "802-1x-test", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:94 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml for /cache/fedora-33.qcow2 TASK [TEST: 802.1x profile with unencrypted private key and ca_path] *********** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:2 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [Set __NM_capath_ignored_NVRs] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:6 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"__NM_capath_ignored_NVRs": ["NetworkManager-1.18.0-5.el7.x86_64", "NetworkManager-1.18.4-3.el7.x86_64", "NetworkManager-1.20.0-3.el8.x86_64", "NetworkManager-1.22.8-4.el8.x86_64", "NetworkManager-1.20.4-1.fc31.x86_64", "NetworkManager-1.22.10-1.fc32.x86_64", "NetworkManager-1.22.12-1.fc32.x86_64"]}, "changed": false} TASK [Create directory for ca_path test] *************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:22 changed: [/cache/fedora-33.qcow2] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pki/tls/my_ca_certs", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 4096, "state": "directory", "uid": 0} TASK [Copy cacert to ca_path] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:27 changed: [/cache/fedora-33.qcow2] => {"changed": true, "checksum": "9e89a4c67b49ee7cf56a8aab271a40e9d42efdf4", "dest": "/etc/pki/tls/my_ca_certs/cacert.pem", "gid": 0, "group": "root", "md5sum": "ee044bfd4dd84d85b6cb5331e7339411", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1289, "src": "/root/.ansible/tmp/ansible-tmp-1636397575.608554-52009-22772701106856/source", "state": "file", "uid": 0} TASK [Install openssl (test dependency)] *************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:32 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: openssl-1:1.1.1l-2.fc33.x86_64"]} TASK [Hash cacert] ************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:36 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["openssl", "x509", "-hash", "-noout", "-in", "/etc/pki/tls/my_ca_certs/cacert.pem"], "delta": "0:00:00.010809", "end": "2021-11-08 18:52:58.627901", "rc": 0, "start": "2021-11-08 18:52:58.617092", "stderr": "", "stderr_lines": [], "stdout": "d1b7d027", "stdout_lines": ["d1b7d027"]} TASK [Add symlink for cacert] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:41 changed: [/cache/fedora-33.qcow2] => {"changed": true, "dest": "/etc/pki/tls/my_ca_certs/d1b7d027.0", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 10, "src": "cacert.pem", "state": "link", "uid": 0} TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:46 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["rpm", "-qa", "NetworkManager"], "delta": "0:00:00.109625", "end": "2021-11-08 18:52:59.483344", "rc": 0, "start": "2021-11-08 18:52:59.373719", "stderr": "", "stderr_lines": [], "stdout": "NetworkManager-1.26.8-1.fc33.x86_64", "stdout_lines": ["NetworkManager-1.26.8-1.fc33.x86_64"]} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 ok: [/cache/fedora-33.qcow2] => {"changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": {"ActiveEnterTimestamp": "Mon 2021-11-08 18:52:33 UTC", "ActiveEnterTimestampMonotonic": "76565696", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target dbus.socket dbus-broker.service basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2021-11-08 18:52:33 UTC", "AssertTimestampMonotonic": "76559227", "Before": "multi-user.target shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "yes", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "26219000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2021-11-08 18:52:33 UTC", "ConditionTimestampMonotonic": "76559225", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "WPA supplicant", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9670", "ExecMainStartTimestamp": "Mon 2021-11-08 18:52:33 UTC", "ExecMainStartTimestampMonotonic": "76560366", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Mon 2021-11-08 18:52:33 UTC] ; stop_time=[n/a] ; pid=9670 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u $INTERFACES $DRIVERS $OTHER_ARGS ; flags= ; start_time=[Mon 2021-11-08 18:52:33 UTC] ; stop_time=[n/a] ; pid=9670 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2021-11-08 18:52:33 UTC", "InactiveExitTimestampMonotonic": "76560669", "InvocationID": "207945dfd2c74465be46a0ea8d3e5c61", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7732", "LimitNPROCSoft": "7732", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7732", "LimitSIGPENDINGSoft": "7732", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9670", "MemoryAccounting": "yes", "MemoryCurrent": "1892352", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootHashSignature": "", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2021-11-08 18:52:33 UTC", "StateChangeTimestampMonotonic": "76565696", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ieee802_1x": {"ca_path": "/etc/pki/tls/my_ca_certs", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost_capath", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": ["not-required"]}, "interface_name": "veth2", "ip": {"address": ["203.0.113.2/24"], "auto6": "no", "dhcp4": "no"}, "name": "802-1x-test", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 54396bcb-0813-4e2e-af38-9902b22dabdd\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 54396bcb-0813-4e2e-af38-9902b22dabdd (is-modified)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 54396bcb-0813-4e2e-af38-9902b22dabdd", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 54396bcb-0813-4e2e-af38-9902b22dabdd (is-modified)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 54396bcb-0813-4e2e-af38-9902b22dabdd", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 54396bcb-0813-4e2e-af38-9902b22dabdd (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ieee802_1x": { "ca_path": "/etc/pki/tls/my_ca_certs", "client_cert": "/etc/pki/tls/client.pem", "eap": "tls", "identity": "myhost_capath", "private_key": "/etc/pki/tls/client.key.nocrypt", "private_key_password_flags": [ "not-required" ] }, "interface_name": "veth2", "ip": { "address": [ "203.0.113.2/24" ], "auto6": "no", "dhcp4": "no" }, "name": "802-1x-test", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 54396bcb-0813-4e2e-af38-9902b22dabdd\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 54396bcb-0813-4e2e-af38-9902b22dabdd (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 54396bcb-0813-4e2e-af38-9902b22dabdd", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 54396bcb-0813-4e2e-af38-9902b22dabdd (is-modified)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [TEST: I can ping the EAP server] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:75 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ping", "-c1", "203.0.113.1"], "delta": "0:00:00.005281", "end": "2021-11-08 18:53:06.343359", "rc": 0, "start": "2021-11-08 18:53:06.338078", "stderr": "", "stderr_lines": [], "stdout": "PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data.\n64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.068 ms\n\n--- 203.0.113.1 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.068/0.068/0.068/0.000 ms", "stdout_lines": ["PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data.", "64 bytes from 203.0.113.1: icmp_seq=1 ttl=64 time=0.068 ms", "", "--- 203.0.113.1 ping statistics ---", "1 packets transmitted, 1 received, 0% packet loss, time 0ms", "rtt min/avg/max/mdev = 0.068/0.068/0.068/0.000 ms"]} TASK [trigger failure in case the role did not fail] *************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:77 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "msg": "after test"} TASK [Show failed item] ******************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:81 ok: [/cache/fedora-33.qcow2] => (item=ansible_failed_result) => { "ansible_failed_result": { "changed": false, "failed": true, "msg": "after test" }, "ansible_loop_var": "item", "item": "ansible_failed_result" } ok: [/cache/fedora-33.qcow2] => (item=ansible_failed_task) => { "ansible_failed_task": { "action": "fail", "any_errors_fatal": false, "args": { "msg": "after test" }, "async": 0, "async_val": 0, "become": false, "become_exe": null, "become_flags": null, "become_method": "sudo", "become_user": null, "changed_when": [], "check_mode": false, "collections": [], "connection": "smart", "debugger": null, "delay": 5, "delegate_facts": null, "delegate_to": null, "diff": false, "environment": [ {} ], "failed_when": [], "finalized": true, "ignore_errors": null, "ignore_unreachable": null, "loop": null, "loop_control": null, "loop_with": null, "module_defaults": [], "name": "trigger failure in case the role did not fail", "no_log": null, "notify": null, "poll": 15, "port": null, "register": null, "remote_user": null, "retries": 3, "run_once": null, "squashed": true, "tags": [], "throttle": 0, "until": [], "uuid": "0a58ac36-1723-6469-cb3f-000000000278", "vars": {}, "when": [ "ansible_distribution_major_version != '6'", "ansible_distribution != 'RedHat' or ansible_distribution_major_version | int < 9" ] }, "ansible_loop_var": "item", "item": "ansible_failed_task" } ok: [/cache/fedora-33.qcow2] => (item=__network_NM_NVR.stdout) => { "__network_NM_NVR.stdout": "NetworkManager-1.26.8-1.fc33.x86_64", "ansible_loop_var": "item", "item": "__network_NM_NVR.stdout" } ok: [/cache/fedora-33.qcow2] => (item=__NM_capath_ignored_NVRs) => { "__NM_capath_ignored_NVRs": [ "NetworkManager-1.18.0-5.el7.x86_64", "NetworkManager-1.18.4-3.el7.x86_64", "NetworkManager-1.20.0-3.el8.x86_64", "NetworkManager-1.22.8-4.el8.x86_64", "NetworkManager-1.20.4-1.fc31.x86_64", "NetworkManager-1.22.10-1.fc32.x86_64", "NetworkManager-1.22.12-1.fc32.x86_64" ], "ansible_loop_var": "item", "item": "__NM_capath_ignored_NVRs" } TASK [Assert role behavior] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:91 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Assert role failure] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:101 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Assert ping succeeded] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/test_802.1x_capath.yml:110 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "802-1x-test", "persistent_state": "absent", "state": "down"}, {"name": "br1", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" }, { "name": "br1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:108 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_802_1x_server.yml for /cache/fedora-33.qcow2 TASK [Remove test interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_802_1x_server.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "ip netns delete ns1\nip link delete veth1-br\nip link delete veth2-br\nip link delete br1\n", "delta": "0:00:00.075410", "end": "2021-11-08 18:53:11.157716", "rc": 0, "start": "2021-11-08 18:53:11.082306", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Kill hostapd process] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_802_1x_server.yml:11 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["pkill", "hostapd"], "delta": "0:00:00.054708", "end": "2021-11-08 18:53:11.566416", "rc": 0, "start": "2021-11-08 18:53:11.511708", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Remove certs and config] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 changed: [/cache/fedora-33.qcow2] => (item=/etc/pki/tls/hostapd_test) => {"ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/hostapd_test", "path": "/etc/pki/tls/hostapd_test", "state": "absent"} changed: [/cache/fedora-33.qcow2] => (item=/etc/hostapd/wired.conf) => {"ansible_loop_var": "item", "changed": true, "item": "/etc/hostapd/wired.conf", "path": "/etc/hostapd/wired.conf", "state": "absent"} changed: [/cache/fedora-33.qcow2] => (item=/etc/hostapd/hostapd.eap_user) => {"ansible_loop_var": "item", "changed": true, "item": "/etc/hostapd/hostapd.eap_user", "path": "/etc/hostapd/hostapd.eap_user", "state": "absent"} TASK [Remove test certificates] ************************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:109 changed: [/cache/fedora-33.qcow2] => (item=client.key) => {"ansible_loop_var": "item", "changed": true, "item": "client.key", "path": "/etc/pki/tls/client.key", "state": "absent"} changed: [/cache/fedora-33.qcow2] => (item=client.key.nocrypt) => {"ansible_loop_var": "item", "changed": true, "item": "client.key.nocrypt", "path": "/etc/pki/tls/client.key.nocrypt", "state": "absent"} changed: [/cache/fedora-33.qcow2] => (item=client.pem) => {"ansible_loop_var": "item", "changed": true, "item": "client.pem", "path": "/etc/pki/tls/client.pem", "state": "absent"} changed: [/cache/fedora-33.qcow2] => (item=cacert.pem) => {"ansible_loop_var": "item", "changed": true, "item": "cacert.pem", "path": "/etc/pki/tls/cacert.pem", "state": "absent"} TASK [Remove test CA] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:118 changed: [/cache/fedora-33.qcow2] => (item=/etc/pki/tls/my_ca_certs) => {"ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/my_ca_certs", "path": "/etc/pki/tls/my_ca_certs", "state": "absent"} changed: [/cache/fedora-33.qcow2] => (item=/etc/pki/ca-trust/source/anchors/cacert.pem) => {"ansible_loop_var": "item", "changed": true, "item": "/etc/pki/ca-trust/source/anchors/cacert.pem", "path": "/etc/pki/ca-trust/source/anchors/cacert.pem", "state": "absent"} TASK [Update ca trust] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_802_1x.yml:125 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["update-ca-trust"], "delta": "0:00:00.231011", "end": "2021-11-08 18:53:15.360549", "rc": 0, "start": "2021-11-08 18:53:15.129538", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=98 changed=28 unreachable=0 failed=0 skipped=33 rescued=1 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_auto_gateway_initscripts.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_auto_gateway_initscripts.yml:4 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_auto_gateway_initscripts.yml:7 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tests_auto_gateway_initscripts.yml:8 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "initscripts"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:8 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003655", "end": "2021-11-08 18:53:31.781841", "rc": 0, "start": "2021-11-08 18:53:31.778186", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:9 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003387", "end": "2021-11-08 18:53:32.354831", "rc": 0, "start": "2021-11-08 18:53:32.351444", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0"], "delta": "0:00:00.010940", "end": "2021-11-08 18:54:11.569217", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2021-11-08 18:54:11.558277", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peerveth0 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peerveth0", "up"], "delta": "0:00:00.003397", "end": "2021-11-08 18:54:11.882130", "item": "ip link set peerveth0 up", "rc": 0, "start": "2021-11-08 18:54:11.878733", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set veth0 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "veth0", "up"], "delta": "0:00:00.006301", "end": "2021-11-08 18:54:12.192006", "item": "ip link set veth0 up", "rc": 0, "start": "2021-11-08 18:54:12.185705", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "veth0", "managed", "true"], "delta": "0:00:00.022776", "end": "2021-11-08 18:54:12.528626", "rc": 0, "start": "2021-11-08 18:54:12.505850", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:12 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397651.5687292, "block_size": 4096, "blocks": 0, "ctime": 1636397651.5687292, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1636397651.5687292, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: network-scripts-10.04-2.fc33.x86_64", "Installed: bc-1.07.1-14.fc33.x86_64", "Installed: chkconfig-1.14-3.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 changed: [/cache/fedora-33.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-5250932h4jqab/tmp_htz_p4r"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"address": ["2001:db8::2/64", "203.0.113.2/24"], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1"}, "name": "veth0", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:34 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397651.5687292, "block_size": 4096, "blocks": 0, "ctime": 1636397651.5687292, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1636397651.5687292, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397660.325331, "block_size": 4096, "blocks": 8, "ctime": 1636397660.312331, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132660, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636397660.312331, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 254, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.018084", "end": "2021-11-08 18:54:27.392536", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 18:54:27.374452", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:38 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ip", "route"], "delta": "0:00:00.003684", "end": "2021-11-08 18:54:27.801399", "rc": 0, "start": "2021-11-08 18:54:27.797715", "stderr": "", "stderr_lines": [], "stdout": "default via 203.0.113.1 dev veth0 \ndefault via 10.0.2.2 dev eth0 proto dhcp metric 100 \n10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 \n169.254.0.0/16 dev veth0 scope link metric 1004 \n203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 ", "stdout_lines": ["default via 203.0.113.1 dev veth0 ", "default via 10.0.2.2 dev eth0 proto dhcp metric 100 ", "10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 ", "169.254.0.0/16 dev veth0 scope link metric 1004 ", "203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 "]} TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:42 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:48 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ip", "-6", "route"], "delta": "0:00:00.003210", "end": "2021-11-08 18:54:28.181227", "rc": 0, "start": "2021-11-08 18:54:28.178017", "stderr": "", "stderr_lines": [], "stdout": "::1 dev lo proto kernel metric 256 pref medium\n2001:db8::/64 dev veth0 proto kernel metric 256 pref medium\nfe80::/64 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev eth0 proto kernel metric 256 pref medium\nfe80::/64 dev peerveth0 proto kernel metric 256 pref medium\nfec0::/64 dev eth0 proto kernel metric 256 expires 86336sec pref medium\ndefault via 2001:db8::1 dev veth0 metric 1 pref medium\ndefault via fe80::2 dev eth0 proto ra metric 1024 expires 1736sec hoplimit 64 pref medium", "stdout_lines": ["::1 dev lo proto kernel metric 256 pref medium", "2001:db8::/64 dev veth0 proto kernel metric 256 pref medium", "fe80::/64 dev veth0 proto kernel metric 101 pref medium", "fe80::/64 dev eth0 proto kernel metric 256 pref medium", "fe80::/64 dev peerveth0 proto kernel metric 256 pref medium", "fec0::/64 dev eth0 proto kernel metric 256 expires 86336sec pref medium", "default via 2001:db8::1 dev veth0 metric 1 pref medium", "default via fe80::2 dev eth0 proto ra metric 1024 expires 1736sec hoplimit 64 pref medium"]} TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:52 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:59 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-5250932h4jqab/tmpnvyy5pi2"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "veth0", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": ["[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:71 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003264", "end": "2021-11-08 18:54:32.874728", "rc": 0, "start": "2021-11-08 18:54:32.871464", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\npeerveth0\nveth0", "stdout_lines": ["eth0", "lo", "peerveth0", "veth0"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "peerveth0", "veth0"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peerveth0 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set veth0 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "veth0", "type", "veth"], "delta": "0:00:00.011657", "end": "2021-11-08 18:54:35.070421", "rc": 0, "start": "2021-11-08 18:54:35.058764", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:74 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:78 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003294", "end": "2021-11-08 18:54:35.825953", "rc": 0, "start": "2021-11-08 18:54:35.822659", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0"], "delta": "0:00:00.005988", "end": "2021-11-08 18:54:37.904112", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2021-11-08 18:54:37.898124", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peerveth0 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peerveth0", "up"], "delta": "0:00:00.003415", "end": "2021-11-08 18:54:38.225065", "item": "ip link set peerveth0 up", "rc": 0, "start": "2021-11-08 18:54:38.221650", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set veth0 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "veth0", "up"], "delta": "0:00:00.006188", "end": "2021-11-08 18:54:38.547870", "item": "ip link set veth0 up", "rc": 0, "start": "2021-11-08 18:54:38.541682", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "veth0", "managed", "true"], "delta": "0:00:00.017213", "end": "2021-11-08 18:54:38.908311", "rc": 0, "start": "2021-11-08 18:54:38.891098", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-5250932h4jqab/tmpvhsopi2v"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"address": ["2001:db8::2/64", "203.0.113.2/24"], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1"}, "name": "veth0", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:98 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397677.9014678, "block_size": 4096, "blocks": 0, "ctime": 1636397677.9014678, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1636397677.9014678, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:99 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397682.763331, "block_size": 4096, "blocks": 8, "ctime": 1636397682.7523308, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132660, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636397682.7523308, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 253, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020216", "end": "2021-11-08 18:54:49.752270", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 18:54:49.732054", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:102 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ip", "route"], "delta": "0:00:00.003041", "end": "2021-11-08 18:54:50.156852", "rc": 0, "start": "2021-11-08 18:54:50.153811", "stderr": "", "stderr_lines": [], "stdout": "default via 10.0.2.2 dev eth0 proto dhcp metric 100 \n10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 \n169.254.0.0/16 dev veth0 scope link metric 1006 \n203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 ", "stdout_lines": ["default via 10.0.2.2 dev eth0 proto dhcp metric 100 ", "10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 ", "169.254.0.0/16 dev veth0 scope link metric 1006 ", "203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 "]} TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:106 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:112 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ip", "-6", "route"], "delta": "0:00:00.003308", "end": "2021-11-08 18:54:50.542205", "rc": 0, "start": "2021-11-08 18:54:50.538897", "stderr": "", "stderr_lines": [], "stdout": "::1 dev lo proto kernel metric 256 pref medium\n2001:db8::/64 dev veth0 proto kernel metric 256 pref medium\nfe80::/64 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev eth0 proto kernel metric 256 pref medium\nfe80::/64 dev peerveth0 proto kernel metric 256 pref medium\nfec0::/64 dev eth0 proto kernel metric 256 expires 86314sec pref medium\ndefault via 2001:db8::1 dev veth0 metric 1 pref medium\ndefault via fe80::2 dev eth0 proto ra metric 1024 expires 1714sec hoplimit 64 pref medium", "stdout_lines": ["::1 dev lo proto kernel metric 256 pref medium", "2001:db8::/64 dev veth0 proto kernel metric 256 pref medium", "fe80::/64 dev veth0 proto kernel metric 101 pref medium", "fe80::/64 dev eth0 proto kernel metric 256 pref medium", "fe80::/64 dev peerveth0 proto kernel metric 256 pref medium", "fec0::/64 dev eth0 proto kernel metric 256 expires 86314sec pref medium", "default via 2001:db8::1 dev veth0 metric 1 pref medium", "default via fe80::2 dev eth0 proto ra metric 1024 expires 1714sec hoplimit 64 pref medium"]} TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:116 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:123 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-5250932h4jqab/tmpg5js7sf5"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "veth0", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": ["[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:135 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003151", "end": "2021-11-08 18:54:55.203146", "rc": 0, "start": "2021-11-08 18:54:55.199995", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\npeerveth0\nveth0", "stdout_lines": ["eth0", "lo", "peerveth0", "veth0"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "peerveth0", "veth0"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peerveth0 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set veth0 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "veth0", "type", "veth"], "delta": "0:00:00.012366", "end": "2021-11-08 18:54:57.390232", "rc": 0, "start": "2021-11-08 18:54:57.377866", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=118 changed=12 unreachable=0 failed=0 skipped=55 rescued=0 ignored=2 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_auto_gateway_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_auto_gateway_nm.yml ******************************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_auto_gateway_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_auto_gateway_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_auto_gateway_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:8 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003738", "end": "2021-11-08 18:55:13.246711", "rc": 0, "start": "2021-11-08 18:55:13.242973", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:9 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003496", "end": "2021-11-08 18:55:13.793889", "rc": 0, "start": "2021-11-08 18:55:13.790393", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0"], "delta": "0:00:00.013912", "end": "2021-11-08 18:55:53.999522", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2021-11-08 18:55:53.985610", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peerveth0 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peerveth0", "up"], "delta": "0:00:00.003453", "end": "2021-11-08 18:55:54.344841", "item": "ip link set peerveth0 up", "rc": 0, "start": "2021-11-08 18:55:54.341388", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set veth0 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "veth0", "up"], "delta": "0:00:00.007798", "end": "2021-11-08 18:55:54.674121", "item": "ip link set veth0 up", "rc": 0, "start": "2021-11-08 18:55:54.666323", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "veth0", "managed", "true"], "delta": "0:00:00.026969", "end": "2021-11-08 18:55:55.052778", "rc": 0, "start": "2021-11-08 18:55:55.025809", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:12 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397753.998591, "block_size": 4096, "blocks": 0, "ctime": 1636397753.998591, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1636397753.998591, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"address": ["2001:db8::2/64", "203.0.113.2/24"], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1"}, "name": "veth0", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c8717be8-0d1b-44d9-a52d-481edd272115\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c8717be8-0d1b-44d9-a52d-481edd272115 (not-active)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c8717be8-0d1b-44d9-a52d-481edd272115", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c8717be8-0d1b-44d9-a52d-481edd272115 (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c8717be8-0d1b-44d9-a52d-481edd272115", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c8717be8-0d1b-44d9-a52d-481edd272115 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c8717be8-0d1b-44d9-a52d-481edd272115\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c8717be8-0d1b-44d9-a52d-481edd272115 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c8717be8-0d1b-44d9-a52d-481edd272115", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c8717be8-0d1b-44d9-a52d-481edd272115 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:34 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397753.998591, "block_size": 4096, "blocks": 0, "ctime": 1636397753.998591, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1636397753.998591, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397762.352357, "block_size": 4096, "blocks": 8, "ctime": 1636397762.3103569, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636397762.3103569, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 379, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020960", "end": "2021-11-08 18:56:04.289357", "rc": 0, "start": "2021-11-08 18:56:04.268397", "stderr": "", "stderr_lines": [], "stdout": "veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 ", "stdout_lines": ["veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:38 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ip", "route"], "delta": "0:00:00.003802", "end": "2021-11-08 18:56:04.699732", "rc": 0, "start": "2021-11-08 18:56:04.695930", "stderr": "", "stderr_lines": [], "stdout": "default via 10.0.2.2 dev eth0 proto dhcp metric 100 \ndefault via 203.0.113.1 dev veth0 proto static metric 101 \n10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 \n203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 ", "stdout_lines": ["default via 10.0.2.2 dev eth0 proto dhcp metric 100 ", "default via 203.0.113.1 dev veth0 proto static metric 101 ", "10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 ", "203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 "]} TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:42 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:48 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ip", "-6", "route"], "delta": "0:00:00.003555", "end": "2021-11-08 18:56:05.126290", "rc": 0, "start": "2021-11-08 18:56:05.122735", "stderr": "", "stderr_lines": [], "stdout": "::1 dev lo proto kernel metric 256 pref medium\n2001:db8::/64 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev eth0 proto kernel metric 256 pref medium\nfe80::/64 dev peerveth0 proto kernel metric 256 pref medium\nfec0::/64 dev eth0 proto kernel metric 256 expires 86341sec pref medium\ndefault via 2001:db8::1 dev veth0 proto static metric 101 pref medium\ndefault via fe80::2 dev eth0 proto ra metric 1024 expires 1741sec hoplimit 64 pref medium", "stdout_lines": ["::1 dev lo proto kernel metric 256 pref medium", "2001:db8::/64 dev veth0 proto kernel metric 101 pref medium", "fe80::/64 dev veth0 proto kernel metric 101 pref medium", "fe80::/64 dev eth0 proto kernel metric 256 pref medium", "fe80::/64 dev peerveth0 proto kernel metric 256 pref medium", "fec0::/64 dev eth0 proto kernel metric 256 expires 86341sec pref medium", "default via 2001:db8::1 dev veth0 proto static metric 101 pref medium", "default via fe80::2 dev eth0 proto ra metric 1024 expires 1741sec hoplimit 64 pref medium"]} TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:52 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:59 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "veth0", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:71 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002955", "end": "2021-11-08 18:56:09.507275", "rc": 0, "start": "2021-11-08 18:56:09.504320", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\npeerveth0\nveth0", "stdout_lines": ["eth0", "lo", "peerveth0", "veth0"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "peerveth0", "veth0"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peerveth0 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set veth0 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "veth0", "type", "veth"], "delta": "0:00:00.012229", "end": "2021-11-08 18:56:11.756085", "rc": 0, "start": "2021-11-08 18:56:11.743856", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:74 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:78 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003550", "end": "2021-11-08 18:56:12.507405", "rc": 0, "start": "2021-11-08 18:56:12.503855", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0"], "delta": "0:00:00.004276", "end": "2021-11-08 18:56:14.671777", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2021-11-08 18:56:14.667501", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peerveth0 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peerveth0", "up"], "delta": "0:00:00.003935", "end": "2021-11-08 18:56:14.996719", "item": "ip link set peerveth0 up", "rc": 0, "start": "2021-11-08 18:56:14.992784", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set veth0 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "veth0", "up"], "delta": "0:00:00.005775", "end": "2021-11-08 18:56:15.316010", "item": "ip link set veth0 up", "rc": 0, "start": "2021-11-08 18:56:15.310235", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "veth0", "managed", "true"], "delta": "0:00:00.019423", "end": "2021-11-08 18:56:15.689277", "rc": 0, "start": "2021-11-08 18:56:15.669854", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"address": ["2001:db8::2/64", "203.0.113.2/24"], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1"}, "name": "veth0", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1a38939d-e7c9-47eb-96f2-3265bb327d1c\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1a38939d-e7c9-47eb-96f2-3265bb327d1c (not-active)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1a38939d-e7c9-47eb-96f2-3265bb327d1c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1a38939d-e7c9-47eb-96f2-3265bb327d1c (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1a38939d-e7c9-47eb-96f2-3265bb327d1c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1a38939d-e7c9-47eb-96f2-3265bb327d1c (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1a38939d-e7c9-47eb-96f2-3265bb327d1c\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1a38939d-e7c9-47eb-96f2-3265bb327d1c (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1a38939d-e7c9-47eb-96f2-3265bb327d1c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1a38939d-e7c9-47eb-96f2-3265bb327d1c (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:98 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397774.6712677, "block_size": 4096, "blocks": 0, "ctime": 1636397774.6712677, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1636397774.6712677, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:99 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397779.1753569, "block_size": 4096, "blocks": 8, "ctime": 1636397779.147357, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636397779.147357, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017553", "end": "2021-11-08 18:56:20.979309", "rc": 0, "start": "2021-11-08 18:56:20.961756", "stderr": "", "stderr_lines": [], "stdout": "veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 ", "stdout_lines": ["veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:102 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ip", "route"], "delta": "0:00:00.002931", "end": "2021-11-08 18:56:21.369620", "rc": 0, "start": "2021-11-08 18:56:21.366689", "stderr": "", "stderr_lines": [], "stdout": "default via 10.0.2.2 dev eth0 proto dhcp metric 100 \n10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 \n203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 ", "stdout_lines": ["default via 10.0.2.2 dev eth0 proto dhcp metric 100 ", "10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.15 metric 100 ", "203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 "]} TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:106 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:112 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ip", "-6", "route"], "delta": "0:00:00.002873", "end": "2021-11-08 18:56:21.744740", "rc": 0, "start": "2021-11-08 18:56:21.741867", "stderr": "", "stderr_lines": [], "stdout": "::1 dev lo proto kernel metric 256 pref medium\n2001:db8::/64 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev eth0 proto kernel metric 256 pref medium\nfe80::/64 dev peerveth0 proto kernel metric 256 pref medium\nfec0::/64 dev eth0 proto kernel metric 256 expires 86324sec pref medium\ndefault via fe80::2 dev eth0 proto ra metric 1024 expires 1724sec hoplimit 64 pref medium", "stdout_lines": ["::1 dev lo proto kernel metric 256 pref medium", "2001:db8::/64 dev veth0 proto kernel metric 101 pref medium", "fe80::/64 dev veth0 proto kernel metric 101 pref medium", "fe80::/64 dev eth0 proto kernel metric 256 pref medium", "fe80::/64 dev peerveth0 proto kernel metric 256 pref medium", "fec0::/64 dev eth0 proto kernel metric 256 expires 86324sec pref medium", "default via fe80::2 dev eth0 proto ra metric 1024 expires 1724sec hoplimit 64 pref medium"]} TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:116 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:123 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "veth0", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_auto_gateway.yml:135 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003534", "end": "2021-11-08 18:56:26.008770", "rc": 0, "start": "2021-11-08 18:56:26.005236", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\npeerveth0\nveth0", "stdout_lines": ["eth0", "lo", "peerveth0", "veth0"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "peerveth0", "veth0"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peerveth0 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set veth0 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "veth0", "type", "veth"], "delta": "0:00:00.015168", "end": "2021-11-08 18:56:28.272621", "rc": 0, "start": "2021-11-08 18:56:28.257453", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=118 changed=11 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_bond_deprecated_initscripts.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_deprecated_initscripts.yml ******************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_bond_deprecated_initscripts.yml PLAY [Run playbook 'playbooks/tests_bond_deprecated.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_bond_deprecated_initscripts.yml:4 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_bond_deprecated_initscripts.yml:7 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tests_bond_deprecated_initscripts.yml:8 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "initscripts"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond_deprecated.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond_deprecated.yml:12 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: dnsmasq-2.85-1.fc33.x86_64"]} TASK [Create test interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:9 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "ip link add test1 type veth peer name test1p\nip link add test2 type veth peer name test2p\nif [ -n \"$(pidof NetworkManager)\" ];then\n nmcli d set test1 managed true\n nmcli d set test2 managed true\n # NetworkManager should not manage DHCP server ports\n nmcli d set test1p managed false\n nmcli d set test2p managed false\nfi\nip link set test1p up\nip link set test2p up\n\n# Create the 'testbr' - providing both 10.x ipv4 and 2620:52:0 ipv6 dhcp\nip link add name testbr type bridge forward_delay 0\nif [ -n \"$(pidof NetworkManager)\" ];then\n # NetworkManager should not manage DHCP server ports\n nmcli d set testbr managed false\nfi\nip link set testbr up\nip addr add 192.0.2.1/24 dev testbr\nip -6 addr add 2001:DB8::1/32 dev testbr\n\nif grep 'release 6' /etc/redhat-release; then\n # We need bridge-utils and radvd only in rhel6\n if ! rpm -q --quiet radvd; then yum -y install radvd; fi\n if ! rpm -q --quiet bridge-utils; then yum -y install bridge-utils; fi\n\n # We need to add iptables rule to allow dhcp request\n iptables -I INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\n # Add test1, test2 peers into the testbr\n brctl addif testbr test1p\n brctl addif testbr test2p\n\n # in RHEL6 /run is not present\n mkdir -p /run\n\n # and dnsmasq does not support ipv6\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --interface=testbr --bind-interfaces\n\n # start radvd for ipv6\n echo 'interface testbr {' > /etc/radvd.conf\n echo ' AdvSendAdvert on;' >> /etc/radvd.conf\n echo ' prefix 2001:DB8::/64 { ' >> /etc/radvd.conf\n echo ' AdvOnLink on; }; ' >> /etc/radvd.conf\n echo ' }; ' >> /etc/radvd.conf\n\n # enable ipv6 forwarding\n sysctl -w net.ipv6.conf.all.forwarding=1\n service radvd restart\n\nelse\n ip link set test1p master testbr\n ip link set test2p master testbr\n # Run joint DHCP4/DHCP6 server with RA enabled in veth namespace\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --dhcp-range=2001:DB8::10,2001:DB8::1FF,slaac,64,240 --enable-ra --interface=testbr --bind-interfaces\nfi\n", "delta": "0:00:00.194113", "end": "2021-11-08 18:58:00.150151", "rc": 0, "start": "2021-11-08 18:57:59.956038", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397879.970632, "block_size": 4096, "blocks": 0, "ctime": 1636397879.970632, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/test1", "lnk_target": "../../devices/virtual/net/test1", "mode": "0777", "mtime": 1636397879.970632, "nlink": 1, "path": "/sys/class/net/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface test1 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397879.9759662, "block_size": 4096, "blocks": 0, "ctime": 1636397879.9759662, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/test2", "lnk_target": "../../devices/virtual/net/test2", "mode": "0777", "mtime": 1636397879.9759662, "nlink": 1, "path": "/sys/class/net/test2", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface test2 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST Add Bond with 2 ports using deprecated 'master' argument] *********** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond_deprecated.yml:23 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: network-scripts-10.04-2.fc33.x86_64", "Installed: bc-1.07.1-14.fc33.x86_64", "Installed: chkconfig-1.14-3.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 changed: [/cache/fedora-33.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-54927le7rt4gz/tmpvnp_drfz"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"bond": {"miimon": 110, "mode": "active-backup"}, "interface_name": "deprecated-bond", "name": "bond0", "state": "up", "type": "bond"}, {"interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet"}, {"interface_name": "test2", "master": "bond0", "name": "bond0.1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'\n[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'\n[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)\n[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='b\"\\nDetermining IP information for deprecated-bond... done.\\nINFO : [ipv6_wait_tentative] Waiting for interface deprecated-bond IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\\n\"'\n[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)\n[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)\n[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'", "[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)", "[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='b\"\\nDetermining IP information for deprecated-bond... done.\\nINFO : [ipv6_wait_tentative] Waiting for interface deprecated-bond IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\\n\"'", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'", "[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)", "[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='b\"\\nDetermining IP information for deprecated-bond... done.\\nINFO : [ipv6_wait_tentative] Waiting for interface deprecated-bond IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\\n\"'", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "deprecated-bond", "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'\n[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'\n[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)\n[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='b\"\\nDetermining IP information for deprecated-bond... done.\\nINFO : [ipv6_wait_tentative] Waiting for interface deprecated-bond IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\\n\"'\n[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)\n[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)\n[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'", "[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)", "[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='b\"\\nDetermining IP information for deprecated-bond... done.\\nINFO : [ipv6_wait_tentative] Waiting for interface deprecated-bond IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\\n\"'", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get stat for interface deprecated-bond] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397888.634893, "block_size": 4096, "blocks": 0, "ctime": 1636397888.634893, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21932, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/deprecated-bond", "lnk_target": "../../devices/virtual/net/deprecated-bond", "mode": "0777", "mtime": 1636397888.634893, "nlink": 1, "path": "/sys/class/net/deprecated-bond", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface deprecated-bond is present] ************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond_deprecated.yml:54 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397888.5767908, "block_size": 4096, "blocks": 8, "ctime": 1636397888.575791, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132677, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636397888.575791, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 207, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.021898", "end": "2021-11-08 18:58:15.189715", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 18:58:15.167817", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397888.637791, "block_size": 4096, "blocks": 8, "ctime": 1636397888.5767908, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132682, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636397888.5767908, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 123, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.024694", "end": "2021-11-08 18:58:16.094527", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 18:58:16.069833", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397888.637791, "block_size": 4096, "blocks": 8, "ctime": 1636397888.5767908, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132683, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636397888.5767908, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 123, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.021426", "end": "2021-11-08 18:58:17.034799", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 18:58:17.013373", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [** TEST check polling interval] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond_deprecated.yml:61 changed: [/cache/fedora-33.qcow2] => {"attempts": 1, "changed": true, "cmd": ["grep", "Polling Interval", "/proc/net/bonding/deprecated-bond"], "delta": "0:00:00.003450", "end": "2021-11-08 18:58:17.470019", "rc": 0, "start": "2021-11-08 18:58:17.466569", "stderr": "", "stderr_lines": [], "stdout": "MII Polling Interval (ms): 110", "stdout_lines": ["MII Polling Interval (ms): 110"]} TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond_deprecated.yml:66 changed: [/cache/fedora-33.qcow2] => {"attempts": 1, "changed": true, "cmd": ["ip", "-4", "a", "s", "deprecated-bond"], "delta": "0:00:00.003444", "end": "2021-11-08 18:58:17.835340", "rc": 0, "start": "2021-11-08 18:58:17.831896", "stderr": "", "stderr_lines": [], "stdout": "8: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000\n inet 192.0.2.231/24 brd 192.0.2.255 scope global dynamic deprecated-bond\n valid_lft 295sec preferred_lft 295sec", "stdout_lines": ["8: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000", " inet 192.0.2.231/24 brd 192.0.2.255 scope global dynamic deprecated-bond", " valid_lft 295sec preferred_lft 295sec"]} TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond_deprecated.yml:72 changed: [/cache/fedora-33.qcow2] => {"attempts": 1, "changed": true, "cmd": ["ip", "-6", "a", "s", "deprecated-bond"], "delta": "0:00:00.003628", "end": "2021-11-08 18:58:18.196701", "rc": 0, "start": "2021-11-08 18:58:18.193073", "stderr": "", "stderr_lines": [], "stdout": "8: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000\n inet6 2001:db8::8050:97ff:feb1:7199/64 scope global dynamic mngtmpaddr \n valid_lft 1794sec preferred_lft 1794sec\n inet6 fe80::8050:97ff:feb1:7199/64 scope link \n valid_lft forever preferred_lft forever", "stdout_lines": ["8: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000", " inet6 2001:db8::8050:97ff:feb1:7199/64 scope global dynamic mngtmpaddr ", " valid_lft 1794sec preferred_lft 1794sec", " inet6 fe80::8050:97ff:feb1:7199/64 scope link ", " valid_lft forever preferred_lft forever"]} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-54927le7rt4gz/tmpm4f393ds"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "bond0.1", "persistent_state": "absent", "state": "down"}, {"name": "bond0.0", "persistent_state": "absent", "state": "down"}, {"name": "bond0", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)\n[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)\n[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[011] #2, state:down persistent_state:absent, 'bond0': down connection bond0 skipped because not active\n[012] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'\n[013] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'\n[014] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'\n", "stderr_lines": ["[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[011] #2, state:down persistent_state:absent, 'bond0': down connection bond0 skipped because not active", "[012] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'", "[013] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[014] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[011] #2, state:down persistent_state:absent, 'bond0': down connection bond0 skipped because not active", "[012] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'", "[013] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[014] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)\n[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)\n[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[011] #2, state:down persistent_state:absent, 'bond0': down connection bond0 skipped because not active\n[012] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'\n[013] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'\n[014] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'\n", "stderr_lines": [ "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[011] #2, state:down persistent_state:absent, 'bond0': down connection bond0 skipped because not active", "[012] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'", "[013] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[014] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [command] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond_deprecated.yml:95 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "deprecated-bond"], "delta": "0:00:00.017101", "end": "2021-11-08 18:58:22.949009", "rc": 0, "start": "2021-11-08 18:58:22.931908", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Remove test interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.055727", "end": "2021-11-08 18:58:23.345590", "rc": 0, "start": "2021-11-08 18:58:23.289863", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "pkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\nfi\n", "delta": "0:00:00.015228", "end": "2021-11-08 18:58:23.701481", "rc": 0, "start": "2021-11-08 18:58:23.686253", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=62 changed=9 unreachable=0 failed=0 skipped=16 rescued=0 ignored=3 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_bond_deprecated_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_deprecated_nm.yml ***************************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_bond_deprecated_nm.yml PLAY [Run playbook 'playbooks/tests_bond_deprecated.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_bond_deprecated_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_bond_deprecated_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_bond_deprecated_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond_deprecated.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond_deprecated.yml:12 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: dnsmasq-2.85-1.fc33.x86_64"]} TASK [Create test interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:9 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "ip link add test1 type veth peer name test1p\nip link add test2 type veth peer name test2p\nif [ -n \"$(pidof NetworkManager)\" ];then\n nmcli d set test1 managed true\n nmcli d set test2 managed true\n # NetworkManager should not manage DHCP server ports\n nmcli d set test1p managed false\n nmcli d set test2p managed false\nfi\nip link set test1p up\nip link set test2p up\n\n# Create the 'testbr' - providing both 10.x ipv4 and 2620:52:0 ipv6 dhcp\nip link add name testbr type bridge forward_delay 0\nif [ -n \"$(pidof NetworkManager)\" ];then\n # NetworkManager should not manage DHCP server ports\n nmcli d set testbr managed false\nfi\nip link set testbr up\nip addr add 192.0.2.1/24 dev testbr\nip -6 addr add 2001:DB8::1/32 dev testbr\n\nif grep 'release 6' /etc/redhat-release; then\n # We need bridge-utils and radvd only in rhel6\n if ! rpm -q --quiet radvd; then yum -y install radvd; fi\n if ! rpm -q --quiet bridge-utils; then yum -y install bridge-utils; fi\n\n # We need to add iptables rule to allow dhcp request\n iptables -I INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\n # Add test1, test2 peers into the testbr\n brctl addif testbr test1p\n brctl addif testbr test2p\n\n # in RHEL6 /run is not present\n mkdir -p /run\n\n # and dnsmasq does not support ipv6\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --interface=testbr --bind-interfaces\n\n # start radvd for ipv6\n echo 'interface testbr {' > /etc/radvd.conf\n echo ' AdvSendAdvert on;' >> /etc/radvd.conf\n echo ' prefix 2001:DB8::/64 { ' >> /etc/radvd.conf\n echo ' AdvOnLink on; }; ' >> /etc/radvd.conf\n echo ' }; ' >> /etc/radvd.conf\n\n # enable ipv6 forwarding\n sysctl -w net.ipv6.conf.all.forwarding=1\n service radvd restart\n\nelse\n ip link set test1p master testbr\n ip link set test2p master testbr\n # Run joint DHCP4/DHCP6 server with RA enabled in veth namespace\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --dhcp-range=2001:DB8::10,2001:DB8::1FF,slaac,64,240 --enable-ra --interface=testbr --bind-interfaces\nfi\n", "delta": "0:00:00.179312", "end": "2021-11-08 18:59:16.685095", "rc": 0, "start": "2021-11-08 18:59:16.505783", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397956.5204422, "block_size": 4096, "blocks": 0, "ctime": 1636397956.5204422, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/test1", "lnk_target": "../../devices/virtual/net/test1", "mode": "0777", "mtime": 1636397956.5204422, "nlink": 1, "path": "/sys/class/net/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface test1 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397956.5222812, "block_size": 4096, "blocks": 0, "ctime": 1636397956.5222812, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/test2", "lnk_target": "../../devices/virtual/net/test2", "mode": "0777", "mtime": 1636397956.5222812, "nlink": 1, "path": "/sys/class/net/test2", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface test2 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST Add Bond with 2 ports using deprecated 'master' argument] *********** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond_deprecated.yml:23 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"bond": {"miimon": 110, "mode": "active-backup"}, "interface_name": "deprecated-bond", "name": "bond0", "state": "up", "type": "bond"}, {"interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet"}, {"interface_name": "test2", "master": "bond0", "name": "bond0.1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, fc111abe-9ab3-405d-ac38-598213a1e4df\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 27fba797-aeca-4135-a772-0e2a480caa7f\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, cd65ec96-7350-4eb2-a020-7656dbaf1215\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, fc111abe-9ab3-405d-ac38-598213a1e4df (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 27fba797-aeca-4135-a772-0e2a480caa7f (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, cd65ec96-7350-4eb2-a020-7656dbaf1215 (not-active)\n", "stderr_lines": ["[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, fc111abe-9ab3-405d-ac38-598213a1e4df", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 27fba797-aeca-4135-a772-0e2a480caa7f", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, cd65ec96-7350-4eb2-a020-7656dbaf1215", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, fc111abe-9ab3-405d-ac38-598213a1e4df (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 27fba797-aeca-4135-a772-0e2a480caa7f (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, cd65ec96-7350-4eb2-a020-7656dbaf1215 (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, fc111abe-9ab3-405d-ac38-598213a1e4df", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 27fba797-aeca-4135-a772-0e2a480caa7f", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, cd65ec96-7350-4eb2-a020-7656dbaf1215", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, fc111abe-9ab3-405d-ac38-598213a1e4df (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 27fba797-aeca-4135-a772-0e2a480caa7f (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, cd65ec96-7350-4eb2-a020-7656dbaf1215 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "deprecated-bond", "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, fc111abe-9ab3-405d-ac38-598213a1e4df\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 27fba797-aeca-4135-a772-0e2a480caa7f\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, cd65ec96-7350-4eb2-a020-7656dbaf1215\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, fc111abe-9ab3-405d-ac38-598213a1e4df (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 27fba797-aeca-4135-a772-0e2a480caa7f (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, cd65ec96-7350-4eb2-a020-7656dbaf1215 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, fc111abe-9ab3-405d-ac38-598213a1e4df", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 27fba797-aeca-4135-a772-0e2a480caa7f", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, cd65ec96-7350-4eb2-a020-7656dbaf1215", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, fc111abe-9ab3-405d-ac38-598213a1e4df (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 27fba797-aeca-4135-a772-0e2a480caa7f (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, cd65ec96-7350-4eb2-a020-7656dbaf1215 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get stat for interface deprecated-bond] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397964.0639772, "block_size": 4096, "blocks": 0, "ctime": 1636397964.0639772, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21932, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/deprecated-bond", "lnk_target": "../../devices/virtual/net/deprecated-bond", "mode": "0777", "mtime": 1636397964.0639772, "nlink": 1, "path": "/sys/class/net/deprecated-bond", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface deprecated-bond is present] ************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond_deprecated.yml:54 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397964.0392609, "block_size": 4096, "blocks": 8, "ctime": 1636397964.0392609, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132385, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636397964.0392609, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 350, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.021640", "end": "2021-11-08 18:59:25.832706", "rc": 0, "start": "2021-11-08 18:59:25.811066", "stderr": "", "stderr_lines": [], "stdout": "bond0 /etc/sysconfig/network-scripts/ifcfg-bond0 \nbond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 \nbond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 ", "stdout_lines": ["bond0 /etc/sysconfig/network-scripts/ifcfg-bond0 ", "bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 ", "bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397964.0822608, "block_size": 4096, "blocks": 8, "ctime": 1636397964.0822608, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132488, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636397964.0822608, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 175, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.020997", "end": "2021-11-08 18:59:26.700666", "rc": 0, "start": "2021-11-08 18:59:26.679669", "stderr": "", "stderr_lines": [], "stdout": "bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 ", "stdout_lines": ["bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636397964.091261, "block_size": 4096, "blocks": 8, "ctime": 1636397964.091261, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132489, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636397964.091261, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 175, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.021863", "end": "2021-11-08 18:59:27.565759", "rc": 0, "start": "2021-11-08 18:59:27.543896", "stderr": "", "stderr_lines": [], "stdout": "bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 ", "stdout_lines": ["bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [** TEST check polling interval] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond_deprecated.yml:61 changed: [/cache/fedora-33.qcow2] => {"attempts": 1, "changed": true, "cmd": ["grep", "Polling Interval", "/proc/net/bonding/deprecated-bond"], "delta": "0:00:00.003359", "end": "2021-11-08 18:59:28.011206", "rc": 0, "start": "2021-11-08 18:59:28.007847", "stderr": "", "stderr_lines": [], "stdout": "MII Polling Interval (ms): 110", "stdout_lines": ["MII Polling Interval (ms): 110"]} TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond_deprecated.yml:66 changed: [/cache/fedora-33.qcow2] => {"attempts": 1, "changed": true, "cmd": ["ip", "-4", "a", "s", "deprecated-bond"], "delta": "0:00:00.003506", "end": "2021-11-08 18:59:28.360726", "rc": 0, "start": "2021-11-08 18:59:28.357220", "stderr": "", "stderr_lines": [], "stdout": "8: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000\n inet 192.0.2.245/24 brd 192.0.2.255 scope global dynamic noprefixroute deprecated-bond\n valid_lft 239sec preferred_lft 239sec", "stdout_lines": ["8: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000", " inet 192.0.2.245/24 brd 192.0.2.255 scope global dynamic noprefixroute deprecated-bond", " valid_lft 239sec preferred_lft 239sec"]} TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond_deprecated.yml:72 changed: [/cache/fedora-33.qcow2] => {"attempts": 1, "changed": true, "cmd": ["ip", "-6", "a", "s", "deprecated-bond"], "delta": "0:00:00.003482", "end": "2021-11-08 18:59:28.775020", "rc": 0, "start": "2021-11-08 18:59:28.771538", "stderr": "", "stderr_lines": [], "stdout": "8: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000\n inet6 2001:db8::2e/128 scope global tentative dynamic noprefixroute \n valid_lft 239sec preferred_lft 239sec\n inet6 2001:db8::a6c0:f918:5cb9:af06/64 scope global dynamic noprefixroute \n valid_lft 1799sec preferred_lft 1799sec\n inet6 fe80::d84e:a06b:d8fd:78e8/64 scope link noprefixroute \n valid_lft forever preferred_lft forever", "stdout_lines": ["8: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000", " inet6 2001:db8::2e/128 scope global tentative dynamic noprefixroute ", " valid_lft 239sec preferred_lft 239sec", " inet6 2001:db8::a6c0:f918:5cb9:af06/64 scope global dynamic noprefixroute ", " valid_lft 1799sec preferred_lft 1799sec", " inet6 fe80::d84e:a06b:d8fd:78e8/64 scope link noprefixroute ", " valid_lft forever preferred_lft forever"]} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "bond0.1", "persistent_state": "absent", "state": "down"}, {"name": "bond0.0", "persistent_state": "absent", "state": "down"}, {"name": "bond0", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [command] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond_deprecated.yml:95 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": true, "cmd": ["ip", "link", "del", "deprecated-bond"], "delta": "0:00:00.007570", "end": "2021-11-08 18:59:32.995394", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 18:59:32.987824", "stderr": "Cannot find device \"deprecated-bond\"", "stderr_lines": ["Cannot find device \"deprecated-bond\""], "stdout": "", "stdout_lines": []} ...ignoring TASK [Remove test interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.063514", "end": "2021-11-08 18:59:33.383880", "rc": 0, "start": "2021-11-08 18:59:33.320366", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "pkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\nfi\n", "delta": "0:00:00.013738", "end": "2021-11-08 18:59:33.721585", "rc": 0, "start": "2021-11-08 18:59:33.707847", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=63 changed=8 unreachable=0 failed=0 skipped=15 rescued=0 ignored=1 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_bond_initscripts.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_initscripts.yml ******************************************* 2 plays in /tmp/tmpmd5a3eg6/tests/tests_bond_initscripts.yml PLAY [Run playbook 'playbooks/tests_bond.yml' with initscripts as provider] **** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_bond_initscripts.yml:4 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_bond_initscripts.yml:7 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tests_bond_initscripts.yml:8 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "initscripts"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:12 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: dnsmasq-2.85-1.fc33.x86_64"]} TASK [Create test interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:9 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "ip link add test1 type veth peer name test1p\nip link add test2 type veth peer name test2p\nif [ -n \"$(pidof NetworkManager)\" ];then\n nmcli d set test1 managed true\n nmcli d set test2 managed true\n # NetworkManager should not manage DHCP server ports\n nmcli d set test1p managed false\n nmcli d set test2p managed false\nfi\nip link set test1p up\nip link set test2p up\n\n# Create the 'testbr' - providing both 10.x ipv4 and 2620:52:0 ipv6 dhcp\nip link add name testbr type bridge forward_delay 0\nif [ -n \"$(pidof NetworkManager)\" ];then\n # NetworkManager should not manage DHCP server ports\n nmcli d set testbr managed false\nfi\nip link set testbr up\nip addr add 192.0.2.1/24 dev testbr\nip -6 addr add 2001:DB8::1/32 dev testbr\n\nif grep 'release 6' /etc/redhat-release; then\n # We need bridge-utils and radvd only in rhel6\n if ! rpm -q --quiet radvd; then yum -y install radvd; fi\n if ! rpm -q --quiet bridge-utils; then yum -y install bridge-utils; fi\n\n # We need to add iptables rule to allow dhcp request\n iptables -I INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\n # Add test1, test2 peers into the testbr\n brctl addif testbr test1p\n brctl addif testbr test2p\n\n # in RHEL6 /run is not present\n mkdir -p /run\n\n # and dnsmasq does not support ipv6\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --interface=testbr --bind-interfaces\n\n # start radvd for ipv6\n echo 'interface testbr {' > /etc/radvd.conf\n echo ' AdvSendAdvert on;' >> /etc/radvd.conf\n echo ' prefix 2001:DB8::/64 { ' >> /etc/radvd.conf\n echo ' AdvOnLink on; }; ' >> /etc/radvd.conf\n echo ' }; ' >> /etc/radvd.conf\n\n # enable ipv6 forwarding\n sysctl -w net.ipv6.conf.all.forwarding=1\n service radvd restart\n\nelse\n ip link set test1p master testbr\n ip link set test2p master testbr\n # Run joint DHCP4/DHCP6 server with RA enabled in veth namespace\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --dhcp-range=2001:DB8::10,2001:DB8::1FF,slaac,64,240 --enable-ra --interface=testbr --bind-interfaces\nfi\n", "delta": "0:00:00.187248", "end": "2021-11-08 19:00:32.567815", "rc": 0, "start": "2021-11-08 19:00:32.380567", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398032.3932502, "block_size": 4096, "blocks": 0, "ctime": 1636398032.3932502, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/test1", "lnk_target": "../../devices/virtual/net/test1", "mode": "0777", "mtime": 1636398032.3932502, "nlink": 1, "path": "/sys/class/net/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface test1 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398032.394687, "block_size": 4096, "blocks": 0, "ctime": 1636398032.394687, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/test2", "lnk_target": "../../devices/virtual/net/test2", "mode": "0777", "mtime": 1636398032.394687, "nlink": 1, "path": "/sys/class/net/test2", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface test2 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Backup the /etc/resolv.conf for initscript] ****************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:22 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["cp", "-vf", "/etc/resolv.conf", "/etc/resolv.conf.bak"], "delta": "0:00:00.003811", "end": "2021-11-08 19:00:33.781127", "rc": 0, "start": "2021-11-08 19:00:33.777316", "stderr": "", "stderr_lines": [], "stdout": "'/etc/resolv.conf' -> '/etc/resolv.conf.bak'", "stdout_lines": ["'/etc/resolv.conf' -> '/etc/resolv.conf.bak'"]} TASK [TEST Add Bond with 2 ports] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:27 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: network-scripts-10.04-2.fc33.x86_64", "Installed: bc-1.07.1-14.fc33.x86_64", "Installed: chkconfig-1.14-3.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 changed: [/cache/fedora-33.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-563815br9b94f/tmpl8ck1f7n"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"bond": {"miimon": 110, "mode": "active-backup"}, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond"}, {"controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet"}, {"controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'\n[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'\n[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)\n[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='b\"\\nDetermining IP information for nm-bond... done.\\nINFO : [ipv6_wait_tentative] Waiting for interface nm-bond IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface nm-bond IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\\n\"'\n[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)\n[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)\n[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'", "[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)", "[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='b\"\\nDetermining IP information for nm-bond... done.\\nINFO : [ipv6_wait_tentative] Waiting for interface nm-bond IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface nm-bond IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\\n\"'", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'", "[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)", "[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='b\"\\nDetermining IP information for nm-bond... done.\\nINFO : [ipv6_wait_tentative] Waiting for interface nm-bond IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface nm-bond IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\\n\"'", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'\n[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'\n[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)\n[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='b\"\\nDetermining IP information for nm-bond... done.\\nINFO : [ipv6_wait_tentative] Waiting for interface nm-bond IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface nm-bond IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\\n\"'\n[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)\n[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)\n[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'", "[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)", "[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='b\"\\nDetermining IP information for nm-bond... done.\\nINFO : [ipv6_wait_tentative] Waiting for interface nm-bond IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface nm-bond IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n/usr/sbin/dhclient-script: line 706: /etc/resolv.conf: Permission denied\\n\"'", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get stat for interface nm-bond] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398041.1900272, "block_size": 4096, "blocks": 0, "ctime": 1636398041.1900272, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21932, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/nm-bond", "lnk_target": "../../devices/virtual/net/nm-bond", "mode": "0777", "mtime": 1636398041.1900272, "nlink": 1, "path": "/sys/class/net/nm-bond", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface nm-bond is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:58 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398041.147276, "block_size": 4096, "blocks": 8, "ctime": 1636398041.1352758, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132678, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636398041.1352758, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 199, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.027946", "end": "2021-11-08 19:00:48.516801", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:00:48.488855", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398041.192276, "block_size": 4096, "blocks": 8, "ctime": 1636398041.1352758, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132683, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636398041.1352758, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 115, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.020248", "end": "2021-11-08 19:00:49.425246", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:00:49.404998", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398041.192276, "block_size": 4096, "blocks": 8, "ctime": 1636398041.1352758, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132684, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636398041.1352758, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 115, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.020097", "end": "2021-11-08 19:00:50.285377", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:00:50.265280", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [** TEST check polling interval] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:65 changed: [/cache/fedora-33.qcow2] => {"attempts": 1, "changed": true, "cmd": ["grep", "Polling Interval", "/proc/net/bonding/nm-bond"], "delta": "0:00:00.003377", "end": "2021-11-08 19:00:50.697693", "rc": 0, "start": "2021-11-08 19:00:50.694316", "stderr": "", "stderr_lines": [], "stdout": "MII Polling Interval (ms): 110", "stdout_lines": ["MII Polling Interval (ms): 110"]} TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:70 changed: [/cache/fedora-33.qcow2] => {"attempts": 1, "changed": true, "cmd": ["ip", "-4", "a", "s", "nm-bond"], "delta": "0:00:00.003191", "end": "2021-11-08 19:00:51.085113", "rc": 0, "start": "2021-11-08 19:00:51.081922", "stderr": "", "stderr_lines": [], "stdout": "8: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000\n inet 192.0.2.18/24 brd 192.0.2.255 scope global dynamic nm-bond\n valid_lft 294sec preferred_lft 294sec", "stdout_lines": ["8: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000", " inet 192.0.2.18/24 brd 192.0.2.255 scope global dynamic nm-bond", " valid_lft 294sec preferred_lft 294sec"]} TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:76 changed: [/cache/fedora-33.qcow2] => {"attempts": 1, "changed": true, "cmd": ["ip", "-6", "a", "s", "nm-bond"], "delta": "0:00:00.002976", "end": "2021-11-08 19:00:51.429961", "rc": 0, "start": "2021-11-08 19:00:51.426985", "stderr": "", "stderr_lines": [], "stdout": "8: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000\n inet6 2001:db8::9018:2ff:fe75:670/64 scope global dynamic mngtmpaddr \n valid_lft 1793sec preferred_lft 1793sec\n inet6 fe80::9018:2ff:fe75:670/64 scope link \n valid_lft forever preferred_lft forever", "stdout_lines": ["8: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000", " inet6 2001:db8::9018:2ff:fe75:670/64 scope global dynamic mngtmpaddr ", " valid_lft 1793sec preferred_lft 1793sec", " inet6 fe80::9018:2ff:fe75:670/64 scope link ", " valid_lft forever preferred_lft forever"]} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-563815br9b94f/tmpp4_vcqlj"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "bond0.1", "persistent_state": "absent", "state": "down"}, {"name": "bond0.0", "persistent_state": "absent", "state": "down"}, {"name": "bond0", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)\n[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)\n[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[011] #2, state:down persistent_state:absent, 'bond0': down connection bond0 skipped because not active\n[012] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'\n[013] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'\n[014] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'\n", "stderr_lines": ["[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[011] #2, state:down persistent_state:absent, 'bond0': down connection bond0 skipped because not active", "[012] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'", "[013] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[014] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[011] #2, state:down persistent_state:absent, 'bond0': down connection bond0 skipped because not active", "[012] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'", "[013] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[014] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)\n[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)\n[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[011] #2, state:down persistent_state:absent, 'bond0': down connection bond0 skipped because not active\n[012] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'\n[013] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'\n[014] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'\n", "stderr_lines": [ "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[011] #2, state:down persistent_state:absent, 'bond0': down connection bond0 skipped because not active", "[012] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'", "[013] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[014] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [command] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:99 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "nm-bond"], "delta": "0:00:00.014822", "end": "2021-11-08 19:00:56.016104", "rc": 0, "start": "2021-11-08 19:00:56.001282", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Remove test interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.061659", "end": "2021-11-08 19:00:56.412938", "rc": 0, "start": "2021-11-08 19:00:56.351279", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "pkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\nfi\n", "delta": "0:00:00.013785", "end": "2021-11-08 19:00:56.760912", "rc": 0, "start": "2021-11-08 19:00:56.747127", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Restore the /etc/resolv.conf for initscript] ***************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:102 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["mv", "-vf", "/etc/resolv.conf.bak", "/etc/resolv.conf"], "delta": "0:00:00.003270", "end": "2021-11-08 19:00:57.100281", "rc": 0, "start": "2021-11-08 19:00:57.097011", "stderr": "", "stderr_lines": [], "stdout": "renamed '/etc/resolv.conf.bak' -> '/etc/resolv.conf'", "stdout_lines": ["renamed '/etc/resolv.conf.bak' -> '/etc/resolv.conf'"]} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=64 changed=11 unreachable=0 failed=0 skipped=16 rescued=0 ignored=3 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_bond_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml statically imported: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_nm.yml **************************************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_bond_nm.yml PLAY [Run playbook 'playbooks/tests_bond.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_bond_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_bond_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_bond_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:12 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: dnsmasq-2.85-1.fc33.x86_64"]} TASK [Create test interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:9 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "ip link add test1 type veth peer name test1p\nip link add test2 type veth peer name test2p\nif [ -n \"$(pidof NetworkManager)\" ];then\n nmcli d set test1 managed true\n nmcli d set test2 managed true\n # NetworkManager should not manage DHCP server ports\n nmcli d set test1p managed false\n nmcli d set test2p managed false\nfi\nip link set test1p up\nip link set test2p up\n\n# Create the 'testbr' - providing both 10.x ipv4 and 2620:52:0 ipv6 dhcp\nip link add name testbr type bridge forward_delay 0\nif [ -n \"$(pidof NetworkManager)\" ];then\n # NetworkManager should not manage DHCP server ports\n nmcli d set testbr managed false\nfi\nip link set testbr up\nip addr add 192.0.2.1/24 dev testbr\nip -6 addr add 2001:DB8::1/32 dev testbr\n\nif grep 'release 6' /etc/redhat-release; then\n # We need bridge-utils and radvd only in rhel6\n if ! rpm -q --quiet radvd; then yum -y install radvd; fi\n if ! rpm -q --quiet bridge-utils; then yum -y install bridge-utils; fi\n\n # We need to add iptables rule to allow dhcp request\n iptables -I INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\n # Add test1, test2 peers into the testbr\n brctl addif testbr test1p\n brctl addif testbr test2p\n\n # in RHEL6 /run is not present\n mkdir -p /run\n\n # and dnsmasq does not support ipv6\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --interface=testbr --bind-interfaces\n\n # start radvd for ipv6\n echo 'interface testbr {' > /etc/radvd.conf\n echo ' AdvSendAdvert on;' >> /etc/radvd.conf\n echo ' prefix 2001:DB8::/64 { ' >> /etc/radvd.conf\n echo ' AdvOnLink on; }; ' >> /etc/radvd.conf\n echo ' }; ' >> /etc/radvd.conf\n\n # enable ipv6 forwarding\n sysctl -w net.ipv6.conf.all.forwarding=1\n service radvd restart\n\nelse\n ip link set test1p master testbr\n ip link set test2p master testbr\n # Run joint DHCP4/DHCP6 server with RA enabled in veth namespace\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --dhcp-range=2001:DB8::10,2001:DB8::1FF,slaac,64,240 --enable-ra --interface=testbr --bind-interfaces\nfi\n", "delta": "0:00:00.197603", "end": "2021-11-08 19:02:00.158191", "rc": 0, "start": "2021-11-08 19:01:59.960588", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398119.9732184, "block_size": 4096, "blocks": 0, "ctime": 1636398119.9732184, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/test1", "lnk_target": "../../devices/virtual/net/test1", "mode": "0777", "mtime": 1636398119.9732184, "nlink": 1, "path": "/sys/class/net/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface test1 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398119.9782372, "block_size": 4096, "blocks": 0, "ctime": 1636398119.9782372, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/test2", "lnk_target": "../../devices/virtual/net/test2", "mode": "0777", "mtime": 1636398119.9782372, "nlink": 1, "path": "/sys/class/net/test2", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface test2 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Backup the /etc/resolv.conf for initscript] ****************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:22 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [TEST Add Bond with 2 ports] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:27 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"bond": {"miimon": 110, "mode": "active-backup"}, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond"}, {"controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet"}, {"controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 563b2fbe-0850-4b4a-b79b-a3c59418cd6a\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 3747681c-87bd-415f-bb3f-28f88a367bd9\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d6f360dc-1a50-4f55-8b00-6ca8aa6d9692\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 563b2fbe-0850-4b4a-b79b-a3c59418cd6a (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 3747681c-87bd-415f-bb3f-28f88a367bd9 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d6f360dc-1a50-4f55-8b00-6ca8aa6d9692 (not-active)\n", "stderr_lines": ["[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 563b2fbe-0850-4b4a-b79b-a3c59418cd6a", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 3747681c-87bd-415f-bb3f-28f88a367bd9", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d6f360dc-1a50-4f55-8b00-6ca8aa6d9692", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 563b2fbe-0850-4b4a-b79b-a3c59418cd6a (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 3747681c-87bd-415f-bb3f-28f88a367bd9 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d6f360dc-1a50-4f55-8b00-6ca8aa6d9692 (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 563b2fbe-0850-4b4a-b79b-a3c59418cd6a", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 3747681c-87bd-415f-bb3f-28f88a367bd9", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d6f360dc-1a50-4f55-8b00-6ca8aa6d9692", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 563b2fbe-0850-4b4a-b79b-a3c59418cd6a (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 3747681c-87bd-415f-bb3f-28f88a367bd9 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d6f360dc-1a50-4f55-8b00-6ca8aa6d9692 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 563b2fbe-0850-4b4a-b79b-a3c59418cd6a\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 3747681c-87bd-415f-bb3f-28f88a367bd9\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d6f360dc-1a50-4f55-8b00-6ca8aa6d9692\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 563b2fbe-0850-4b4a-b79b-a3c59418cd6a (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 3747681c-87bd-415f-bb3f-28f88a367bd9 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d6f360dc-1a50-4f55-8b00-6ca8aa6d9692 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 563b2fbe-0850-4b4a-b79b-a3c59418cd6a", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 3747681c-87bd-415f-bb3f-28f88a367bd9", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d6f360dc-1a50-4f55-8b00-6ca8aa6d9692", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 563b2fbe-0850-4b4a-b79b-a3c59418cd6a (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 3747681c-87bd-415f-bb3f-28f88a367bd9 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d6f360dc-1a50-4f55-8b00-6ca8aa6d9692 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get stat for interface nm-bond] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398127.9685094, "block_size": 4096, "blocks": 0, "ctime": 1636398127.9685094, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21932, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/nm-bond", "lnk_target": "../../devices/virtual/net/nm-bond", "mode": "0777", "mtime": 1636398127.9685094, "nlink": 1, "path": "/sys/class/net/nm-bond", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface nm-bond is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:58 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398127.9416091, "block_size": 4096, "blocks": 8, "ctime": 1636398127.9416091, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132385, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636398127.9416091, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.022763", "end": "2021-11-08 19:02:09.805282", "rc": 0, "start": "2021-11-08 19:02:09.782519", "stderr": "", "stderr_lines": [], "stdout": "bond0 /etc/sysconfig/network-scripts/ifcfg-bond0 \nbond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 \nbond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 ", "stdout_lines": ["bond0 /etc/sysconfig/network-scripts/ifcfg-bond0 ", "bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 ", "bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398127.979609, "block_size": 4096, "blocks": 8, "ctime": 1636398127.979609, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132488, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636398127.979609, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 167, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.021145", "end": "2021-11-08 19:02:10.633016", "rc": 0, "start": "2021-11-08 19:02:10.611871", "stderr": "", "stderr_lines": [], "stdout": "bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 ", "stdout_lines": ["bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398127.992609, "block_size": 4096, "blocks": 8, "ctime": 1636398127.992609, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132489, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636398127.992609, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 167, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.022808", "end": "2021-11-08 19:02:11.497467", "rc": 0, "start": "2021-11-08 19:02:11.474659", "stderr": "", "stderr_lines": [], "stdout": "bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 ", "stdout_lines": ["bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [** TEST check polling interval] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:65 changed: [/cache/fedora-33.qcow2] => {"attempts": 1, "changed": true, "cmd": ["grep", "Polling Interval", "/proc/net/bonding/nm-bond"], "delta": "0:00:00.003543", "end": "2021-11-08 19:02:11.900296", "rc": 0, "start": "2021-11-08 19:02:11.896753", "stderr": "", "stderr_lines": [], "stdout": "MII Polling Interval (ms): 110", "stdout_lines": ["MII Polling Interval (ms): 110"]} TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:70 changed: [/cache/fedora-33.qcow2] => {"attempts": 1, "changed": true, "cmd": ["ip", "-4", "a", "s", "nm-bond"], "delta": "0:00:00.003455", "end": "2021-11-08 19:02:12.242750", "rc": 0, "start": "2021-11-08 19:02:12.239295", "stderr": "", "stderr_lines": [], "stdout": "8: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000\n inet 192.0.2.62/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond\n valid_lft 240sec preferred_lft 240sec", "stdout_lines": ["8: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000", " inet 192.0.2.62/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond", " valid_lft 240sec preferred_lft 240sec"]} TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:76 changed: [/cache/fedora-33.qcow2] => {"attempts": 1, "changed": true, "cmd": ["ip", "-6", "a", "s", "nm-bond"], "delta": "0:00:00.002724", "end": "2021-11-08 19:02:12.580961", "rc": 0, "start": "2021-11-08 19:02:12.578237", "stderr": "", "stderr_lines": [], "stdout": "8: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000\n inet6 2001:db8::109/128 scope global tentative dynamic noprefixroute \n valid_lft 239sec preferred_lft 239sec\n inet6 2001:db8::5249:62a2:1be5:e862/64 scope global dynamic noprefixroute \n valid_lft 1798sec preferred_lft 1798sec\n inet6 fe80::9e2f:4a29:893a:72fa/64 scope link noprefixroute \n valid_lft forever preferred_lft forever", "stdout_lines": ["8: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000", " inet6 2001:db8::109/128 scope global tentative dynamic noprefixroute ", " valid_lft 239sec preferred_lft 239sec", " inet6 2001:db8::5249:62a2:1be5:e862/64 scope global dynamic noprefixroute ", " valid_lft 1798sec preferred_lft 1798sec", " inet6 fe80::9e2f:4a29:893a:72fa/64 scope link noprefixroute ", " valid_lft forever preferred_lft forever"]} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "bond0.1", "persistent_state": "absent", "state": "down"}, {"name": "bond0.0", "persistent_state": "absent", "state": "down"}, {"name": "bond0", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [command] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:99 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": true, "cmd": ["ip", "link", "del", "nm-bond"], "delta": "0:00:00.008352", "end": "2021-11-08 19:02:16.752093", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:02:16.743741", "stderr": "Cannot find device \"nm-bond\"", "stderr_lines": ["Cannot find device \"nm-bond\""], "stdout": "", "stdout_lines": []} ...ignoring TASK [Remove test interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.066133", "end": "2021-11-08 19:02:17.157882", "rc": 0, "start": "2021-11-08 19:02:17.091749", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "pkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\nfi\n", "delta": "0:00:00.014153", "end": "2021-11-08 19:02:17.516108", "rc": 0, "start": "2021-11-08 19:02:17.501955", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Restore the /etc/resolv.conf for initscript] ***************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bond.yml:102 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=63 changed=8 unreachable=0 failed=0 skipped=17 rescued=0 ignored=1 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_bridge_initscripts.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_bridge_initscripts.yml ***************************************** 8 plays in /tmp/tmpmd5a3eg6/tests/tests_bridge_initscripts.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_bridge_initscripts.yml:4 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_bridge_initscripts.yml:7 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tests_bridge_initscripts.yml:8 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "initscripts"}, "changed": false} META: ran handlers META: ran handlers PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bridge.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [set interface=LSR-TST-br31] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bridge.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"interface": "LSR-TST-br31"}, "changed": false} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bridge.yml:12 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.004202", "end": "2021-11-08 19:02:33.756324", "rc": 0, "start": "2021-11-08 19:02:33.752122", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bridge.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface LSR-TST-br31 is absent] **************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bridge.yml:15 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: network-scripts-10.04-2.fc33.x86_64", "Installed: bc-1.07.1-14.fc33.x86_64", "Installed: chkconfig-1.14-3.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 changed: [/cache/fedora-33.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-57823eqgdyc35/tmpyqyslgh1"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "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'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/run_tasks.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/run_tasks.yml:6 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398200.9085548, "block_size": 4096, "blocks": 0, "ctime": 1636398200.9085548, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21270, "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": 1636398200.9085548, "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 interface LSR-TST-br31 is present] *************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "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: /tmp/tmpmd5a3eg6/tests/playbooks/run_tasks.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/run_tasks.yml:6 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398200.7978091, "block_size": 4096, "blocks": 8, "ctime": 1636398200.7848094, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132660, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636398200.7848094, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 141, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.022694", "end": "2021-11-08 19:03:24.220350", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:03:24.197656", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'LSR-TST-br31' is present] *************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/down_profile.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-57823eqgdyc35/tmphj1pbgv4"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "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\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 stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__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] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "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 : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/remove_profile.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-57823eqgdyc35/tmpo20x3ppe"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "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'\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 stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__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] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "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 : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/run_tasks.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/run_tasks.yml:6 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.017226", "end": "2021-11-08 19:03:34.888688", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:03:34.871462", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'LSR-TST-br31' is absent] **************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=67 changed=4 unreachable=0 failed=0 skipped=20 rescued=0 ignored=2 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_bridge_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_bridge_nm.yml ************************************************** 8 plays in /tmp/tmpmd5a3eg6/tests/tests_bridge_nm.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_bridge_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_bridge_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_bridge_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bridge.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [set interface=LSR-TST-br31] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bridge.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"interface": "LSR-TST-br31"}, "changed": false} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bridge.yml:12 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003418", "end": "2021-11-08 19:03:50.566263", "rc": 0, "start": "2021-11-08 19:03:50.562845", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bridge.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface LSR-TST-br31 is absent] **************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_bridge.yml:15 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "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": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 68465867-1f4f-4d72-9918-8c9f0a8d3ee9\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 68465867-1f4f-4d72-9918-8c9f0a8d3ee9 (not-active)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 68465867-1f4f-4d72-9918-8c9f0a8d3ee9", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 68465867-1f4f-4d72-9918-8c9f0a8d3ee9 (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 68465867-1f4f-4d72-9918-8c9f0a8d3ee9", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 68465867-1f4f-4d72-9918-8c9f0a8d3ee9 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "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": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 68465867-1f4f-4d72-9918-8c9f0a8d3ee9\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 68465867-1f4f-4d72-9918-8c9f0a8d3ee9 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 68465867-1f4f-4d72-9918-8c9f0a8d3ee9", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 68465867-1f4f-4d72-9918-8c9f0a8d3ee9 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/run_tasks.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/run_tasks.yml:6 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398279.2248793, "block_size": 4096, "blocks": 0, "ctime": 1636398279.2248793, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21270, "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": 1636398279.2248793, "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 interface LSR-TST-br31 is present] *************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "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: /tmp/tmpmd5a3eg6/tests/playbooks/run_tasks.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/run_tasks.yml:6 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398279.258396, "block_size": 4096, "blocks": 8, "ctime": 1636398279.1913958, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636398279.1913958, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.022675", "end": "2021-11-08 19:04:42.448772", "rc": 0, "start": "2021-11-08 19:04:42.426097", "stderr": "", "stderr_lines": [], "stdout": "LSR-TST-br31 /etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31 ", "stdout_lines": ["LSR-TST-br31 /etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31 "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'LSR-TST-br31' is present] *************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/down_profile.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "LSR-TST-br31", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/remove_profile.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "LSR-TST-br31", "persistent_state": "absent"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/run_tasks.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/run_tasks.yml:6 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.016126", "end": "2021-11-08 19:04:52.623607", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:04:52.607481", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'LSR-TST-br31' is absent] **************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=65 changed=4 unreachable=0 failed=0 skipped=22 rescued=0 ignored=1 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_change_indication_on_repeat_run.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_change_indication_on_repeat_run.yml **************************** 1 plays in /tmp/tmpmd5a3eg6/tests/tests_change_indication_on_repeat_run.yml PLAY [Test change indication on repeat run] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_change_indication_on_repeat_run.yml:4 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_change_indication_on_repeat_run.yml:10 included: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.004161", "end": "2021-11-08 19:05:07.182445", "rc": 0, "start": "2021-11-08 19:05:07.178284", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1"], "delta": "0:00:00.012418", "end": "2021-11-08 19:05:49.523135", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2021-11-08 19:05:49.510717", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peertestnic1 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peertestnic1", "up"], "delta": "0:00:00.003509", "end": "2021-11-08 19:05:49.830331", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2021-11-08 19:05:49.826822", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set testnic1 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "testnic1", "up"], "delta": "0:00:00.006989", "end": "2021-11-08 19:05:50.143019", "item": "ip link set testnic1 up", "rc": 0, "start": "2021-11-08 19:05:50.136030", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "testnic1", "managed", "true"], "delta": "0:00:00.023606", "end": "2021-11-08 19:05:50.517955", "rc": 0, "start": "2021-11-08 19:05:50.494349", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_change_indication_on_repeat_run.yml:13 included: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398349.522677, "block_size": 4096, "blocks": 0, "ctime": 1636398349.522677, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1636398349.522677, "nlink": 1, "path": "/sys/class/net/testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface testnic1 is present] ******************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_role : linux-system-roles.network] ******************************* task path: /tmp/tmpmd5a3eg6/tests/tests_change_indication_on_repeat_run.yml:24 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"address": ["192.0.2.2/24"]}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 (not-active)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Assert change:true] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_change_indication_on_repeat_run.yml:27 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_role : linux-system-roles.network] ******************************* task path: /tmp/tmpmd5a3eg6/tests/tests_change_indication_on_repeat_run.yml:30 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"address": ["192.0.2.2/24"]}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 skipped because already active\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 skipped because already active"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 skipped because already active" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Assert change:false] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_change_indication_on_repeat_run.yml:33 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_role : linux-system-roles.network] ******************************* task path: /tmp/tmpmd5a3eg6/tests/tests_change_indication_on_repeat_run.yml:45 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": "no", "dhcp4": "no"}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Assert change:true] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_change_indication_on_repeat_run.yml:48 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_role : linux-system-roles.network] ******************************* task path: /tmp/tmpmd5a3eg6/tests/tests_change_indication_on_repeat_run.yml:51 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": "no", "dhcp4": "no"}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 skipped because already active\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 skipped because already active"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, d0799fd9-e671-4ca3-a206-857e0c6ab0c8 skipped because already active" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Assert change:false] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_change_indication_on_repeat_run.yml:54 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_role : linux-system-roles.network] ******************************* task path: /tmp/tmpmd5a3eg6/tests/tests_change_indication_on_repeat_run.yml:59 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "testnic1", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_change_indication_on_repeat_run.yml:67 included: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003534", "end": "2021-11-08 19:06:14.306287", "rc": 0, "start": "2021-11-08 19:06:14.302753", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\npeertestnic1\ntestnic1", "stdout_lines": ["eth0", "lo", "peertestnic1", "testnic1"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "peertestnic1", "testnic1"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peertestnic1 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set testnic1 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "testnic1", "type", "veth"], "delta": "0:00:00.015506", "end": "2021-11-08 19:06:16.491899", "rc": 0, "start": "2021-11-08 19:06:16.476393", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=68 changed=7 unreachable=0 failed=0 skipped=40 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_default.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpmd5a3eg6/tests/tests_default.yml PLAY [Test executing the role with default parameters] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_default.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": false, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Test warning and info logs] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default.yml:9 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=14 changed=1 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_default_initscripts.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_default_initscripts.yml **************************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_default_initscripts.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_default_initscripts.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default_initscripts.yml:5 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default_initscripts.yml:6 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "initscripts"}, "changed": false} META: ran handlers META: ran handlers PLAY [Test executing the role with default parameters] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_default.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: network-scripts-10.04-2.fc33.x86_64", "Installed: bc-1.07.1-14.fc33.x86_64", "Installed: chkconfig-1.14-3.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 changed: [/cache/fedora-33.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-60369j6wjs7py/tmpc8tteccv"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": false, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Test warning and info logs] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default.yml:9 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=19 changed=2 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_default_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_default_nm.yml ************************************************* 2 plays in /tmp/tmpmd5a3eg6/tests/tests_default_nm.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_default_nm.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default_nm.yml:5 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default_nm.yml:6 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [Test executing the role with default parameters] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_default.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": false, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Test warning and info logs] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default.yml:9 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=18 changed=1 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_dummy_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_dummy_nm.yml *************************************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_dummy_nm.yml PLAY [Run playbook 'playbooks/tests_dummy.yml' with nm as provider] ************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_dummy_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_dummy_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_dummy_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_dummy.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_dummy.yml:10 ok: [/cache/fedora-33.qcow2] => { "msg": "this is: playbooks/tests_dummy.yml" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_dummy.yml:17 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml for /cache/fedora-33.qcow2 TASK [TEST: Create a dummy interface] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:5 ok: [/cache/fedora-33.qcow2] => { "msg": "########## Create a dummy interface ##########" } TASK [Show item] *************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:9 ok: [/cache/fedora-33.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "Create a dummy interface" } ok: [/cache/fedora-33.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_dummy_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml", "tasks/assert_device_present.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/fedora-33.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003509", "end": "2021-11-08 19:09:52.365869", "rc": 0, "start": "2021-11-08 19:09:52.362360", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [setup] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:23 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/delete_interface.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/delete_interface.yml:3 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": ["ip", "link", "del", "dummy0"], "delta": "0:00:00.008266", "end": "2021-11-08 19:09:52.784445", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:09:52.776179", "stderr": "Cannot find device \"dummy0\"", "stderr_lines": ["Cannot find device \"dummy0\""], "stdout": "", "stdout_lines": []} ...ignoring TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface dummy0] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface dummy0 is absent] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [test] ******************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:29 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_dummy_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_dummy_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"address": ["192.0.2.42/30"]}, "name": "dummy0", "state": "up", "type": "dummy"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 99c5719e-5def-44ae-b669-8f6513cdac71\n[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 99c5719e-5def-44ae-b669-8f6513cdac71 (not-active)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 99c5719e-5def-44ae-b669-8f6513cdac71", "[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 99c5719e-5def-44ae-b669-8f6513cdac71 (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 99c5719e-5def-44ae-b669-8f6513cdac71", "[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 99c5719e-5def-44ae-b669-8f6513cdac71 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "address": [ "192.0.2.42/30" ] }, "name": "dummy0", "state": "up", "type": "dummy" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 99c5719e-5def-44ae-b669-8f6513cdac71\n[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 99c5719e-5def-44ae-b669-8f6513cdac71 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 99c5719e-5def-44ae-b669-8f6513cdac71", "[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 99c5719e-5def-44ae-b669-8f6513cdac71 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Show result] ************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_dummy_profile.yml:14 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "address": [ "192.0.2.42/30" ] }, "name": "dummy0", "state": "up", "type": "dummy" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 99c5719e-5def-44ae-b669-8f6513cdac71\n[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 99c5719e-5def-44ae-b669-8f6513cdac71 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 99c5719e-5def-44ae-b669-8f6513cdac71", "[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 99c5719e-5def-44ae-b669-8f6513cdac71 (not-active)" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep dummy0 | grep /etc", "delta": "0:00:00.019409", "end": "2021-11-08 19:10:56.677181", "rc": 0, "start": "2021-11-08 19:10:56.657772", "stderr": "", "stderr_lines": [], "stdout": "dummy0 /etc/NetworkManager/system-connections/dummy0.nmconnection ", "stdout_lines": ["dummy0 /etc/NetworkManager/system-connections/dummy0.nmconnection "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'dummy0' is present] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface dummy0] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398655.2282703, "block_size": 4096, "blocks": 0, "ctime": 1636398655.2282703, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21163, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/dummy0", "lnk_target": "../../devices/virtual/net/dummy0", "mode": "0777", "mtime": 1636398655.2282703, "nlink": 1, "path": "/sys/class/net/dummy0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface dummy0 is present] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:41 TASK [Success in test 'Create a dummy interface'] ****************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:47 ok: [/cache/fedora-33.qcow2] => { "msg": "+++++ Success in test 'Create a dummy interface' +++++" } TASK [cleanup] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:66 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-33.qcow2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml:3 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli con delete dummy0\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-dummy0\nrm -f /etc/sysconfig/network-scripts/ifcfg-dummy0\nip link del dummy0\n", "delta": "0:00:00.044382", "end": "2021-11-08 19:10:57.658399", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:10:57.614017", "stderr": "Cannot find device \"dummy0\"", "stderr_lines": ["Cannot find device \"dummy0\""], "stdout": "Connection 'dummy0' (99c5719e-5def-44ae-b669-8f6513cdac71) successfully deleted.", "stdout_lines": ["Connection 'dummy0' (99c5719e-5def-44ae-b669-8f6513cdac71) successfully deleted."]} ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=46 changed=2 unreachable=0 failed=0 skipped=12 rescued=0 ignored=2 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_eth_dns_support_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_eth_dns_support_nm.yml ***************************************** 6 plays in /tmp/tmpmd5a3eg6/tests/tests_eth_dns_support_nm.yml PLAY [Run playbook 'playbooks/tests_eth_dns_support.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_eth_dns_support_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_eth_dns_support_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_eth_dns_support_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_dns_support.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_dns_support.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_dns_support.yml:13 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"interface": "ethtest0", "type": "veth"}, "changed": false} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_dns_support.yml:17 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.004002", "end": "2021-11-08 19:11:14.278311", "rc": 0, "start": "2021-11-08 19:11:14.274309", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_dns_support.yml:18 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:01.006456", "end": "2021-11-08 19:11:15.766080", "rc": 0, "start": "2021-11-08 19:11:14.759624", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add ethtest0 type veth peer name peerethtest0) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0"], "delta": "0:00:00.011443", "end": "2021-11-08 19:11:53.510662", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2021-11-08 19:11:53.499219", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peerethtest0 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peerethtest0", "up"], "delta": "0:00:00.003778", "end": "2021-11-08 19:11:53.834154", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2021-11-08 19:11:53.830376", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set ethtest0 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "ethtest0", "up"], "delta": "0:00:00.008233", "end": "2021-11-08 19:11:54.152807", "item": "ip link set ethtest0 up", "rc": 0, "start": "2021-11-08 19:11:54.144574", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "ethtest0", "managed", "true"], "delta": "0:00:00.028244", "end": "2021-11-08 19:11:54.521707", "rc": 0, "start": "2021-11-08 19:11:54.493463", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface ethtest0] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface ethtest0] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface ethtest0] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface ethtest0] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_dns_support.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636398713.5102558, "block_size": 4096, "blocks": 0, "ctime": 1636398713.5102558, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1636398713.5102558, "nlink": 1, "path": "/sys/class/net/ethtest0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface ethtest0 is present] ******************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"autoconnect": true, "interface_name": "ethtest0", "ip": {"address": ["192.0.2.3/24", "198.51.100.3/26", "2001:db8::80/7"], "auto6": false, "dhcp4": false, "dns": ["192.0.2.2", "198.51.100.5", "2001:db8::20"], "dns_options": ["rotate", "timeout:1"], "dns_search": ["example.com", "example.org"], "gateway4": "192.0.2.1", "gateway6": "2001:db8::1", "route": [{"gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26}, {"gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26}], "route_append_only": false, "route_metric4": 100, "route_metric6": -1, "rule_append_only": true}, "name": "ethtest0", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b3fff725-c923-4ce9-844c-77b5356797b1\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b3fff725-c923-4ce9-844c-77b5356797b1 (not-active)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b3fff725-c923-4ce9-844c-77b5356797b1", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b3fff725-c923-4ce9-844c-77b5356797b1 (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b3fff725-c923-4ce9-844c-77b5356797b1", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b3fff725-c923-4ce9-844c-77b5356797b1 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "192.0.2.3/24", "198.51.100.3/26", "2001:db8::80/7" ], "auto6": false, "dhcp4": false, "dns": [ "192.0.2.2", "198.51.100.5", "2001:db8::20" ], "dns_options": [ "rotate", "timeout:1" ], "dns_search": [ "example.com", "example.org" ], "gateway4": "192.0.2.1", "gateway6": "2001:db8::1", "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26 }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26 } ], "route_append_only": false, "route_metric4": 100, "route_metric6": -1, "rule_append_only": true }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b3fff725-c923-4ce9-844c-77b5356797b1\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b3fff725-c923-4ce9-844c-77b5356797b1 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b3fff725-c923-4ce9-844c-77b5356797b1", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b3fff725-c923-4ce9-844c-77b5356797b1 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Verify nmcli connection DNS entry for IPv4] ****************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_dns_support.yml:69 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "set -euxo pipefail\nnmcli connection show ethtest0 | grep ipv4.dns\n", "delta": "0:00:00.021159", "end": "2021-11-08 19:12:02.575969", "rc": 0, "start": "2021-11-08 19:12:02.554810", "stderr": "+ nmcli connection show ethtest0\n+ grep ipv4.dns", "stderr_lines": ["+ nmcli connection show ethtest0", "+ grep ipv4.dns"], "stdout": "ipv4.dns: 192.0.2.2,198.51.100.5\nipv4.dns-search: example.com,example.org\nipv4.dns-options: rotate,timeout:1\nipv4.dns-priority: 0", "stdout_lines": ["ipv4.dns: 192.0.2.2,198.51.100.5", "ipv4.dns-search: example.com,example.org", "ipv4.dns-options: rotate,timeout:1", "ipv4.dns-priority: 0"]} TASK [Verify nmcli connection DNS entry for IPv6] ****************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_dns_support.yml:77 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "set -euxo pipefail\nnmcli connection show ethtest0 | grep ipv6.dns\n", "delta": "0:00:00.021015", "end": "2021-11-08 19:12:02.943325", "rc": 0, "start": "2021-11-08 19:12:02.922310", "stderr": "+ nmcli connection show ethtest0\n+ grep ipv6.dns", "stderr_lines": ["+ nmcli connection show ethtest0", "+ grep ipv6.dns"], "stdout": "ipv6.dns: 2001:db8::20\nipv6.dns-search: example.com,example.org\nipv6.dns-options: rotate,timeout:1\nipv6.dns-priority: 0", "stdout_lines": ["ipv6.dns: 2001:db8::20", "ipv6.dns-search: example.com,example.org", "ipv6.dns-options: rotate,timeout:1", "ipv6.dns-priority: 0"]} TASK [Assert that DNS addresses are configured correctly] ********************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_dns_support.yml:85 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Assert that DNS search domains are configured correctly] ***************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_dns_support.yml:93 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Assert that DNS options are configured correctly] ************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_dns_support.yml:102 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/down_profile.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "ethtest0", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "ethtest0", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/remove_profile.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "ethtest0", "persistent_state": "absent"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} META: ran handlers META: ran handlers PLAY [Remove interfaces] ******************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_dns_support.yml:119 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_dns_support.yml:122 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003681", "end": "2021-11-08 19:12:12.791523", "rc": 0, "start": "2021-11-08 19:12:12.787842", "stderr": "", "stderr_lines": [], "stdout": "eth0\nethtest0\nlo\npeerethtest0", "stdout_lines": ["eth0", "ethtest0", "lo", "peerethtest0"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "ethtest0", "lo", "peerethtest0"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'ethtest0', 'lo', 'peerethtest0']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add ethtest0 type veth peer name peerethtest0) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add ethtest0 type veth peer name peerethtest0", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peerethtest0 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peerethtest0 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set ethtest0 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set ethtest0 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "ethtest0", "type", "veth"], "delta": "0:00:00.015241", "end": "2021-11-08 19:12:14.954612", "rc": 0, "start": "2021-11-08 19:12:14.939371", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface ethtest0] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface ethtest0] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface ethtest0] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface ethtest0] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_dns_support.yml:125 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface ethtest0 is absent] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=71 changed=7 unreachable=0 failed=0 skipped=35 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_eth_pci_address_match_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_eth_pci_address_match_nm.yml *********************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_eth_pci_address_match_nm.yml PLAY [Run playbook 'playbooks/tests_eth_pci_address_match.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_eth_pci_address_match_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_eth_pci_address_match_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_eth_pci_address_match_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} TASK [Install NetworkManager] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_eth_pci_address_match_nm.yml:16 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_eth_pci_address_match_nm.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["rpm", "-q", "--qf", "%{version}", "NetworkManager"], "delta": "0:00:00.010937", "end": "2021-11-08 19:20:13.612889", "rc": 0, "start": "2021-11-08 19:20:13.601952", "stderr": "", "stderr_lines": [], "stdout": "1.26.8", "stdout_lines": ["1.26.8"]} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_pci_address_match.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"address": ["192.0.2.3/24"], "dhcp4": false}, "match": {"path": ["pci-0001:00:00.0"]}, "name": "pseudo-pci-test-only", "persistent_state": "present", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:present, 'pseudo-pci-test-only': add connection pseudo-pci-test-only, 7924770e-5193-45b0-89db-69b9a0bcb78d\n", "stderr_lines": ["[002] #0, state:None persistent_state:present, 'pseudo-pci-test-only': add connection pseudo-pci-test-only, 7924770e-5193-45b0-89db-69b9a0bcb78d"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'pseudo-pci-test-only': add connection pseudo-pci-test-only, 7924770e-5193-45b0-89db-69b9a0bcb78d" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "address": [ "192.0.2.3/24" ], "dhcp4": false }, "match": { "path": [ "pci-0001:00:00.0" ] }, "name": "pseudo-pci-test-only", "persistent_state": "present", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'pseudo-pci-test-only': add connection pseudo-pci-test-only, 7924770e-5193-45b0-89db-69b9a0bcb78d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'pseudo-pci-test-only': add connection pseudo-pci-test-only, 7924770e-5193-45b0-89db-69b9a0bcb78d" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get match.path setting for connection] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_pci_address_match.yml:23 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["nmcli", "-f", "match.path", "connection", "show", "pseudo-pci-test-only"], "delta": "0:00:00.017743", "end": "2021-11-08 19:20:21.627319", "rc": 0, "start": "2021-11-08 19:20:21.609576", "stderr": "", "stderr_lines": [], "stdout": "match.path: pci-0001:00:00.0", "stdout_lines": ["match.path: pci-0001:00:00.0"]} TASK [Assert that the connection profile contains the specified PCI address] *** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_pci_address_match.yml:29 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"interface_name": "", "match": {"path": null}, "name": "pseudo-pci-test-only", "state": "down", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[002] #0, state:down persistent_state:present, 'pseudo-pci-test-only': update connection pseudo-pci-test-only, 7924770e-5193-45b0-89db-69b9a0bcb78d\n", "stderr_lines": ["[002] #0, state:down persistent_state:present, 'pseudo-pci-test-only': update connection pseudo-pci-test-only, 7924770e-5193-45b0-89db-69b9a0bcb78d"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'pseudo-pci-test-only': update connection pseudo-pci-test-only, 7924770e-5193-45b0-89db-69b9a0bcb78d" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "interface_name": "", "match": { "path": null }, "name": "pseudo-pci-test-only", "state": "down", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:down persistent_state:present, 'pseudo-pci-test-only': update connection pseudo-pci-test-only, 7924770e-5193-45b0-89db-69b9a0bcb78d\n", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'pseudo-pci-test-only': update connection pseudo-pci-test-only, 7924770e-5193-45b0-89db-69b9a0bcb78d" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get match.path setting for connection] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_pci_address_match.yml:55 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["nmcli", "-f", "match.path", "connection", "show", "pseudo-pci-test-only"], "delta": "0:00:00.013770", "end": "2021-11-08 19:20:25.581693", "rc": 0, "start": "2021-11-08 19:20:25.567923", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Assert that the PCI address is removed] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_eth_pci_address_match.yml:61 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "pseudo-pci-test-only", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "pseudo-pci-test-only", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=37 changed=5 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_ethernet_initscripts.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_ethernet_initscripts.yml *************************************** 8 plays in /tmp/tmpmd5a3eg6/tests/tests_ethernet_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethernet.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_ethernet_initscripts.yml:4 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethernet_initscripts.yml:7 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethernet_initscripts.yml:8 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "initscripts"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Show inside ethernet tests] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:5 ok: [/cache/fedora-33.qcow2] => { "msg": "Inside ethernet tests" } TASK [Show network_provider] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:8 ok: [/cache/fedora-33.qcow2] => { "network_provider": "initscripts" } META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:12 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [set type=veth and interface=lsr27] *************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:19 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"interface": "lsr27", "type": "veth"}, "changed": false} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:23 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:01.005663", "end": "2021-11-08 19:20:47.302367", "rc": 0, "start": "2021-11-08 19:20:46.296704", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:24 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002907", "end": "2021-11-08 19:20:47.777250", "rc": 0, "start": "2021-11-08 19:20:47.774343", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface lsr27] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add lsr27 type veth peer name peerlsr27) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "lsr27", "type", "veth", "peer", "name", "peerlsr27"], "delta": "0:00:00.011020", "end": "2021-11-08 19:22:43.220884", "item": "ip link add lsr27 type veth peer name peerlsr27", "rc": 0, "start": "2021-11-08 19:22:43.209864", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peerlsr27 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peerlsr27", "up"], "delta": "0:00:00.004214", "end": "2021-11-08 19:22:43.553723", "item": "ip link set peerlsr27 up", "rc": 0, "start": "2021-11-08 19:22:43.549509", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set lsr27 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "lsr27", "up"], "delta": "0:00:00.006947", "end": "2021-11-08 19:22:43.868225", "item": "ip link set lsr27 up", "rc": 0, "start": "2021-11-08 19:22:43.861278", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "lsr27", "managed", "true"], "delta": "0:00:00.025814", "end": "2021-11-08 19:22:44.204664", "rc": 0, "start": "2021-11-08 19:22:44.178850", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface lsr27] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface lsr27] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface lsr27] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface lsr27] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface lsr27] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:27 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface lsr27] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636399363.2205148, "block_size": 4096, "blocks": 0, "ctime": 1636399363.2205148, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr27", "lnk_target": "../../devices/virtual/net/lsr27", "mode": "0777", "mtime": 1636399363.2205148, "nlink": 1, "path": "/sys/class/net/lsr27", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface lsr27 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY [Test static interface up] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:29 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: network-scripts-10.04-2.fc33.x86_64", "Installed: bc-1.07.1-14.fc33.x86_64", "Installed: chkconfig-1.14-3.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 changed: [/cache/fedora-33.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-62741kiycvplp/tmpjykxtps2"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"autoconnect": true, "interface_name": "lsr27", "ip": {"address": "192.0.2.1/24"}, "name": "lsr27", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27'\n[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)\n[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27'", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)", "[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27'", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)", "[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27'\n[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)\n[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27'", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)", "[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:43 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml for /cache/fedora-33.qcow2 TASK [Assert that warnings is empty] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:3 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Assert that there is output in stderr] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:8 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:45 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Show network_provider] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:47 ok: [/cache/fedora-33.qcow2] => { "network_provider": "initscripts" } META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/down_profile.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-62741kiycvplp/tmphgq8d32m"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "lsr27", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)\n[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)", "[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)", "[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "lsr27", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)\n[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)", "[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/remove_profile.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-62741kiycvplp/tmpa73cotzl"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "lsr27", "persistent_state": "absent"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'\n", "stderr_lines": ["[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "lsr27", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} META: ran handlers META: ran handlers PLAY [Remove interfaces] ******************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:61 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:64 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003262", "end": "2021-11-08 19:23:08.018482", "rc": 0, "start": "2021-11-08 19:23:08.015220", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\nlsr27\npeerlsr27", "stdout_lines": ["eth0", "lo", "lsr27", "peerlsr27"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "lsr27", "peerlsr27"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'lsr27', 'peerlsr27']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface lsr27] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add lsr27 type veth peer name peerlsr27) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add lsr27 type veth peer name peerlsr27", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peerlsr27 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peerlsr27 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set lsr27 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set lsr27 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface lsr27] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "lsr27", "type", "veth"], "delta": "0:00:00.014508", "end": "2021-11-08 19:23:10.231507", "rc": 0, "start": "2021-11-08 19:23:10.216999", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface lsr27] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface lsr27] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface lsr27] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface lsr27] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:67 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface lsr27] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface lsr27 is absent] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=77 changed=8 unreachable=0 failed=0 skipped=32 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_ethernet_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_ethernet_nm.yml ************************************************ 8 plays in /tmp/tmpmd5a3eg6/tests/tests_ethernet_nm.yml PLAY [Run playbook 'playbooks/tests_ethernet.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_ethernet_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethernet_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethernet_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Show inside ethernet tests] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:5 ok: [/cache/fedora-33.qcow2] => { "msg": "Inside ethernet tests" } TASK [Show network_provider] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:8 ok: [/cache/fedora-33.qcow2] => { "network_provider": "nm" } META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:12 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [set type=veth and interface=lsr27] *************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:19 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"interface": "lsr27", "type": "veth"}, "changed": false} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:23 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.004597", "end": "2021-11-08 19:23:26.924337", "rc": 0, "start": "2021-11-08 19:23:26.919740", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:24 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003240", "end": "2021-11-08 19:23:27.421360", "rc": 0, "start": "2021-11-08 19:23:27.418120", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface lsr27] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add lsr27 type veth peer name peerlsr27) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "lsr27", "type", "veth", "peer", "name", "peerlsr27"], "delta": "0:00:00.012947", "end": "2021-11-08 19:24:29.593699", "item": "ip link add lsr27 type veth peer name peerlsr27", "rc": 0, "start": "2021-11-08 19:24:29.580752", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peerlsr27 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peerlsr27", "up"], "delta": "0:00:00.003368", "end": "2021-11-08 19:24:29.900876", "item": "ip link set peerlsr27 up", "rc": 0, "start": "2021-11-08 19:24:29.897508", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set lsr27 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "lsr27", "up"], "delta": "0:00:00.009268", "end": "2021-11-08 19:24:30.216160", "item": "ip link set lsr27 up", "rc": 0, "start": "2021-11-08 19:24:30.206892", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "lsr27", "managed", "true"], "delta": "0:00:00.024187", "end": "2021-11-08 19:24:30.563443", "rc": 0, "start": "2021-11-08 19:24:30.539256", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface lsr27] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface lsr27] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface lsr27] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface lsr27] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface lsr27] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:27 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface lsr27] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636399469.5927126, "block_size": 4096, "blocks": 0, "ctime": 1636399469.5927126, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr27", "lnk_target": "../../devices/virtual/net/lsr27", "mode": "0777", "mtime": 1636399469.5927126, "nlink": 1, "path": "/sys/class/net/lsr27", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface lsr27 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY [Test static interface up] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:29 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"autoconnect": true, "interface_name": "lsr27", "ip": {"address": "192.0.2.1/24"}, "name": "lsr27", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'lsr27': add connection lsr27, c9120395-0deb-4619-95fb-3cce12bb11d4\n[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, c9120395-0deb-4619-95fb-3cce12bb11d4 (not-active)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'lsr27': add connection lsr27, c9120395-0deb-4619-95fb-3cce12bb11d4", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, c9120395-0deb-4619-95fb-3cce12bb11d4 (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add connection lsr27, c9120395-0deb-4619-95fb-3cce12bb11d4", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, c9120395-0deb-4619-95fb-3cce12bb11d4 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'lsr27': add connection lsr27, c9120395-0deb-4619-95fb-3cce12bb11d4\n[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, c9120395-0deb-4619-95fb-3cce12bb11d4 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add connection lsr27, c9120395-0deb-4619-95fb-3cce12bb11d4", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, c9120395-0deb-4619-95fb-3cce12bb11d4 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:43 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml for /cache/fedora-33.qcow2 TASK [Assert that warnings is empty] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:3 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Assert that there is output in stderr] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml:8 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:45 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Show network_provider] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:47 ok: [/cache/fedora-33.qcow2] => { "network_provider": "nm" } META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/down_profile.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "lsr27", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "lsr27", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/remove_profile.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "lsr27", "persistent_state": "absent"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "lsr27", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} META: ran handlers META: ran handlers PLAY [Remove interfaces] ******************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:61 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:64 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.004011", "end": "2021-11-08 19:24:49.462640", "rc": 0, "start": "2021-11-08 19:24:49.458629", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\nlsr27\npeerlsr27", "stdout_lines": ["eth0", "lo", "lsr27", "peerlsr27"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "lsr27", "peerlsr27"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'lsr27', 'peerlsr27']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface lsr27] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add lsr27 type veth peer name peerlsr27) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add lsr27 type veth peer name peerlsr27", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peerlsr27 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peerlsr27 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set lsr27 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set lsr27 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface lsr27] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "lsr27", "type", "veth"], "delta": "0:00:00.010964", "end": "2021-11-08 19:24:51.712030", "rc": 0, "start": "2021-11-08 19:24:51.701066", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface lsr27] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface lsr27] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface lsr27] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface lsr27] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethernet.yml:67 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface lsr27] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface lsr27 is absent] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=74 changed=7 unreachable=0 failed=0 skipped=35 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_ethtool_coalesce_initscripts.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_ethtool_coalesce_initscripts.yml ******************************* 2 plays in /tmp/tmpmd5a3eg6/tests/tests_ethtool_coalesce_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_coalesce.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_coalesce_initscripts.yml:4 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_coalesce_initscripts.yml:7 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_coalesce_initscripts.yml:8 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "initscripts"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:8 ok: [/cache/fedora-33.qcow2] => { "msg": "this is: playbooks/tests_ethtool_coalesce.yml" } TASK [INIT: Ethtool coalesce tests] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:14 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:17 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003867", "end": "2021-11-08 19:25:08.732245", "rc": 0, "start": "2021-11-08 19:25:08.728378", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:18 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003161", "end": "2021-11-08 19:25:09.199656", "rc": 0, "start": "2021-11-08 19:25:09.196495", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1"], "delta": "0:00:00.014863", "end": "2021-11-08 19:25:47.992401", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2021-11-08 19:25:47.977538", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peertestnic1 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peertestnic1", "up"], "delta": "0:00:00.003828", "end": "2021-11-08 19:25:48.336851", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2021-11-08 19:25:48.333023", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set testnic1 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "testnic1", "up"], "delta": "0:00:00.008433", "end": "2021-11-08 19:25:48.681540", "item": "ip link set testnic1 up", "rc": 0, "start": "2021-11-08 19:25:48.673107", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "testnic1", "managed", "true"], "delta": "0:00:00.025262", "end": "2021-11-08 19:25:49.056779", "rc": 0, "start": "2021-11-08 19:25:49.031517", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636399547.9916692, "block_size": 4096, "blocks": 0, "ctime": 1636399547.9916692, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1636399547.9916692, "nlink": 1, "path": "/sys/class/net/testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface testnic1 is present] ******************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:22 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: ethtool-2:5.14-1.fc33.x86_64"]} TASK [TEST: I can create a profile without any coalescing option.] ************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:28 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: network-scripts-10.04-2.fc33.x86_64", "Installed: bc-1.07.1-14.fc33.x86_64", "Installed: chkconfig-1.14-3.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 changed: [/cache/fedora-33.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-64475_05rgctz/tmplbpd3v4b"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:44 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:49 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:54 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": true, "cmd": ["grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1"], "delta": "0:00:01.004742", "end": "2021-11-08 19:26:01.647502", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:26:00.642760", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:61 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST: I can set rx-frames.] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:67 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-64475_05rgctz/tmp5e11lnky"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ethtool": {"coalesce": {"rx_frames": 128}}, "ip": {"auto6": false, "dhcp4": false}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\nRTNETLINK answers: File exists\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\nRTNETLINK answers: File exists\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\nRTNETLINK answers: File exists\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:85 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Assert coalesce options set in profile] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:90 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:96 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1"], "delta": "0:00:01.004481", "end": "2021-11-08 19:26:07.223496", "rc": 0, "start": "2021-11-08 19:26:06.219015", "stderr": "", "stderr_lines": [], "stdout": "ETHTOOL_OPTS=\"-C testnic1 rx-frames 128\"", "stdout_lines": ["ETHTOOL_OPTS=\"-C testnic1 rx-frames 128\""]} TASK [Assert coalesce options set in profile] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:103 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST: I can clear coalescing options] ************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:109 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-64475_05rgctz/tmpayzhw17w"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:124 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:129 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:134 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": true, "cmd": ["grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1"], "delta": "0:00:00.003484", "end": "2021-11-08 19:26:11.830652", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:26:11.827168", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:141 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-64475_05rgctz/tmp_a2n_7b8"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "testnic1", "persistent_state": "absent"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": ["[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:157 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003265", "end": "2021-11-08 19:26:16.419250", "rc": 0, "start": "2021-11-08 19:26:16.415985", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\npeertestnic1\ntestnic1", "stdout_lines": ["eth0", "lo", "peertestnic1", "testnic1"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "peertestnic1", "testnic1"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peertestnic1 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set testnic1 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "testnic1", "type", "veth"], "delta": "0:00:00.012956", "end": "2021-11-08 19:26:18.689910", "rc": 0, "start": "2021-11-08 19:26:18.676954", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=81 changed=13 unreachable=0 failed=0 skipped=42 rescued=0 ignored=2 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_ethtool_coalesce_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_ethtool_coalesce_nm.yml **************************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_ethtool_coalesce_nm.yml PLAY [Run playbook 'playbooks/tests_ethtool_coalesce.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_coalesce_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_coalesce_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_coalesce_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} TASK [Install NetworkManager] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_coalesce_nm.yml:16 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_coalesce_nm.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["rpm", "-q", "--qf", "%{version}", "NetworkManager"], "delta": "0:00:00.009735", "end": "2021-11-08 19:27:30.286506", "rc": 0, "start": "2021-11-08 19:27:30.276771", "stderr": "", "stderr_lines": [], "stdout": "1.26.8", "stdout_lines": ["1.26.8"]} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:8 ok: [/cache/fedora-33.qcow2] => { "msg": "this is: playbooks/tests_ethtool_coalesce.yml" } TASK [INIT: Ethtool coalesce tests] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:14 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:17 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003263", "end": "2021-11-08 19:27:31.345281", "rc": 0, "start": "2021-11-08 19:27:31.342018", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:18 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003684", "end": "2021-11-08 19:27:31.873619", "rc": 0, "start": "2021-11-08 19:27:31.869935", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1"], "delta": "0:00:00.013646", "end": "2021-11-08 19:27:33.932156", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2021-11-08 19:27:33.918510", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peertestnic1 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peertestnic1", "up"], "delta": "0:00:00.004401", "end": "2021-11-08 19:27:34.261455", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2021-11-08 19:27:34.257054", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set testnic1 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "testnic1", "up"], "delta": "0:00:00.007597", "end": "2021-11-08 19:27:34.591405", "item": "ip link set testnic1 up", "rc": 0, "start": "2021-11-08 19:27:34.583808", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "testnic1", "managed", "true"], "delta": "0:00:00.023489", "end": "2021-11-08 19:27:34.943701", "rc": 0, "start": "2021-11-08 19:27:34.920212", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636399653.9304807, "block_size": 4096, "blocks": 0, "ctime": 1636399653.9304807, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1636399653.9304807, "nlink": 1, "path": "/sys/class/net/testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface testnic1 is present] ******************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:22 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: ethtool-2:5.14-1.fc33.x86_64"]} TASK [TEST: I can create a profile without any coalescing option.] ************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:28 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4 (not-active)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4 (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:44 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "-g", "ethtool.coalesce-rx-frames", "c", "show", "testnic1"], "delta": "0:00:00.016510", "end": "2021-11-08 19:27:46.415664", "rc": 0, "start": "2021-11-08 19:27:46.399154", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:49 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:54 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:61 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [TEST: I can set rx-frames.] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:67 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ethtool": {"coalesce": {"rx_frames": 128}}, "ip": {"auto6": false, "dhcp4": false}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:85 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "-g", "ethtool.coalesce-rx-frames", "c", "show", "testnic1"], "delta": "0:00:00.017779", "end": "2021-11-08 19:27:50.780122", "rc": 0, "start": "2021-11-08 19:27:50.762343", "stderr": "", "stderr_lines": [], "stdout": "128", "stdout_lines": ["128"]} TASK [Assert coalesce options set in profile] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:90 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:96 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Assert coalesce options set in profile] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:103 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [TEST: I can clear coalescing options] ************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:109 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 49d2b9a2-fc78-4876-a9e0-7032477880b4 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:124 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "-g", "ethtool.coalesce-rx-frames", "c", "show", "testnic1"], "delta": "0:00:00.016328", "end": "2021-11-08 19:27:55.098046", "rc": 0, "start": "2021-11-08 19:27:55.081718", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:129 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get profile's coalescing options] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:134 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:141 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "testnic1", "persistent_state": "absent"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_coalesce.yml:157 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003282", "end": "2021-11-08 19:27:59.495876", "rc": 0, "start": "2021-11-08 19:27:59.492594", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\npeertestnic1\ntestnic1", "stdout_lines": ["eth0", "lo", "peertestnic1", "testnic1"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "peertestnic1", "testnic1"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peertestnic1 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set testnic1 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "testnic1", "type", "veth"], "delta": "0:00:00.013989", "end": "2021-11-08 19:28:01.665225", "rc": 0, "start": "2021-11-08 19:28:01.651236", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=79 changed=13 unreachable=0 failed=0 skipped=46 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_ethtool_features_initscripts.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_ethtool_features_initscripts.yml ******************************* 2 plays in /tmp/tmpmd5a3eg6/tests/tests_ethtool_features_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_features.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_features_initscripts.yml:4 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_features_initscripts.yml:7 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_features_initscripts.yml:8 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "initscripts"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:8 ok: [/cache/fedora-33.qcow2] => { "msg": "this is: playbooks/tests_ethtool_features.yml" } TASK [INIT: Ethtool feeatures tests] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:14 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:17 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003904", "end": "2021-11-08 19:28:17.218913", "rc": 0, "start": "2021-11-08 19:28:17.215009", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:18 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003202", "end": "2021-11-08 19:28:17.714985", "rc": 0, "start": "2021-11-08 19:28:17.711783", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1"], "delta": "0:00:00.013148", "end": "2021-11-08 19:28:54.117092", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2021-11-08 19:28:54.103944", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peertestnic1 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peertestnic1", "up"], "delta": "0:00:00.003136", "end": "2021-11-08 19:28:54.429488", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2021-11-08 19:28:54.426352", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set testnic1 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "testnic1", "up"], "delta": "0:00:00.006364", "end": "2021-11-08 19:28:54.748246", "item": "ip link set testnic1 up", "rc": 0, "start": "2021-11-08 19:28:54.741882", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "testnic1", "managed", "true"], "delta": "0:00:00.023435", "end": "2021-11-08 19:28:55.095424", "rc": 0, "start": "2021-11-08 19:28:55.071989", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636399734.1147983, "block_size": 4096, "blocks": 0, "ctime": 1636399734.1147983, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1636399734.1147983, "nlink": 1, "path": "/sys/class/net/testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface testnic1 is present] ******************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:22 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: ethtool-2:5.14-1.fc33.x86_64"]} TASK [TEST: I can create a profile without changing the ethtool features.] ***** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:29 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [Get current device features] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:33 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ethtool", "--show-features", "testnic1"], "delta": "0:00:00.003221", "end": "2021-11-08 19:28:58.197664", "rc": 0, "start": "2021-11-08 19:28:58.194443", "stderr": "", "stderr_lines": [], "stdout": "Features for testnic1:\nrx-checksumming: on\ntx-checksumming: on\n\ttx-checksum-ipv4: off [fixed]\n\ttx-checksum-ip-generic: on\n\ttx-checksum-ipv6: off [fixed]\n\ttx-checksum-fcoe-crc: off [fixed]\n\ttx-checksum-sctp: on\nscatter-gather: on\n\ttx-scatter-gather: on\n\ttx-scatter-gather-fraglist: on\ntcp-segmentation-offload: on\n\ttx-tcp-segmentation: on\n\ttx-tcp-ecn-segmentation: on\n\ttx-tcp-mangleid-segmentation: on\n\ttx-tcp6-segmentation: on\ngeneric-segmentation-offload: on\ngeneric-receive-offload: off\nlarge-receive-offload: off [fixed]\nrx-vlan-offload: on\ntx-vlan-offload: on\nntuple-filters: off [fixed]\nreceive-hashing: off [fixed]\nhighdma: on\nrx-vlan-filter: off [fixed]\nvlan-challenged: off [fixed]\ntx-lockless: on [fixed]\nnetns-local: off [fixed]\ntx-gso-robust: off [fixed]\ntx-fcoe-segmentation: off [fixed]\ntx-gre-segmentation: on\ntx-gre-csum-segmentation: on\ntx-ipxip4-segmentation: on\ntx-ipxip6-segmentation: on\ntx-udp_tnl-segmentation: on\ntx-udp_tnl-csum-segmentation: on\ntx-gso-partial: off [fixed]\ntx-tunnel-remcsum-segmentation: off [fixed]\ntx-sctp-segmentation: on\ntx-esp-segmentation: off [fixed]\ntx-udp-segmentation: on\ntx-gso-list: on\nfcoe-mtu: off [fixed]\ntx-nocache-copy: off\nloopback: off [fixed]\nrx-fcs: off [fixed]\nrx-all: off [fixed]\ntx-vlan-stag-hw-insert: on\nrx-vlan-stag-hw-parse: on\nrx-vlan-stag-filter: off [fixed]\nl2-fwd-offload: off [fixed]\nhw-tc-offload: off [fixed]\nesp-hw-offload: off [fixed]\nesp-tx-csum-hw-offload: off [fixed]\nrx-udp_tunnel-port-offload: off [fixed]\ntls-hw-tx-offload: off [fixed]\ntls-hw-rx-offload: off [fixed]\nrx-gro-hw: off [fixed]\ntls-hw-record: off [fixed]\nrx-gro-list: off\nmacsec-hw-offload: off [fixed]\nrx-udp-gro-forwarding: off\nhsr-tag-ins-offload: off [fixed]\nhsr-tag-rm-offload: off [fixed]\nhsr-fwd-offload: off [fixed]\nhsr-dup-offload: off [fixed]", "stdout_lines": ["Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: on", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: on", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "tls-hw-rx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]", "rx-gro-list: off", "macsec-hw-offload: off [fixed]", "rx-udp-gro-forwarding: off", "hsr-tag-ins-offload: off [fixed]", "hsr-tag-rm-offload: off [fixed]", "hsr-fwd-offload: off [fixed]", "hsr-dup-offload: off [fixed]"]} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: network-scripts-10.04-2.fc33.x86_64", "Installed: bc-1.07.1-14.fc33.x86_64", "Installed: chkconfig-1.14-3.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 changed: [/cache/fedora-33.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-663565wzyde3f/tmpqr9ef53o"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": "no", "dhcp4": "no"}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get current device features] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:47 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ethtool", "--show-features", "testnic1"], "delta": "0:00:00.003685", "end": "2021-11-08 19:29:06.658510", "rc": 0, "start": "2021-11-08 19:29:06.654825", "stderr": "", "stderr_lines": [], "stdout": "Features for testnic1:\nrx-checksumming: on\ntx-checksumming: on\n\ttx-checksum-ipv4: off [fixed]\n\ttx-checksum-ip-generic: on\n\ttx-checksum-ipv6: off [fixed]\n\ttx-checksum-fcoe-crc: off [fixed]\n\ttx-checksum-sctp: on\nscatter-gather: on\n\ttx-scatter-gather: on\n\ttx-scatter-gather-fraglist: on\ntcp-segmentation-offload: on\n\ttx-tcp-segmentation: on\n\ttx-tcp-ecn-segmentation: on\n\ttx-tcp-mangleid-segmentation: on\n\ttx-tcp6-segmentation: on\ngeneric-segmentation-offload: on\ngeneric-receive-offload: off\nlarge-receive-offload: off [fixed]\nrx-vlan-offload: on\ntx-vlan-offload: on\nntuple-filters: off [fixed]\nreceive-hashing: off [fixed]\nhighdma: on\nrx-vlan-filter: off [fixed]\nvlan-challenged: off [fixed]\ntx-lockless: on [fixed]\nnetns-local: off [fixed]\ntx-gso-robust: off [fixed]\ntx-fcoe-segmentation: off [fixed]\ntx-gre-segmentation: on\ntx-gre-csum-segmentation: on\ntx-ipxip4-segmentation: on\ntx-ipxip6-segmentation: on\ntx-udp_tnl-segmentation: on\ntx-udp_tnl-csum-segmentation: on\ntx-gso-partial: off [fixed]\ntx-tunnel-remcsum-segmentation: off [fixed]\ntx-sctp-segmentation: on\ntx-esp-segmentation: off [fixed]\ntx-udp-segmentation: on\ntx-gso-list: on\nfcoe-mtu: off [fixed]\ntx-nocache-copy: off\nloopback: off [fixed]\nrx-fcs: off [fixed]\nrx-all: off [fixed]\ntx-vlan-stag-hw-insert: on\nrx-vlan-stag-hw-parse: on\nrx-vlan-stag-filter: off [fixed]\nl2-fwd-offload: off [fixed]\nhw-tc-offload: off [fixed]\nesp-hw-offload: off [fixed]\nesp-tx-csum-hw-offload: off [fixed]\nrx-udp_tunnel-port-offload: off [fixed]\ntls-hw-tx-offload: off [fixed]\ntls-hw-rx-offload: off [fixed]\nrx-gro-hw: off [fixed]\ntls-hw-record: off [fixed]\nrx-gro-list: off\nmacsec-hw-offload: off [fixed]\nrx-udp-gro-forwarding: off\nhsr-tag-ins-offload: off [fixed]\nhsr-tag-rm-offload: off [fixed]\nhsr-fwd-offload: off [fixed]\nhsr-dup-offload: off [fixed]", "stdout_lines": ["Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: on", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: on", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "tls-hw-rx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]", "rx-gro-list: off", "macsec-hw-offload: off [fixed]", "rx-udp-gro-forwarding: off", "hsr-tag-ins-offload: off [fixed]", "hsr-tag-rm-offload: off [fixed]", "hsr-fwd-offload: off [fixed]", "hsr-dup-offload: off [fixed]"]} TASK [ASSERT: The profile does not change the ethtool features] **************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:50 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST: I can disable gro and tx-tcp-segmentation and enable gso.] ********* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:56 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-663565wzyde3f/tmpyw1djp4s"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ethtool": {"features": {"gro": "no", "gso": "yes", "tx-tcp-segmentation": "no"}}, "ip": {"auto6": "no", "dhcp4": "no"}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\\ntx-tcp-segmentation: off\\ntx-tcp-mangleid-segmentation: off [not requested]\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\\ntx-tcp-segmentation: off\\ntx-tcp-mangleid-segmentation: off [not requested]\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\\ntx-tcp-segmentation: off\\ntx-tcp-mangleid-segmentation: off [not requested]\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ethtool": { "features": { "gro": "no", "gso": "yes", "tx-tcp-segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\\ntx-tcp-segmentation: off\\ntx-tcp-mangleid-segmentation: off [not requested]\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\\ntx-tcp-segmentation: off\\ntx-tcp-mangleid-segmentation: off [not requested]\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get current device features] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:76 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ethtool", "--show-features", "testnic1"], "delta": "0:00:00.002630", "end": "2021-11-08 19:29:11.118850", "rc": 0, "start": "2021-11-08 19:29:11.116220", "stderr": "", "stderr_lines": [], "stdout": "Features for testnic1:\nrx-checksumming: on\ntx-checksumming: on\n\ttx-checksum-ipv4: off [fixed]\n\ttx-checksum-ip-generic: on\n\ttx-checksum-ipv6: off [fixed]\n\ttx-checksum-fcoe-crc: off [fixed]\n\ttx-checksum-sctp: on\nscatter-gather: on\n\ttx-scatter-gather: on\n\ttx-scatter-gather-fraglist: on\ntcp-segmentation-offload: on\n\ttx-tcp-segmentation: off\n\ttx-tcp-ecn-segmentation: on\n\ttx-tcp-mangleid-segmentation: off [requested on]\n\ttx-tcp6-segmentation: on\ngeneric-segmentation-offload: on\ngeneric-receive-offload: off\nlarge-receive-offload: off [fixed]\nrx-vlan-offload: on\ntx-vlan-offload: on\nntuple-filters: off [fixed]\nreceive-hashing: off [fixed]\nhighdma: on\nrx-vlan-filter: off [fixed]\nvlan-challenged: off [fixed]\ntx-lockless: on [fixed]\nnetns-local: off [fixed]\ntx-gso-robust: off [fixed]\ntx-fcoe-segmentation: off [fixed]\ntx-gre-segmentation: on\ntx-gre-csum-segmentation: on\ntx-ipxip4-segmentation: on\ntx-ipxip6-segmentation: on\ntx-udp_tnl-segmentation: on\ntx-udp_tnl-csum-segmentation: on\ntx-gso-partial: off [fixed]\ntx-tunnel-remcsum-segmentation: off [fixed]\ntx-sctp-segmentation: on\ntx-esp-segmentation: off [fixed]\ntx-udp-segmentation: on\ntx-gso-list: on\nfcoe-mtu: off [fixed]\ntx-nocache-copy: off\nloopback: off [fixed]\nrx-fcs: off [fixed]\nrx-all: off [fixed]\ntx-vlan-stag-hw-insert: on\nrx-vlan-stag-hw-parse: on\nrx-vlan-stag-filter: off [fixed]\nl2-fwd-offload: off [fixed]\nhw-tc-offload: off [fixed]\nesp-hw-offload: off [fixed]\nesp-tx-csum-hw-offload: off [fixed]\nrx-udp_tunnel-port-offload: off [fixed]\ntls-hw-tx-offload: off [fixed]\ntls-hw-rx-offload: off [fixed]\nrx-gro-hw: off [fixed]\ntls-hw-record: off [fixed]\nrx-gro-list: off\nmacsec-hw-offload: off [fixed]\nrx-udp-gro-forwarding: off\nhsr-tag-ins-offload: off [fixed]\nhsr-tag-rm-offload: off [fixed]\nhsr-fwd-offload: off [fixed]\nhsr-dup-offload: off [fixed]", "stdout_lines": ["Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: off", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: off [requested on]", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "tls-hw-rx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]", "rx-gro-list: off", "macsec-hw-offload: off [fixed]", "rx-udp-gro-forwarding: off", "hsr-tag-ins-offload: off [fixed]", "hsr-tag-rm-offload: off [fixed]", "hsr-fwd-offload: off [fixed]", "hsr-dup-offload: off [fixed]"]} TASK [Show ethtool_features] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:79 ok: [/cache/fedora-33.qcow2] => { "ethtool_features.stdout_lines": [ "Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: off", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: off [requested on]", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "tls-hw-rx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]", "rx-gro-list: off", "macsec-hw-offload: off [fixed]", "rx-udp-gro-forwarding: off", "hsr-tag-ins-offload: off [fixed]", "hsr-tag-rm-offload: off [fixed]", "hsr-fwd-offload: off [fixed]", "hsr-dup-offload: off [fixed]" ] } TASK [Assert device features] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:82 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST: I can enable tx_tcp_segmentation (using underscores).] ************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:96 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-663565wzyde3f/tmptexavdq2"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ethtool": {"features": {"tx_tcp_segmentation": "yes"}}, "ip": {"auto6": "no", "dhcp4": "no"}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\\ntx-tcp-segmentation: on\\ntx-tcp-mangleid-segmentation: on [not requested]\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\\ntx-tcp-segmentation: on\\ntx-tcp-mangleid-segmentation: on [not requested]\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\\ntx-tcp-segmentation: on\\ntx-tcp-mangleid-segmentation: on [not requested]\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ethtool": { "features": { "tx_tcp_segmentation": "yes" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\\ntx-tcp-segmentation: on\\ntx-tcp-mangleid-segmentation: on [not requested]\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b'Actual changes:\\ntx-tcp-segmentation: on\\ntx-tcp-mangleid-segmentation: on [not requested]\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get current device features] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:114 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ethtool", "--show-features", "testnic1"], "delta": "0:00:00.003488", "end": "2021-11-08 19:29:15.651718", "rc": 0, "start": "2021-11-08 19:29:15.648230", "stderr": "", "stderr_lines": [], "stdout": "Features for testnic1:\nrx-checksumming: on\ntx-checksumming: on\n\ttx-checksum-ipv4: off [fixed]\n\ttx-checksum-ip-generic: on\n\ttx-checksum-ipv6: off [fixed]\n\ttx-checksum-fcoe-crc: off [fixed]\n\ttx-checksum-sctp: on\nscatter-gather: on\n\ttx-scatter-gather: on\n\ttx-scatter-gather-fraglist: on\ntcp-segmentation-offload: on\n\ttx-tcp-segmentation: on\n\ttx-tcp-ecn-segmentation: on\n\ttx-tcp-mangleid-segmentation: on\n\ttx-tcp6-segmentation: on\ngeneric-segmentation-offload: on\ngeneric-receive-offload: off\nlarge-receive-offload: off [fixed]\nrx-vlan-offload: on\ntx-vlan-offload: on\nntuple-filters: off [fixed]\nreceive-hashing: off [fixed]\nhighdma: on\nrx-vlan-filter: off [fixed]\nvlan-challenged: off [fixed]\ntx-lockless: on [fixed]\nnetns-local: off [fixed]\ntx-gso-robust: off [fixed]\ntx-fcoe-segmentation: off [fixed]\ntx-gre-segmentation: on\ntx-gre-csum-segmentation: on\ntx-ipxip4-segmentation: on\ntx-ipxip6-segmentation: on\ntx-udp_tnl-segmentation: on\ntx-udp_tnl-csum-segmentation: on\ntx-gso-partial: off [fixed]\ntx-tunnel-remcsum-segmentation: off [fixed]\ntx-sctp-segmentation: on\ntx-esp-segmentation: off [fixed]\ntx-udp-segmentation: on\ntx-gso-list: on\nfcoe-mtu: off [fixed]\ntx-nocache-copy: off\nloopback: off [fixed]\nrx-fcs: off [fixed]\nrx-all: off [fixed]\ntx-vlan-stag-hw-insert: on\nrx-vlan-stag-hw-parse: on\nrx-vlan-stag-filter: off [fixed]\nl2-fwd-offload: off [fixed]\nhw-tc-offload: off [fixed]\nesp-hw-offload: off [fixed]\nesp-tx-csum-hw-offload: off [fixed]\nrx-udp_tunnel-port-offload: off [fixed]\ntls-hw-tx-offload: off [fixed]\ntls-hw-rx-offload: off [fixed]\nrx-gro-hw: off [fixed]\ntls-hw-record: off [fixed]\nrx-gro-list: off\nmacsec-hw-offload: off [fixed]\nrx-udp-gro-forwarding: off\nhsr-tag-ins-offload: off [fixed]\nhsr-tag-rm-offload: off [fixed]\nhsr-fwd-offload: off [fixed]\nhsr-dup-offload: off [fixed]", "stdout_lines": ["Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: on", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: on", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "tls-hw-rx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]", "rx-gro-list: off", "macsec-hw-offload: off [fixed]", "rx-udp-gro-forwarding: off", "hsr-tag-ins-offload: off [fixed]", "hsr-tag-rm-offload: off [fixed]", "hsr-fwd-offload: off [fixed]", "hsr-dup-offload: off [fixed]"]} TASK [Show ethtool_features] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:117 ok: [/cache/fedora-33.qcow2] => { "ethtool_features.stdout_lines": [ "Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: on", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: on", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "tls-hw-rx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]", "rx-gro-list: off", "macsec-hw-offload: off [fixed]", "rx-udp-gro-forwarding: off", "hsr-tag-ins-offload: off [fixed]", "hsr-tag-rm-offload: off [fixed]", "hsr-fwd-offload: off [fixed]", "hsr-dup-offload: off [fixed]" ] } TASK [Assert device features] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:120 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST: Change feature with both underscores and dashes.] ****************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:131 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [network_connections] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:135 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ethtool": {"features": {"tx-tcp-segmentation": "no", "tx_tcp_segmentation": "no"}}, "ip": {"auto6": "no", "dhcp4": "no"}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": false, "msg": "fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation'", "stderr": "\n", "stderr_lines": [""]} TASK [Show network_connections result] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:150 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ethtool": { "features": { "tx-tcp-segmentation": "no", "tx_tcp_segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": true, "msg": "fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation'", "stderr": "\n", "stderr_lines": [ "" ] } } TASK [assert] ****************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:153 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Check failure] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:160 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ethtool": { "features": { "tx-tcp-segmentation": "no", "tx_tcp_segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": true, "msg": "fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation'", "stderr": "\n", "stderr_lines": [ "" ] } } TASK [Assert that the result is failure] *************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:163 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST: I can reset features to their original value.] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:168 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-663565wzyde3f/tmppz480o4w"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": "no", "dhcp4": "no"}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get current device features] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:182 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ethtool", "--show-features", "testnic1"], "delta": "0:00:00.002963", "end": "2021-11-08 19:29:20.769144", "rc": 0, "start": "2021-11-08 19:29:20.766181", "stderr": "", "stderr_lines": [], "stdout": "Features for testnic1:\nrx-checksumming: on\ntx-checksumming: on\n\ttx-checksum-ipv4: off [fixed]\n\ttx-checksum-ip-generic: on\n\ttx-checksum-ipv6: off [fixed]\n\ttx-checksum-fcoe-crc: off [fixed]\n\ttx-checksum-sctp: on\nscatter-gather: on\n\ttx-scatter-gather: on\n\ttx-scatter-gather-fraglist: on\ntcp-segmentation-offload: on\n\ttx-tcp-segmentation: on\n\ttx-tcp-ecn-segmentation: on\n\ttx-tcp-mangleid-segmentation: on\n\ttx-tcp6-segmentation: on\ngeneric-segmentation-offload: on\ngeneric-receive-offload: off\nlarge-receive-offload: off [fixed]\nrx-vlan-offload: on\ntx-vlan-offload: on\nntuple-filters: off [fixed]\nreceive-hashing: off [fixed]\nhighdma: on\nrx-vlan-filter: off [fixed]\nvlan-challenged: off [fixed]\ntx-lockless: on [fixed]\nnetns-local: off [fixed]\ntx-gso-robust: off [fixed]\ntx-fcoe-segmentation: off [fixed]\ntx-gre-segmentation: on\ntx-gre-csum-segmentation: on\ntx-ipxip4-segmentation: on\ntx-ipxip6-segmentation: on\ntx-udp_tnl-segmentation: on\ntx-udp_tnl-csum-segmentation: on\ntx-gso-partial: off [fixed]\ntx-tunnel-remcsum-segmentation: off [fixed]\ntx-sctp-segmentation: on\ntx-esp-segmentation: off [fixed]\ntx-udp-segmentation: on\ntx-gso-list: on\nfcoe-mtu: off [fixed]\ntx-nocache-copy: off\nloopback: off [fixed]\nrx-fcs: off [fixed]\nrx-all: off [fixed]\ntx-vlan-stag-hw-insert: on\nrx-vlan-stag-hw-parse: on\nrx-vlan-stag-filter: off [fixed]\nl2-fwd-offload: off [fixed]\nhw-tc-offload: off [fixed]\nesp-hw-offload: off [fixed]\nesp-tx-csum-hw-offload: off [fixed]\nrx-udp_tunnel-port-offload: off [fixed]\ntls-hw-tx-offload: off [fixed]\ntls-hw-rx-offload: off [fixed]\nrx-gro-hw: off [fixed]\ntls-hw-record: off [fixed]\nrx-gro-list: off\nmacsec-hw-offload: off [fixed]\nrx-udp-gro-forwarding: off\nhsr-tag-ins-offload: off [fixed]\nhsr-tag-rm-offload: off [fixed]\nhsr-fwd-offload: off [fixed]\nhsr-dup-offload: off [fixed]", "stdout_lines": ["Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: on", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: on", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "tls-hw-rx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]", "rx-gro-list: off", "macsec-hw-offload: off [fixed]", "rx-udp-gro-forwarding: off", "hsr-tag-ins-offload: off [fixed]", "hsr-tag-rm-offload: off [fixed]", "hsr-fwd-offload: off [fixed]", "hsr-dup-offload: off [fixed]"]} TASK [ASSERT: The profile does not change the ethtool features] **************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:186 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-663565wzyde3f/tmpgf29d2fb"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "testnic1", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)\n[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": ["[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)\n[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:203 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:01.004951", "end": "2021-11-08 19:29:26.399256", "rc": 0, "start": "2021-11-08 19:29:25.394305", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\npeertestnic1\ntestnic1", "stdout_lines": ["eth0", "lo", "peertestnic1", "testnic1"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "peertestnic1", "testnic1"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peertestnic1 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set testnic1 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "testnic1", "type", "veth"], "delta": "0:00:00.013224", "end": "2021-11-08 19:29:28.634936", "rc": 0, "start": "2021-11-08 19:29:28.621712", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=100 changed=16 unreachable=0 failed=0 skipped=41 rescued=1 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_ethtool_features_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_ethtool_features_nm.yml **************************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_ethtool_features_nm.yml PLAY [Run playbook 'playbooks/tests_ethtool_features.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_features_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_features_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_features_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} TASK [Install NetworkManager] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_features_nm.yml:16 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_features_nm.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["rpm", "-q", "--qf", "%{version}", "NetworkManager"], "delta": "0:00:00.010242", "end": "2021-11-08 19:30:26.112278", "rc": 0, "start": "2021-11-08 19:30:26.102036", "stderr": "", "stderr_lines": [], "stdout": "1.26.8", "stdout_lines": ["1.26.8"]} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:8 ok: [/cache/fedora-33.qcow2] => { "msg": "this is: playbooks/tests_ethtool_features.yml" } TASK [INIT: Ethtool feeatures tests] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:14 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:17 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002874", "end": "2021-11-08 19:30:27.149970", "rc": 0, "start": "2021-11-08 19:30:27.147096", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:18 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002837", "end": "2021-11-08 19:30:27.642981", "rc": 0, "start": "2021-11-08 19:30:27.640144", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1"], "delta": "0:00:00.010209", "end": "2021-11-08 19:30:29.772454", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2021-11-08 19:30:29.762245", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peertestnic1 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peertestnic1", "up"], "delta": "0:00:00.003612", "end": "2021-11-08 19:30:30.095458", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2021-11-08 19:30:30.091846", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set testnic1 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "testnic1", "up"], "delta": "0:00:00.007412", "end": "2021-11-08 19:30:30.437879", "item": "ip link set testnic1 up", "rc": 0, "start": "2021-11-08 19:30:30.430467", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "testnic1", "managed", "true"], "delta": "0:00:00.026351", "end": "2021-11-08 19:30:30.819466", "rc": 0, "start": "2021-11-08 19:30:30.793115", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636399829.7719495, "block_size": 4096, "blocks": 0, "ctime": 1636399829.7719495, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1636399829.7719495, "nlink": 1, "path": "/sys/class/net/testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface testnic1 is present] ******************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:22 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: ethtool-2:5.14-1.fc33.x86_64"]} TASK [TEST: I can create a profile without changing the ethtool features.] ***** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:29 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [Get current device features] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:33 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ethtool", "--show-features", "testnic1"], "delta": "0:00:00.003640", "end": "2021-11-08 19:30:34.319262", "rc": 0, "start": "2021-11-08 19:30:34.315622", "stderr": "", "stderr_lines": [], "stdout": "Features for testnic1:\nrx-checksumming: on\ntx-checksumming: on\n\ttx-checksum-ipv4: off [fixed]\n\ttx-checksum-ip-generic: on\n\ttx-checksum-ipv6: off [fixed]\n\ttx-checksum-fcoe-crc: off [fixed]\n\ttx-checksum-sctp: on\nscatter-gather: on\n\ttx-scatter-gather: on\n\ttx-scatter-gather-fraglist: on\ntcp-segmentation-offload: on\n\ttx-tcp-segmentation: on\n\ttx-tcp-ecn-segmentation: on\n\ttx-tcp-mangleid-segmentation: on\n\ttx-tcp6-segmentation: on\ngeneric-segmentation-offload: on\ngeneric-receive-offload: off\nlarge-receive-offload: off [fixed]\nrx-vlan-offload: on\ntx-vlan-offload: on\nntuple-filters: off [fixed]\nreceive-hashing: off [fixed]\nhighdma: on\nrx-vlan-filter: off [fixed]\nvlan-challenged: off [fixed]\ntx-lockless: on [fixed]\nnetns-local: off [fixed]\ntx-gso-robust: off [fixed]\ntx-fcoe-segmentation: off [fixed]\ntx-gre-segmentation: on\ntx-gre-csum-segmentation: on\ntx-ipxip4-segmentation: on\ntx-ipxip6-segmentation: on\ntx-udp_tnl-segmentation: on\ntx-udp_tnl-csum-segmentation: on\ntx-gso-partial: off [fixed]\ntx-tunnel-remcsum-segmentation: off [fixed]\ntx-sctp-segmentation: on\ntx-esp-segmentation: off [fixed]\ntx-udp-segmentation: on\ntx-gso-list: on\nfcoe-mtu: off [fixed]\ntx-nocache-copy: off\nloopback: off [fixed]\nrx-fcs: off [fixed]\nrx-all: off [fixed]\ntx-vlan-stag-hw-insert: on\nrx-vlan-stag-hw-parse: on\nrx-vlan-stag-filter: off [fixed]\nl2-fwd-offload: off [fixed]\nhw-tc-offload: off [fixed]\nesp-hw-offload: off [fixed]\nesp-tx-csum-hw-offload: off [fixed]\nrx-udp_tunnel-port-offload: off [fixed]\ntls-hw-tx-offload: off [fixed]\ntls-hw-rx-offload: off [fixed]\nrx-gro-hw: off [fixed]\ntls-hw-record: off [fixed]\nrx-gro-list: off\nmacsec-hw-offload: off [fixed]\nrx-udp-gro-forwarding: off\nhsr-tag-ins-offload: off [fixed]\nhsr-tag-rm-offload: off [fixed]\nhsr-fwd-offload: off [fixed]\nhsr-dup-offload: off [fixed]", "stdout_lines": ["Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: on", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: on", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "tls-hw-rx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]", "rx-gro-list: off", "macsec-hw-offload: off [fixed]", "rx-udp-gro-forwarding: off", "hsr-tag-ins-offload: off [fixed]", "hsr-tag-rm-offload: off [fixed]", "hsr-fwd-offload: off [fixed]", "hsr-dup-offload: off [fixed]"]} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": "no", "dhcp4": "no"}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (not-active)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get current device features] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:47 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ethtool", "--show-features", "testnic1"], "delta": "0:00:00.003232", "end": "2021-11-08 19:30:42.695658", "rc": 0, "start": "2021-11-08 19:30:42.692426", "stderr": "", "stderr_lines": [], "stdout": "Features for testnic1:\nrx-checksumming: on\ntx-checksumming: on\n\ttx-checksum-ipv4: off [fixed]\n\ttx-checksum-ip-generic: on\n\ttx-checksum-ipv6: off [fixed]\n\ttx-checksum-fcoe-crc: off [fixed]\n\ttx-checksum-sctp: on\nscatter-gather: on\n\ttx-scatter-gather: on\n\ttx-scatter-gather-fraglist: on\ntcp-segmentation-offload: on\n\ttx-tcp-segmentation: on\n\ttx-tcp-ecn-segmentation: on\n\ttx-tcp-mangleid-segmentation: on\n\ttx-tcp6-segmentation: on\ngeneric-segmentation-offload: on\ngeneric-receive-offload: off\nlarge-receive-offload: off [fixed]\nrx-vlan-offload: on\ntx-vlan-offload: on\nntuple-filters: off [fixed]\nreceive-hashing: off [fixed]\nhighdma: on\nrx-vlan-filter: off [fixed]\nvlan-challenged: off [fixed]\ntx-lockless: on [fixed]\nnetns-local: off [fixed]\ntx-gso-robust: off [fixed]\ntx-fcoe-segmentation: off [fixed]\ntx-gre-segmentation: on\ntx-gre-csum-segmentation: on\ntx-ipxip4-segmentation: on\ntx-ipxip6-segmentation: on\ntx-udp_tnl-segmentation: on\ntx-udp_tnl-csum-segmentation: on\ntx-gso-partial: off [fixed]\ntx-tunnel-remcsum-segmentation: off [fixed]\ntx-sctp-segmentation: on\ntx-esp-segmentation: off [fixed]\ntx-udp-segmentation: on\ntx-gso-list: on\nfcoe-mtu: off [fixed]\ntx-nocache-copy: off\nloopback: off [fixed]\nrx-fcs: off [fixed]\nrx-all: off [fixed]\ntx-vlan-stag-hw-insert: on\nrx-vlan-stag-hw-parse: on\nrx-vlan-stag-filter: off [fixed]\nl2-fwd-offload: off [fixed]\nhw-tc-offload: off [fixed]\nesp-hw-offload: off [fixed]\nesp-tx-csum-hw-offload: off [fixed]\nrx-udp_tunnel-port-offload: off [fixed]\ntls-hw-tx-offload: off [fixed]\ntls-hw-rx-offload: off [fixed]\nrx-gro-hw: off [fixed]\ntls-hw-record: off [fixed]\nrx-gro-list: off\nmacsec-hw-offload: off [fixed]\nrx-udp-gro-forwarding: off\nhsr-tag-ins-offload: off [fixed]\nhsr-tag-rm-offload: off [fixed]\nhsr-fwd-offload: off [fixed]\nhsr-dup-offload: off [fixed]", "stdout_lines": ["Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: on", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: on", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "tls-hw-rx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]", "rx-gro-list: off", "macsec-hw-offload: off [fixed]", "rx-udp-gro-forwarding: off", "hsr-tag-ins-offload: off [fixed]", "hsr-tag-rm-offload: off [fixed]", "hsr-fwd-offload: off [fixed]", "hsr-dup-offload: off [fixed]"]} TASK [ASSERT: The profile does not change the ethtool features] **************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:50 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST: I can disable gro and tx-tcp-segmentation and enable gso.] ********* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:56 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ethtool": {"features": {"gro": "no", "gso": "yes", "tx-tcp-segmentation": "no"}}, "ip": {"auto6": "no", "dhcp4": "no"}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ethtool": { "features": { "gro": "no", "gso": "yes", "tx-tcp-segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get current device features] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:76 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ethtool", "--show-features", "testnic1"], "delta": "0:00:00.002917", "end": "2021-11-08 19:30:46.916044", "rc": 0, "start": "2021-11-08 19:30:46.913127", "stderr": "", "stderr_lines": [], "stdout": "Features for testnic1:\nrx-checksumming: on\ntx-checksumming: on\n\ttx-checksum-ipv4: off [fixed]\n\ttx-checksum-ip-generic: on\n\ttx-checksum-ipv6: off [fixed]\n\ttx-checksum-fcoe-crc: off [fixed]\n\ttx-checksum-sctp: on\nscatter-gather: on\n\ttx-scatter-gather: on\n\ttx-scatter-gather-fraglist: on\ntcp-segmentation-offload: on\n\ttx-tcp-segmentation: off\n\ttx-tcp-ecn-segmentation: on\n\ttx-tcp-mangleid-segmentation: off [requested on]\n\ttx-tcp6-segmentation: on\ngeneric-segmentation-offload: on\ngeneric-receive-offload: off\nlarge-receive-offload: off [fixed]\nrx-vlan-offload: on\ntx-vlan-offload: on\nntuple-filters: off [fixed]\nreceive-hashing: off [fixed]\nhighdma: on\nrx-vlan-filter: off [fixed]\nvlan-challenged: off [fixed]\ntx-lockless: on [fixed]\nnetns-local: off [fixed]\ntx-gso-robust: off [fixed]\ntx-fcoe-segmentation: off [fixed]\ntx-gre-segmentation: on\ntx-gre-csum-segmentation: on\ntx-ipxip4-segmentation: on\ntx-ipxip6-segmentation: on\ntx-udp_tnl-segmentation: on\ntx-udp_tnl-csum-segmentation: on\ntx-gso-partial: off [fixed]\ntx-tunnel-remcsum-segmentation: off [fixed]\ntx-sctp-segmentation: on\ntx-esp-segmentation: off [fixed]\ntx-udp-segmentation: on\ntx-gso-list: on\nfcoe-mtu: off [fixed]\ntx-nocache-copy: off\nloopback: off [fixed]\nrx-fcs: off [fixed]\nrx-all: off [fixed]\ntx-vlan-stag-hw-insert: on\nrx-vlan-stag-hw-parse: on\nrx-vlan-stag-filter: off [fixed]\nl2-fwd-offload: off [fixed]\nhw-tc-offload: off [fixed]\nesp-hw-offload: off [fixed]\nesp-tx-csum-hw-offload: off [fixed]\nrx-udp_tunnel-port-offload: off [fixed]\ntls-hw-tx-offload: off [fixed]\ntls-hw-rx-offload: off [fixed]\nrx-gro-hw: off [fixed]\ntls-hw-record: off [fixed]\nrx-gro-list: off\nmacsec-hw-offload: off [fixed]\nrx-udp-gro-forwarding: off\nhsr-tag-ins-offload: off [fixed]\nhsr-tag-rm-offload: off [fixed]\nhsr-fwd-offload: off [fixed]\nhsr-dup-offload: off [fixed]", "stdout_lines": ["Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: off", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: off [requested on]", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "tls-hw-rx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]", "rx-gro-list: off", "macsec-hw-offload: off [fixed]", "rx-udp-gro-forwarding: off", "hsr-tag-ins-offload: off [fixed]", "hsr-tag-rm-offload: off [fixed]", "hsr-fwd-offload: off [fixed]", "hsr-dup-offload: off [fixed]"]} TASK [Show ethtool_features] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:79 ok: [/cache/fedora-33.qcow2] => { "ethtool_features.stdout_lines": [ "Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: off", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: off [requested on]", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "tls-hw-rx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]", "rx-gro-list: off", "macsec-hw-offload: off [fixed]", "rx-udp-gro-forwarding: off", "hsr-tag-ins-offload: off [fixed]", "hsr-tag-rm-offload: off [fixed]", "hsr-fwd-offload: off [fixed]", "hsr-dup-offload: off [fixed]" ] } TASK [Assert device features] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:82 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST: I can enable tx_tcp_segmentation (using underscores).] ************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:96 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ethtool": {"features": {"tx_tcp_segmentation": "yes"}}, "ip": {"auto6": "no", "dhcp4": "no"}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ethtool": { "features": { "tx_tcp_segmentation": "yes" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get current device features] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:114 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ethtool", "--show-features", "testnic1"], "delta": "0:00:00.002883", "end": "2021-11-08 19:30:51.110000", "rc": 0, "start": "2021-11-08 19:30:51.107117", "stderr": "", "stderr_lines": [], "stdout": "Features for testnic1:\nrx-checksumming: on\ntx-checksumming: on\n\ttx-checksum-ipv4: off [fixed]\n\ttx-checksum-ip-generic: on\n\ttx-checksum-ipv6: off [fixed]\n\ttx-checksum-fcoe-crc: off [fixed]\n\ttx-checksum-sctp: on\nscatter-gather: on\n\ttx-scatter-gather: on\n\ttx-scatter-gather-fraglist: on\ntcp-segmentation-offload: on\n\ttx-tcp-segmentation: on\n\ttx-tcp-ecn-segmentation: on\n\ttx-tcp-mangleid-segmentation: on\n\ttx-tcp6-segmentation: on\ngeneric-segmentation-offload: on\ngeneric-receive-offload: off\nlarge-receive-offload: off [fixed]\nrx-vlan-offload: on\ntx-vlan-offload: on\nntuple-filters: off [fixed]\nreceive-hashing: off [fixed]\nhighdma: on\nrx-vlan-filter: off [fixed]\nvlan-challenged: off [fixed]\ntx-lockless: on [fixed]\nnetns-local: off [fixed]\ntx-gso-robust: off [fixed]\ntx-fcoe-segmentation: off [fixed]\ntx-gre-segmentation: on\ntx-gre-csum-segmentation: on\ntx-ipxip4-segmentation: on\ntx-ipxip6-segmentation: on\ntx-udp_tnl-segmentation: on\ntx-udp_tnl-csum-segmentation: on\ntx-gso-partial: off [fixed]\ntx-tunnel-remcsum-segmentation: off [fixed]\ntx-sctp-segmentation: on\ntx-esp-segmentation: off [fixed]\ntx-udp-segmentation: on\ntx-gso-list: on\nfcoe-mtu: off [fixed]\ntx-nocache-copy: off\nloopback: off [fixed]\nrx-fcs: off [fixed]\nrx-all: off [fixed]\ntx-vlan-stag-hw-insert: on\nrx-vlan-stag-hw-parse: on\nrx-vlan-stag-filter: off [fixed]\nl2-fwd-offload: off [fixed]\nhw-tc-offload: off [fixed]\nesp-hw-offload: off [fixed]\nesp-tx-csum-hw-offload: off [fixed]\nrx-udp_tunnel-port-offload: off [fixed]\ntls-hw-tx-offload: off [fixed]\ntls-hw-rx-offload: off [fixed]\nrx-gro-hw: off [fixed]\ntls-hw-record: off [fixed]\nrx-gro-list: off\nmacsec-hw-offload: off [fixed]\nrx-udp-gro-forwarding: off\nhsr-tag-ins-offload: off [fixed]\nhsr-tag-rm-offload: off [fixed]\nhsr-fwd-offload: off [fixed]\nhsr-dup-offload: off [fixed]", "stdout_lines": ["Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: on", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: on", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "tls-hw-rx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]", "rx-gro-list: off", "macsec-hw-offload: off [fixed]", "rx-udp-gro-forwarding: off", "hsr-tag-ins-offload: off [fixed]", "hsr-tag-rm-offload: off [fixed]", "hsr-fwd-offload: off [fixed]", "hsr-dup-offload: off [fixed]"]} TASK [Show ethtool_features] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:117 ok: [/cache/fedora-33.qcow2] => { "ethtool_features.stdout_lines": [ "Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: on", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: on", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "tls-hw-rx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]", "rx-gro-list: off", "macsec-hw-offload: off [fixed]", "rx-udp-gro-forwarding: off", "hsr-tag-ins-offload: off [fixed]", "hsr-tag-rm-offload: off [fixed]", "hsr-fwd-offload: off [fixed]", "hsr-dup-offload: off [fixed]" ] } TASK [Assert device features] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:120 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST: Change feature with both underscores and dashes.] ****************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:131 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [network_connections] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:135 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ethtool": {"features": {"tx-tcp-segmentation": "no", "tx_tcp_segmentation": "no"}}, "ip": {"auto6": "no", "dhcp4": "no"}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": false, "msg": "fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation'", "stderr": "\n", "stderr_lines": [""]} TASK [Show network_connections result] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:150 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ethtool": { "features": { "tx-tcp-segmentation": "no", "tx_tcp_segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": true, "msg": "fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation'", "stderr": "\n", "stderr_lines": [ "" ] } } TASK [assert] ****************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:153 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Check failure] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:160 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ethtool": { "features": { "tx-tcp-segmentation": "no", "tx_tcp_segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": true, "msg": "fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation'", "stderr": "\n", "stderr_lines": [ "" ] } } TASK [Assert that the result is failure] *************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:163 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST: I can reset features to their original value.] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:168 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": "no", "dhcp4": "no"}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 2637f1e5-73b6-444e-8871-7b762dd29998 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get current device features] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:182 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ethtool", "--show-features", "testnic1"], "delta": "0:00:00.002794", "end": "2021-11-08 19:30:56.010915", "rc": 0, "start": "2021-11-08 19:30:56.008121", "stderr": "", "stderr_lines": [], "stdout": "Features for testnic1:\nrx-checksumming: on\ntx-checksumming: on\n\ttx-checksum-ipv4: off [fixed]\n\ttx-checksum-ip-generic: on\n\ttx-checksum-ipv6: off [fixed]\n\ttx-checksum-fcoe-crc: off [fixed]\n\ttx-checksum-sctp: on\nscatter-gather: on\n\ttx-scatter-gather: on\n\ttx-scatter-gather-fraglist: on\ntcp-segmentation-offload: on\n\ttx-tcp-segmentation: on\n\ttx-tcp-ecn-segmentation: on\n\ttx-tcp-mangleid-segmentation: on\n\ttx-tcp6-segmentation: on\ngeneric-segmentation-offload: on\ngeneric-receive-offload: off\nlarge-receive-offload: off [fixed]\nrx-vlan-offload: on\ntx-vlan-offload: on\nntuple-filters: off [fixed]\nreceive-hashing: off [fixed]\nhighdma: on\nrx-vlan-filter: off [fixed]\nvlan-challenged: off [fixed]\ntx-lockless: on [fixed]\nnetns-local: off [fixed]\ntx-gso-robust: off [fixed]\ntx-fcoe-segmentation: off [fixed]\ntx-gre-segmentation: on\ntx-gre-csum-segmentation: on\ntx-ipxip4-segmentation: on\ntx-ipxip6-segmentation: on\ntx-udp_tnl-segmentation: on\ntx-udp_tnl-csum-segmentation: on\ntx-gso-partial: off [fixed]\ntx-tunnel-remcsum-segmentation: off [fixed]\ntx-sctp-segmentation: on\ntx-esp-segmentation: off [fixed]\ntx-udp-segmentation: on\ntx-gso-list: on\nfcoe-mtu: off [fixed]\ntx-nocache-copy: off\nloopback: off [fixed]\nrx-fcs: off [fixed]\nrx-all: off [fixed]\ntx-vlan-stag-hw-insert: on\nrx-vlan-stag-hw-parse: on\nrx-vlan-stag-filter: off [fixed]\nl2-fwd-offload: off [fixed]\nhw-tc-offload: off [fixed]\nesp-hw-offload: off [fixed]\nesp-tx-csum-hw-offload: off [fixed]\nrx-udp_tunnel-port-offload: off [fixed]\ntls-hw-tx-offload: off [fixed]\ntls-hw-rx-offload: off [fixed]\nrx-gro-hw: off [fixed]\ntls-hw-record: off [fixed]\nrx-gro-list: off\nmacsec-hw-offload: off [fixed]\nrx-udp-gro-forwarding: off\nhsr-tag-ins-offload: off [fixed]\nhsr-tag-rm-offload: off [fixed]\nhsr-fwd-offload: off [fixed]\nhsr-dup-offload: off [fixed]", "stdout_lines": ["Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: on", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp-mangleid-segmentation: on", "\ttx-tcp6-segmentation: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-gre-csum-segmentation: on", "tx-ipxip4-segmentation: on", "tx-ipxip6-segmentation: on", "tx-udp_tnl-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-tunnel-remcsum-segmentation: off [fixed]", "tx-sctp-segmentation: on", "tx-esp-segmentation: off [fixed]", "tx-udp-segmentation: on", "tx-gso-list: on", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "esp-hw-offload: off [fixed]", "esp-tx-csum-hw-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]", "tls-hw-tx-offload: off [fixed]", "tls-hw-rx-offload: off [fixed]", "rx-gro-hw: off [fixed]", "tls-hw-record: off [fixed]", "rx-gro-list: off", "macsec-hw-offload: off [fixed]", "rx-udp-gro-forwarding: off", "hsr-tag-ins-offload: off [fixed]", "hsr-tag-rm-offload: off [fixed]", "hsr-fwd-offload: off [fixed]", "hsr-dup-offload: off [fixed]"]} TASK [ASSERT: The profile does not change the ethtool features] **************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:186 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "testnic1", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_features.yml:203 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003234", "end": "2021-11-08 19:31:00.542852", "rc": 0, "start": "2021-11-08 19:31:00.539618", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\npeertestnic1\ntestnic1", "stdout_lines": ["eth0", "lo", "peertestnic1", "testnic1"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "peertestnic1", "testnic1"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peertestnic1 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set testnic1 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "testnic1", "type", "veth"], "delta": "0:00:00.012512", "end": "2021-11-08 19:31:02.787885", "rc": 0, "start": "2021-11-08 19:31:02.775373", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=98 changed=16 unreachable=0 failed=0 skipped=45 rescued=1 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_ethtool_ring_initscripts.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_ethtool_ring_initscripts.yml *********************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_ethtool_ring_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_ring.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_ring_initscripts.yml:4 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_ring_initscripts.yml:7 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_ring_initscripts.yml:8 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "initscripts"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:8 ok: [/cache/fedora-33.qcow2] => { "msg": "this is: playbooks/tests_ethtool_ring.yml" } TASK [INIT: Ethtool ring tests] ************************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:14 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:17 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003636", "end": "2021-11-08 19:31:18.775427", "rc": 0, "start": "2021-11-08 19:31:18.771791", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:18 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003011", "end": "2021-11-08 19:31:19.285267", "rc": 0, "start": "2021-11-08 19:31:19.282256", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1"], "delta": "0:00:00.013034", "end": "2021-11-08 19:32:21.797880", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2021-11-08 19:32:21.784846", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peertestnic1 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peertestnic1", "up"], "delta": "0:00:00.003192", "end": "2021-11-08 19:32:22.114489", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2021-11-08 19:32:22.111297", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set testnic1 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "testnic1", "up"], "delta": "0:00:00.006897", "end": "2021-11-08 19:32:22.439230", "item": "ip link set testnic1 up", "rc": 0, "start": "2021-11-08 19:32:22.432333", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "testnic1", "managed", "true"], "delta": "0:00:00.024271", "end": "2021-11-08 19:32:22.805535", "rc": 0, "start": "2021-11-08 19:32:22.781264", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636399941.796604, "block_size": 4096, "blocks": 0, "ctime": 1636399941.796604, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1636399941.796604, "nlink": 1, "path": "/sys/class/net/testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface testnic1 is present] ******************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:22 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: ethtool-2:5.14-1.fc33.x86_64"]} TASK [TEST: I can create a profile without any ring option.] ******************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:28 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: network-scripts-10.04-2.fc33.x86_64", "Installed: bc-1.07.1-14.fc33.x86_64", "Installed: chkconfig-1.14-3.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 changed: [/cache/fedora-33.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-68480tib7ycci/tmp1vvard7a"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get profile's ring options] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:44 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:49 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get profile's ring options] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:54 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": true, "cmd": ["grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1"], "delta": "0:00:00.003104", "end": "2021-11-08 19:32:36.149392", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:32:36.146288", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:61 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST: I can set rx.] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:67 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-68480tib7ycci/tmpmq_e50gj"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ethtool": {"ring": {"rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 128}}, "ip": {"auto6": false, "dhcp4": false}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\nRTNETLINK answers: File exists\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\nRTNETLINK answers: File exists\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\nRTNETLINK answers: File exists\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:89 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Assert ethtool.ring-rx option set in profile] **************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:94 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get profile's ethtool.ring-rx-jumbo options] ***************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:99 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Assert ethtool.ring-rx-jumbo option set in profile] ********************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:104 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get profile's ethtool.ring-rx-mini options] ****************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:109 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Assert ethtool.ring-rx-mini option set in profile] *********************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:114 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get profile's ethtool.ring-tx options] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:119 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Assert ethtool.ring-tx option set in profile] **************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:124 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get profile's ethtool.ring options] ************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:130 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1"], "delta": "0:00:00.003062", "end": "2021-11-08 19:32:40.943678", "rc": 0, "start": "2021-11-08 19:32:40.940616", "stderr": "", "stderr_lines": [], "stdout": "ETHTOOL_OPTS=\"-G testnic1 rx 128 rx-jumbo 128 rx-mini 128 tx 128\"", "stdout_lines": ["ETHTOOL_OPTS=\"-G testnic1 rx 128 rx-jumbo 128 rx-mini 128 tx 128\""]} TASK [Assert ethtool.ring option set in profile] ******************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:137 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST: I can clear ring options] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:147 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-68480tib7ycci/tmpld8bcf5o"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get profile's ring options] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:162 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:167 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get profile's ring options] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:172 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": true, "cmd": ["grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1"], "delta": "0:00:00.003359", "end": "2021-11-08 19:32:45.514200", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:32:45.510841", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:179 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-68480tib7ycci/tmpp0rr7ils"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "testnic1", "persistent_state": "absent"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": ["[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:195 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003647", "end": "2021-11-08 19:32:50.323287", "rc": 0, "start": "2021-11-08 19:32:50.319640", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\npeertestnic1\ntestnic1", "stdout_lines": ["eth0", "lo", "peertestnic1", "testnic1"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "peertestnic1", "testnic1"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peertestnic1 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set testnic1 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "testnic1", "type", "veth"], "delta": "0:00:00.015793", "end": "2021-11-08 19:32:52.596062", "rc": 0, "start": "2021-11-08 19:32:52.580269", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=81 changed=13 unreachable=0 failed=0 skipped=48 rescued=0 ignored=2 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_ethtool_ring_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_ethtool_ring_nm.yml ******************************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_ethtool_ring_nm.yml PLAY [Run playbook 'playbooks/tests_ethtool_ring.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_ring_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_ring_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_ring_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} TASK [Install NetworkManager] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_ring_nm.yml:16 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ethtool_ring_nm.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["rpm", "-q", "--qf", "%{version}", "NetworkManager"], "delta": "0:00:00.014136", "end": "2021-11-08 19:33:54.299044", "rc": 0, "start": "2021-11-08 19:33:54.284908", "stderr": "", "stderr_lines": [], "stdout": "1.26.8", "stdout_lines": ["1.26.8"]} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:8 ok: [/cache/fedora-33.qcow2] => { "msg": "this is: playbooks/tests_ethtool_ring.yml" } TASK [INIT: Ethtool ring tests] ************************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:14 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:17 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003193", "end": "2021-11-08 19:33:55.336060", "rc": 0, "start": "2021-11-08 19:33:55.332867", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:18 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002753", "end": "2021-11-08 19:33:55.803300", "rc": 0, "start": "2021-11-08 19:33:55.800547", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1"], "delta": "0:00:00.013566", "end": "2021-11-08 19:33:57.885763", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2021-11-08 19:33:57.872197", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peertestnic1 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peertestnic1", "up"], "delta": "0:00:00.002942", "end": "2021-11-08 19:33:58.210666", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2021-11-08 19:33:58.207724", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set testnic1 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "testnic1", "up"], "delta": "0:00:00.007068", "end": "2021-11-08 19:33:58.533400", "item": "ip link set testnic1 up", "rc": 0, "start": "2021-11-08 19:33:58.526332", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "testnic1", "managed", "true"], "delta": "0:00:00.023930", "end": "2021-11-08 19:33:58.875285", "rc": 0, "start": "2021-11-08 19:33:58.851355", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400037.8840048, "block_size": 4096, "blocks": 0, "ctime": 1636400037.8840048, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1636400037.8840048, "nlink": 1, "path": "/sys/class/net/testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface testnic1 is present] ******************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:22 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: ethtool-2:5.14-1.fc33.x86_64"]} TASK [TEST: I can create a profile without any ring option.] ******************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:28 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f (not-active)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get profile's ring options] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:44 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "-g", "ethtool.ring-rx", "c", "show", "testnic1"], "delta": "0:00:00.017195", "end": "2021-11-08 19:34:09.778678", "rc": 0, "start": "2021-11-08 19:34:09.761483", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:49 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get profile's ring options] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:54 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:61 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [TEST: I can set rx.] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:67 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ethtool": {"ring": {"rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 128}}, "ip": {"auto6": false, "dhcp4": false}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:89 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "-g", "ethtool.ring-rx", "c", "show", "testnic1"], "delta": "0:00:00.014760", "end": "2021-11-08 19:34:13.972831", "rc": 0, "start": "2021-11-08 19:34:13.958071", "stderr": "", "stderr_lines": [], "stdout": "128", "stdout_lines": ["128"]} TASK [Assert ethtool.ring-rx option set in profile] **************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:94 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get profile's ethtool.ring-rx-jumbo options] ***************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:99 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "-g", "ethtool.ring-rx-jumbo", "c", "show", "testnic1"], "delta": "0:00:00.014726", "end": "2021-11-08 19:34:14.365278", "rc": 0, "start": "2021-11-08 19:34:14.350552", "stderr": "", "stderr_lines": [], "stdout": "128", "stdout_lines": ["128"]} TASK [Assert ethtool.ring-rx-jumbo option set in profile] ********************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:104 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get profile's ethtool.ring-rx-mini options] ****************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:109 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "-g", "ethtool.ring-rx-mini", "c", "show", "testnic1"], "delta": "0:00:00.015007", "end": "2021-11-08 19:34:14.756145", "rc": 0, "start": "2021-11-08 19:34:14.741138", "stderr": "", "stderr_lines": [], "stdout": "128", "stdout_lines": ["128"]} TASK [Assert ethtool.ring-rx-mini option set in profile] *********************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:114 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get profile's ethtool.ring-tx options] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:119 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "-g", "ethtool.ring-tx", "c", "show", "testnic1"], "delta": "0:00:00.014104", "end": "2021-11-08 19:34:15.130192", "rc": 0, "start": "2021-11-08 19:34:15.116088", "stderr": "", "stderr_lines": [], "stdout": "128", "stdout_lines": ["128"]} TASK [Assert ethtool.ring-tx option set in profile] **************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:124 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get profile's ethtool.ring options] ************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:130 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Assert ethtool.ring option set in profile] ******************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:137 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [TEST: I can clear ring options] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:147 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "testnic1", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 8680bf94-a3ed-4b33-b368-84161537d93f (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3): {'error': \"nm-device-error-quark: Can't reapply any changes to 'ethtool' setting (3)\", 'success': None}" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Get profile's ring options] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:162 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "-g", "ethtool.ring-rx", "c", "show", "testnic1"], "delta": "0:00:00.015595", "end": "2021-11-08 19:34:19.366935", "rc": 0, "start": "2021-11-08 19:34:19.351340", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:167 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get profile's ring options] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:172 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:179 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "testnic1", "persistent_state": "absent"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ethtool_ring.yml:195 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003027", "end": "2021-11-08 19:34:23.695161", "rc": 0, "start": "2021-11-08 19:34:23.692134", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\npeertestnic1\ntestnic1", "stdout_lines": ["eth0", "lo", "peertestnic1", "testnic1"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "peertestnic1", "testnic1"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peertestnic1 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set testnic1 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "testnic1", "type", "veth"], "delta": "0:00:00.015219", "end": "2021-11-08 19:34:25.888431", "rc": 0, "start": "2021-11-08 19:34:25.873212", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=85 changed=16 unreachable=0 failed=0 skipped=46 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_helpers_and_asserts.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_helpers_and_asserts.yml **************************************** 1 plays in /tmp/tmpmd5a3eg6/tests/tests_helpers_and_asserts.yml PLAY [Check that creating and removing test devices and assertions work] ******* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_helpers_and_asserts.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_helpers_and_asserts.yml:6 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [test veth interface management] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_helpers_and_asserts.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml for /cache/fedora-33.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003698", "end": "2021-11-08 19:34:42.275192", "rc": 0, "start": "2021-11-08 19:34:42.271494", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:4 included: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003054", "end": "2021-11-08 19:34:42.760774", "rc": 0, "start": "2021-11-08 19:34:42.757720", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add veth1298 type veth peer name peerveth1298) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peerveth1298 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set veth1298 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth1298] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:7 included: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003247", "end": "2021-11-08 19:35:55.634473", "rc": 0, "start": "2021-11-08 19:35:55.631226", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface veth1298 is absent] ******************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:10 included: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002900", "end": "2021-11-08 19:35:56.571970", "rc": 0, "start": "2021-11-08 19:35:56.569070", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add veth1298 type veth peer name peerveth1298) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "veth1298", "type", "veth", "peer", "name", "peerveth1298"], "delta": "0:00:00.012082", "end": "2021-11-08 19:35:58.820573", "item": "ip link add veth1298 type veth peer name peerveth1298", "rc": 0, "start": "2021-11-08 19:35:58.808491", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peerveth1298 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peerveth1298", "up"], "delta": "0:00:00.002839", "end": "2021-11-08 19:35:59.120592", "item": "ip link set peerveth1298 up", "rc": 0, "start": "2021-11-08 19:35:59.117753", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set veth1298 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "veth1298", "up"], "delta": "0:00:00.004985", "end": "2021-11-08 19:35:59.421182", "item": "ip link set veth1298 up", "rc": 0, "start": "2021-11-08 19:35:59.416197", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "veth1298", "managed", "true"], "delta": "0:00:00.022467", "end": "2021-11-08 19:35:59.763537", "rc": 0, "start": "2021-11-08 19:35:59.741070", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth1298] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002877", "end": "2021-11-08 19:36:00.213082", "rc": 0, "start": "2021-11-08 19:36:00.210205", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\npeerveth1298\nveth1298", "stdout_lines": ["eth0", "lo", "peerveth1298", "veth1298"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "peerveth1298", "veth1298"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'peerveth1298', 'veth1298']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:14 included: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400158.8201828, "block_size": 4096, "blocks": 0, "ctime": 1636400158.8201828, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth1298", "lnk_target": "../../devices/virtual/net/veth1298", "mode": "0777", "mtime": 1636400158.8201828, "nlink": 1, "path": "/sys/class/net/veth1298", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface veth1298 is present] ******************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:16 included: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002803", "end": "2021-11-08 19:36:01.049368", "rc": 0, "start": "2021-11-08 19:36:01.046565", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\npeerveth1298\nveth1298", "stdout_lines": ["eth0", "lo", "peerveth1298", "veth1298"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "peerveth1298", "veth1298"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'peerveth1298', 'veth1298']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface veth1298] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add veth1298 type veth peer name peerveth1298) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add veth1298 type veth peer name peerveth1298", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peerveth1298 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth1298 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set veth1298 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set veth1298 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface veth1298] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "veth1298", "type", "veth"], "delta": "0:00:00.012197", "end": "2021-11-08 19:36:03.356723", "rc": 0, "start": "2021-11-08 19:36:03.344526", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface veth1298] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth1298] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth1298] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth1298] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:19 included: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003237", "end": "2021-11-08 19:36:03.793129", "rc": 0, "start": "2021-11-08 19:36:03.789892", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:20 included: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface veth1298] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface veth1298 is absent] ******************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [test veth interface management] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_helpers_and_asserts.yml:14 included: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml for /cache/fedora-33.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003160", "end": "2021-11-08 19:36:04.590993", "rc": 0, "start": "2021-11-08 19:36:04.587833", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:4 included: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003061", "end": "2021-11-08 19:36:05.036864", "rc": 0, "start": "2021-11-08 19:36:05.033803", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peerdummy1298 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set dummy1298 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:7 included: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003150", "end": "2021-11-08 19:36:07.484780", "rc": 0, "start": "2021-11-08 19:36:07.481630", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface dummy1298 is absent] ******************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:10 included: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003049", "end": "2021-11-08 19:36:08.317506", "rc": 0, "start": "2021-11-08 19:36:08.314457", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peerdummy1298 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set dummy1298 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:42 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "add", "dummy1298", "type", "dummy"], "delta": "0:00:00.008478", "end": "2021-11-08 19:36:10.641193", "rc": 0, "start": "2021-11-08 19:36:10.632715", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002923", "end": "2021-11-08 19:36:11.053844", "rc": 0, "start": "2021-11-08 19:36:11.050921", "stderr": "", "stderr_lines": [], "stdout": "dummy1298\neth0\nlo", "stdout_lines": ["dummy1298", "eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["dummy1298", "eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['dummy1298', 'eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:14 included: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400170.640417, "block_size": 4096, "blocks": 0, "ctime": 1636400170.640417, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21363, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/dummy1298", "lnk_target": "../../devices/virtual/net/dummy1298", "mode": "0777", "mtime": 1636400170.640417, "nlink": 1, "path": "/sys/class/net/dummy1298", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface dummy1298 is present] ****************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:16 included: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002925", "end": "2021-11-08 19:36:11.884884", "rc": 0, "start": "2021-11-08 19:36:11.881959", "stderr": "", "stderr_lines": [], "stdout": "dummy1298\neth0\nlo", "stdout_lines": ["dummy1298", "eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["dummy1298", "eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['dummy1298', 'eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface dummy1298] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add dummy1298 type veth peer name peerdummy1298) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add dummy1298 type veth peer name peerdummy1298", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peerdummy1298 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peerdummy1298 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set dummy1298 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set dummy1298 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface dummy1298] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface dummy1298] **************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface dummy1298] **************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:47 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "dummy1298", "type", "dummy"], "delta": "0:00:00.008471", "end": "2021-11-08 19:36:14.179641", "rc": 0, "start": "2021-11-08 19:36:14.171170", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create tap interface dummy1298] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface dummy1298] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:19 included: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002822", "end": "2021-11-08 19:36:14.588677", "rc": 0, "start": "2021-11-08 19:36:14.585855", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/create_and_remove_interface.yml:20 included: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface dummy1298] **************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface dummy1298 is absent] ******************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=117 changed=5 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_integration_pytest.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_integration_pytest.yml ***************************************** 7 plays in /tmp/tmpmd5a3eg6/tests/tests_integration_pytest.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_integration_pytest.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_integration_pytest.yml:5 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY [Install dependencies for integration tests] ****************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Install rpm dependencies] ************************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:12 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: perl-NDBM_File-1.15-471.fc33.x86_64", "Installed: perl-Term-Cap-1.17-457.fc33.noarch", "Installed: perl-Digest-1.20-1.fc33.noarch", "Installed: perl-Digest-MD5-2.58-1.fc33.x86_64", "Installed: perl-Exporter-5.74-458.fc33.noarch", "Installed: git-2.31.1-3.fc33.x86_64", "Installed: perl-Storable-1:3.21-457.fc33.x86_64", "Installed: perl-URI-1.76-9.fc33.noarch", "Installed: perl-Text-ParseWords-3.30-457.fc33.noarch", "Installed: perl-DynaLoader-1.47-471.fc33.x86_64", "Installed: git-core-2.31.1-3.fc33.x86_64", "Installed: git-core-doc-2.31.1-3.fc33.noarch", "Installed: perl-Encode-4:3.08-461.fc33.x86_64", "Installed: perl-Errno-1.30-471.fc33.x86_64", "Installed: perl-if-0.60.800-471.fc33.noarch", "Installed: perl-interpreter-4:5.32.1-471.fc33.x86_64", "Installed: perl-TermReadKey-2.38-8.fc33.x86_64", "Installed: perl-lib-0.65-471.fc33.x86_64", "Installed: perl-libnet-3.13-1.fc33.noarch", "Installed: perl-POSIX-1.94-471.fc33.x86_64", "Installed: perl-libs-4:5.32.1-471.fc33.x86_64", "Installed: perl-parent-1:0.238-457.fc33.noarch", "Installed: perl-Fcntl-1.13-471.fc33.x86_64", "Installed: perl-MIME-Base64-3.16-1.fc33.x86_64", "Installed: perl-File-Basename-2.85-471.fc33.noarch", "Installed: perl-Text-Tabs+Wrap-2013.0523-457.fc33.noarch", "Installed: perl-PathTools-3.78-458.fc33.x86_64", "Installed: perl-macros-4:5.32.1-471.fc33.noarch", "Installed: perl-mro-1.23-471.fc33.x86_64", "Installed: perl-podlators-1:4.14-457.fc33.noarch", "Installed: perl-File-Find-1.37-471.fc33.noarch", "Installed: perl-File-Path-2.18-1.fc33.noarch", "Installed: perl-overload-1.31-471.fc33.noarch", "Installed: perl-overloading-0.02-471.fc33.noarch", "Installed: perl-File-Temp-1:0.231.100-1.fc33.noarch", "Installed: perl-subs-1.03-471.fc33.noarch", "Installed: perl-File-stat-1.09-471.fc33.noarch", "Installed: perl-FileHandle-2.03-471.fc33.noarch", "Installed: perl-vars-1.05-471.fc33.noarch", "Installed: perl-Pod-Simple-1:3.42-1.fc33.noarch", "Installed: perl-Pod-Usage-4:2.01-1.fc33.noarch", "Installed: perl-IO-Socket-IP-0.41-2.fc33.noarch", "Installed: perl-Pod-Escapes-1:1.07-457.fc33.noarch", "Installed: perl-IO-Socket-SSL-2.068-3.fc33.noarch", "Installed: perl-SelectSaver-1.02-471.fc33.noarch", "Installed: perl-Getopt-Std-1.12-471.fc33.noarch", "Installed: perl-Git-2.31.1-3.fc33.noarch", "Installed: perl-Net-SSLeay-1.88-9.fc33.x86_64", "Installed: perl-Socket-4:2.031-1.fc33.x86_64", "Installed: perl-Pod-Perldoc-3.28.01-458.fc33.noarch", "Installed: perl-Symbol-1.08-471.fc33.noarch", "Installed: perl-Scalar-List-Utils-4:1.55-457.fc33.x86_64", "Installed: perl-Getopt-Long-1:2.52-1.fc33.noarch", "Installed: perl-AutoLoader-5.74-471.fc33.noarch", "Installed: perl-B-1.80-471.fc33.x86_64", "Installed: perl-HTTP-Tiny-0.078-1.fc33.noarch", "Installed: perl-Time-Local-2:1.300-4.fc33.noarch", "Installed: perl-constant-1.33-458.fc33.noarch", "Installed: perl-Data-Dumper-2.174-459.fc33.x86_64", "Installed: emacs-filesystem-1:27.2-3.fc33.noarch", "Installed: perl-IO-1.43-471.fc33.x86_64", "Installed: perl-Class-Struct-0.66-471.fc33.noarch", "Installed: perl-Mozilla-CA-20200520-3.fc33.noarch", "Installed: perl-IPC-Open3-1.21-471.fc33.noarch", "Installed: perl-Error-1:0.17029-4.fc33.noarch", "Installed: perl-Carp-1.50-457.fc33.noarch", "Installed: perl-base-2.27-471.fc33.noarch", "Installed: perl-Term-ANSIColor-5.01-458.fc33.noarch"]} TASK [Install Pytest] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:17 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["pip3", "install", "pytest"], "delta": "0:00:01.595560", "end": "2021-11-08 19:37:24.706637", "rc": 0, "start": "2021-11-08 19:37:23.111077", "stderr": "WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.", "stderr_lines": ["WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead."], "stdout": "Collecting pytest\n Downloading pytest-6.2.5-py3-none-any.whl (280 kB)\nCollecting py>=1.8.2\n Downloading py-1.11.0-py2.py3-none-any.whl (98 kB)\nCollecting iniconfig\n Downloading iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)\nCollecting packaging\n Downloading packaging-21.2-py3-none-any.whl (40 kB)\nCollecting toml\n Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)\nCollecting pluggy<2.0,>=0.12\n Downloading pluggy-1.0.0-py2.py3-none-any.whl (13 kB)\nRequirement already satisfied: attrs>=19.2.0 in /usr/lib/python3.9/site-packages (from pytest) (19.3.0)\nCollecting pyparsing<3,>=2.0.2\n Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)\nInstalling collected packages: py, iniconfig, pyparsing, packaging, toml, pluggy, pytest\nSuccessfully installed iniconfig-1.1.1 packaging-21.2 pluggy-1.0.0 py-1.11.0 pyparsing-2.4.7 pytest-6.2.5 toml-0.10.2", "stdout_lines": ["Collecting pytest", " Downloading pytest-6.2.5-py3-none-any.whl (280 kB)", "Collecting py>=1.8.2", " Downloading py-1.11.0-py2.py3-none-any.whl (98 kB)", "Collecting iniconfig", " Downloading iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)", "Collecting packaging", " Downloading packaging-21.2-py3-none-any.whl (40 kB)", "Collecting toml", " Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)", "Collecting pluggy<2.0,>=0.12", " Downloading pluggy-1.0.0-py2.py3-none-any.whl (13 kB)", "Requirement already satisfied: attrs>=19.2.0 in /usr/lib/python3.9/site-packages (from pytest) (19.3.0)", "Collecting pyparsing<3,>=2.0.2", " Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)", "Installing collected packages: py, iniconfig, pyparsing, packaging, toml, pluggy, pytest", "Successfully installed iniconfig-1.1.1 packaging-21.2 pluggy-1.0.0 py-1.11.0 pyparsing-2.4.7 pytest-6.2.5 toml-0.10.2"]} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_default_initscripts.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default_initscripts.yml:5 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/playbooks/../tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default_initscripts.yml:6 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "initscripts"}, "changed": false} META: ran handlers META: ran handlers PLAY [Test executing the role with default parameters] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_default.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: bc-1.07.1-14.fc33.x86_64", "Installed: chkconfig-1.14-3.fc33.x86_64", "Installed: network-scripts-10.04-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 changed: [/cache/fedora-33.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-71289hpfhi316/tmpltnt9m8m"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": false, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/playbooks/../tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Test warning and info logs] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default.yml:9 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_default_nm.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default_nm.yml:5 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/playbooks/../tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default_nm.yml:6 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [Test executing the role with default parameters] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_default.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": false, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/playbooks/../tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Test warning and info logs] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_default.yml:9 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY [Run Pytest tests] ******************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:31 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [create tempdir for code to test] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:35 changed: [/cache/fedora-33.qcow2] => {"changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsrtest_iz83mk21", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0} TASK [get tempfile for tar] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:41 changed: [/cache/fedora-33.qcow2 -> localhost] => {"changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/lsrtest_h21hw82j.tar", "size": 0, "state": "file", "uid": 0} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:48 included: /tmp/tmpmd5a3eg6/tests/tasks/get_modules_and_utils_paths.yml for /cache/fedora-33.qcow2 TASK [set collection paths] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_modules_and_utils_paths.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"collection_paths": ["/home/tester/.ansible/collections", "/usr/share/ansible/collections"]}, "changed": false} TASK [set search paths] ******************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_modules_and_utils_paths.yml:13 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"module_utils_search_path": ["../../module_utils", "../module_utils", "/home/tester/.ansible/plugins/module_utils", "/usr/share/ansible/plugins/module_utils"], "modules_search_path": ["../../library", "../library", "/home/tester/.ansible/plugins/modules", "/usr/share/ansible/plugins/modules"]}, "changed": false} TASK [find parent directory and path of modules] ******************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_modules_and_utils_paths.yml:42 ok: [/cache/fedora-33.qcow2 -> localhost] => {"changed": false, "cmd": "set -euxo pipefail\nfor dir in ../../library ../library /home/tester/.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 /home/tester/.ansible/collections /usr/share/ansible/collections; 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.007926", "end": "2021-11-08 19:37:45.366589", "rc": 0, "start": "2021-11-08 19:37:45.358663", "stderr": "+ for dir in ../../library ../library /home/tester/.ansible/plugins/modules /usr/share/ansible/plugins/modules\n+ '[' -f ../../library/network_connections.py ']'\n++ dirname ../../library\n+ readlink -f ../..\n+ basename ../../library\n+ exit 0", "stderr_lines": ["+ for dir in ../../library ../library /home/tester/.ansible/plugins/modules /usr/share/ansible/plugins/modules", "+ '[' -f ../../library/network_connections.py ']'", "++ dirname ../../library", "+ readlink -f ../..", "+ basename ../../library", "+ exit 0"], "stdout": "/tmp/tmpmd5a3eg6\nlibrary", "stdout_lines": ["/tmp/tmpmd5a3eg6", "library"]} TASK [find parent directory and path of module_utils] ************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_modules_and_utils_paths.yml:69 ok: [/cache/fedora-33.qcow2 -> localhost] => {"changed": false, "cmd": "set -euxo pipefail\nfor dir in ../../module_utils ../module_utils /home/tester/.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 /home/tester/.ansible/collections /usr/share/ansible/collections; 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.007232", "end": "2021-11-08 19:37:45.586448", "rc": 0, "start": "2021-11-08 19:37:45.579216", "stderr": "+ for dir in ../../module_utils ../module_utils /home/tester/.ansible/plugins/module_utils /usr/share/ansible/plugins/module_utils\n+ '[' -d ../../module_utils/network_lsr ']'\n++ dirname ../../module_utils\n+ readlink -f ../..\n+ basename ../../module_utils\n+ exit 0", "stderr_lines": ["+ for dir in ../../module_utils ../module_utils /home/tester/.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"], "stdout": "/tmp/tmpmd5a3eg6\nmodule_utils", "stdout_lines": ["/tmp/tmpmd5a3eg6", "module_utils"]} TASK [get tests directory] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:50 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"tests_directory": "/tmp/tmpmd5a3eg6/tests/playbooks/files/../../tests"}, "changed": false} TASK [Create Tar file] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:65 [WARNING]: Consider using the unarchive module rather than running 'tar'. If you need to use command because unarchive is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [/cache/fedora-33.qcow2 -> localhost] => {"changed": true, "cmd": ["tar", "-cvf", "/tmp/lsrtest_h21hw82j.tar", "--exclude", "*.pyc", "--exclude", "__pycache__", "-C", "/tmp/tmpmd5a3eg6", "tests", "-C", "/tmp/tmpmd5a3eg6", "library", "-C", "/tmp/tmpmd5a3eg6", "module_utils"], "delta": "0:00:00.007776", "end": "2021-11-08 19:37:45.842248", "rc": 0, "start": "2021-11-08 19:37:45.834472", "stderr": "", "stderr_lines": [], "stdout": "tests/\ntests/.gitignore\ntests/covstats\ntests/ensure_provider_tests.py\ntests/files/\ntests/files/cacert.key\ntests/files/cacert.pem\ntests/files/client.key\ntests/files/client.key.nocrypt\ntests/files/client.pem\ntests/files/dh.pem\ntests/files/server.key\ntests/files/server.pem\ntests/get_coverage.sh\ntests/get_coverage.yml\ntests/get_total_coverage.sh\ntests/git-post-commit.sh\ntests/git-pre-commit.sh\ntests/integration/\ntests/integration/conftest.py\ntests/integration/test_ethernet.py\ntests/merge_coverage.sh\ntests/module_utils\ntests/modules\ntests/playbooks/\ntests/playbooks/down_profile.yml\ntests/playbooks/files\ntests/playbooks/integration_pytest_python3.yml\ntests/playbooks/manual_test_ethtool_coalesce.yml\ntests/playbooks/remove_profile.yml\ntests/playbooks/roles\ntests/playbooks/run_tasks.yml\ntests/playbooks/tasks\ntests/playbooks/tests_802_1x.yml\ntests/playbooks/tests_802_1x_updated.yml\ntests/playbooks/tests_auto_gateway.yml\ntests/playbooks/tests_bond.yml\ntests/playbooks/tests_bond_deprecated.yml\ntests/playbooks/tests_bridge.yml\ntests/playbooks/tests_checkpoint_cleanup.yml\ntests/playbooks/tests_dummy.yml\ntests/playbooks/tests_eth_dns_support.yml\ntests/playbooks/tests_eth_pci_address_match.yml\ntests/playbooks/tests_ethernet.yml\ntests/playbooks/tests_ethtool_coalesce.yml\ntests/playbooks/tests_ethtool_features.yml\ntests/playbooks/tests_ethtool_ring.yml\ntests/playbooks/tests_ipv6.yml\ntests/playbooks/tests_ipv6_disabled.yml\ntests/playbooks/tests_provider.yml\ntests/playbooks/tests_reapply.yml\ntests/playbooks/tests_states.yml\ntests/playbooks/tests_team.yml\ntests/playbooks/tests_team_plugin_installation.yml\ntests/playbooks/tests_vlan_mtu.yml\ntests/playbooks/tests_wireless.yml\ntests/playbooks/tests_wireless_plugin_installation.yml\ntests/playbooks/tests_wireless_wpa3_owe.yml\ntests/playbooks/tests_wireless_wpa3_sae.yml\ntests/roles/\ntests/roles/linux-system-roles.network/\ntests/roles/linux-system-roles.network/defaults\ntests/roles/linux-system-roles.network/library\ntests/roles/linux-system-roles.network/meta\ntests/roles/linux-system-roles.network/module_utils\ntests/roles/linux-system-roles.network/tasks\ntests/tasks/\ntests/tasks/activate_profile.yml\ntests/tasks/assert_device_absent.yml\ntests/tasks/assert_device_present.yml\ntests/tasks/assert_output_in_stderr_without_warnings.yml\ntests/tasks/assert_profile_absent.yml\ntests/tasks/assert_profile_present.yml\ntests/tasks/cleanup_802_1x_server.yml\ntests/tasks/cleanup_mock_wifi.yml\ntests/tasks/cleanup_profile+device.yml\ntests/tasks/create_and_remove_interface.yml\ntests/tasks/create_bridge_profile.yml\ntests/tasks/create_bridge_profile_no_autoconnect.yml\ntests/tasks/create_dummy_profile.yml\ntests/tasks/create_team_profile.yml\ntests/tasks/create_test_interfaces_with_dhcp.yml\ntests/tasks/delete_interface.yml\ntests/tasks/el_repo_setup.yml\ntests/tasks/enable_epel.yml\ntests/tasks/get_NetworkManager_NVR.yml\ntests/tasks/get_current_interfaces.yml\ntests/tasks/get_interface_stat.yml\ntests/tasks/get_modules_and_utils_paths.yml\ntests/tasks/get_profile_stat.yml\ntests/tasks/manage_test_interface.yml\ntests/tasks/provider/\ntests/tasks/provider/create_and_remove_with_initscripts.yml\ntests/tasks/provider/create_with_nm.yml\ntests/tasks/provider/default_with_nm.yml\ntests/tasks/remove+down_profile.yml\ntests/tasks/remove_profile.yml\ntests/tasks/remove_test_interfaces_with_dhcp.yml\ntests/tasks/run_test.yml\ntests/tasks/setup_802.1x.yml\ntests/tasks/setup_802_1x_server.yml\ntests/tasks/setup_mock_wifi.yml\ntests/tasks/setup_mock_wifi_wpa3_owe.yml\ntests/tasks/setup_mock_wifi_wpa3_sae.yml\ntests/tasks/setup_test_interface.yml\ntests/tasks/show_interfaces.yml\ntests/tasks/start_mock_wifi.yml\ntests/tasks/test_802.1x_capath.yml\ntests/tests_802_1x_nm.yml\ntests/tests_802_1x_updated_nm.yml\ntests/tests_auto_gateway_initscripts.yml\ntests/tests_auto_gateway_nm.yml\ntests/tests_bond_deprecated_initscripts.yml\ntests/tests_bond_deprecated_nm.yml\ntests/tests_bond_initscripts.yml\ntests/tests_bond_nm.yml\ntests/tests_bridge_initscripts.yml\ntests/tests_bridge_nm.yml\ntests/tests_change_indication_on_repeat_run.yml\ntests/tests_default.yml\ntests/tests_default_initscripts.yml\ntests/tests_default_nm.yml\ntests/tests_dummy_nm.yml\ntests/tests_eth_dns_support_nm.yml\ntests/tests_eth_pci_address_match_nm.yml\ntests/tests_ethernet_initscripts.yml\ntests/tests_ethernet_nm.yml\ntests/tests_ethtool_coalesce_initscripts.yml\ntests/tests_ethtool_coalesce_nm.yml\ntests/tests_ethtool_features_initscripts.yml\ntests/tests_ethtool_features_nm.yml\ntests/tests_ethtool_ring_initscripts.yml\ntests/tests_ethtool_ring_nm.yml\ntests/tests_helpers_and_asserts.yml\ntests/tests_integration_pytest.yml\ntests/tests_ipv6_disabled_nm.yml\ntests/tests_ipv6_initscripts.yml\ntests/tests_ipv6_nm.yml\ntests/tests_provider_nm.yml\ntests/tests_reapply_nm.yml\ntests/tests_regression_nm.yml\ntests/tests_states_initscripts.yml\ntests/tests_states_nm.yml\ntests/tests_team_nm.yml\ntests/tests_team_plugin_installation_nm.yml\ntests/tests_unit.yml\ntests/tests_vlan_mtu_initscripts.yml\ntests/tests_vlan_mtu_nm.yml\ntests/tests_wireless_nm.yml\ntests/tests_wireless_plugin_installation_nm.yml\ntests/tests_wireless_wpa3_owe_nm.yml\ntests/tests_wireless_wpa3_sae_nm.yml\ntests/unit/\ntests/unit/test_network_connections.py\ntests/unit/test_nm_provider.py\nlibrary/\nlibrary/__init__.py\nlibrary/network_connections.py\nmodule_utils/\nmodule_utils/network_lsr/\nmodule_utils/network_lsr/__init__.py\nmodule_utils/network_lsr/argument_validator.py\nmodule_utils/network_lsr/ethtool.py\nmodule_utils/network_lsr/myerror.py\nmodule_utils/network_lsr/nm/\nmodule_utils/network_lsr/nm/__init__.py\nmodule_utils/network_lsr/nm/active_connection.py\nmodule_utils/network_lsr/nm/client.py\nmodule_utils/network_lsr/nm/connection.py\nmodule_utils/network_lsr/nm/error.py\nmodule_utils/network_lsr/nm/provider.py\nmodule_utils/network_lsr/nm_provider.py\nmodule_utils/network_lsr/utils.py", "stdout_lines": ["tests/", "tests/.gitignore", "tests/covstats", "tests/ensure_provider_tests.py", "tests/files/", "tests/files/cacert.key", "tests/files/cacert.pem", "tests/files/client.key", "tests/files/client.key.nocrypt", "tests/files/client.pem", "tests/files/dh.pem", "tests/files/server.key", "tests/files/server.pem", "tests/get_coverage.sh", "tests/get_coverage.yml", "tests/get_total_coverage.sh", "tests/git-post-commit.sh", "tests/git-pre-commit.sh", "tests/integration/", "tests/integration/conftest.py", "tests/integration/test_ethernet.py", "tests/merge_coverage.sh", "tests/module_utils", "tests/modules", "tests/playbooks/", "tests/playbooks/down_profile.yml", "tests/playbooks/files", "tests/playbooks/integration_pytest_python3.yml", "tests/playbooks/manual_test_ethtool_coalesce.yml", "tests/playbooks/remove_profile.yml", "tests/playbooks/roles", "tests/playbooks/run_tasks.yml", "tests/playbooks/tasks", "tests/playbooks/tests_802_1x.yml", "tests/playbooks/tests_802_1x_updated.yml", "tests/playbooks/tests_auto_gateway.yml", "tests/playbooks/tests_bond.yml", "tests/playbooks/tests_bond_deprecated.yml", "tests/playbooks/tests_bridge.yml", "tests/playbooks/tests_checkpoint_cleanup.yml", "tests/playbooks/tests_dummy.yml", "tests/playbooks/tests_eth_dns_support.yml", "tests/playbooks/tests_eth_pci_address_match.yml", "tests/playbooks/tests_ethernet.yml", "tests/playbooks/tests_ethtool_coalesce.yml", "tests/playbooks/tests_ethtool_features.yml", "tests/playbooks/tests_ethtool_ring.yml", "tests/playbooks/tests_ipv6.yml", "tests/playbooks/tests_ipv6_disabled.yml", "tests/playbooks/tests_provider.yml", "tests/playbooks/tests_reapply.yml", "tests/playbooks/tests_states.yml", "tests/playbooks/tests_team.yml", "tests/playbooks/tests_team_plugin_installation.yml", "tests/playbooks/tests_vlan_mtu.yml", "tests/playbooks/tests_wireless.yml", "tests/playbooks/tests_wireless_plugin_installation.yml", "tests/playbooks/tests_wireless_wpa3_owe.yml", "tests/playbooks/tests_wireless_wpa3_sae.yml", "tests/roles/", "tests/roles/linux-system-roles.network/", "tests/roles/linux-system-roles.network/defaults", "tests/roles/linux-system-roles.network/library", "tests/roles/linux-system-roles.network/meta", "tests/roles/linux-system-roles.network/module_utils", "tests/roles/linux-system-roles.network/tasks", "tests/tasks/", "tests/tasks/activate_profile.yml", "tests/tasks/assert_device_absent.yml", "tests/tasks/assert_device_present.yml", "tests/tasks/assert_output_in_stderr_without_warnings.yml", "tests/tasks/assert_profile_absent.yml", "tests/tasks/assert_profile_present.yml", "tests/tasks/cleanup_802_1x_server.yml", "tests/tasks/cleanup_mock_wifi.yml", "tests/tasks/cleanup_profile+device.yml", "tests/tasks/create_and_remove_interface.yml", "tests/tasks/create_bridge_profile.yml", "tests/tasks/create_bridge_profile_no_autoconnect.yml", "tests/tasks/create_dummy_profile.yml", "tests/tasks/create_team_profile.yml", "tests/tasks/create_test_interfaces_with_dhcp.yml", "tests/tasks/delete_interface.yml", "tests/tasks/el_repo_setup.yml", "tests/tasks/enable_epel.yml", "tests/tasks/get_NetworkManager_NVR.yml", "tests/tasks/get_current_interfaces.yml", "tests/tasks/get_interface_stat.yml", "tests/tasks/get_modules_and_utils_paths.yml", "tests/tasks/get_profile_stat.yml", "tests/tasks/manage_test_interface.yml", "tests/tasks/provider/", "tests/tasks/provider/create_and_remove_with_initscripts.yml", "tests/tasks/provider/create_with_nm.yml", "tests/tasks/provider/default_with_nm.yml", "tests/tasks/remove+down_profile.yml", "tests/tasks/remove_profile.yml", "tests/tasks/remove_test_interfaces_with_dhcp.yml", "tests/tasks/run_test.yml", "tests/tasks/setup_802.1x.yml", "tests/tasks/setup_802_1x_server.yml", "tests/tasks/setup_mock_wifi.yml", "tests/tasks/setup_mock_wifi_wpa3_owe.yml", "tests/tasks/setup_mock_wifi_wpa3_sae.yml", "tests/tasks/setup_test_interface.yml", "tests/tasks/show_interfaces.yml", "tests/tasks/start_mock_wifi.yml", "tests/tasks/test_802.1x_capath.yml", "tests/tests_802_1x_nm.yml", "tests/tests_802_1x_updated_nm.yml", "tests/tests_auto_gateway_initscripts.yml", "tests/tests_auto_gateway_nm.yml", "tests/tests_bond_deprecated_initscripts.yml", "tests/tests_bond_deprecated_nm.yml", "tests/tests_bond_initscripts.yml", "tests/tests_bond_nm.yml", "tests/tests_bridge_initscripts.yml", "tests/tests_bridge_nm.yml", "tests/tests_change_indication_on_repeat_run.yml", "tests/tests_default.yml", "tests/tests_default_initscripts.yml", "tests/tests_default_nm.yml", "tests/tests_dummy_nm.yml", "tests/tests_eth_dns_support_nm.yml", "tests/tests_eth_pci_address_match_nm.yml", "tests/tests_ethernet_initscripts.yml", "tests/tests_ethernet_nm.yml", "tests/tests_ethtool_coalesce_initscripts.yml", "tests/tests_ethtool_coalesce_nm.yml", "tests/tests_ethtool_features_initscripts.yml", "tests/tests_ethtool_features_nm.yml", "tests/tests_ethtool_ring_initscripts.yml", "tests/tests_ethtool_ring_nm.yml", "tests/tests_helpers_and_asserts.yml", "tests/tests_integration_pytest.yml", "tests/tests_ipv6_disabled_nm.yml", "tests/tests_ipv6_initscripts.yml", "tests/tests_ipv6_nm.yml", "tests/tests_provider_nm.yml", "tests/tests_reapply_nm.yml", "tests/tests_regression_nm.yml", "tests/tests_states_initscripts.yml", "tests/tests_states_nm.yml", "tests/tests_team_nm.yml", "tests/tests_team_plugin_installation_nm.yml", "tests/tests_unit.yml", "tests/tests_vlan_mtu_initscripts.yml", "tests/tests_vlan_mtu_nm.yml", "tests/tests_wireless_nm.yml", "tests/tests_wireless_plugin_installation_nm.yml", "tests/tests_wireless_wpa3_owe_nm.yml", "tests/tests_wireless_wpa3_sae_nm.yml", "tests/unit/", "tests/unit/test_network_connections.py", "tests/unit/test_nm_provider.py", "library/", "library/__init__.py", "library/network_connections.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: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:77 changed: [/cache/fedora-33.qcow2] => {"changed": true, "checksum": "ebcc02abe82bd43748eb5105e4f70d300cfdba12", "dest": "/tmp/lsrtest_iz83mk21/lsrtest_h21hw82j.tar", "gid": 0, "group": "root", "md5sum": "ec8c8ed6f95a7d55a27a0e079555593a", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 675840, "src": "/root/.ansible/tmp/ansible-tmp-1636400265.9289591-71959-53801618330181/source", "state": "file", "uid": 0} TASK [Untar testrepo.tar] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:83 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["tar", "xf", "lsrtest_h21hw82j.tar"], "delta": "0:00:00.009296", "end": "2021-11-08 19:37:46.897773", "rc": 0, "start": "2021-11-08 19:37:46.888477", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create /tmp/lsrtest_iz83mk21/ansible] ************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:88 changed: [/cache/fedora-33.qcow2] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/tmp/lsrtest_iz83mk21/ansible", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0} TASK [Move module_utils to ansible directory] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:94 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": "if [ -d /tmp/lsrtest_iz83mk21/module_utils ]; then\n mv /tmp/lsrtest_iz83mk21/module_utils /tmp/lsrtest_iz83mk21/ansible\nfi\n", "delta": "0:00:00.004657", "end": "2021-11-08 19:37:47.702054", "rc": 0, "start": "2021-11-08 19:37:47.697397", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Fake out python module directories, primarily for python2] *************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:100 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": "for dir in $(find /tmp/lsrtest_iz83mk21 -type d -print); do\n if [ ! -f \"$dir/__init__.py\" ]; then\n touch \"$dir/__init__.py\"\n fi\ndone\n", "delta": "0:00:00.018241", "end": "2021-11-08 19:37:48.058627", "rc": 0, "start": "2021-11-08 19:37:48.040386", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set _lsr_python_path] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:108 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"_lsr_python_path": "/tmp/lsrtest_iz83mk21/library:/tmp/lsrtest_iz83mk21"}, "changed": false} TASK [Show _lsr_python_path] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:115 ok: [/cache/fedora-33.qcow2] => { "msg": "path /tmp/lsrtest_iz83mk21/library:/tmp/lsrtest_iz83mk21" } TASK [ls -alrtFR /tmp/lsrtest_iz83mk21] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:119 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ls", "-alrtFR", "/tmp/lsrtest_iz83mk21"], "delta": "0:00:00.005601", "end": "2021-11-08 19:37:48.465213", "rc": 0, "start": "2021-11-08 19:37:48.459612", "stderr": "", "stderr_lines": [], "stdout": "/tmp/lsrtest_iz83mk21:\ntotal 660\ndrwxr-xr-x. 2 root root 80 Nov 8 18:49 library/\n-rw-------. 1 root root 675840 Nov 8 19:37 lsrtest_h21hw82j.tar\n-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py\ndrwx------. 5 root root 140 Nov 8 19:37 ./\ndrwxr-xr-x. 3 root root 80 Nov 8 19:37 ansible/\ndrwxr-xr-x. 8 root root 1280 Nov 8 19:37 tests/\ndrwxrwxrwt. 13 root root 260 Nov 8 19:37 ../\n\n/tmp/lsrtest_iz83mk21/library:\ntotal 96\n-rw-r--r--. 1 root root 95429 Nov 8 18:49 network_connections.py\n-rw-r--r--. 1 root root 0 Nov 8 18:49 __init__.py\ndrwxr-xr-x. 2 root root 80 Nov 8 18:49 ./\ndrwx------. 5 root root 140 Nov 8 19:37 ../\n\n/tmp/lsrtest_iz83mk21/ansible:\ntotal 0\ndrwx------. 5 root root 140 Nov 8 19:37 ../\n-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py\ndrwxr-xr-x. 3 root root 80 Nov 8 19:37 ./\ndrwxr-xr-x. 3 root root 80 Nov 8 19:37 module_utils/\n\n/tmp/lsrtest_iz83mk21/ansible/module_utils:\ntotal 0\ndrwxr-xr-x. 3 root root 180 Nov 8 18:49 network_lsr/\ndrwxr-xr-x. 3 root root 80 Nov 8 19:37 ../\n-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py\ndrwxr-xr-x. 3 root root 80 Nov 8 19:37 ./\n\n/tmp/lsrtest_iz83mk21/ansible/module_utils/network_lsr:\ntotal 104\n-rw-r--r--. 1 root root 10658 Nov 8 18:49 utils.py\n-rw-r--r--. 1 root root 1594 Nov 8 18:49 nm_provider.py\ndrwxr-xr-x. 2 root root 160 Nov 8 18:49 nm/\n-rw-r--r--. 1 root root 190 Nov 8 18:49 myerror.py\n-rw-r--r--. 1 root root 0 Nov 8 18:49 __init__.py\n-rw-r--r--. 1 root root 1706 Nov 8 18:49 ethtool.py\n-rw-r--r--. 1 root root 79109 Nov 8 18:49 argument_validator.py\ndrwxr-xr-x. 3 root root 180 Nov 8 18:49 ./\ndrwxr-xr-x. 3 root root 80 Nov 8 19:37 ../\n\n/tmp/lsrtest_iz83mk21/ansible/module_utils/network_lsr/nm:\ntotal 24\n-rw-r--r--. 1 root root 2224 Nov 8 18:49 provider.py\n-rw-r--r--. 1 root root 343 Nov 8 18:49 __init__.py\n-rw-r--r--. 1 root root 175 Nov 8 18:49 error.py\n-rw-r--r--. 1 root root 3546 Nov 8 18:49 connection.py\n-rw-r--r--. 1 root root 2834 Nov 8 18:49 client.py\n-rw-r--r--. 1 root root 4012 Nov 8 18:49 active_connection.py\ndrwxr-xr-x. 3 root root 180 Nov 8 18:49 ../\ndrwxr-xr-x. 2 root root 160 Nov 8 18:49 ./\n\n/tmp/lsrtest_iz83mk21/tests:\ntotal 224\n-rw-r--r--. 1 root root 805 Nov 8 18:49 tests_wireless_wpa3_sae_nm.yml\n-rw-r--r--. 1 root root 901 Nov 8 18:49 tests_wireless_wpa3_owe_nm.yml\n-rw-r--r--. 1 root root 636 Nov 8 18:49 tests_wireless_plugin_installation_nm.yml\n-rw-r--r--. 1 root root 644 Nov 8 18:49 tests_wireless_nm.yml\n-rw-r--r--. 1 root root 596 Nov 8 18:49 tests_vlan_mtu_nm.yml\n-rw-r--r--. 1 root root 575 Nov 8 18:49 tests_vlan_mtu_initscripts.yml\n-rw-r--r--. 1 root root 5339 Nov 8 18:49 tests_unit.yml\n-rw-r--r--. 1 root root 628 Nov 8 18:49 tests_team_plugin_installation_nm.yml\n-rw-r--r--. 1 root root 627 Nov 8 18:49 tests_team_nm.yml\n-rw-r--r--. 1 root root 592 Nov 8 18:49 tests_states_nm.yml\n-rw-r--r--. 1 root root 571 Nov 8 18:49 tests_states_initscripts.yml\n-rw-r--r--. 1 root root 1175 Nov 8 18:49 tests_regression_nm.yml\n-rw-r--r--. 1 root root 594 Nov 8 18:49 tests_reapply_nm.yml\n-rw-r--r--. 1 root root 1246 Nov 8 18:49 tests_provider_nm.yml\n-rw-r--r--. 1 root root 588 Nov 8 18:49 tests_ipv6_nm.yml\n-rw-r--r--. 1 root root 567 Nov 8 18:49 tests_ipv6_initscripts.yml\n-rw-r--r--. 1 root root 654 Nov 8 18:49 tests_ipv6_disabled_nm.yml\n-rw-r--r--. 1 root root 325 Nov 8 18:49 tests_integration_pytest.yml\n-rw-r--r--. 1 root root 979 Nov 8 18:49 tests_helpers_and_asserts.yml\n-rw-r--r--. 1 root root 1155 Nov 8 18:49 tests_ethtool_ring_nm.yml\n-rw-r--r--. 1 root root 583 Nov 8 18:49 tests_ethtool_ring_initscripts.yml\n-rw-r--r--. 1 root root 1167 Nov 8 18:49 tests_ethtool_features_nm.yml\n-rw-r--r--. 1 root root 591 Nov 8 18:49 tests_ethtool_features_initscripts.yml\n-rw-r--r--. 1 root root 1167 Nov 8 18:49 tests_ethtool_coalesce_nm.yml\n-rw-r--r--. 1 root root 591 Nov 8 18:49 tests_ethtool_coalesce_initscripts.yml\n-rw-r--r--. 1 root root 1178 Nov 8 18:49 tests_eth_pci_address_match_nm.yml\n-rw-r--r--. 1 root root 596 Nov 8 18:49 tests_ethernet_nm.yml\n-rw-r--r--. 1 root root 575 Nov 8 18:49 tests_ethernet_initscripts.yml\n-rw-r--r--. 1 root root 610 Nov 8 18:49 tests_eth_dns_support_nm.yml\n-rw-r--r--. 1 root root 590 Nov 8 18:49 tests_dummy_nm.yml\n-rw-r--r--. 1 root root 371 Nov 8 18:49 tests_default.yml\n-rw-r--r--. 1 root root 377 Nov 8 18:49 tests_default_nm.yml\n-rw-r--r--. 1 root root 400 Nov 8 18:49 tests_default_initscripts.yml\n-rw-r--r--. 1 root root 2354 Nov 8 18:49 tests_change_indication_on_repeat_run.yml\n-rw-r--r--. 1 root root 592 Nov 8 18:49 tests_bridge_nm.yml\n-rw-r--r--. 1 root root 571 Nov 8 18:49 tests_bridge_initscripts.yml\n-rw-r--r--. 1 root root 588 Nov 8 18:49 tests_bond_nm.yml\n-rw-r--r--. 1 root root 567 Nov 8 18:49 tests_bond_initscripts.yml\n-rw-r--r--. 1 root root 610 Nov 8 18:49 tests_bond_deprecated_nm.yml\n-rw-r--r--. 1 root root 589 Nov 8 18:49 tests_bond_deprecated_initscripts.yml\n-rw-r--r--. 1 root root 604 Nov 8 18:49 tests_auto_gateway_nm.yml\n-rw-r--r--. 1 root root 583 Nov 8 18:49 tests_auto_gateway_initscripts.yml\n-rw-r--r--. 1 root root 701 Nov 8 18:49 tests_802_1x_updated_nm.yml\n-rw-r--r--. 1 root root 685 Nov 8 18:49 tests_802_1x_nm.yml\nlrwxrwxrwx. 1 root root 16 Nov 8 18:49 module_utils -> ../module_utils/\nlrwxrwxrwx. 1 root root 11 Nov 8 18:49 modules -> ../library//\n-rwxr-xr-x. 1 root root 880 Nov 8 18:49 merge_coverage.sh*\n-rwxr-xr-x. 1 root root 357 Nov 8 18:49 git-pre-commit.sh*\n-rwxr-xr-x. 1 root root 682 Nov 8 18:49 git-post-commit.sh*\n-rw-r--r--. 1 root root 20 Nov 8 18:49 .gitignore\n-rwxr-xr-x. 1 root root 929 Nov 8 18:49 get_total_coverage.sh*\n-rw-r--r--. 1 root root 2509 Nov 8 18:49 get_coverage.yml\n-rwxr-xr-x. 1 root root 2494 Nov 8 18:49 get_coverage.sh*\n-rwxr-xr-x. 1 root root 9646 Nov 8 18:49 ensure_provider_tests.py*\n-rwxr-xr-x. 1 root root 343 Nov 8 18:49 covstats*\ndrwx------. 5 root root 140 Nov 8 19:37 ../\n-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py\ndrwxr-xr-x. 8 root root 1280 Nov 8 19:37 ./\ndrwxr-xr-x. 2 root root 100 Nov 8 19:37 unit/\ndrwxr-xr-x. 3 root root 820 Nov 8 19:37 tasks/\ndrwxr-xr-x. 3 root root 80 Nov 8 19:37 roles/\ndrwxr-xr-x. 2 root root 740 Nov 8 19:37 playbooks/\ndrwxr-xr-x. 2 root root 100 Nov 8 19:37 integration/\ndrwxr-xr-x. 2 root root 220 Nov 8 19:37 files/\n\n/tmp/lsrtest_iz83mk21/tests/unit:\ntotal 152\n-rw-r--r--. 1 root root 1416 Nov 8 18:49 test_nm_provider.py\n-rw-r--r--. 1 root root 148980 Nov 8 18:49 test_network_connections.py\ndrwxr-xr-x. 8 root root 1280 Nov 8 19:37 ../\n-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py\ndrwxr-xr-x. 2 root root 100 Nov 8 19:37 ./\n\n/tmp/lsrtest_iz83mk21/tests/tasks:\ntotal 148\n-rw-r--r--. 1 root root 3460 Nov 8 18:49 test_802.1x_capath.yml\n-rw-r--r--. 1 root root 777 Nov 8 18:49 start_mock_wifi.yml\n-rw-r--r--. 1 root root 179 Nov 8 18:49 show_interfaces.yml\n-rw-r--r--. 1 root root 139 Nov 8 18:49 setup_test_interface.yml\n-rw-r--r--. 1 root root 2048 Nov 8 18:49 setup_mock_wifi.yml\n-rw-r--r--. 1 root root 1980 Nov 8 18:49 setup_mock_wifi_wpa3_sae.yml\n-rw-r--r--. 1 root root 1823 Nov 8 18:49 setup_mock_wifi_wpa3_owe.yml\n-rw-r--r--. 1 root root 244 Nov 8 18:49 setup_802.1x.yml\n-rw-r--r--. 1 root root 1973 Nov 8 18:49 setup_802_1x_server.yml\n-rw-r--r--. 1 root root 1648 Nov 8 18:49 run_test.yml\n-rw-r--r--. 1 root root 581 Nov 8 18:49 remove_test_interfaces_with_dhcp.yml\n-rw-r--r--. 1 root root 228 Nov 8 18:49 remove_profile.yml\n-rw-r--r--. 1 root root 248 Nov 8 18:49 remove+down_profile.yml\n-rw-r--r--. 1 root root 2088 Nov 8 18:49 manage_test_interface.yml\n-rw-r--r--. 1 root root 966 Nov 8 18:49 get_profile_stat.yml\n-rw-r--r--. 1 root root 480 Nov 8 18:49 get_NetworkManager_NVR.yml\n-rw-r--r--. 1 root root 2837 Nov 8 18:49 get_modules_and_utils_paths.yml\n-rw-r--r--. 1 root root 241 Nov 8 18:49 get_interface_stat.yml\n-rw-r--r--. 1 root root 295 Nov 8 18:49 get_current_interfaces.yml\n-rw-r--r--. 1 root root 1214 Nov 8 18:49 enable_epel.yml\n-rw-r--r--. 1 root root 852 Nov 8 18:49 el_repo_setup.yml\n-rw-r--r--. 1 root root 198 Nov 8 18:49 delete_interface.yml\n-rw-r--r--. 1 root root 2990 Nov 8 18:49 create_test_interfaces_with_dhcp.yml\n-rw-r--r--. 1 root root 373 Nov 8 18:49 create_team_profile.yml\n-rw-r--r--. 1 root root 361 Nov 8 18:49 create_dummy_profile.yml\n-rw-r--r--. 1 root root 375 Nov 8 18:49 create_bridge_profile.yml\n-rw-r--r--. 1 root root 402 Nov 8 18:49 create_bridge_profile_no_autoconnect.yml\n-rw-r--r--. 1 root root 529 Nov 8 18:49 create_and_remove_interface.yml\n-rw-r--r--. 1 root root 364 Nov 8 18:49 cleanup_profile+device.yml\n-rw-r--r--. 1 root root 218 Nov 8 18:49 cleanup_mock_wifi.yml\n-rw-r--r--. 1 root root 481 Nov 8 18:49 cleanup_802_1x_server.yml\n-rw-r--r--. 1 root root 224 Nov 8 18:49 assert_profile_present.yml\n-rw-r--r--. 1 root root 223 Nov 8 18:49 assert_profile_absent.yml\n-rw-r--r--. 1 root root 364 Nov 8 18:49 assert_output_in_stderr_without_warnings.yml\n-rw-r--r--. 1 root root 226 Nov 8 18:49 assert_device_present.yml\n-rw-r--r--. 1 root root 221 Nov 8 18:49 assert_device_absent.yml\n-rw-r--r--. 1 root root 213 Nov 8 18:49 activate_profile.yml\ndrwxr-xr-x. 8 root root 1280 Nov 8 19:37 ../\n-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py\ndrwxr-xr-x. 3 root root 820 Nov 8 19:37 ./\ndrwxr-xr-x. 2 root root 120 Nov 8 19:37 provider/\n\n/tmp/lsrtest_iz83mk21/tests/tasks/provider:\ntotal 12\n-rw-r--r--. 1 root root 191 Nov 8 18:49 default_with_nm.yml\n-rw-r--r--. 1 root root 364 Nov 8 18:49 create_with_nm.yml\n-rw-r--r--. 1 root root 607 Nov 8 18:49 create_and_remove_with_initscripts.yml\ndrwxr-xr-x. 3 root root 820 Nov 8 19:37 ../\n-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py\ndrwxr-xr-x. 2 root root 120 Nov 8 19:37 ./\n\n/tmp/lsrtest_iz83mk21/tests/roles:\ntotal 0\ndrwxr-xr-x. 8 root root 1280 Nov 8 19:37 ../\n-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py\ndrwxr-xr-x. 3 root root 80 Nov 8 19:37 ./\ndrwxr-xr-x. 2 root root 160 Nov 8 19:37 linux-system-roles.network/\n\n/tmp/lsrtest_iz83mk21/tests/roles/linux-system-roles.network:\ntotal 0\nlrwxrwxrwx. 1 root root 15 Nov 8 18:49 tasks -> ../../../tasks/\nlrwxrwxrwx. 1 root root 22 Nov 8 18:49 module_utils -> ../../../module_utils/\nlrwxrwxrwx. 1 root root 14 Nov 8 18:49 meta -> ../../../meta/\nlrwxrwxrwx. 1 root root 17 Nov 8 18:49 library -> ../../../library//\nlrwxrwxrwx. 1 root root 18 Nov 8 18:49 defaults -> ../../../defaults/\ndrwxr-xr-x. 3 root root 80 Nov 8 19:37 ../\n-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py\ndrwxr-xr-x. 2 root root 160 Nov 8 19:37 ./\n\n/tmp/lsrtest_iz83mk21/tests/playbooks:\ntotal 156\n-rw-r--r--. 1 root root 2973 Nov 8 18:49 tests_wireless.yml\n-rw-r--r--. 1 root root 1369 Nov 8 18:49 tests_wireless_wpa3_sae.yml\n-rw-r--r--. 1 root root 1325 Nov 8 18:49 tests_wireless_wpa3_owe.yml\n-rw-r--r--. 1 root root 1188 Nov 8 18:49 tests_wireless_plugin_installation.yml\n-rw-r--r--. 1 root root 1980 Nov 8 18:49 tests_vlan_mtu.yml\n-rw-r--r--. 1 root root 875 Nov 8 18:49 tests_team.yml\n-rw-r--r--. 1 root root 1161 Nov 8 18:49 tests_team_plugin_installation.yml\n-rw-r--r--. 1 root root 4865 Nov 8 18:49 tests_states.yml\n-rw-r--r--. 1 root root 2354 Nov 8 18:49 tests_reapply.yml\n-rw-r--r--. 1 root root 1115 Nov 8 18:49 tests_provider.yml\n-rw-r--r--. 1 root root 3271 Nov 8 18:49 tests_ipv6.yml\n-rw-r--r--. 1 root root 1648 Nov 8 18:49 tests_ipv6_disabled.yml\n-rw-r--r--. 1 root root 6742 Nov 8 18:49 tests_ethtool_ring.yml\n-rw-r--r--. 1 root root 7089 Nov 8 18:49 tests_ethtool_features.yml\n-rw-r--r--. 1 root root 5435 Nov 8 18:49 tests_ethtool_coalesce.yml\n-rw-r--r--. 1 root root 2739 Nov 8 18:49 tests_eth_pci_address_match.yml\n-rw-r--r--. 1 root root 1643 Nov 8 18:49 tests_ethernet.yml\n-rw-r--r--. 1 root root 3605 Nov 8 18:49 tests_eth_dns_support.yml\n-rw-r--r--. 1 root root 854 Nov 8 18:49 tests_dummy.yml\n-rw-r--r--. 1 root root 3174 Nov 8 18:49 tests_checkpoint_cleanup.yml\n-rw-r--r--. 1 root root 1265 Nov 8 18:49 tests_bridge.yml\n-rw-r--r--. 1 root root 3932 Nov 8 18:49 tests_bond.yml\n-rw-r--r--. 1 root root 3588 Nov 8 18:49 tests_bond_deprecated.yml\n-rw-r--r--. 1 root root 4224 Nov 8 18:49 tests_auto_gateway.yml\n-rw-r--r--. 1 root root 4426 Nov 8 18:49 tests_802_1x.yml\n-rw-r--r--. 1 root root 306 Nov 8 18:49 tests_802_1x_updated.yml\nlrwxrwxrwx. 1 root root 9 Nov 8 18:49 tasks -> ../tasks//\n-rw-r--r--. 1 root root 136 Nov 8 18:49 run_tasks.yml\nlrwxrwxrwx. 1 root root 9 Nov 8 18:49 roles -> ../roles//\n-rw-r--r--. 1 root root 224 Nov 8 18:49 remove_profile.yml\n-rw-r--r--. 1 root root 4140 Nov 8 18:49 manual_test_ethtool_coalesce.yml\n-rw-r--r--. 1 root root 4947 Nov 8 18:49 integration_pytest_python3.yml\nlrwxrwxrwx. 1 root root 8 Nov 8 18:49 files -> ../files/\n-rw-r--r--. 1 root root 213 Nov 8 18:49 down_profile.yml\ndrwxr-xr-x. 8 root root 1280 Nov 8 19:37 ../\n-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py\ndrwxr-xr-x. 2 root root 740 Nov 8 19:37 ./\n\n/tmp/lsrtest_iz83mk21/tests/integration:\ntotal 8\n-rw-r--r--. 1 root root 2923 Nov 8 18:49 test_ethernet.py\n-rw-r--r--. 1 root root 199 Nov 8 18:49 conftest.py\ndrwxr-xr-x. 8 root root 1280 Nov 8 19:37 ../\n-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py\ndrwxr-xr-x. 2 root root 100 Nov 8 19:37 ./\n\n/tmp/lsrtest_iz83mk21/tests/files:\ntotal 32\n-rw-r--r--. 1 root root 1334 Nov 8 18:49 server.pem\n-rw-r--r--. 1 root root 1782 Nov 8 18:49 server.key\n-rw-r--r--. 1 root root 424 Nov 8 18:49 dh.pem\n-rw-r--r--. 1 root root 1334 Nov 8 18:49 client.pem\n-rw-r--r--. 1 root root 1675 Nov 8 18:49 client.key.nocrypt\n-rw-r--r--. 1 root root 1782 Nov 8 18:49 client.key\n-rw-r--r--. 1 root root 1289 Nov 8 18:49 cacert.pem\n-rw-r--r--. 1 root root 1766 Nov 8 18:49 cacert.key\ndrwxr-xr-x. 8 root root 1280 Nov 8 19:37 ../\n-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py\ndrwxr-xr-x. 2 root root 220 Nov 8 19:37 ./", "stdout_lines": ["/tmp/lsrtest_iz83mk21:", "total 660", "drwxr-xr-x. 2 root root 80 Nov 8 18:49 library/", "-rw-------. 1 root root 675840 Nov 8 19:37 lsrtest_h21hw82j.tar", "-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py", "drwx------. 5 root root 140 Nov 8 19:37 ./", "drwxr-xr-x. 3 root root 80 Nov 8 19:37 ansible/", "drwxr-xr-x. 8 root root 1280 Nov 8 19:37 tests/", "drwxrwxrwt. 13 root root 260 Nov 8 19:37 ../", "", "/tmp/lsrtest_iz83mk21/library:", "total 96", "-rw-r--r--. 1 root root 95429 Nov 8 18:49 network_connections.py", "-rw-r--r--. 1 root root 0 Nov 8 18:49 __init__.py", "drwxr-xr-x. 2 root root 80 Nov 8 18:49 ./", "drwx------. 5 root root 140 Nov 8 19:37 ../", "", "/tmp/lsrtest_iz83mk21/ansible:", "total 0", "drwx------. 5 root root 140 Nov 8 19:37 ../", "-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py", "drwxr-xr-x. 3 root root 80 Nov 8 19:37 ./", "drwxr-xr-x. 3 root root 80 Nov 8 19:37 module_utils/", "", "/tmp/lsrtest_iz83mk21/ansible/module_utils:", "total 0", "drwxr-xr-x. 3 root root 180 Nov 8 18:49 network_lsr/", "drwxr-xr-x. 3 root root 80 Nov 8 19:37 ../", "-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py", "drwxr-xr-x. 3 root root 80 Nov 8 19:37 ./", "", "/tmp/lsrtest_iz83mk21/ansible/module_utils/network_lsr:", "total 104", "-rw-r--r--. 1 root root 10658 Nov 8 18:49 utils.py", "-rw-r--r--. 1 root root 1594 Nov 8 18:49 nm_provider.py", "drwxr-xr-x. 2 root root 160 Nov 8 18:49 nm/", "-rw-r--r--. 1 root root 190 Nov 8 18:49 myerror.py", "-rw-r--r--. 1 root root 0 Nov 8 18:49 __init__.py", "-rw-r--r--. 1 root root 1706 Nov 8 18:49 ethtool.py", "-rw-r--r--. 1 root root 79109 Nov 8 18:49 argument_validator.py", "drwxr-xr-x. 3 root root 180 Nov 8 18:49 ./", "drwxr-xr-x. 3 root root 80 Nov 8 19:37 ../", "", "/tmp/lsrtest_iz83mk21/ansible/module_utils/network_lsr/nm:", "total 24", "-rw-r--r--. 1 root root 2224 Nov 8 18:49 provider.py", "-rw-r--r--. 1 root root 343 Nov 8 18:49 __init__.py", "-rw-r--r--. 1 root root 175 Nov 8 18:49 error.py", "-rw-r--r--. 1 root root 3546 Nov 8 18:49 connection.py", "-rw-r--r--. 1 root root 2834 Nov 8 18:49 client.py", "-rw-r--r--. 1 root root 4012 Nov 8 18:49 active_connection.py", "drwxr-xr-x. 3 root root 180 Nov 8 18:49 ../", "drwxr-xr-x. 2 root root 160 Nov 8 18:49 ./", "", "/tmp/lsrtest_iz83mk21/tests:", "total 224", "-rw-r--r--. 1 root root 805 Nov 8 18:49 tests_wireless_wpa3_sae_nm.yml", "-rw-r--r--. 1 root root 901 Nov 8 18:49 tests_wireless_wpa3_owe_nm.yml", "-rw-r--r--. 1 root root 636 Nov 8 18:49 tests_wireless_plugin_installation_nm.yml", "-rw-r--r--. 1 root root 644 Nov 8 18:49 tests_wireless_nm.yml", "-rw-r--r--. 1 root root 596 Nov 8 18:49 tests_vlan_mtu_nm.yml", "-rw-r--r--. 1 root root 575 Nov 8 18:49 tests_vlan_mtu_initscripts.yml", "-rw-r--r--. 1 root root 5339 Nov 8 18:49 tests_unit.yml", "-rw-r--r--. 1 root root 628 Nov 8 18:49 tests_team_plugin_installation_nm.yml", "-rw-r--r--. 1 root root 627 Nov 8 18:49 tests_team_nm.yml", "-rw-r--r--. 1 root root 592 Nov 8 18:49 tests_states_nm.yml", "-rw-r--r--. 1 root root 571 Nov 8 18:49 tests_states_initscripts.yml", "-rw-r--r--. 1 root root 1175 Nov 8 18:49 tests_regression_nm.yml", "-rw-r--r--. 1 root root 594 Nov 8 18:49 tests_reapply_nm.yml", "-rw-r--r--. 1 root root 1246 Nov 8 18:49 tests_provider_nm.yml", "-rw-r--r--. 1 root root 588 Nov 8 18:49 tests_ipv6_nm.yml", "-rw-r--r--. 1 root root 567 Nov 8 18:49 tests_ipv6_initscripts.yml", "-rw-r--r--. 1 root root 654 Nov 8 18:49 tests_ipv6_disabled_nm.yml", "-rw-r--r--. 1 root root 325 Nov 8 18:49 tests_integration_pytest.yml", "-rw-r--r--. 1 root root 979 Nov 8 18:49 tests_helpers_and_asserts.yml", "-rw-r--r--. 1 root root 1155 Nov 8 18:49 tests_ethtool_ring_nm.yml", "-rw-r--r--. 1 root root 583 Nov 8 18:49 tests_ethtool_ring_initscripts.yml", "-rw-r--r--. 1 root root 1167 Nov 8 18:49 tests_ethtool_features_nm.yml", "-rw-r--r--. 1 root root 591 Nov 8 18:49 tests_ethtool_features_initscripts.yml", "-rw-r--r--. 1 root root 1167 Nov 8 18:49 tests_ethtool_coalesce_nm.yml", "-rw-r--r--. 1 root root 591 Nov 8 18:49 tests_ethtool_coalesce_initscripts.yml", "-rw-r--r--. 1 root root 1178 Nov 8 18:49 tests_eth_pci_address_match_nm.yml", "-rw-r--r--. 1 root root 596 Nov 8 18:49 tests_ethernet_nm.yml", "-rw-r--r--. 1 root root 575 Nov 8 18:49 tests_ethernet_initscripts.yml", "-rw-r--r--. 1 root root 610 Nov 8 18:49 tests_eth_dns_support_nm.yml", "-rw-r--r--. 1 root root 590 Nov 8 18:49 tests_dummy_nm.yml", "-rw-r--r--. 1 root root 371 Nov 8 18:49 tests_default.yml", "-rw-r--r--. 1 root root 377 Nov 8 18:49 tests_default_nm.yml", "-rw-r--r--. 1 root root 400 Nov 8 18:49 tests_default_initscripts.yml", "-rw-r--r--. 1 root root 2354 Nov 8 18:49 tests_change_indication_on_repeat_run.yml", "-rw-r--r--. 1 root root 592 Nov 8 18:49 tests_bridge_nm.yml", "-rw-r--r--. 1 root root 571 Nov 8 18:49 tests_bridge_initscripts.yml", "-rw-r--r--. 1 root root 588 Nov 8 18:49 tests_bond_nm.yml", "-rw-r--r--. 1 root root 567 Nov 8 18:49 tests_bond_initscripts.yml", "-rw-r--r--. 1 root root 610 Nov 8 18:49 tests_bond_deprecated_nm.yml", "-rw-r--r--. 1 root root 589 Nov 8 18:49 tests_bond_deprecated_initscripts.yml", "-rw-r--r--. 1 root root 604 Nov 8 18:49 tests_auto_gateway_nm.yml", "-rw-r--r--. 1 root root 583 Nov 8 18:49 tests_auto_gateway_initscripts.yml", "-rw-r--r--. 1 root root 701 Nov 8 18:49 tests_802_1x_updated_nm.yml", "-rw-r--r--. 1 root root 685 Nov 8 18:49 tests_802_1x_nm.yml", "lrwxrwxrwx. 1 root root 16 Nov 8 18:49 module_utils -> ../module_utils/", "lrwxrwxrwx. 1 root root 11 Nov 8 18:49 modules -> ../library//", "-rwxr-xr-x. 1 root root 880 Nov 8 18:49 merge_coverage.sh*", "-rwxr-xr-x. 1 root root 357 Nov 8 18:49 git-pre-commit.sh*", "-rwxr-xr-x. 1 root root 682 Nov 8 18:49 git-post-commit.sh*", "-rw-r--r--. 1 root root 20 Nov 8 18:49 .gitignore", "-rwxr-xr-x. 1 root root 929 Nov 8 18:49 get_total_coverage.sh*", "-rw-r--r--. 1 root root 2509 Nov 8 18:49 get_coverage.yml", "-rwxr-xr-x. 1 root root 2494 Nov 8 18:49 get_coverage.sh*", "-rwxr-xr-x. 1 root root 9646 Nov 8 18:49 ensure_provider_tests.py*", "-rwxr-xr-x. 1 root root 343 Nov 8 18:49 covstats*", "drwx------. 5 root root 140 Nov 8 19:37 ../", "-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py", "drwxr-xr-x. 8 root root 1280 Nov 8 19:37 ./", "drwxr-xr-x. 2 root root 100 Nov 8 19:37 unit/", "drwxr-xr-x. 3 root root 820 Nov 8 19:37 tasks/", "drwxr-xr-x. 3 root root 80 Nov 8 19:37 roles/", "drwxr-xr-x. 2 root root 740 Nov 8 19:37 playbooks/", "drwxr-xr-x. 2 root root 100 Nov 8 19:37 integration/", "drwxr-xr-x. 2 root root 220 Nov 8 19:37 files/", "", "/tmp/lsrtest_iz83mk21/tests/unit:", "total 152", "-rw-r--r--. 1 root root 1416 Nov 8 18:49 test_nm_provider.py", "-rw-r--r--. 1 root root 148980 Nov 8 18:49 test_network_connections.py", "drwxr-xr-x. 8 root root 1280 Nov 8 19:37 ../", "-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py", "drwxr-xr-x. 2 root root 100 Nov 8 19:37 ./", "", "/tmp/lsrtest_iz83mk21/tests/tasks:", "total 148", "-rw-r--r--. 1 root root 3460 Nov 8 18:49 test_802.1x_capath.yml", "-rw-r--r--. 1 root root 777 Nov 8 18:49 start_mock_wifi.yml", "-rw-r--r--. 1 root root 179 Nov 8 18:49 show_interfaces.yml", "-rw-r--r--. 1 root root 139 Nov 8 18:49 setup_test_interface.yml", "-rw-r--r--. 1 root root 2048 Nov 8 18:49 setup_mock_wifi.yml", "-rw-r--r--. 1 root root 1980 Nov 8 18:49 setup_mock_wifi_wpa3_sae.yml", "-rw-r--r--. 1 root root 1823 Nov 8 18:49 setup_mock_wifi_wpa3_owe.yml", "-rw-r--r--. 1 root root 244 Nov 8 18:49 setup_802.1x.yml", "-rw-r--r--. 1 root root 1973 Nov 8 18:49 setup_802_1x_server.yml", "-rw-r--r--. 1 root root 1648 Nov 8 18:49 run_test.yml", "-rw-r--r--. 1 root root 581 Nov 8 18:49 remove_test_interfaces_with_dhcp.yml", "-rw-r--r--. 1 root root 228 Nov 8 18:49 remove_profile.yml", "-rw-r--r--. 1 root root 248 Nov 8 18:49 remove+down_profile.yml", "-rw-r--r--. 1 root root 2088 Nov 8 18:49 manage_test_interface.yml", "-rw-r--r--. 1 root root 966 Nov 8 18:49 get_profile_stat.yml", "-rw-r--r--. 1 root root 480 Nov 8 18:49 get_NetworkManager_NVR.yml", "-rw-r--r--. 1 root root 2837 Nov 8 18:49 get_modules_and_utils_paths.yml", "-rw-r--r--. 1 root root 241 Nov 8 18:49 get_interface_stat.yml", "-rw-r--r--. 1 root root 295 Nov 8 18:49 get_current_interfaces.yml", "-rw-r--r--. 1 root root 1214 Nov 8 18:49 enable_epel.yml", "-rw-r--r--. 1 root root 852 Nov 8 18:49 el_repo_setup.yml", "-rw-r--r--. 1 root root 198 Nov 8 18:49 delete_interface.yml", "-rw-r--r--. 1 root root 2990 Nov 8 18:49 create_test_interfaces_with_dhcp.yml", "-rw-r--r--. 1 root root 373 Nov 8 18:49 create_team_profile.yml", "-rw-r--r--. 1 root root 361 Nov 8 18:49 create_dummy_profile.yml", "-rw-r--r--. 1 root root 375 Nov 8 18:49 create_bridge_profile.yml", "-rw-r--r--. 1 root root 402 Nov 8 18:49 create_bridge_profile_no_autoconnect.yml", "-rw-r--r--. 1 root root 529 Nov 8 18:49 create_and_remove_interface.yml", "-rw-r--r--. 1 root root 364 Nov 8 18:49 cleanup_profile+device.yml", "-rw-r--r--. 1 root root 218 Nov 8 18:49 cleanup_mock_wifi.yml", "-rw-r--r--. 1 root root 481 Nov 8 18:49 cleanup_802_1x_server.yml", "-rw-r--r--. 1 root root 224 Nov 8 18:49 assert_profile_present.yml", "-rw-r--r--. 1 root root 223 Nov 8 18:49 assert_profile_absent.yml", "-rw-r--r--. 1 root root 364 Nov 8 18:49 assert_output_in_stderr_without_warnings.yml", "-rw-r--r--. 1 root root 226 Nov 8 18:49 assert_device_present.yml", "-rw-r--r--. 1 root root 221 Nov 8 18:49 assert_device_absent.yml", "-rw-r--r--. 1 root root 213 Nov 8 18:49 activate_profile.yml", "drwxr-xr-x. 8 root root 1280 Nov 8 19:37 ../", "-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py", "drwxr-xr-x. 3 root root 820 Nov 8 19:37 ./", "drwxr-xr-x. 2 root root 120 Nov 8 19:37 provider/", "", "/tmp/lsrtest_iz83mk21/tests/tasks/provider:", "total 12", "-rw-r--r--. 1 root root 191 Nov 8 18:49 default_with_nm.yml", "-rw-r--r--. 1 root root 364 Nov 8 18:49 create_with_nm.yml", "-rw-r--r--. 1 root root 607 Nov 8 18:49 create_and_remove_with_initscripts.yml", "drwxr-xr-x. 3 root root 820 Nov 8 19:37 ../", "-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py", "drwxr-xr-x. 2 root root 120 Nov 8 19:37 ./", "", "/tmp/lsrtest_iz83mk21/tests/roles:", "total 0", "drwxr-xr-x. 8 root root 1280 Nov 8 19:37 ../", "-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py", "drwxr-xr-x. 3 root root 80 Nov 8 19:37 ./", "drwxr-xr-x. 2 root root 160 Nov 8 19:37 linux-system-roles.network/", "", "/tmp/lsrtest_iz83mk21/tests/roles/linux-system-roles.network:", "total 0", "lrwxrwxrwx. 1 root root 15 Nov 8 18:49 tasks -> ../../../tasks/", "lrwxrwxrwx. 1 root root 22 Nov 8 18:49 module_utils -> ../../../module_utils/", "lrwxrwxrwx. 1 root root 14 Nov 8 18:49 meta -> ../../../meta/", "lrwxrwxrwx. 1 root root 17 Nov 8 18:49 library -> ../../../library//", "lrwxrwxrwx. 1 root root 18 Nov 8 18:49 defaults -> ../../../defaults/", "drwxr-xr-x. 3 root root 80 Nov 8 19:37 ../", "-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py", "drwxr-xr-x. 2 root root 160 Nov 8 19:37 ./", "", "/tmp/lsrtest_iz83mk21/tests/playbooks:", "total 156", "-rw-r--r--. 1 root root 2973 Nov 8 18:49 tests_wireless.yml", "-rw-r--r--. 1 root root 1369 Nov 8 18:49 tests_wireless_wpa3_sae.yml", "-rw-r--r--. 1 root root 1325 Nov 8 18:49 tests_wireless_wpa3_owe.yml", "-rw-r--r--. 1 root root 1188 Nov 8 18:49 tests_wireless_plugin_installation.yml", "-rw-r--r--. 1 root root 1980 Nov 8 18:49 tests_vlan_mtu.yml", "-rw-r--r--. 1 root root 875 Nov 8 18:49 tests_team.yml", "-rw-r--r--. 1 root root 1161 Nov 8 18:49 tests_team_plugin_installation.yml", "-rw-r--r--. 1 root root 4865 Nov 8 18:49 tests_states.yml", "-rw-r--r--. 1 root root 2354 Nov 8 18:49 tests_reapply.yml", "-rw-r--r--. 1 root root 1115 Nov 8 18:49 tests_provider.yml", "-rw-r--r--. 1 root root 3271 Nov 8 18:49 tests_ipv6.yml", "-rw-r--r--. 1 root root 1648 Nov 8 18:49 tests_ipv6_disabled.yml", "-rw-r--r--. 1 root root 6742 Nov 8 18:49 tests_ethtool_ring.yml", "-rw-r--r--. 1 root root 7089 Nov 8 18:49 tests_ethtool_features.yml", "-rw-r--r--. 1 root root 5435 Nov 8 18:49 tests_ethtool_coalesce.yml", "-rw-r--r--. 1 root root 2739 Nov 8 18:49 tests_eth_pci_address_match.yml", "-rw-r--r--. 1 root root 1643 Nov 8 18:49 tests_ethernet.yml", "-rw-r--r--. 1 root root 3605 Nov 8 18:49 tests_eth_dns_support.yml", "-rw-r--r--. 1 root root 854 Nov 8 18:49 tests_dummy.yml", "-rw-r--r--. 1 root root 3174 Nov 8 18:49 tests_checkpoint_cleanup.yml", "-rw-r--r--. 1 root root 1265 Nov 8 18:49 tests_bridge.yml", "-rw-r--r--. 1 root root 3932 Nov 8 18:49 tests_bond.yml", "-rw-r--r--. 1 root root 3588 Nov 8 18:49 tests_bond_deprecated.yml", "-rw-r--r--. 1 root root 4224 Nov 8 18:49 tests_auto_gateway.yml", "-rw-r--r--. 1 root root 4426 Nov 8 18:49 tests_802_1x.yml", "-rw-r--r--. 1 root root 306 Nov 8 18:49 tests_802_1x_updated.yml", "lrwxrwxrwx. 1 root root 9 Nov 8 18:49 tasks -> ../tasks//", "-rw-r--r--. 1 root root 136 Nov 8 18:49 run_tasks.yml", "lrwxrwxrwx. 1 root root 9 Nov 8 18:49 roles -> ../roles//", "-rw-r--r--. 1 root root 224 Nov 8 18:49 remove_profile.yml", "-rw-r--r--. 1 root root 4140 Nov 8 18:49 manual_test_ethtool_coalesce.yml", "-rw-r--r--. 1 root root 4947 Nov 8 18:49 integration_pytest_python3.yml", "lrwxrwxrwx. 1 root root 8 Nov 8 18:49 files -> ../files/", "-rw-r--r--. 1 root root 213 Nov 8 18:49 down_profile.yml", "drwxr-xr-x. 8 root root 1280 Nov 8 19:37 ../", "-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py", "drwxr-xr-x. 2 root root 740 Nov 8 19:37 ./", "", "/tmp/lsrtest_iz83mk21/tests/integration:", "total 8", "-rw-r--r--. 1 root root 2923 Nov 8 18:49 test_ethernet.py", "-rw-r--r--. 1 root root 199 Nov 8 18:49 conftest.py", "drwxr-xr-x. 8 root root 1280 Nov 8 19:37 ../", "-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py", "drwxr-xr-x. 2 root root 100 Nov 8 19:37 ./", "", "/tmp/lsrtest_iz83mk21/tests/files:", "total 32", "-rw-r--r--. 1 root root 1334 Nov 8 18:49 server.pem", "-rw-r--r--. 1 root root 1782 Nov 8 18:49 server.key", "-rw-r--r--. 1 root root 424 Nov 8 18:49 dh.pem", "-rw-r--r--. 1 root root 1334 Nov 8 18:49 client.pem", "-rw-r--r--. 1 root root 1675 Nov 8 18:49 client.key.nocrypt", "-rw-r--r--. 1 root root 1782 Nov 8 18:49 client.key", "-rw-r--r--. 1 root root 1289 Nov 8 18:49 cacert.pem", "-rw-r--r--. 1 root root 1766 Nov 8 18:49 cacert.key", "drwxr-xr-x. 8 root root 1280 Nov 8 19:37 ../", "-rw-r--r--. 1 root root 0 Nov 8 19:37 __init__.py", "drwxr-xr-x. 2 root root 220 Nov 8 19:37 ./"]} TASK [Run pytest with nm] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:123 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["pytest", "/tmp/lsrtest_iz83mk21/tests/integration/", "--provider=nm"], "delta": "0:00:00.383120", "end": "2021-11-08 19:37:49.189329", "rc": 0, "start": "2021-11-08 19:37:48.806209", "stderr": "", "stderr_lines": [], "stdout": "============================= test session starts ==============================\nplatform linux -- Python 3.9.7, pytest-6.2.5, py-1.11.0, pluggy-1.0.0\nrootdir: /tmp/lsrtest_iz83mk21/tests/integration\ncollected 1 item\n\n../tmp/lsrtest_iz83mk21/tests/integration/test_ethernet.py . [100%]\n\n============================== 1 passed in 0.19s ===============================", "stdout_lines": ["============================= test session starts ==============================", "platform linux -- Python 3.9.7, pytest-6.2.5, py-1.11.0, pluggy-1.0.0", "rootdir: /tmp/lsrtest_iz83mk21/tests/integration", "collected 1 item", "", "../tmp/lsrtest_iz83mk21/tests/integration/test_ethernet.py . [100%]", "", "============================== 1 passed in 0.19s ==============================="]} TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:132 ok: [/cache/fedora-33.qcow2] => { "playbook_run.stdout_lines": [ "============================= test session starts ==============================", "platform linux -- Python 3.9.7, pytest-6.2.5, py-1.11.0, pluggy-1.0.0", "rootdir: /tmp/lsrtest_iz83mk21/tests/integration", "collected 1 item", "", "../tmp/lsrtest_iz83mk21/tests/integration/test_ethernet.py . [100%]", "", "============================== 1 passed in 0.19s ===============================" ] } TASK [install network-scripts when running pytest with initscripts] ************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:136 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Run pytest with initscripts] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:140 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["pytest", "/tmp/lsrtest_iz83mk21/tests/integration/", "--provider=initscripts"], "delta": "0:00:03.343143", "end": "2021-11-08 19:37:54.601579", "rc": 0, "start": "2021-11-08 19:37:51.258436", "stderr": "", "stderr_lines": [], "stdout": "============================= test session starts ==============================\nplatform linux -- Python 3.9.7, pytest-6.2.5, py-1.11.0, pluggy-1.0.0\nrootdir: /tmp/lsrtest_iz83mk21/tests/integration\ncollected 1 item\n\n../tmp/lsrtest_iz83mk21/tests/integration/test_ethernet.py . [100%]\n\n============================== 1 passed in 3.17s ===============================", "stdout_lines": ["============================= test session starts ==============================", "platform linux -- Python 3.9.7, pytest-6.2.5, py-1.11.0, pluggy-1.0.0", "rootdir: /tmp/lsrtest_iz83mk21/tests/integration", "collected 1 item", "", "../tmp/lsrtest_iz83mk21/tests/integration/test_ethernet.py . [100%]", "", "============================== 1 passed in 3.17s ==============================="]} TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:149 ok: [/cache/fedora-33.qcow2] => { "playbook_run.stdout_lines": [ "============================= test session starts ==============================", "platform linux -- Python 3.9.7, pytest-6.2.5, py-1.11.0, pluggy-1.0.0", "rootdir: /tmp/lsrtest_iz83mk21/tests/integration", "collected 1 item", "", "../tmp/lsrtest_iz83mk21/tests/integration/test_ethernet.py . [100%]", "", "============================== 1 passed in 3.17s ===============================" ] } TASK [remove local tar file] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:152 changed: [/cache/fedora-33.qcow2 -> localhost] => {"changed": true, "path": "/tmp/lsrtest_h21hw82j.tar", "state": "absent"} TASK [remove tempdir] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/integration_pytest_python3.yml:158 changed: [/cache/fedora-33.qcow2] => {"changed": true, "path": "/tmp/lsrtest_iz83mk21", "state": "absent"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=67 changed=17 unreachable=0 failed=0 skipped=33 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_ipv6_disabled_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_ipv6_disabled_nm.yml ******************************************* 6 plays in /tmp/tmpmd5a3eg6/tests/tests_ipv6_disabled_nm.yml PLAY [Run playbook 'playbooks/tests_ipv6_disabled.yml' with nm as provider] **** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_ipv6_disabled_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ipv6_disabled_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ipv6_disabled_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6_disabled.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers META: ran handlers PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6_disabled.yml:5 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers TASK [set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6_disabled.yml:12 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6_disabled.yml:16 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6_disabled.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6_disabled.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Verify nmcli connection ipv6.method] ************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6_disabled.yml:33 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Assert that ipv6.method disabled is configured correctly] **************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6_disabled.yml:41 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/down_profile.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/remove_profile.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY [Remove interfaces] ******************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6_disabled.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6_disabled.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6_disabled.yml:61 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=5 changed=0 unreachable=0 failed=0 skipped=58 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_ipv6_initscripts.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_ipv6_initscripts.yml ******************************************* 2 plays in /tmp/tmpmd5a3eg6/tests/tests_ipv6_initscripts.yml PLAY [Run playbook 'playbooks/tests_ipv6.yml' with initscripts as provider] **** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_ipv6_initscripts.yml:4 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ipv6_initscripts.yml:7 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ipv6_initscripts.yml:8 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "initscripts"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:8 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003674", "end": "2021-11-08 19:38:27.574632", "rc": 0, "start": "2021-11-08 19:38:27.570958", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:9 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003007", "end": "2021-11-08 19:38:28.063143", "rc": 0, "start": "2021-11-08 19:38:28.060136", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0"], "delta": "0:00:00.009863", "end": "2021-11-08 19:39:16.249344", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2021-11-08 19:39:16.239481", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peerveth0 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peerveth0", "up"], "delta": "0:00:00.002925", "end": "2021-11-08 19:39:16.566523", "item": "ip link set peerveth0 up", "rc": 0, "start": "2021-11-08 19:39:16.563598", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set veth0 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "veth0", "up"], "delta": "0:00:00.013876", "end": "2021-11-08 19:39:16.903498", "item": "ip link set veth0 up", "rc": 0, "start": "2021-11-08 19:39:16.889622", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "veth0", "managed", "true"], "delta": "0:00:00.025123", "end": "2021-11-08 19:39:17.267716", "rc": 0, "start": "2021-11-08 19:39:17.242593", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set up gateway ip on veth peer] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:12 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": "ip netns add ns1\nip link set peerveth0 netns ns1\nip netns exec ns1 ip -6 addr add 2001:db8::1/32 dev peerveth0\nip netns exec ns1 ip link set peerveth0 up\n", "delta": "0:00:00.035726", "end": "2021-11-08 19:39:17.773069", "rc": 0, "start": "2021-11-08 19:39:17.737343", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [TEST: I can configure an interface with static ipv6 config] ************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:22 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: network-scripts-10.04-2.fc33.x86_64", "Installed: bc-1.07.1-14.fc33.x86_64", "Installed: chkconfig-1.14-3.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 changed: [/cache/fedora-33.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-723601zskw964/tmp1pjidflq"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"address": ["2001:db8::2/32", "2001:db8::3/32", "2001:db8::4/32"], "auto6": false, "dhcp4": false, "gateway6": "2001:db8::1"}, "name": "veth0", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "address": [ "2001:db8::2/32", "2001:db8::3/32", "2001:db8::4/32" ], "auto6": false, "dhcp4": false, "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:42 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400356.2489188, "block_size": 4096, "blocks": 0, "ctime": 1636400356.2489188, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1636400356.2489188, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:43 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400365.1831372, "block_size": 4096, "blocks": 8, "ctime": 1636400365.1701372, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132660, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636400365.1701372, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 243, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.016547", "end": "2021-11-08 19:39:29.151680", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:39:29.135133", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get ip address information] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:46 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "addr", "show", "veth0"], "delta": "0:00:00.002879", "end": "2021-11-08 19:39:29.544427", "rc": 0, "start": "2021-11-08 19:39:29.541548", "stderr": "", "stderr_lines": [], "stdout": "4: veth0@if3: mtu 1500 qdisc noqueue state UP group default qlen 1000\n link/ether ba:61:7e:d9:cf:f9 brd ff:ff:ff:ff:ff:ff link-netns ns1\n inet6 2001:db8::4/32 scope global \n valid_lft forever preferred_lft forever\n inet6 2001:db8::3/32 scope global \n valid_lft forever preferred_lft forever\n inet6 2001:db8::2/32 scope global \n valid_lft forever preferred_lft forever\n inet6 fe80::884d:1b6f:f567:aece/64 scope link noprefixroute \n valid_lft forever preferred_lft forever", "stdout_lines": ["4: veth0@if3: mtu 1500 qdisc noqueue state UP group default qlen 1000", " link/ether ba:61:7e:d9:cf:f9 brd ff:ff:ff:ff:ff:ff link-netns ns1", " inet6 2001:db8::4/32 scope global ", " valid_lft forever preferred_lft forever", " inet6 2001:db8::3/32 scope global ", " valid_lft forever preferred_lft forever", " inet6 2001:db8::2/32 scope global ", " valid_lft forever preferred_lft forever", " inet6 fe80::884d:1b6f:f567:aece/64 scope link noprefixroute ", " valid_lft forever preferred_lft forever"]} TASK [Show ip_addr] ************************************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:49 ok: [/cache/fedora-33.qcow2] => { "ip_addr.stdout": "4: veth0@if3: mtu 1500 qdisc noqueue state UP group default qlen 1000\n link/ether ba:61:7e:d9:cf:f9 brd ff:ff:ff:ff:ff:ff link-netns ns1\n inet6 2001:db8::4/32 scope global \n valid_lft forever preferred_lft forever\n inet6 2001:db8::3/32 scope global \n valid_lft forever preferred_lft forever\n inet6 2001:db8::2/32 scope global \n valid_lft forever preferred_lft forever\n inet6 fe80::884d:1b6f:f567:aece/64 scope link noprefixroute \n valid_lft forever preferred_lft forever" } TASK [Assert ipv6 addresses are correctly set] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:52 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:61 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "-6", "route"], "delta": "0:00:00.002867", "end": "2021-11-08 19:39:29.937746", "rc": 0, "start": "2021-11-08 19:39:29.934879", "stderr": "", "stderr_lines": [], "stdout": "::1 dev lo proto kernel metric 256 pref medium\n2001:db8::/32 dev veth0 proto kernel metric 256 pref medium\nfe80::/64 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev eth0 proto kernel metric 256 pref medium\nfec0::/64 dev eth0 proto kernel metric 256 expires 86331sec pref medium\ndefault via 2001:db8::1 dev veth0 metric 1 pref medium\ndefault via fe80::2 dev eth0 proto ra metric 1024 expires 1731sec hoplimit 64 pref medium", "stdout_lines": ["::1 dev lo proto kernel metric 256 pref medium", "2001:db8::/32 dev veth0 proto kernel metric 256 pref medium", "fe80::/64 dev veth0 proto kernel metric 101 pref medium", "fe80::/64 dev eth0 proto kernel metric 256 pref medium", "fec0::/64 dev eth0 proto kernel metric 256 expires 86331sec pref medium", "default via 2001:db8::1 dev veth0 metric 1 pref medium", "default via fe80::2 dev eth0 proto ra metric 1024 expires 1731sec hoplimit 64 pref medium"]} TASK [Show ipv6_route] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:64 ok: [/cache/fedora-33.qcow2] => { "ipv6_route.stdout": "::1 dev lo proto kernel metric 256 pref medium\n2001:db8::/32 dev veth0 proto kernel metric 256 pref medium\nfe80::/64 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev eth0 proto kernel metric 256 pref medium\nfec0::/64 dev eth0 proto kernel metric 256 expires 86331sec pref medium\ndefault via 2001:db8::1 dev veth0 metric 1 pref medium\ndefault via fe80::2 dev eth0 proto ra metric 1024 expires 1731sec hoplimit 64 pref medium" } TASK [Assert default ipv6 route is set] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:67 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Test gateway can be pinged] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:73 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ping6", "-c1", "2001:db8::1"], "delta": "0:00:00.005072", "end": "2021-11-08 19:39:30.364733", "rc": 0, "start": "2021-11-08 19:39:30.359661", "stderr": "", "stderr_lines": [], "stdout": "PING 2001:db8::1(2001:db8::1) 56 data bytes\n64 bytes from 2001:db8::1: icmp_seq=1 ttl=64 time=0.077 ms\n\n--- 2001:db8::1 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.077/0.077/0.077/0.000 ms", "stdout_lines": ["PING 2001:db8::1(2001:db8::1) 56 data bytes", "64 bytes from 2001:db8::1: icmp_seq=1 ttl=64 time=0.077 ms", "", "--- 2001:db8::1 ping statistics ---", "1 packets transmitted, 1 received, 0% packet loss, time 0ms", "rtt min/avg/max/mdev = 0.077/0.077/0.077/0.000 ms"]} TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:78 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-723601zskw964/tmp06gr9ite"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "veth0", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": ["[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:90 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003112", "end": "2021-11-08 19:39:34.924085", "rc": 0, "start": "2021-11-08 19:39:34.920973", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\nveth0", "stdout_lines": ["eth0", "lo", "veth0"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "veth0"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'veth0']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peerveth0 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set veth0 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "veth0", "type", "veth"], "delta": "0:00:00.011163", "end": "2021-11-08 19:39:37.140181", "rc": 0, "start": "2021-11-08 19:39:37.129018", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Clean up namespace] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:93 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "netns", "delete", "ns1"], "delta": "0:00:00.002913", "end": "2021-11-08 19:39:37.622586", "rc": 0, "start": "2021-11-08 19:39:37.619673", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=69 changed=12 unreachable=0 failed=0 skipped=29 rescued=0 ignored=1 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_ipv6_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_ipv6_nm.yml **************************************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_ipv6_nm.yml PLAY [Run playbook 'playbooks/tests_ipv6.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_ipv6_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ipv6_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_ipv6_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:8 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003251", "end": "2021-11-08 19:39:54.009942", "rc": 0, "start": "2021-11-08 19:39:54.006691", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:9 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002732", "end": "2021-11-08 19:39:54.466642", "rc": 0, "start": "2021-11-08 19:39:54.463910", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0"], "delta": "0:00:00.013081", "end": "2021-11-08 19:40:31.447840", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2021-11-08 19:40:31.434759", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peerveth0 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peerveth0", "up"], "delta": "0:00:00.002917", "end": "2021-11-08 19:40:31.745247", "item": "ip link set peerveth0 up", "rc": 0, "start": "2021-11-08 19:40:31.742330", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set veth0 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "veth0", "up"], "delta": "0:00:00.008344", "end": "2021-11-08 19:40:32.044573", "item": "ip link set veth0 up", "rc": 0, "start": "2021-11-08 19:40:32.036229", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "veth0", "managed", "true"], "delta": "0:00:00.023206", "end": "2021-11-08 19:40:32.379924", "rc": 0, "start": "2021-11-08 19:40:32.356718", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set up gateway ip on veth peer] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:12 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": "ip netns add ns1\nip link set peerveth0 netns ns1\nip netns exec ns1 ip -6 addr add 2001:db8::1/32 dev peerveth0\nip netns exec ns1 ip link set peerveth0 up\n", "delta": "0:00:00.023622", "end": "2021-11-08 19:40:32.814535", "rc": 0, "start": "2021-11-08 19:40:32.790913", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [TEST: I can configure an interface with static ipv6 config] ************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:22 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"address": ["2001:db8::2/32", "2001:db8::3/32", "2001:db8::4/32"], "auto6": false, "dhcp4": false, "gateway6": "2001:db8::1"}, "name": "veth0", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 06991f03-400e-47b9-8077-1165631fbf5a\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 06991f03-400e-47b9-8077-1165631fbf5a (not-active)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 06991f03-400e-47b9-8077-1165631fbf5a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 06991f03-400e-47b9-8077-1165631fbf5a (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 06991f03-400e-47b9-8077-1165631fbf5a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 06991f03-400e-47b9-8077-1165631fbf5a (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "address": [ "2001:db8::2/32", "2001:db8::3/32", "2001:db8::4/32" ], "auto6": false, "dhcp4": false, "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 06991f03-400e-47b9-8077-1165631fbf5a\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 06991f03-400e-47b9-8077-1165631fbf5a (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 06991f03-400e-47b9-8077-1165631fbf5a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 06991f03-400e-47b9-8077-1165631fbf5a (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:42 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400431.447416, "block_size": 4096, "blocks": 0, "ctime": 1636400431.447416, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1636400431.447416, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface veth0 is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:43 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400439.990996, "block_size": 4096, "blocks": 8, "ctime": 1636400439.959996, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636400439.959996, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 333, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.019193", "end": "2021-11-08 19:40:43.836878", "rc": 0, "start": "2021-11-08 19:40:43.817685", "stderr": "", "stderr_lines": [], "stdout": "veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 ", "stdout_lines": ["veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'veth0' is present] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get ip address information] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:46 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "addr", "show", "veth0"], "delta": "0:00:00.003116", "end": "2021-11-08 19:40:44.226895", "rc": 0, "start": "2021-11-08 19:40:44.223779", "stderr": "", "stderr_lines": [], "stdout": "4: veth0@if3: mtu 1500 qdisc noqueue state UP group default qlen 1000\n link/ether 5a:b7:5a:80:0d:7b brd ff:ff:ff:ff:ff:ff link-netns ns1\n inet6 2001:db8::4/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 2001:db8::3/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 2001:db8::2/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 fe80::6adf:9663:67d7:6749/64 scope link noprefixroute \n valid_lft forever preferred_lft forever", "stdout_lines": ["4: veth0@if3: mtu 1500 qdisc noqueue state UP group default qlen 1000", " link/ether 5a:b7:5a:80:0d:7b brd ff:ff:ff:ff:ff:ff link-netns ns1", " inet6 2001:db8::4/32 scope global noprefixroute ", " valid_lft forever preferred_lft forever", " inet6 2001:db8::3/32 scope global noprefixroute ", " valid_lft forever preferred_lft forever", " inet6 2001:db8::2/32 scope global noprefixroute ", " valid_lft forever preferred_lft forever", " inet6 fe80::6adf:9663:67d7:6749/64 scope link noprefixroute ", " valid_lft forever preferred_lft forever"]} TASK [Show ip_addr] ************************************************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:49 ok: [/cache/fedora-33.qcow2] => { "ip_addr.stdout": "4: veth0@if3: mtu 1500 qdisc noqueue state UP group default qlen 1000\n link/ether 5a:b7:5a:80:0d:7b brd ff:ff:ff:ff:ff:ff link-netns ns1\n inet6 2001:db8::4/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 2001:db8::3/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 2001:db8::2/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 fe80::6adf:9663:67d7:6749/64 scope link noprefixroute \n valid_lft forever preferred_lft forever" } TASK [Assert ipv6 addresses are correctly set] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:52 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:61 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "-6", "route"], "delta": "0:00:00.003204", "end": "2021-11-08 19:40:44.618151", "rc": 0, "start": "2021-11-08 19:40:44.614947", "stderr": "", "stderr_lines": [], "stdout": "::1 dev lo proto kernel metric 256 pref medium\n2001:db8::/32 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev eth0 proto kernel metric 256 pref medium\nfec0::/64 dev eth0 proto kernel metric 256 expires 86342sec pref medium\ndefault via 2001:db8::1 dev veth0 proto static metric 101 pref medium\ndefault via fe80::2 dev eth0 proto ra metric 1024 expires 1742sec hoplimit 64 pref medium", "stdout_lines": ["::1 dev lo proto kernel metric 256 pref medium", "2001:db8::/32 dev veth0 proto kernel metric 101 pref medium", "fe80::/64 dev veth0 proto kernel metric 101 pref medium", "fe80::/64 dev eth0 proto kernel metric 256 pref medium", "fec0::/64 dev eth0 proto kernel metric 256 expires 86342sec pref medium", "default via 2001:db8::1 dev veth0 proto static metric 101 pref medium", "default via fe80::2 dev eth0 proto ra metric 1024 expires 1742sec hoplimit 64 pref medium"]} TASK [Show ipv6_route] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:64 ok: [/cache/fedora-33.qcow2] => { "ipv6_route.stdout": "::1 dev lo proto kernel metric 256 pref medium\n2001:db8::/32 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev eth0 proto kernel metric 256 pref medium\nfec0::/64 dev eth0 proto kernel metric 256 expires 86342sec pref medium\ndefault via 2001:db8::1 dev veth0 proto static metric 101 pref medium\ndefault via fe80::2 dev eth0 proto ra metric 1024 expires 1742sec hoplimit 64 pref medium" } TASK [Assert default ipv6 route is set] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:67 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Test gateway can be pinged] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:73 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ping6", "-c1", "2001:db8::1"], "delta": "0:00:00.006020", "end": "2021-11-08 19:40:45.057631", "rc": 0, "start": "2021-11-08 19:40:45.051611", "stderr": "", "stderr_lines": [], "stdout": "PING 2001:db8::1(2001:db8::1) 56 data bytes\n64 bytes from 2001:db8::1: icmp_seq=1 ttl=64 time=0.073 ms\n\n--- 2001:db8::1 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.073/0.073/0.073/0.000 ms", "stdout_lines": ["PING 2001:db8::1(2001:db8::1) 56 data bytes", "64 bytes from 2001:db8::1: icmp_seq=1 ttl=64 time=0.073 ms", "", "--- 2001:db8::1 ping statistics ---", "1 packets transmitted, 1 received, 0% packet loss, time 0ms", "rtt min/avg/max/mdev = 0.073/0.073/0.073/0.000 ms"]} TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:78 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "veth0", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:90 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:01.004775", "end": "2021-11-08 19:40:50.350482", "rc": 0, "start": "2021-11-08 19:40:49.345707", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\nveth0", "stdout_lines": ["eth0", "lo", "veth0"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "veth0"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'veth0']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add veth0 type veth peer name peerveth0) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peerveth0 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set veth0 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "veth0", "type", "veth"], "delta": "0:00:00.013472", "end": "2021-11-08 19:40:52.566072", "rc": 0, "start": "2021-11-08 19:40:52.552600", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Clean up namespace] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_ipv6.yml:93 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "netns", "delete", "ns1"], "delta": "0:00:00.003742", "end": "2021-11-08 19:40:53.060628", "rc": 0, "start": "2021-11-08 19:40:53.056886", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=68 changed=11 unreachable=0 failed=0 skipped=30 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_provider_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_provider_nm.yml ************************************************ 2 plays in /tmp/tmpmd5a3eg6/tests/tests_provider_nm.yml PLAY [Run playbook 'playbooks/tests_provider.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_provider_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_provider_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_provider_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} TASK [Install NetworkManager] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_provider_nm.yml:16 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_provider_nm.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["rpm", "-q", "--qf", "%{version}", "NetworkManager"], "delta": "0:00:00.010214", "end": "2021-11-08 19:41:55.471563", "rc": 0, "start": "2021-11-08 19:41:55.461349", "stderr": "", "stderr_lines": [], "stdout": "1.26.8", "stdout_lines": ["1.26.8"]} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_provider.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_provider.yml:10 ok: [/cache/fedora-33.qcow2] => { "msg": "this is: playbooks/tests_states.yml" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_provider.yml:18 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml for /cache/fedora-33.qcow2 TASK [TEST: I can manage a veth interface with NM after I managed it with initscripts.] *** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:5 ok: [/cache/fedora-33.qcow2] => { "msg": "########## I can manage a veth interface with NM after I managed it with initscripts. ##########" } TASK [Show item] *************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:9 ok: [/cache/fedora-33.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can manage a veth interface with NM after I managed it with initscripts." } ok: [/cache/fedora-33.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/setup_test_interface.yml", "tasks/provider/default_with_nm.yml", "tasks/provider/create_and_remove_with_initscripts.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/provider/create_with_nm.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/fedora-33.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003219", "end": "2021-11-08 19:41:56.693998", "rc": 0, "start": "2021-11-08 19:41:56.690779", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [setup] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:23 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_test_interface.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/provider/default_with_nm.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/provider/create_and_remove_with_initscripts.yml for /cache/fedora-33.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/setup_test_interface.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003364", "end": "2021-11-08 19:41:57.287689", "rc": 0, "start": "2021-11-08 19:41:57.284325", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. changed: [/cache/fedora-33.qcow2] => (item=ip link add testnic1 type veth peer name peertestnic1) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1"], "delta": "0:00:00.011001", "end": "2021-11-08 19:41:59.660959", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2021-11-08 19:41:59.649958", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peertestnic1 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peertestnic1", "up"], "delta": "0:00:00.003165", "end": "2021-11-08 19:41:59.980179", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2021-11-08 19:41:59.977014", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set testnic1 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "testnic1", "up"], "delta": "0:00:00.008227", "end": "2021-11-08 19:42:00.295324", "item": "ip link set testnic1 up", "rc": 0, "start": "2021-11-08 19:42:00.287097", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "testnic1", "managed", "true"], "delta": "0:00:00.024013", "end": "2021-11-08 19:42:00.683004", "rc": 0, "start": "2021-11-08 19:42:00.658991", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/provider/default_with_nm.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": false, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/provider/create_and_remove_with_initscripts.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: chkconfig-1.14-3.fc33.x86_64", "Installed: network-scripts-10.04-2.fc33.x86_64", "Installed: bc-1.07.1-14.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 changed: [/cache/fedora-33.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-73865g41__ywf/tmpdj66wn_e"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"autoconnect": true, "ip": {"address": "192.0.2.1/24"}, "name": "testnic1", "persistent_state": "present", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/provider/create_and_remove_with_initscripts.yml:16 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-73865g41__ywf/tmpinvsnf99"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "testnic1", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)\n[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": ["[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)\n[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [test] ******************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:29 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/provider/create_with_nm.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/provider/create_with_nm.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"autoconnect": true, "ip": {"address": "192.0.2.1/24"}, "name": "testnic1", "persistent_state": "present", "state": "up", "type": "ethernet"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, f76caeb6-314d-48b9-b0f1-c18121f2ce20\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, f76caeb6-314d-48b9-b0f1-c18121f2ce20 (not-active)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, f76caeb6-314d-48b9-b0f1-c18121f2ce20", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, f76caeb6-314d-48b9-b0f1-c18121f2ce20 (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, f76caeb6-314d-48b9-b0f1-c18121f2ce20", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, f76caeb6-314d-48b9-b0f1-c18121f2ce20 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "autoconnect": true, "ip": { "address": "192.0.2.1/24" }, "name": "testnic1", "persistent_state": "present", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, f76caeb6-314d-48b9-b0f1-c18121f2ce20\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, f76caeb6-314d-48b9-b0f1-c18121f2ce20 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, f76caeb6-314d-48b9-b0f1-c18121f2ce20", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, f76caeb6-314d-48b9-b0f1-c18121f2ce20 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [asserts] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400545.3961482, "block_size": 4096, "blocks": 8, "ctime": 1636400545.3631482, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636400545.3631482, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep testnic1 | grep /etc", "delta": "0:00:00.018423", "end": "2021-11-08 19:42:26.692805", "rc": 0, "start": "2021-11-08 19:42:26.674382", "stderr": "", "stderr_lines": [], "stdout": "testnic1 /etc/sysconfig/network-scripts/ifcfg-testnic1 ", "stdout_lines": ["testnic1 /etc/sysconfig/network-scripts/ifcfg-testnic1 "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'testnic1' is present] ******************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:41 TASK [Success in test 'I can manage a veth interface with NM after I managed it with initscripts.'] *** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:47 ok: [/cache/fedora-33.qcow2] => { "msg": "+++++ Success in test 'I can manage a veth interface with NM after I managed it with initscripts.' +++++" } TASK [cleanup] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:66 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-33.qcow2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli con delete testnic1\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-testnic1\nrm -f /etc/sysconfig/network-scripts/ifcfg-testnic1\nip link del testnic1\n", "delta": "0:00:00.047860", "end": "2021-11-08 19:42:27.263121", "rc": 0, "start": "2021-11-08 19:42:27.215261", "stderr": "", "stderr_lines": [], "stdout": "Connection 'testnic1' (f76caeb6-314d-48b9-b0f1-c18121f2ce20) successfully deleted.", "stdout_lines": ["Connection 'testnic1' (f76caeb6-314d-48b9-b0f1-c18121f2ce20) successfully deleted."]} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=77 changed=9 unreachable=0 failed=0 skipped=30 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_reapply_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_reapply_nm.yml ************************************************* 2 plays in /tmp/tmpmd5a3eg6/tests/tests_reapply_nm.yml PLAY [Run playbook 'playbooks/tests_reapply.yml' with nm as provider] ********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_reapply_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_reapply_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_reapply_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_reapply.yml:7 ok: [/cache/fedora-33.qcow2] TASK [Show test banner] ******************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_reapply.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Inside states tests" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_reapply.yml:16 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003749", "end": "2021-11-08 19:42:43.657614", "rc": 0, "start": "2021-11-08 19:42:43.653865", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_reapply.yml:17 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface rpltstbr] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface rpltstbr is absent] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": false, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_reapply.yml:23 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "rpltstbr", "state": "up", "type": "bridge"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc\n[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc (not-active)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc\n[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_reapply.yml:34 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface rpltstbr] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400618.4665961, "block_size": 4096, "blocks": 0, "ctime": 1636400618.4665961, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21270, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/rpltstbr", "lnk_target": "../../devices/virtual/net/rpltstbr", "mode": "0777", "mtime": 1636400618.4665961, "nlink": 1, "path": "/sys/class/net/rpltstbr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface rpltstbr is present] ******************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_reapply.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400618.4924178, "block_size": 4096, "blocks": 8, "ctime": 1636400618.4334178, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636400618.4334178, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-rpltstbr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 148, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}} TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep rpltstbr | grep /etc", "delta": "0:00:00.023553", "end": "2021-11-08 19:43:40.259073", "rc": 0, "start": "2021-11-08 19:43:40.235520", "stderr": "", "stderr_lines": [], "stdout": "rpltstbr /etc/sysconfig/network-scripts/ifcfg-rpltstbr ", "stdout_lines": ["rpltstbr /etc/sysconfig/network-scripts/ifcfg-rpltstbr "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'rpltstbr' is present] ******************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get network_connections output] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_reapply.yml:37 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"address": ["192.0.2.72/31"], "auto6": false, "dhcp4": false}, "name": "rpltstbr", "state": "up", "type": "bridge"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc\n[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc (is-modified)\n[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc (is-modified)", "[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied"]} TASK [Show test_module_run] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_reapply.yml:51 ok: [/cache/fedora-33.qcow2] => { "test_module_run": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "address": [ "192.0.2.72/31" ], "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc\n[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc (is-modified)\n[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 300a7674-7f8b-404c-90d1-47e51c9e1dfc (is-modified)", "[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied" ] } } TASK [Assert that reapply is found in log output] ****************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_reapply.yml:54 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [network_connections] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_reapply.yml:61 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "rpltstbr", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [command] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_reapply.yml:67 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": true, "cmd": ["ip", "link", "del", "rpltstbr"], "delta": "0:00:00.007353", "end": "2021-11-08 19:43:41.621392", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:43:41.614039", "stderr": "Cannot find device \"rpltstbr\"", "stderr_lines": ["Cannot find device \"rpltstbr\""], "stdout": "", "stdout_lines": []} ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=50 changed=5 unreachable=0 failed=0 skipped=15 rescued=0 ignored=1 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_regression_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_regression_nm.yml ********************************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_regression_nm.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_regression_nm.yml:4 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_regression_nm.yml:6 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_regression_nm.yml:8 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} TASK [Install NetworkManager] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_regression_nm.yml:11 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_regression_nm.yml:15 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["rpm", "-q", "--qf", "%{version}", "NetworkManager"], "delta": "0:00:00.009844", "end": "2021-11-08 19:44:35.810252", "rc": 0, "start": "2021-11-08 19:44:35.800408", "stderr": "", "stderr_lines": [], "stdout": "1.26.8", "stdout_lines": ["1.26.8"]} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_checkpoint_cleanup.yml:7 ok: [/cache/fedora-33.qcow2] TASK [Show test banner] ******************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_checkpoint_cleanup.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Inside states tests" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_checkpoint_cleanup.yml:16 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003112", "end": "2021-11-08 19:44:36.817407", "rc": 0, "start": "2021-11-08 19:44:36.814295", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_checkpoint_cleanup.yml:17 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface cptstbr] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface cptstbr is absent] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": false, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [install dbus-tools] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_checkpoint_cleanup.yml:23 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: dbus-tools-1:1.12.20-2.fc33.x86_64"]} TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_checkpoint_cleanup.yml:28 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: chkconfig-1.14-3.fc33.x86_64", "Installed: network-scripts-10.04-2.fc33.x86_64", "Installed: bc-1.07.1-14.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 changed: [/cache/fedora-33.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-75296ta8mx18i/tmp9camfx9n"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "cptstbr", "state": "up", "type": "bridge"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:up persistent_state:present, 'cptstbr': add ifcfg-rh profile 'cptstbr'\n[004] #0, state:up persistent_state:present, 'cptstbr': up connection cptstbr (not-active)\n[005] #0, state:up persistent_state:present, 'cptstbr': call 'ifup cptstbr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'cptstbr': add ifcfg-rh profile 'cptstbr'", "[004] #0, state:up persistent_state:present, 'cptstbr': up connection cptstbr (not-active)", "[005] #0, state:up persistent_state:present, 'cptstbr': call 'ifup cptstbr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'cptstbr': add ifcfg-rh profile 'cptstbr'", "[004] #0, state:up persistent_state:present, 'cptstbr': up connection cptstbr (not-active)", "[005] #0, state:up persistent_state:present, 'cptstbr': call 'ifup cptstbr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "cptstbr", "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, 'cptstbr': add ifcfg-rh profile 'cptstbr'\n[004] #0, state:up persistent_state:present, 'cptstbr': up connection cptstbr (not-active)\n[005] #0, state:up persistent_state:present, 'cptstbr': call 'ifup cptstbr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'cptstbr': add ifcfg-rh profile 'cptstbr'", "[004] #0, state:up persistent_state:present, 'cptstbr': up connection cptstbr (not-active)", "[005] #0, state:up persistent_state:present, 'cptstbr': call 'ifup cptstbr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_checkpoint_cleanup.yml:40 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface cptstbr] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400693.264728, "block_size": 4096, "blocks": 0, "ctime": 1636400693.264728, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21270, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/cptstbr", "lnk_target": "../../devices/virtual/net/cptstbr", "mode": "0777", "mtime": 1636400693.264728, "nlink": 1, "path": "/sys/class/net/cptstbr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface cptstbr is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_checkpoint_cleanup.yml:41 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400693.1607141, "block_size": 4096, "blocks": 8, "ctime": 1636400693.1497142, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132775, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636400693.1497142, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-cptstbr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 117, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep cptstbr | grep /etc", "delta": "0:00:00.018663", "end": "2021-11-08 19:44:55.050040", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:44:55.031377", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'cptstbr' is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [use network_connections] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_checkpoint_cleanup.yml:43 [WARNING]: [003] #0, state:up persistent_state:present, 'cptstbr': add connection cptstbr, 94102cd8-7386-47f8-871a-559c6b8c9591 [WARNING]: [004] #0, state:up persistent_state:present, 'cptstbr': up connection cptstbr, 94102cd8-7386-47f8-871a-559c6b8c9591 (not-active) [WARNING]: [005] #0, state:up persistent_state:present, 'cptstbr': up connection failed: failure to activate connection: nm-manager-error-quark: Connection 'cptstbr' is not available on device cptstbr because device is strictly unmanaged (2) fatal: [/cache/fedora-33.qcow2]: FAILED! => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "cptstbr", "state": "up", "type": "bridge"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "msg": "error: up connection failed: failure to activate connection: nm-manager-error-quark: Connection 'cptstbr' is not available on device cptstbr because device is strictly unmanaged (2)", "stderr": "[003] #0, state:up persistent_state:present, 'cptstbr': add connection cptstbr, 94102cd8-7386-47f8-871a-559c6b8c9591\n[004] #0, state:up persistent_state:present, 'cptstbr': up connection cptstbr, 94102cd8-7386-47f8-871a-559c6b8c9591 (not-active)\n[005] #0, state:up persistent_state:present, 'cptstbr': up connection failed: failure to activate connection: nm-manager-error-quark: Connection 'cptstbr' is not available on device cptstbr because device is strictly unmanaged (2)\n", "stderr_lines": ["[003] #0, state:up persistent_state:present, 'cptstbr': add connection cptstbr, 94102cd8-7386-47f8-871a-559c6b8c9591", "[004] #0, state:up persistent_state:present, 'cptstbr': up connection cptstbr, 94102cd8-7386-47f8-871a-559c6b8c9591 (not-active)", "[005] #0, state:up persistent_state:present, 'cptstbr': up connection failed: failure to activate connection: nm-manager-error-quark: Connection 'cptstbr' is not available on device cptstbr because device is strictly unmanaged (2)"]} ...ignoring TASK [assert that the module call did not fail] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_checkpoint_cleanup.yml:55 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [get NM dbus objects] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_checkpoint_cleanup.yml:62 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["busctl", "--system", "tree", "--list", "org.freedesktop.NetworkManager"], "delta": "0:00:00.013133", "end": "2021-11-08 19:44:56.914894", "rc": 0, "start": "2021-11-08 19:44:56.901761", "stderr": "", "stderr_lines": [], "stdout": "/\n/org\n/org/freedesktop\n/org/freedesktop/NetworkManager\n/org/freedesktop/NetworkManager/ActiveConnection\n/org/freedesktop/NetworkManager/ActiveConnection/1\n/org/freedesktop/NetworkManager/AgentManager\n/org/freedesktop/NetworkManager/DHCP4Config\n/org/freedesktop/NetworkManager/DHCP4Config/1\n/org/freedesktop/NetworkManager/Devices\n/org/freedesktop/NetworkManager/Devices/1\n/org/freedesktop/NetworkManager/Devices/2\n/org/freedesktop/NetworkManager/Devices/3\n/org/freedesktop/NetworkManager/DnsManager\n/org/freedesktop/NetworkManager/IP4Config\n/org/freedesktop/NetworkManager/IP4Config/2\n/org/freedesktop/NetworkManager/IP4Config/3\n/org/freedesktop/NetworkManager/IP4Config/4\n/org/freedesktop/NetworkManager/IP6Config\n/org/freedesktop/NetworkManager/IP6Config/2\n/org/freedesktop/NetworkManager/IP6Config/3\n/org/freedesktop/NetworkManager/IP6Config/4\n/org/freedesktop/NetworkManager/Settings\n/org/freedesktop/NetworkManager/Settings/1", "stdout_lines": ["/", "/org", "/org/freedesktop", "/org/freedesktop/NetworkManager", "/org/freedesktop/NetworkManager/ActiveConnection", "/org/freedesktop/NetworkManager/ActiveConnection/1", "/org/freedesktop/NetworkManager/AgentManager", "/org/freedesktop/NetworkManager/DHCP4Config", "/org/freedesktop/NetworkManager/DHCP4Config/1", "/org/freedesktop/NetworkManager/Devices", "/org/freedesktop/NetworkManager/Devices/1", "/org/freedesktop/NetworkManager/Devices/2", "/org/freedesktop/NetworkManager/Devices/3", "/org/freedesktop/NetworkManager/DnsManager", "/org/freedesktop/NetworkManager/IP4Config", "/org/freedesktop/NetworkManager/IP4Config/2", "/org/freedesktop/NetworkManager/IP4Config/3", "/org/freedesktop/NetworkManager/IP4Config/4", "/org/freedesktop/NetworkManager/IP6Config", "/org/freedesktop/NetworkManager/IP6Config/2", "/org/freedesktop/NetworkManager/IP6Config/3", "/org/freedesktop/NetworkManager/IP6Config/4", "/org/freedesktop/NetworkManager/Settings", "/org/freedesktop/NetworkManager/Settings/1"]} TASK [Show nm_dbus_objects] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_checkpoint_cleanup.yml:65 ok: [/cache/fedora-33.qcow2] => { "nm_dbus_objects": { "changed": true, "cmd": [ "busctl", "--system", "tree", "--list", "org.freedesktop.NetworkManager" ], "delta": "0:00:00.013133", "end": "2021-11-08 19:44:56.914894", "failed": false, "rc": 0, "start": "2021-11-08 19:44:56.901761", "stderr": "", "stderr_lines": [], "stdout": "/\n/org\n/org/freedesktop\n/org/freedesktop/NetworkManager\n/org/freedesktop/NetworkManager/ActiveConnection\n/org/freedesktop/NetworkManager/ActiveConnection/1\n/org/freedesktop/NetworkManager/AgentManager\n/org/freedesktop/NetworkManager/DHCP4Config\n/org/freedesktop/NetworkManager/DHCP4Config/1\n/org/freedesktop/NetworkManager/Devices\n/org/freedesktop/NetworkManager/Devices/1\n/org/freedesktop/NetworkManager/Devices/2\n/org/freedesktop/NetworkManager/Devices/3\n/org/freedesktop/NetworkManager/DnsManager\n/org/freedesktop/NetworkManager/IP4Config\n/org/freedesktop/NetworkManager/IP4Config/2\n/org/freedesktop/NetworkManager/IP4Config/3\n/org/freedesktop/NetworkManager/IP4Config/4\n/org/freedesktop/NetworkManager/IP6Config\n/org/freedesktop/NetworkManager/IP6Config/2\n/org/freedesktop/NetworkManager/IP6Config/3\n/org/freedesktop/NetworkManager/IP6Config/4\n/org/freedesktop/NetworkManager/Settings\n/org/freedesktop/NetworkManager/Settings/1", "stdout_lines": [ "/", "/org", "/org/freedesktop", "/org/freedesktop/NetworkManager", "/org/freedesktop/NetworkManager/ActiveConnection", "/org/freedesktop/NetworkManager/ActiveConnection/1", "/org/freedesktop/NetworkManager/AgentManager", "/org/freedesktop/NetworkManager/DHCP4Config", "/org/freedesktop/NetworkManager/DHCP4Config/1", "/org/freedesktop/NetworkManager/Devices", "/org/freedesktop/NetworkManager/Devices/1", "/org/freedesktop/NetworkManager/Devices/2", "/org/freedesktop/NetworkManager/Devices/3", "/org/freedesktop/NetworkManager/DnsManager", "/org/freedesktop/NetworkManager/IP4Config", "/org/freedesktop/NetworkManager/IP4Config/2", "/org/freedesktop/NetworkManager/IP4Config/3", "/org/freedesktop/NetworkManager/IP4Config/4", "/org/freedesktop/NetworkManager/IP6Config", "/org/freedesktop/NetworkManager/IP6Config/2", "/org/freedesktop/NetworkManager/IP6Config/3", "/org/freedesktop/NetworkManager/IP6Config/4", "/org/freedesktop/NetworkManager/Settings", "/org/freedesktop/NetworkManager/Settings/1" ] } } TASK [Assert that no checkpoints are left] ************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_checkpoint_cleanup.yml:68 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [network_connections] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_checkpoint_cleanup.yml:77 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "cptstbr", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'cptstbr': no connection matches 'cptstbr' to delete\n", "stderr_lines": ["[002] #0, state:down persistent_state:absent, 'cptstbr': no connection matches 'cptstbr' to delete"]} TASK [file] ******************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_checkpoint_cleanup.yml:83 changed: [/cache/fedora-33.qcow2] => {"changed": true, "path": "/etc/sysconfig/network-scripts/ifcfg-cptstbr", "state": "absent"} TASK [command] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_checkpoint_cleanup.yml:86 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "cptstbr"], "delta": "0:00:00.031075", "end": "2021-11-08 19:44:58.241879", "rc": 0, "start": "2021-11-08 19:44:58.210804", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=57 changed=10 unreachable=0 failed=0 skipped=14 rescued=0 ignored=2 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_states_initscripts.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_states_initscripts.yml:4 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_states_initscripts.yml:7 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tests_states_initscripts.yml:8 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "initscripts"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_states.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_states.yml:10 ok: [/cache/fedora-33.qcow2] => { "msg": "this is: playbooks/tests_states.yml" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_states.yml:18 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml for /cache/fedora-33.qcow2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:5 ok: [/cache/fedora-33.qcow2] => { "msg": "########## I can create a profile ##########" } TASK [Show item] *************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:9 ok: [/cache/fedora-33.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [/cache/fedora-33.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "what": "tasks/assert_device_present.yml", "when": false } ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.004825", "end": "2021-11-08 19:45:14.534744", "rc": 0, "start": "2021-11-08 19:45:14.529919", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [setup] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:23 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/delete_interface.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/delete_interface.yml:3 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": ["ip", "link", "del", "statebr"], "delta": "0:00:00.008894", "end": "2021-11-08 19:45:14.973825", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:45:14.964931", "stderr": "Cannot find device \"statebr\"", "stderr_lines": ["Cannot find device \"statebr\""], "stdout": "", "stdout_lines": []} ...ignoring TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [test] ******************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:29 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: network-scripts-10.04-2.fc33.x86_64", "Installed: bc-1.07.1-14.fc33.x86_64", "Installed: chkconfig-1.14-3.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 changed: [/cache/fedora-33.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-75928ya5n3sgu/tmpxylnzkg4"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "statebr", "persistent_state": "present", "type": "bridge"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": ["[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Show result] ************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:14 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400760.8355403, "block_size": 4096, "blocks": 8, "ctime": 1636400760.8365402, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132660, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636400760.8365402, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 117, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023668", "end": "2021-11-08 19:46:02.174077", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:46:02.150409", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:41 [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} skipping: [/cache/fedora-33.qcow2] => (item={'what': 'tasks/assert_device_present.yml', 'when': False}) => {"ansible_loop_var": "item", "changed": false, "item": {"what": "tasks/assert_device_present.yml", "when": false}, "skip_reason": "Conditional result was False"} TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:47 ok: [/cache/fedora-33.qcow2] => { "msg": "+++++ Success in test 'I can create a profile' +++++" } TASK [cleanup] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:66 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-33.qcow2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml:3 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034910", "end": "2021-11-08 19:46:02.760795", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:46:02.725885", "stderr": "Error: unknown connection 'statebr'.\nError: cannot delete unknown connection(s): 'statebr'.\nCannot find device \"statebr\"", "stderr_lines": ["Error: unknown connection 'statebr'.", "Error: cannot delete unknown connection(s): 'statebr'.", "Cannot find device \"statebr\""], "stdout": "", "stdout_lines": []} ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_states.yml:39 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml for /cache/fedora-33.qcow2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:5 ok: [/cache/fedora-33.qcow2] => { "msg": "########## I can create a profile without autoconnect ##########" } TASK [Show item] *************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:9 ok: [/cache/fedora-33.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [/cache/fedora-33.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/fedora-33.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003630", "end": "2021-11-08 19:46:03.331336", "rc": 0, "start": "2021-11-08 19:46:03.327706", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [setup] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:23 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/delete_interface.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/delete_interface.yml:3 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": ["ip", "link", "del", "statebr"], "delta": "0:00:00.005590", "end": "2021-11-08 19:46:03.785857", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:46:03.780267", "stderr": "Cannot find device \"statebr\"", "stderr_lines": ["Cannot find device \"statebr\""], "stdout": "", "stdout_lines": []} ...ignoring TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [test] ******************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:29 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-75928ya5n3sgu/tmpb7ytab6f"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"autoconnect": false, "ip": {"auto6": false, "dhcp4": false}, "name": "statebr", "persistent_state": "present", "type": "bridge"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": ["[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Show result] ************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400767.9225402, "block_size": 4096, "blocks": 8, "ctime": 1636400767.9225402, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132660, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636400767.9225402, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 116, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017019", "end": "2021-11-08 19:46:09.624322", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:46:09.607303", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:41 TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:47 ok: [/cache/fedora-33.qcow2] => { "msg": "+++++ Success in test 'I can create a profile without autoconnect' +++++" } TASK [cleanup] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:66 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-33.qcow2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml:3 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035225", "end": "2021-11-08 19:46:10.171339", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:46:10.136114", "stderr": "Error: unknown connection 'statebr'.\nError: cannot delete unknown connection(s): 'statebr'.\nCannot find device \"statebr\"", "stderr_lines": ["Error: unknown connection 'statebr'.", "Error: cannot delete unknown connection(s): 'statebr'.", "Cannot find device \"statebr\""], "stdout": "", "stdout_lines": []} ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_states.yml:57 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml for /cache/fedora-33.qcow2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:5 ok: [/cache/fedora-33.qcow2] => { "msg": "########## I can activate an existing profile ##########" } TASK [Show item] *************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:9 ok: [/cache/fedora-33.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [/cache/fedora-33.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/fedora-33.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003345", "end": "2021-11-08 19:46:10.765033", "rc": 0, "start": "2021-11-08 19:46:10.761688", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [setup] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:23 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-75928ya5n3sgu/tmp3zxm0td0"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "statebr", "persistent_state": "present", "type": "bridge"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": ["[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Show result] ************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:14 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [test] ******************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:29 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/activate_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/activate_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-75928ya5n3sgu/tmpq7vbukcc"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "state": "up"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [asserts] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400778.573181, "block_size": 4096, "blocks": 0, "ctime": 1636400778.573181, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21270, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1636400778.573181, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface statebr is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400778.4615402, "block_size": 4096, "blocks": 8, "ctime": 1636400774.4445403, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132660, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636400774.4445403, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 117, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017275", "end": "2021-11-08 19:46:20.250644", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:46:20.233369", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:41 TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:47 ok: [/cache/fedora-33.qcow2] => { "msg": "+++++ Success in test 'I can activate an existing profile' +++++" } TASK [cleanup] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:66 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-33.qcow2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.048194", "end": "2021-11-08 19:46:20.802333", "rc": 0, "start": "2021-11-08 19:46:20.754139", "stderr": "Error: unknown connection 'statebr'.\nError: cannot delete unknown connection(s): 'statebr'.", "stderr_lines": ["Error: unknown connection 'statebr'.", "Error: cannot delete unknown connection(s): 'statebr'."], "stdout": "", "stdout_lines": []} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_states.yml:73 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml for /cache/fedora-33.qcow2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:5 ok: [/cache/fedora-33.qcow2] => { "msg": "########## I can remove an existing profile without taking it down ##########" } TASK [Show item] *************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:9 ok: [/cache/fedora-33.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [/cache/fedora-33.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/fedora-33.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003132", "end": "2021-11-08 19:46:21.405320", "rc": 0, "start": "2021-11-08 19:46:21.402188", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [setup] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:23 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/activate_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-75928ya5n3sgu/tmpei7vc9zp"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "statebr", "persistent_state": "present", "type": "bridge"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": ["[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Show result] ************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:14 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/activate_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-75928ya5n3sgu/tmpira38_9n"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "state": "up"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [test] ******************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:29 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-75928ya5n3sgu/tmpknf3j3b9"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "persistent_state": "absent"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": ["[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [asserts] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400789.11693, "block_size": 4096, "blocks": 0, "ctime": 1636400789.11693, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21401, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1636400789.11693, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface statebr is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016957", "end": "2021-11-08 19:46:34.808829", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:46:34.791872", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:41 TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:47 ok: [/cache/fedora-33.qcow2] => { "msg": "+++++ Success in test 'I can remove an existing profile without taking it down' +++++" } TASK [cleanup] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:66 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-33.qcow2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.055071", "end": "2021-11-08 19:46:35.413432", "rc": 0, "start": "2021-11-08 19:46:35.358361", "stderr": "Error: unknown connection 'statebr'.\nError: cannot delete unknown connection(s): 'statebr'.", "stderr_lines": ["Error: unknown connection 'statebr'.", "Error: cannot delete unknown connection(s): 'statebr'."], "stdout": "", "stdout_lines": []} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_states.yml:91 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml for /cache/fedora-33.qcow2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:5 ok: [/cache/fedora-33.qcow2] => { "msg": "########## I can take a profile down that is absent ##########" } TASK [Show item] *************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:9 ok: [/cache/fedora-33.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [/cache/fedora-33.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "what": "tasks/assert_device_absent.yml", "when": false } ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003682", "end": "2021-11-08 19:46:35.984451", "rc": 0, "start": "2021-11-08 19:46:35.980769", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [setup] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:23 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/activate_profile.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-75928ya5n3sgu/tmpvfpw6jsl"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "statebr", "persistent_state": "present", "type": "bridge"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": ["[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Show result] ************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:14 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/activate_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-75928ya5n3sgu/tmpwup39mn_"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "state": "up"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-75928ya5n3sgu/tmpufhjapzb"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "persistent_state": "absent"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": ["[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [test] ******************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:29 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove+down_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove+down_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-75928ya5n3sgu/tmpompt17a0"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": ["[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [asserts] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016715", "end": "2021-11-08 19:46:53.071656", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:46:53.054941", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:41 [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} skipping: [/cache/fedora-33.qcow2] => (item={'what': 'tasks/assert_device_absent.yml', 'when': False}) => {"ansible_loop_var": "item", "changed": false, "item": {"what": "tasks/assert_device_absent.yml", "when": false}, "skip_reason": "Conditional result was False"} TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:47 ok: [/cache/fedora-33.qcow2] => { "msg": "+++++ Success in test 'I can take a profile down that is absent' +++++" } TASK [cleanup] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:66 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-33.qcow2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.050640", "end": "2021-11-08 19:46:53.675444", "rc": 0, "start": "2021-11-08 19:46:53.624804", "stderr": "Error: unknown connection 'statebr'.\nError: cannot delete unknown connection(s): 'statebr'.", "stderr_lines": ["Error: unknown connection 'statebr'.", "Error: cannot delete unknown connection(s): 'statebr'."], "stdout": "", "stdout_lines": []} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_states.yml:111 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml for /cache/fedora-33.qcow2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:5 ok: [/cache/fedora-33.qcow2] => { "msg": "########## I will not get an error when I try to remove an absent profile ##########" } TASK [Show item] *************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:9 ok: [/cache/fedora-33.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [/cache/fedora-33.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "what": "tasks/assert_device_absent.yml", "when": false } ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003084", "end": "2021-11-08 19:46:54.248585", "rc": 0, "start": "2021-11-08 19:46:54.245501", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [setup] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:23 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/activate_profile.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove+down_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-75928ya5n3sgu/tmpbkrm5vsw"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "statebr", "persistent_state": "present", "type": "bridge"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": ["[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Show result] ************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:14 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/activate_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-75928ya5n3sgu/tmpc3u1ywy8"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "state": "up"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove+down_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-75928ya5n3sgu/tmp2ziqrlmw"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": ["[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [test] ******************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:29 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove+down_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove+down_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-75928ya5n3sgu/tmpcc_a31ag"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": ["[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [asserts] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_NetworkManager_NVR.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017043", "end": "2021-11-08 19:47:11.359634", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:47:11.342591", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:4 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager"], "delta": "0:00:00.102626", "end": "2021-11-08 19:47:11.858809", "rc": 0, "start": "2021-11-08 19:47:11.756183", "stderr": "", "stderr_lines": [], "stdout": "NetworkManager-1.26.8-1.fc33", "stdout_lines": ["NetworkManager-1.26.8-1.fc33"]} TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:10 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"NetworkManager_NVR": "NetworkManager-1.26.8-1.fc33"}, "changed": false} TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 ok: [/cache/fedora-33.qcow2] => { "NetworkManager_NVR": "NetworkManager-1.26.8-1.fc33" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:41 [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} skipping: [/cache/fedora-33.qcow2] => (item={'what': 'tasks/assert_device_absent.yml', 'when': False}) => {"ansible_loop_var": "item", "changed": false, "item": {"what": "tasks/assert_device_absent.yml", "when": false}, "skip_reason": "Conditional result was False"} TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:47 ok: [/cache/fedora-33.qcow2] => { "msg": "+++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++" } TASK [cleanup] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:66 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-33.qcow2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.057824", "end": "2021-11-08 19:47:12.469475", "rc": 0, "start": "2021-11-08 19:47:12.411651", "stderr": "Error: unknown connection 'statebr'.\nError: cannot delete unknown connection(s): 'statebr'.", "stderr_lines": ["Error: unknown connection 'statebr'.", "Error: cannot delete unknown connection(s): 'statebr'."], "stdout": "", "stdout_lines": []} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=297 changed=16 unreachable=0 failed=0 skipped=80 rescued=0 ignored=10 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_states_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_states_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_states_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_states_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_states.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_states.yml:10 ok: [/cache/fedora-33.qcow2] => { "msg": "this is: playbooks/tests_states.yml" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_states.yml:18 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml for /cache/fedora-33.qcow2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:5 ok: [/cache/fedora-33.qcow2] => { "msg": "########## I can create a profile ##########" } TASK [Show item] *************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:9 ok: [/cache/fedora-33.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [/cache/fedora-33.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "what": "tasks/assert_device_present.yml", "when": true } ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003845", "end": "2021-11-08 19:47:27.616875", "rc": 0, "start": "2021-11-08 19:47:27.613030", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [setup] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:23 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/delete_interface.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/delete_interface.yml:3 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": ["ip", "link", "del", "statebr"], "delta": "0:00:00.008847", "end": "2021-11-08 19:47:28.040525", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:47:28.031678", "stderr": "Cannot find device \"statebr\"", "stderr_lines": ["Cannot find device \"statebr\""], "stdout": "", "stdout_lines": []} ...ignoring TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [test] ******************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:29 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "statebr", "persistent_state": "present", "type": "bridge"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 048277c1-8b23-49f4-bc3c-b004dab36394\n", "stderr_lines": ["[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 048277c1-8b23-49f4-bc3c-b004dab36394"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 048277c1-8b23-49f4-bc3c-b004dab36394" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 048277c1-8b23-49f4-bc3c-b004dab36394\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 048277c1-8b23-49f4-bc3c-b004dab36394" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Show result] ************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:14 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 048277c1-8b23-49f4-bc3c-b004dab36394\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 048277c1-8b23-49f4-bc3c-b004dab36394" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400897.7367547, "block_size": 4096, "blocks": 8, "ctime": 1636400897.6777546, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636400897.6777546, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020185", "end": "2021-11-08 19:48:19.097171", "rc": 0, "start": "2021-11-08 19:48:19.076986", "stderr": "", "stderr_lines": [], "stdout": "statebr /etc/sysconfig/network-scripts/ifcfg-statebr ", "stdout_lines": ["statebr /etc/sysconfig/network-scripts/ifcfg-statebr "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:41 [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400897.7126355, "block_size": 4096, "blocks": 0, "ctime": 1636400897.7126355, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21270, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1636400897.7126355, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface statebr is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:47 ok: [/cache/fedora-33.qcow2] => { "msg": "+++++ Success in test 'I can create a profile' +++++" } TASK [cleanup] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:66 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-33.qcow2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml:3 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.048482", "end": "2021-11-08 19:48:20.149902", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:48:20.101420", "stderr": "Cannot find device \"statebr\"", "stderr_lines": ["Cannot find device \"statebr\""], "stdout": "Connection 'statebr' (048277c1-8b23-49f4-bc3c-b004dab36394) successfully deleted.", "stdout_lines": ["Connection 'statebr' (048277c1-8b23-49f4-bc3c-b004dab36394) successfully deleted."]} ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_states.yml:39 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml for /cache/fedora-33.qcow2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:5 ok: [/cache/fedora-33.qcow2] => { "msg": "########## I can create a profile without autoconnect ##########" } TASK [Show item] *************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:9 ok: [/cache/fedora-33.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [/cache/fedora-33.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/fedora-33.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003942", "end": "2021-11-08 19:48:20.723409", "rc": 0, "start": "2021-11-08 19:48:20.719467", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [setup] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:23 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/delete_interface.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/delete_interface.yml:3 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": ["ip", "link", "del", "statebr"], "delta": "0:00:00.006272", "end": "2021-11-08 19:48:21.201727", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:48:21.195455", "stderr": "Cannot find device \"statebr\"", "stderr_lines": ["Cannot find device \"statebr\""], "stdout": "", "stdout_lines": []} ...ignoring TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [test] ******************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:29 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"autoconnect": false, "ip": {"auto6": false, "dhcp4": false}, "name": "statebr", "persistent_state": "present", "type": "bridge"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4297b364-eb68-4dfc-80e3-f625b86b06de\n", "stderr_lines": ["[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4297b364-eb68-4dfc-80e3-f625b86b06de"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4297b364-eb68-4dfc-80e3-f625b86b06de" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4297b364-eb68-4dfc-80e3-f625b86b06de\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4297b364-eb68-4dfc-80e3-f625b86b06de" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Show result] ************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4297b364-eb68-4dfc-80e3-f625b86b06de\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4297b364-eb68-4dfc-80e3-f625b86b06de" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400904.9697545, "block_size": 4096, "blocks": 8, "ctime": 1636400904.9697545, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636400904.9697545, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 145, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017627", "end": "2021-11-08 19:48:26.797382", "rc": 0, "start": "2021-11-08 19:48:26.779755", "stderr": "", "stderr_lines": [], "stdout": "statebr /etc/sysconfig/network-scripts/ifcfg-statebr ", "stdout_lines": ["statebr /etc/sysconfig/network-scripts/ifcfg-statebr "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:41 TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:47 ok: [/cache/fedora-33.qcow2] => { "msg": "+++++ Success in test 'I can create a profile without autoconnect' +++++" } TASK [cleanup] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:66 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-33.qcow2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml:3 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.033654", "end": "2021-11-08 19:48:27.380334", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:48:27.346680", "stderr": "Cannot find device \"statebr\"", "stderr_lines": ["Cannot find device \"statebr\""], "stdout": "Connection 'statebr' (4297b364-eb68-4dfc-80e3-f625b86b06de) successfully deleted.", "stdout_lines": ["Connection 'statebr' (4297b364-eb68-4dfc-80e3-f625b86b06de) successfully deleted."]} ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_states.yml:57 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml for /cache/fedora-33.qcow2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:5 ok: [/cache/fedora-33.qcow2] => { "msg": "########## I can activate an existing profile ##########" } TASK [Show item] *************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:9 ok: [/cache/fedora-33.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [/cache/fedora-33.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/fedora-33.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002942", "end": "2021-11-08 19:48:27.944188", "rc": 0, "start": "2021-11-08 19:48:27.941246", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [setup] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:23 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "statebr", "persistent_state": "present", "type": "bridge"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2abab1c9-fb2d-4473-a678-ae6c24c4d411\n", "stderr_lines": ["[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2abab1c9-fb2d-4473-a678-ae6c24c4d411"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2abab1c9-fb2d-4473-a678-ae6c24c4d411" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2abab1c9-fb2d-4473-a678-ae6c24c4d411\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2abab1c9-fb2d-4473-a678-ae6c24c4d411" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Show result] ************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:14 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2abab1c9-fb2d-4473-a678-ae6c24c4d411\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2abab1c9-fb2d-4473-a678-ae6c24c4d411" ] } } TASK [test] ******************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:29 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/activate_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/activate_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "state": "up"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2abab1c9-fb2d-4473-a678-ae6c24c4d411 skipped because already active\n", "stderr_lines": ["[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2abab1c9-fb2d-4473-a678-ae6c24c4d411 skipped because already active"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2abab1c9-fb2d-4473-a678-ae6c24c4d411 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2abab1c9-fb2d-4473-a678-ae6c24c4d411 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2abab1c9-fb2d-4473-a678-ae6c24c4d411 skipped because already active" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [asserts] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400911.3390508, "block_size": 4096, "blocks": 0, "ctime": 1636400911.3390508, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21401, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1636400911.3390508, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface statebr is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400911.3617547, "block_size": 4096, "blocks": 8, "ctime": 1636400911.3367546, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636400911.3367546, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018455", "end": "2021-11-08 19:48:36.904809", "rc": 0, "start": "2021-11-08 19:48:36.886354", "stderr": "", "stderr_lines": [], "stdout": "statebr /etc/sysconfig/network-scripts/ifcfg-statebr ", "stdout_lines": ["statebr /etc/sysconfig/network-scripts/ifcfg-statebr "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:41 TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:47 ok: [/cache/fedora-33.qcow2] => { "msg": "+++++ Success in test 'I can activate an existing profile' +++++" } TASK [cleanup] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:66 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-33.qcow2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml:3 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.049099", "end": "2021-11-08 19:48:37.456818", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:48:37.407719", "stderr": "Cannot find device \"statebr\"", "stderr_lines": ["Cannot find device \"statebr\""], "stdout": "Connection 'statebr' (2abab1c9-fb2d-4473-a678-ae6c24c4d411) successfully deleted.", "stdout_lines": ["Connection 'statebr' (2abab1c9-fb2d-4473-a678-ae6c24c4d411) successfully deleted."]} ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_states.yml:73 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml for /cache/fedora-33.qcow2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:5 ok: [/cache/fedora-33.qcow2] => { "msg": "########## I can remove an existing profile without taking it down ##########" } TASK [Show item] *************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:9 ok: [/cache/fedora-33.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [/cache/fedora-33.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/fedora-33.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003014", "end": "2021-11-08 19:48:38.046091", "rc": 0, "start": "2021-11-08 19:48:38.043077", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [setup] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:23 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/activate_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "statebr", "persistent_state": "present", "type": "bridge"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8de4dc7f-32af-4bf4-9c48-bee83a3d4d72\n", "stderr_lines": ["[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8de4dc7f-32af-4bf4-9c48-bee83a3d4d72"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8de4dc7f-32af-4bf4-9c48-bee83a3d4d72" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8de4dc7f-32af-4bf4-9c48-bee83a3d4d72\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8de4dc7f-32af-4bf4-9c48-bee83a3d4d72" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Show result] ************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:14 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8de4dc7f-32af-4bf4-9c48-bee83a3d4d72\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8de4dc7f-32af-4bf4-9c48-bee83a3d4d72" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/activate_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "state": "up"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8de4dc7f-32af-4bf4-9c48-bee83a3d4d72 skipped because already active\n", "stderr_lines": ["[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8de4dc7f-32af-4bf4-9c48-bee83a3d4d72 skipped because already active"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8de4dc7f-32af-4bf4-9c48-bee83a3d4d72 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8de4dc7f-32af-4bf4-9c48-bee83a3d4d72 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8de4dc7f-32af-4bf4-9c48-bee83a3d4d72 skipped because already active" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [test] ******************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:29 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "persistent_state": "absent"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [asserts] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636400921.4372847, "block_size": 4096, "blocks": 0, "ctime": 1636400921.4372847, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21532, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1636400921.4372847, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface statebr is present] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017626", "end": "2021-11-08 19:48:50.482112", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:48:50.464486", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:41 TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:47 ok: [/cache/fedora-33.qcow2] => { "msg": "+++++ Success in test 'I can remove an existing profile without taking it down' +++++" } TASK [cleanup] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:66 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-33.qcow2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml:3 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044023", "end": "2021-11-08 19:48:51.029272", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:48:50.985249", "stderr": "Cannot find device \"statebr\"", "stderr_lines": ["Cannot find device \"statebr\""], "stdout": "Connection 'statebr' (8de4dc7f-32af-4bf4-9c48-bee83a3d4d72) successfully deleted.", "stdout_lines": ["Connection 'statebr' (8de4dc7f-32af-4bf4-9c48-bee83a3d4d72) successfully deleted."]} ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_states.yml:91 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml for /cache/fedora-33.qcow2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:5 ok: [/cache/fedora-33.qcow2] => { "msg": "########## I can take a profile down that is absent ##########" } TASK [Show item] *************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:9 ok: [/cache/fedora-33.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [/cache/fedora-33.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "what": "tasks/assert_device_absent.yml", "when": true } ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003088", "end": "2021-11-08 19:48:51.580412", "rc": 0, "start": "2021-11-08 19:48:51.577324", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [setup] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:23 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/activate_profile.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "statebr", "persistent_state": "present", "type": "bridge"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e437ec8d-3fb7-47a6-acaa-def85086704b\n", "stderr_lines": ["[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e437ec8d-3fb7-47a6-acaa-def85086704b"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e437ec8d-3fb7-47a6-acaa-def85086704b" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e437ec8d-3fb7-47a6-acaa-def85086704b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e437ec8d-3fb7-47a6-acaa-def85086704b" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Show result] ************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:14 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e437ec8d-3fb7-47a6-acaa-def85086704b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e437ec8d-3fb7-47a6-acaa-def85086704b" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/activate_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "state": "up"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e437ec8d-3fb7-47a6-acaa-def85086704b skipped because already active\n", "stderr_lines": ["[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e437ec8d-3fb7-47a6-acaa-def85086704b skipped because already active"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e437ec8d-3fb7-47a6-acaa-def85086704b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e437ec8d-3fb7-47a6-acaa-def85086704b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e437ec8d-3fb7-47a6-acaa-def85086704b skipped because already active" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "persistent_state": "absent"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [test] ******************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:29 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove+down_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove+down_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": ["[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [asserts] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.014924", "end": "2021-11-08 19:49:07.499978", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:49:07.485054", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:41 [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:47 ok: [/cache/fedora-33.qcow2] => { "msg": "+++++ Success in test 'I can take a profile down that is absent' +++++" } TASK [cleanup] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:66 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-33.qcow2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml:3 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.031550", "end": "2021-11-08 19:49:08.498588", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:49:08.467038", "stderr": "Error: unknown connection 'statebr'.\nError: cannot delete unknown connection(s): 'statebr'.\nCannot find device \"statebr\"", "stderr_lines": ["Error: unknown connection 'statebr'.", "Error: cannot delete unknown connection(s): 'statebr'.", "Cannot find device \"statebr\""], "stdout": "", "stdout_lines": []} ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_states.yml:111 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml for /cache/fedora-33.qcow2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:5 ok: [/cache/fedora-33.qcow2] => { "msg": "########## I will not get an error when I try to remove an absent profile ##########" } TASK [Show item] *************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:9 ok: [/cache/fedora-33.qcow2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [/cache/fedora-33.qcow2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: [{'what': 'tasks/assert_device_absent.yml', 'when': \"{{ network_provider == 'nm' and NetworkManager_NVR != 'NetworkManager-1.18.4-3.el7' }}\"}]: 'NetworkManager_NVR' is undefined" } ok: [/cache/fedora-33.qcow2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-33.qcow2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:21 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003197", "end": "2021-11-08 19:49:09.106604", "rc": 0, "start": "2021-11-08 19:49:09.103407", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [setup] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:23 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/activate_profile.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove+down_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"ip": {"auto6": false, "dhcp4": false}, "name": "statebr", "persistent_state": "present", "type": "bridge"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 637ca4ae-125e-4beb-8eab-4b1c5208570c\n", "stderr_lines": ["[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 637ca4ae-125e-4beb-8eab-4b1c5208570c"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 637ca4ae-125e-4beb-8eab-4b1c5208570c" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 637ca4ae-125e-4beb-8eab-4b1c5208570c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 637ca4ae-125e-4beb-8eab-4b1c5208570c" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Show result] ************************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/create_bridge_profile.yml:14 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 637ca4ae-125e-4beb-8eab-4b1c5208570c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 637ca4ae-125e-4beb-8eab-4b1c5208570c" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/activate_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "state": "up"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 637ca4ae-125e-4beb-8eab-4b1c5208570c skipped because already active\n", "stderr_lines": ["[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 637ca4ae-125e-4beb-8eab-4b1c5208570c skipped because already active"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 637ca4ae-125e-4beb-8eab-4b1c5208570c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 637ca4ae-125e-4beb-8eab-4b1c5208570c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 637ca4ae-125e-4beb-8eab-4b1c5208570c skipped because already active" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove+down_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [test] ******************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:29 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove+down_profile.yml for /cache/fedora-33.qcow2 TASK [Include network role] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/remove+down_profile.yml:3 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 ok: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "statebr", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": ["[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [asserts] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:35 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_NetworkManager_NVR.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.015582", "end": "2021-11-08 19:49:25.069352", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:49:25.053770", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:4 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager"], "delta": "0:00:00.102358", "end": "2021-11-08 19:49:25.574276", "rc": 0, "start": "2021-11-08 19:49:25.471918", "stderr": "", "stderr_lines": [], "stdout": "NetworkManager-1.26.8-1.fc33", "stdout_lines": ["NetworkManager-1.26.8-1.fc33"]} TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:10 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"NetworkManager_NVR": "NetworkManager-1.26.8-1.fc33"}, "changed": false} TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 ok: [/cache/fedora-33.qcow2] => { "NetworkManager_NVR": "NetworkManager-1.26.8-1.fc33" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:41 [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"exists": false}} TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_absent.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:47 ok: [/cache/fedora-33.qcow2] => { "msg": "+++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++" } TASK [cleanup] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/run_test.yml:66 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-33.qcow2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/cleanup_profile+device.yml:3 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.030597", "end": "2021-11-08 19:49:26.599506", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:49:26.568909", "stderr": "Error: unknown connection 'statebr'.\nError: cannot delete unknown connection(s): 'statebr'.\nCannot find device \"statebr\"", "stderr_lines": ["Error: unknown connection 'statebr'.", "Error: cannot delete unknown connection(s): 'statebr'.", "Cannot find device \"statebr\""], "stdout": "", "stdout_lines": []} ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=297 changed=12 unreachable=0 failed=0 skipped=89 rescued=0 ignored=11 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_team_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_team_nm.yml **************************************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_team_nm.yml PLAY [Run playbook 'playbooks/tests_team.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_team_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_team_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_team_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_team.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_team.yml:10 skipping: [/cache/fedora-33.qcow2] => {} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_team.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=5 changed=0 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_team_plugin_installation_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_team_plugin_installation_nm.yml ******************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_team_plugin_installation_nm.yml PLAY [Run playbook 'playbooks/tests_team_plugin_installation.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_team_plugin_installation_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_team_plugin_installation_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_team_plugin_installation_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_team_plugin_installation.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [remove the NetworkManager-team package] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_team_plugin_installation.yml:5 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [get the rpm package facts] *********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_team_plugin_installation.yml:10 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"packages": {"NetworkManager": [{"arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "1.fc33", "source": "rpm", "version": "1.26.8"}], "NetworkManager-libnm": [{"arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "1.fc33", "source": "rpm", "version": "1.26.8"}], "acl": [{"arch": "x86_64", "epoch": null, "name": "acl", "release": "9.fc33", "source": "rpm", "version": "2.2.53"}], "alternatives": [{"arch": "x86_64", "epoch": null, "name": "alternatives", "release": "3.fc33", "source": "rpm", "version": "1.14"}], "audit": [{"arch": "x86_64", "epoch": null, "name": "audit", "release": "1.fc33", "source": "rpm", "version": "3.0.6"}], "audit-libs": [{"arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "1.fc33", "source": "rpm", "version": "3.0.6"}], "basesystem": [{"arch": "noarch", "epoch": null, "name": "basesystem", "release": "10.fc33", "source": "rpm", "version": "11"}], "bash": [{"arch": "x86_64", "epoch": null, "name": "bash", "release": "2.fc33", "source": "rpm", "version": "5.0.17"}], "bzip2-libs": [{"arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "4.fc33", "source": "rpm", "version": "1.0.8"}], "c-ares": [{"arch": "x86_64", "epoch": null, "name": "c-ares", "release": "1.fc33", "source": "rpm", "version": "1.17.2"}], "ca-certificates": [{"arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "1.0.fc33", "source": "rpm", "version": "2021.2.50"}], "checkpolicy": [{"arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "3.fc33", "source": "rpm", "version": "3.1"}], "chrony": [{"arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.fc33", "source": "rpm", "version": "4.1"}], "cloud-init": [{"arch": "noarch", "epoch": null, "name": "cloud-init", "release": "7.fc33", "source": "rpm", "version": "19.4"}], "cloud-utils-growpart": [{"arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "7.fc33", "source": "rpm", "version": "0.31"}], "console-login-helper-messages": [{"arch": "noarch", "epoch": null, "name": "console-login-helper-messages", "release": "1.fc33", "source": "rpm", "version": "0.21.2"}], "console-login-helper-messages-issuegen": [{"arch": "noarch", "epoch": null, "name": "console-login-helper-messages-issuegen", "release": "1.fc33", "source": "rpm", "version": "0.21.2"}], "console-login-helper-messages-motdgen": [{"arch": "noarch", "epoch": null, "name": "console-login-helper-messages-motdgen", "release": "1.fc33", "source": "rpm", "version": "0.21.2"}], "console-login-helper-messages-profile": [{"arch": "noarch", "epoch": null, "name": "console-login-helper-messages-profile", "release": "1.fc33", "source": "rpm", "version": "0.21.2"}], "coreutils": [{"arch": "x86_64", "epoch": null, "name": "coreutils", "release": "21.fc33", "source": "rpm", "version": "8.32"}], "coreutils-common": [{"arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "21.fc33", "source": "rpm", "version": "8.32"}], "cpio": [{"arch": "x86_64", "epoch": null, "name": "cpio", "release": "8.fc33", "source": "rpm", "version": "2.13"}], "cracklib": [{"arch": "x86_64", "epoch": null, "name": "cracklib", "release": "27.fc33", "source": "rpm", "version": "2.9.6"}], "cracklib-dicts": [{"arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "27.fc33", "source": "rpm", "version": "2.9.6"}], "crypto-policies": [{"arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.git85dccc5.fc33", "source": "rpm", "version": "20200918"}], "crypto-policies-scripts": [{"arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.git85dccc5.fc33", "source": "rpm", "version": "20200918"}], "cryptsetup-libs": [{"arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "1.fc33", "source": "rpm", "version": "2.3.6"}], "curl": [{"arch": "x86_64", "epoch": null, "name": "curl", "release": "11.fc33", "source": "rpm", "version": "7.71.1"}], "cyrus-sasl-lib": [{"arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "6.fc33", "source": "rpm", "version": "2.1.27"}], "dbus": [{"arch": "x86_64", "epoch": 1, "name": "dbus", "release": "2.fc33", "source": "rpm", "version": "1.12.20"}], "dbus-broker": [{"arch": "x86_64", "epoch": null, "name": "dbus-broker", "release": "3.fc33", "source": "rpm", "version": "28"}], "dbus-common": [{"arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "2.fc33", "source": "rpm", "version": "1.12.20"}], "dbus-libs": [{"arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "2.fc33", "source": "rpm", "version": "1.12.20"}], "dejavu-sans-fonts": [{"arch": "noarch", "epoch": null, "name": "dejavu-sans-fonts", "release": "15.fc33", "source": "rpm", "version": "2.37"}], "deltarpm": [{"arch": "x86_64", "epoch": null, "name": "deltarpm", "release": "7.fc33", "source": "rpm", "version": "3.6.2"}], "device-mapper": [{"arch": "x86_64", "epoch": null, "name": "device-mapper", "release": "1.fc33", "source": "rpm", "version": "1.02.173"}], "device-mapper-libs": [{"arch": "x86_64", "epoch": null, "name": "device-mapper-libs", "release": "1.fc33", "source": "rpm", "version": "1.02.173"}], "dhcp-client": [{"arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "9.b1.fc33", "source": "rpm", "version": "4.4.2"}], "dhcp-common": [{"arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "9.b1.fc33", "source": "rpm", "version": "4.4.2"}], "diffutils": [{"arch": "x86_64", "epoch": null, "name": "diffutils", "release": "7.fc33", "source": "rpm", "version": "3.7"}], "dnf": [{"arch": "noarch", "epoch": null, "name": "dnf", "release": "1.fc33", "source": "rpm", "version": "4.9.0"}], "dnf-data": [{"arch": "noarch", "epoch": null, "name": "dnf-data", "release": "1.fc33", "source": "rpm", "version": "4.9.0"}], "dnf-plugins-core": [{"arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "1.fc33", "source": "rpm", "version": "4.0.23"}], "dracut": [{"arch": "x86_64", "epoch": null, "name": "dracut", "release": "3.fc33", "source": "rpm", "version": "055"}], "dracut-config-generic": [{"arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "3.fc33", "source": "rpm", "version": "055"}], "e2fsprogs": [{"arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "4.fc33", "source": "rpm", "version": "1.45.6"}], "e2fsprogs-libs": [{"arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "4.fc33", "source": "rpm", "version": "1.45.6"}], "elfutils-debuginfod-client": [{"arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client", "release": "2.fc33", "source": "rpm", "version": "0.185"}], "elfutils-default-yama-scope": [{"arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "2.fc33", "source": "rpm", "version": "0.185"}], "elfutils-libelf": [{"arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "2.fc33", "source": "rpm", "version": "0.185"}], "elfutils-libs": [{"arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "2.fc33", "source": "rpm", "version": "0.185"}], "expat": [{"arch": "x86_64", "epoch": null, "name": "expat", "release": "1.fc33", "source": "rpm", "version": "2.4.1"}], "fedora-gpg-keys": [{"arch": "noarch", "epoch": null, "name": "fedora-gpg-keys", "release": "5", "source": "rpm", "version": "33"}], "fedora-release-cloud": [{"arch": "noarch", "epoch": null, "name": "fedora-release-cloud", "release": "4", "source": "rpm", "version": "33"}], "fedora-release-common": [{"arch": "noarch", "epoch": null, "name": "fedora-release-common", "release": "4", "source": "rpm", "version": "33"}], "fedora-release-identity-cloud": [{"arch": "noarch", "epoch": null, "name": "fedora-release-identity-cloud", "release": "4", "source": "rpm", "version": "33"}], "fedora-repos": [{"arch": "noarch", "epoch": null, "name": "fedora-repos", "release": "5", "source": "rpm", "version": "33"}], "fedora-repos-modular": [{"arch": "noarch", "epoch": null, "name": "fedora-repos-modular", "release": "5", "source": "rpm", "version": "33"}], "file": [{"arch": "x86_64", "epoch": null, "name": "file", "release": "3.fc33", "source": "rpm", "version": "5.39"}], "file-libs": [{"arch": "x86_64", "epoch": null, "name": "file-libs", "release": "3.fc33", "source": "rpm", "version": "5.39"}], "filesystem": [{"arch": "x86_64", "epoch": null, "name": "filesystem", "release": "3.fc33", "source": "rpm", "version": "3.14"}], "findutils": [{"arch": "x86_64", "epoch": 1, "name": "findutils", "release": "7.fc33", "source": "rpm", "version": "4.7.0"}], "fonts-filesystem": [{"arch": "noarch", "epoch": 1, "name": "fonts-filesystem", "release": "4.fc33", "source": "rpm", "version": "2.0.5"}], "fuse-libs": [{"arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "10.fc33", "source": "rpm", "version": "2.9.9"}], "gawk": [{"arch": "x86_64", "epoch": null, "name": "gawk", "release": "2.fc33", "source": "rpm", "version": "5.1.0"}], "gawk-all-langpacks": [{"arch": "x86_64", "epoch": null, "name": "gawk-all-langpacks", "release": "2.fc33", "source": "rpm", "version": "5.1.0"}], "gdbm-libs": [{"arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "1.fc33", "source": "rpm", "version": "1.19"}], "gettext": [{"arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.fc33", "source": "rpm", "version": "0.21"}], "gettext-libs": [{"arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.fc33", "source": "rpm", "version": "0.21"}], "glib2": [{"arch": "x86_64", "epoch": null, "name": "glib2", "release": "1.fc33", "source": "rpm", "version": "2.66.8"}], "glibc": [{"arch": "x86_64", "epoch": null, "name": "glibc", "release": "10.fc33", "source": "rpm", "version": "2.32"}], "glibc-common": [{"arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "10.fc33", "source": "rpm", "version": "2.32"}], "glibc-langpack-en": [{"arch": "x86_64", "epoch": null, "name": "glibc-langpack-en", "release": "10.fc33", "source": "rpm", "version": "2.32"}], "gmp": [{"arch": "x86_64", "epoch": 1, "name": "gmp", "release": "5.fc33", "source": "rpm", "version": "6.2.0"}], "gnupg2": [{"arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "2.fc33", "source": "rpm", "version": "2.2.25"}], "gnupg2-smime": [{"arch": "x86_64", "epoch": null, "name": "gnupg2-smime", "release": "2.fc33", "source": "rpm", "version": "2.2.25"}], "gnutls": [{"arch": "x86_64", "epoch": null, "name": "gnutls", "release": "1.fc33", "source": "rpm", "version": "3.6.16"}], "gpg-pubkey": [{"arch": null, "epoch": null, "name": "gpg-pubkey", "release": "5e3006fb", "source": "rpm", "version": "9570ff31"}], "gpgme": [{"arch": "x86_64", "epoch": null, "name": "gpgme", "release": "2.fc33", "source": "rpm", "version": "1.14.0"}], "grep": [{"arch": "x86_64", "epoch": null, "name": "grep", "release": "6.fc33", "source": "rpm", "version": "3.4"}], "groff-base": [{"arch": "x86_64", "epoch": null, "name": "groff-base", "release": "4.fc33", "source": "rpm", "version": "1.22.4"}], "grub2-common": [{"arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "2.fc33", "source": "rpm", "version": "2.06~rc1"}], "grub2-pc": [{"arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "2.fc33", "source": "rpm", "version": "2.06~rc1"}], "grub2-pc-modules": [{"arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "2.fc33", "source": "rpm", "version": "2.06~rc1"}], "grub2-tools": [{"arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "2.fc33", "source": "rpm", "version": "2.06~rc1"}], "grub2-tools-minimal": [{"arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "2.fc33", "source": "rpm", "version": "2.06~rc1"}], "grubby": [{"arch": "x86_64", "epoch": null, "name": "grubby", "release": "47.fc33", "source": "rpm", "version": "8.40"}], "gzip": [{"arch": "x86_64", "epoch": null, "name": "gzip", "release": "3.fc33", "source": "rpm", "version": "1.10"}], "hostname": [{"arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.fc33", "source": "rpm", "version": "3.23"}], "hwdata": [{"arch": "noarch", "epoch": null, "name": "hwdata", "release": "1.fc33", "source": "rpm", "version": "0.352"}], "ima-evm-utils": [{"arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "1.fc33", "source": "rpm", "version": "1.3.2"}], "initscripts": [{"arch": "x86_64", "epoch": null, "name": "initscripts", "release": "2.fc33", "source": "rpm", "version": "10.04"}], "ipcalc": [{"arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "2.fc33", "source": "rpm", "version": "0.4.1"}], "iproute": [{"arch": "x86_64", "epoch": null, "name": "iproute", "release": "1.fc33", "source": "rpm", "version": "5.9.0"}], "iproute-tc": [{"arch": "x86_64", "epoch": null, "name": "iproute-tc", "release": "1.fc33", "source": "rpm", "version": "5.9.0"}], "iptables-libs": [{"arch": "x86_64", "epoch": null, "name": "iptables-libs", "release": "6.fc33", "source": "rpm", "version": "1.8.5"}], "iputils": [{"arch": "x86_64", "epoch": null, "name": "iputils", "release": "1.fc33", "source": "rpm", "version": "20200821"}], "jansson": [{"arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.fc33", "source": "rpm", "version": "2.13.1"}], "json-c": [{"arch": "x86_64", "epoch": null, "name": "json-c", "release": "7.fc33", "source": "rpm", "version": "0.14"}], "kbd": [{"arch": "x86_64", "epoch": null, "name": "kbd", "release": "2.fc33", "source": "rpm", "version": "2.3.0"}], "kbd-legacy": [{"arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "2.fc33", "source": "rpm", "version": "2.3.0"}], "kbd-misc": [{"arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "2.fc33", "source": "rpm", "version": "2.3.0"}], "kernel-core": [{"arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "101.fc33", "source": "rpm", "version": "5.14.16"}], "keyutils-libs": [{"arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "1.fc33", "source": "rpm", "version": "1.6.1"}], "kmod": [{"arch": "x86_64", "epoch": null, "name": "kmod", "release": "2.fc33", "source": "rpm", "version": "29"}], "kmod-libs": [{"arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "2.fc33", "source": "rpm", "version": "29"}], "kpartx": [{"arch": "x86_64", "epoch": null, "name": "kpartx", "release": "7.fc33", "source": "rpm", "version": "0.8.4"}], "krb5-libs": [{"arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "31.fc33", "source": "rpm", "version": "1.18.2"}], "langpacks-core-en": [{"arch": "noarch", "epoch": null, "name": "langpacks-core-en", "release": "4.fc33", "source": "rpm", "version": "3.0"}], "langpacks-core-font-en": [{"arch": "noarch", "epoch": null, "name": "langpacks-core-font-en", "release": "4.fc33", "source": "rpm", "version": "3.0"}], "langpacks-en": [{"arch": "noarch", "epoch": null, "name": "langpacks-en", "release": "4.fc33", "source": "rpm", "version": "3.0"}], "less": [{"arch": "x86_64", "epoch": null, "name": "less", "release": "4.fc33", "source": "rpm", "version": "551"}], "libacl": [{"arch": "x86_64", "epoch": null, "name": "libacl", "release": "9.fc33", "source": "rpm", "version": "2.2.53"}], "libarchive": [{"arch": "x86_64", "epoch": null, "name": "libarchive", "release": "1.fc33", "source": "rpm", "version": "3.5.1"}], "libargon2": [{"arch": "x86_64", "epoch": null, "name": "libargon2", "release": "5.fc33", "source": "rpm", "version": "20171227"}], "libassuan": [{"arch": "x86_64", "epoch": null, "name": "libassuan", "release": "4.fc33", "source": "rpm", "version": "2.5.3"}], "libattr": [{"arch": "x86_64", "epoch": null, "name": "libattr", "release": "10.fc33", "source": "rpm", "version": "2.4.48"}], "libbasicobjects": [{"arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "46.fc33", "source": "rpm", "version": "0.1.1"}], "libblkid": [{"arch": "x86_64", "epoch": null, "name": "libblkid", "release": "1.fc33", "source": "rpm", "version": "2.36.1"}], "libbrotli": [{"arch": "x86_64", "epoch": null, "name": "libbrotli", "release": "3.fc33", "source": "rpm", "version": "1.0.9"}], "libcap": [{"arch": "x86_64", "epoch": null, "name": "libcap", "release": "2.fc33", "source": "rpm", "version": "2.48"}], "libcap-ng": [{"arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "1.fc33", "source": "rpm", "version": "0.8"}], "libcbor": [{"arch": "x86_64", "epoch": null, "name": "libcbor", "release": "7.fc33", "source": "rpm", "version": "0.5.0"}], "libcollection": [{"arch": "x86_64", "epoch": null, "name": "libcollection", "release": "46.fc33", "source": "rpm", "version": "0.7.0"}], "libcom_err": [{"arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "4.fc33", "source": "rpm", "version": "1.45.6"}], "libcomps": [{"arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.fc33", "source": "rpm", "version": "0.1.18"}], "libcurl": [{"arch": "x86_64", "epoch": null, "name": "libcurl", "release": "11.fc33", "source": "rpm", "version": "7.71.1"}], "libdb": [{"arch": "x86_64", "epoch": null, "name": "libdb", "release": "45.fc33", "source": "rpm", "version": "5.3.28"}], "libdhash": [{"arch": "x86_64", "epoch": null, "name": "libdhash", "release": "46.fc33", "source": "rpm", "version": "0.5.0"}], "libdnf": [{"arch": "x86_64", "epoch": null, "name": "libdnf", "release": "1.fc33", "source": "rpm", "version": "0.64.0"}], "libeconf": [{"arch": "x86_64", "epoch": null, "name": "libeconf", "release": "1.fc33", "source": "rpm", "version": "0.4.0"}], "libedit": [{"arch": "x86_64", "epoch": null, "name": "libedit", "release": "38.20210714cvs.fc33", "source": "rpm", "version": "3.1"}], "libevent": [{"arch": "x86_64", "epoch": null, "name": "libevent", "release": "10.fc33", "source": "rpm", "version": "2.1.8"}], "libfdisk": [{"arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "1.fc33", "source": "rpm", "version": "2.36.1"}], "libffi": [{"arch": "x86_64", "epoch": null, "name": "libffi", "release": "26.fc33", "source": "rpm", "version": "3.1"}], "libfido2": [{"arch": "x86_64", "epoch": null, "name": "libfido2", "release": "3.fc33", "source": "rpm", "version": "1.4.0"}], "libgcc": [{"arch": "x86_64", "epoch": null, "name": "libgcc", "release": "1.fc33", "source": "rpm", "version": "10.3.1"}], "libgcrypt": [{"arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "1.fc33", "source": "rpm", "version": "1.8.8"}], "libgomp": [{"arch": "x86_64", "epoch": null, "name": "libgomp", "release": "1.fc33", "source": "rpm", "version": "10.3.1"}], "libgpg-error": [{"arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "1.fc33", "source": "rpm", "version": "1.41"}], "libibverbs": [{"arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "1.fc33", "source": "rpm", "version": "35.0"}], "libidn2": [{"arch": "x86_64", "epoch": null, "name": "libidn2", "release": "1.fc33", "source": "rpm", "version": "2.3.2"}], "libini_config": [{"arch": "x86_64", "epoch": null, "name": "libini_config", "release": "46.fc33", "source": "rpm", "version": "1.3.1"}], "libkcapi": [{"arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "1.fc33", "source": "rpm", "version": "1.2.1"}], "libkcapi-hmaccalc": [{"arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "1.fc33", "source": "rpm", "version": "1.2.1"}], "libksba": [{"arch": "x86_64", "epoch": null, "name": "libksba", "release": "13.fc33", "source": "rpm", "version": "1.3.5"}], "libldb": [{"arch": "x86_64", "epoch": null, "name": "libldb", "release": "1.fc33", "source": "rpm", "version": "2.2.2"}], "libmaxminddb": [{"arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "1.fc33", "source": "rpm", "version": "1.5.2"}], "libmnl": [{"arch": "x86_64", "epoch": null, "name": "libmnl", "release": "12.fc33", "source": "rpm", "version": "1.0.4"}], "libmodulemd": [{"arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "2.fc33", "source": "rpm", "version": "2.13.0"}], "libmount": [{"arch": "x86_64", "epoch": null, "name": "libmount", "release": "1.fc33", "source": "rpm", "version": "2.36.1"}], "libndp": [{"arch": "x86_64", "epoch": null, "name": "libndp", "release": "6.fc33", "source": "rpm", "version": "1.7"}], "libnetfilter_conntrack": [{"arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "5.fc33", "source": "rpm", "version": "1.0.7"}], "libnfnetlink": [{"arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "18.fc33", "source": "rpm", "version": "1.0.1"}], "libnfsidmap": [{"arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "2.rc3.fc33", "source": "rpm", "version": "2.5.4"}], "libnghttp2": [{"arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "1.fc33", "source": "rpm", "version": "1.43.0"}], "libnl3": [{"arch": "x86_64", "epoch": null, "name": "libnl3", "release": "5.fc33", "source": "rpm", "version": "3.5.0"}], "libnsl2": [{"arch": "x86_64", "epoch": null, "name": "libnsl2", "release": "8.20180605git4a062cf.fc33", "source": "rpm", "version": "1.2.0"}], "libpath_utils": [{"arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "46.fc33", "source": "rpm", "version": "0.2.1"}], "libpcap": [{"arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "1.fc33", "source": "rpm", "version": "1.10.1"}], "libpipeline": [{"arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "5.fc33", "source": "rpm", "version": "1.5.2"}], "libpsl": [{"arch": "x86_64", "epoch": null, "name": "libpsl", "release": "2.fc33", "source": "rpm", "version": "0.21.1"}], "libpwquality": [{"arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "2.fc33", "source": "rpm", "version": "1.4.4"}], "libref_array": [{"arch": "x86_64", "epoch": null, "name": "libref_array", "release": "46.fc33", "source": "rpm", "version": "0.1.5"}], "librepo": [{"arch": "x86_64", "epoch": null, "name": "librepo", "release": "1.fc33", "source": "rpm", "version": "1.14.2"}], "libreport-filesystem": [{"arch": "noarch", "epoch": null, "name": "libreport-filesystem", "release": "2.fc33", "source": "rpm", "version": "2.15.2"}], "libseccomp": [{"arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "3.fc33", "source": "rpm", "version": "2.5.0"}], "libsecret": [{"arch": "x86_64", "epoch": null, "name": "libsecret", "release": "1.fc33", "source": "rpm", "version": "0.20.4"}], "libselinux": [{"arch": "x86_64", "epoch": null, "name": "libselinux", "release": "2.fc33", "source": "rpm", "version": "3.1"}], "libselinux-utils": [{"arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "2.fc33", "source": "rpm", "version": "3.1"}], "libsemanage": [{"arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "2.fc33", "source": "rpm", "version": "3.1"}], "libsepol": [{"arch": "x86_64", "epoch": null, "name": "libsepol", "release": "3.fc33", "source": "rpm", "version": "3.1"}], "libsigsegv": [{"arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "11.fc33", "source": "rpm", "version": "2.11"}], "libsmartcols": [{"arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "1.fc33", "source": "rpm", "version": "2.36.1"}], "libsolv": [{"arch": "x86_64", "epoch": null, "name": "libsolv", "release": "1.fc33", "source": "rpm", "version": "0.7.17"}], "libss": [{"arch": "x86_64", "epoch": null, "name": "libss", "release": "4.fc33", "source": "rpm", "version": "1.45.6"}], "libssh": [{"arch": "x86_64", "epoch": null, "name": "libssh", "release": "1.fc33", "source": "rpm", "version": "0.9.6"}], "libssh-config": [{"arch": "noarch", "epoch": null, "name": "libssh-config", "release": "1.fc33", "source": "rpm", "version": "0.9.6"}], "libsss_autofs": [{"arch": "x86_64", "epoch": null, "name": "libsss_autofs", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "libsss_certmap": [{"arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "libsss_idmap": [{"arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "libsss_nss_idmap": [{"arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "libsss_sudo": [{"arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "libstdc++": [{"arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "1.fc33", "source": "rpm", "version": "10.3.1"}], "libtalloc": [{"arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "5.fc33", "source": "rpm", "version": "2.3.1"}], "libtasn1": [{"arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "3.fc33", "source": "rpm", "version": "4.16.0"}], "libtdb": [{"arch": "x86_64", "epoch": null, "name": "libtdb", "release": "5.fc33", "source": "rpm", "version": "1.4.3"}], "libtevent": [{"arch": "x86_64", "epoch": null, "name": "libtevent", "release": "5.fc33", "source": "rpm", "version": "0.10.2"}], "libtextstyle": [{"arch": "x86_64", "epoch": null, "name": "libtextstyle", "release": "3.fc33", "source": "rpm", "version": "0.21"}], "libtirpc": [{"arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "4.rc4.fc33", "source": "rpm", "version": "1.2.6"}], "libunistring": [{"arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.fc33", "source": "rpm", "version": "0.9.10"}], "libusbx": [{"arch": "x86_64", "epoch": null, "name": "libusbx", "release": "2.fc33", "source": "rpm", "version": "1.0.24"}], "libuser": [{"arch": "x86_64", "epoch": null, "name": "libuser", "release": "26.fc33", "source": "rpm", "version": "0.62"}], "libutempter": [{"arch": "x86_64", "epoch": null, "name": "libutempter", "release": "2.fc33", "source": "rpm", "version": "1.2.1"}], "libuuid": [{"arch": "x86_64", "epoch": null, "name": "libuuid", "release": "1.fc33", "source": "rpm", "version": "2.36.1"}], "libverto": [{"arch": "x86_64", "epoch": null, "name": "libverto", "release": "10.fc33", "source": "rpm", "version": "0.3.0"}], "libxcrypt": [{"arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "2.fc33", "source": "rpm", "version": "4.4.26"}], "libxcrypt-compat": [{"arch": "x86_64", "epoch": null, "name": "libxcrypt-compat", "release": "2.fc33", "source": "rpm", "version": "4.4.26"}], "libxkbcommon": [{"arch": "x86_64", "epoch": null, "name": "libxkbcommon", "release": "1.fc33", "source": "rpm", "version": "1.0.1"}], "libxml2": [{"arch": "x86_64", "epoch": null, "name": "libxml2", "release": "4.fc33", "source": "rpm", "version": "2.9.12"}], "libyaml": [{"arch": "x86_64", "epoch": null, "name": "libyaml", "release": "3.fc33", "source": "rpm", "version": "0.2.5"}], "libzstd": [{"arch": "x86_64", "epoch": null, "name": "libzstd", "release": "1.fc33", "source": "rpm", "version": "1.5.0"}], "linux-atm-libs": [{"arch": "x86_64", "epoch": null, "name": "linux-atm-libs", "release": "27.fc33", "source": "rpm", "version": "2.5.1"}], "linux-firmware-whence": [{"arch": "noarch", "epoch": null, "name": "linux-firmware-whence", "release": "122.fc33", "source": "rpm", "version": "20210818"}], "lmdb-libs": [{"arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "1.fc33", "source": "rpm", "version": "0.9.28"}], "lua-libs": [{"arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "1.fc33", "source": "rpm", "version": "5.4.3"}], "lz4-libs": [{"arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "3.fc33", "source": "rpm", "version": "1.9.1"}], "man-db": [{"arch": "x86_64", "epoch": null, "name": "man-db", "release": "6.fc33", "source": "rpm", "version": "2.9.2"}], "memstrack": [{"arch": "x86_64", "epoch": null, "name": "memstrack", "release": "1.fc33", "source": "rpm", "version": "0.1.9"}], "mkpasswd": [{"arch": "x86_64", "epoch": null, "name": "mkpasswd", "release": "1.fc33", "source": "rpm", "version": "5.5.10"}], "mpfr": [{"arch": "x86_64", "epoch": null, "name": "mpfr", "release": "7.fc33", "source": "rpm", "version": "4.1.0"}], "mtools": [{"arch": "x86_64", "epoch": null, "name": "mtools", "release": "1.fc33", "source": "rpm", "version": "4.0.35"}], "ncurses": [{"arch": "x86_64", "epoch": null, "name": "ncurses", "release": "3.20200222.fc33", "source": "rpm", "version": "6.2"}], "ncurses-base": [{"arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "3.20200222.fc33", "source": "rpm", "version": "6.2"}], "ncurses-libs": [{"arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "3.20200222.fc33", "source": "rpm", "version": "6.2"}], "net-tools": [{"arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.58.20160912git.fc33", "source": "rpm", "version": "2.0"}], "nettle": [{"arch": "x86_64", "epoch": null, "name": "nettle", "release": "3.fc33", "source": "rpm", "version": "3.6"}], "npth": [{"arch": "x86_64", "epoch": null, "name": "npth", "release": "5.fc33", "source": "rpm", "version": "1.6"}], "openldap": [{"arch": "x86_64", "epoch": null, "name": "openldap", "release": "5.fc33", "source": "rpm", "version": "2.4.50"}], "openssh": [{"arch": "x86_64", "epoch": null, "name": "openssh", "release": "8.fc33", "source": "rpm", "version": "8.4p1"}], "openssh-clients": [{"arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "8.fc33", "source": "rpm", "version": "8.4p1"}], "openssh-server": [{"arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "8.fc33", "source": "rpm", "version": "8.4p1"}], "openssl-libs": [{"arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "2.fc33", "source": "rpm", "version": "1.1.1l"}], "openssl-pkcs11": [{"arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "7.fc33", "source": "rpm", "version": "0.4.10"}], "os-prober": [{"arch": "x86_64", "epoch": null, "name": "os-prober", "release": "6.fc33", "source": "rpm", "version": "1.77"}], "p11-kit": [{"arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "2.fc33", "source": "rpm", "version": "0.23.22"}], "p11-kit-trust": [{"arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "2.fc33", "source": "rpm", "version": "0.23.22"}], "pam": [{"arch": "x86_64", "epoch": null, "name": "pam", "release": "11.fc33", "source": "rpm", "version": "1.4.0"}], "parted": [{"arch": "x86_64", "epoch": null, "name": "parted", "release": "5.fc33", "source": "rpm", "version": "3.3"}], "passwd": [{"arch": "x86_64", "epoch": null, "name": "passwd", "release": "9.fc33", "source": "rpm", "version": "0.80"}], "pciutils": [{"arch": "x86_64", "epoch": null, "name": "pciutils", "release": "3.fc33", "source": "rpm", "version": "3.7.0"}], "pciutils-libs": [{"arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.fc33", "source": "rpm", "version": "3.7.0"}], "pcre": [{"arch": "x86_64", "epoch": null, "name": "pcre", "release": "2.fc33", "source": "rpm", "version": "8.44"}], "pcre2": [{"arch": "x86_64", "epoch": null, "name": "pcre2", "release": "4.fc33", "source": "rpm", "version": "10.36"}], "pcre2-syntax": [{"arch": "noarch", "epoch": null, "name": "pcre2-syntax", "release": "4.fc33", "source": "rpm", "version": "10.36"}], "pigz": [{"arch": "x86_64", "epoch": null, "name": "pigz", "release": "7.fc33", "source": "rpm", "version": "2.4"}], "pinentry": [{"arch": "x86_64", "epoch": null, "name": "pinentry", "release": "9.fc33", "source": "rpm", "version": "1.1.0"}], "policycoreutils": [{"arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "4.fc33", "source": "rpm", "version": "3.1"}], "popt": [{"arch": "x86_64", "epoch": null, "name": "popt", "release": "2.fc33", "source": "rpm", "version": "1.18"}], "procps-ng": [{"arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "2.fc33", "source": "rpm", "version": "3.3.16"}], "protobuf-c": [{"arch": "x86_64", "epoch": null, "name": "protobuf-c", "release": "3.fc33", "source": "rpm", "version": "1.3.3"}], "psmisc": [{"arch": "x86_64", "epoch": null, "name": "psmisc", "release": "4.fc33", "source": "rpm", "version": "23.3"}], "publicsuffix-list-dafsa": [{"arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "4.fc33", "source": "rpm", "version": "20190417"}], "python-pip-wheel": [{"arch": "noarch", "epoch": null, "name": "python-pip-wheel", "release": "4.fc33", "source": "rpm", "version": "20.2.2"}], "python-setuptools-wheel": [{"arch": "noarch", "epoch": null, "name": "python-setuptools-wheel", "release": "2.fc33", "source": "rpm", "version": "49.1.3"}], "python-unversioned-command": [{"arch": "noarch", "epoch": null, "name": "python-unversioned-command", "release": "1.fc33", "source": "rpm", "version": "3.9.7"}], "python3": [{"arch": "x86_64", "epoch": null, "name": "python3", "release": "1.fc33", "source": "rpm", "version": "3.9.7"}], "python3-attrs": [{"arch": "noarch", "epoch": null, "name": "python3-attrs", "release": "5.fc33", "source": "rpm", "version": "19.3.0"}], "python3-audit": [{"arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "1.fc33", "source": "rpm", "version": "3.0.6"}], "python3-babel": [{"arch": "noarch", "epoch": null, "name": "python3-babel", "release": "2.fc33", "source": "rpm", "version": "2.8.1"}], "python3-cffi": [{"arch": "x86_64", "epoch": null, "name": "python3-cffi", "release": "1.fc33", "source": "rpm", "version": "1.14.1"}], "python3-chardet": [{"arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "18.fc33", "source": "rpm", "version": "3.0.4"}], "python3-configobj": [{"arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "22.fc33", "source": "rpm", "version": "5.0.6"}], "python3-cryptography": [{"arch": "x86_64", "epoch": null, "name": "python3-cryptography", "release": "2.fc33", "source": "rpm", "version": "3.2.1"}], "python3-dateutil": [{"arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "2.fc33", "source": "rpm", "version": "2.8.1"}], "python3-dbus": [{"arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "3.fc33", "source": "rpm", "version": "1.2.16"}], "python3-distro": [{"arch": "noarch", "epoch": null, "name": "python3-distro", "release": "4.fc33", "source": "rpm", "version": "1.5.0"}], "python3-dnf": [{"arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "1.fc33", "source": "rpm", "version": "4.9.0"}], "python3-dnf-plugins-core": [{"arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "1.fc33", "source": "rpm", "version": "4.0.23"}], "python3-gpg": [{"arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "2.fc33", "source": "rpm", "version": "1.14.0"}], "python3-hawkey": [{"arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "1.fc33", "source": "rpm", "version": "0.64.0"}], "python3-idna": [{"arch": "noarch", "epoch": null, "name": "python3-idna", "release": "2.fc33", "source": "rpm", "version": "2.10"}], "python3-jinja2": [{"arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "1.fc33", "source": "rpm", "version": "2.11.3"}], "python3-jsonpatch": [{"arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "13.fc33", "source": "rpm", "version": "1.21"}], "python3-jsonpointer": [{"arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "1.fc33", "source": "rpm", "version": "2.0"}], "python3-jsonschema": [{"arch": "noarch", "epoch": null, "name": "python3-jsonschema", "release": "8.fc33", "source": "rpm", "version": "3.2.0"}], "python3-jwt": [{"arch": "noarch", "epoch": null, "name": "python3-jwt", "release": "10.fc33", "source": "rpm", "version": "1.7.1"}], "python3-jwt+crypto": [{"arch": "noarch", "epoch": null, "name": "python3-jwt+crypto", "release": "10.fc33", "source": "rpm", "version": "1.7.1"}], "python3-libcomps": [{"arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.fc33", "source": "rpm", "version": "0.1.18"}], "python3-libdnf": [{"arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "1.fc33", "source": "rpm", "version": "0.64.0"}], "python3-libs": [{"arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "1.fc33", "source": "rpm", "version": "3.9.7"}], "python3-libselinux": [{"arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "2.fc33", "source": "rpm", "version": "3.1"}], "python3-libsemanage": [{"arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "2.fc33", "source": "rpm", "version": "3.1"}], "python3-markupsafe": [{"arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "7.fc33", "source": "rpm", "version": "1.1.1"}], "python3-oauthlib": [{"arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "8.fc33", "source": "rpm", "version": "3.0.2"}], "python3-oauthlib+signedtoken": [{"arch": "noarch", "epoch": null, "name": "python3-oauthlib+signedtoken", "release": "8.fc33", "source": "rpm", "version": "3.0.2"}], "python3-pip": [{"arch": "noarch", "epoch": null, "name": "python3-pip", "release": "4.fc33", "source": "rpm", "version": "20.2.2"}], "python3-ply": [{"arch": "noarch", "epoch": null, "name": "python3-ply", "release": "9.fc33", "source": "rpm", "version": "3.11"}], "python3-policycoreutils": [{"arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "4.fc33", "source": "rpm", "version": "3.1"}], "python3-prettytable": [{"arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "24.fc33", "source": "rpm", "version": "0.7.2"}], "python3-pycparser": [{"arch": "noarch", "epoch": null, "name": "python3-pycparser", "release": "2.fc33", "source": "rpm", "version": "2.20"}], "python3-pyrsistent": [{"arch": "x86_64", "epoch": null, "name": "python3-pyrsistent", "release": "3.fc33", "source": "rpm", "version": "0.16.1"}], "python3-pyserial": [{"arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "9.fc33", "source": "rpm", "version": "3.4"}], "python3-pysocks": [{"arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "7.fc33", "source": "rpm", "version": "1.7.1"}], "python3-pytz": [{"arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "1.fc33", "source": "rpm", "version": "2020.5"}], "python3-pyyaml": [{"arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "1.fc33", "source": "rpm", "version": "5.4.1"}], "python3-requests": [{"arch": "noarch", "epoch": null, "name": "python3-requests", "release": "3.fc33", "source": "rpm", "version": "2.24.0"}], "python3-rpm": [{"arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "1.fc33", "source": "rpm", "version": "4.16.1.3"}], "python3-setools": [{"arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "5.fc33", "source": "rpm", "version": "4.3.0"}], "python3-setuptools": [{"arch": "noarch", "epoch": null, "name": "python3-setuptools", "release": "2.fc33", "source": "rpm", "version": "49.1.3"}], "python3-six": [{"arch": "noarch", "epoch": null, "name": "python3-six", "release": "2.fc33", "source": "rpm", "version": "1.15.0"}], "python3-unbound": [{"arch": "x86_64", "epoch": null, "name": "python3-unbound", "release": "1.fc33", "source": "rpm", "version": "1.13.1"}], "python3-urllib3": [{"arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "5.fc33", "source": "rpm", "version": "1.25.8"}], "qrencode-libs": [{"arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "6.fc33", "source": "rpm", "version": "4.0.2"}], "rdma-core": [{"arch": "x86_64", "epoch": null, "name": "rdma-core", "release": "1.fc33", "source": "rpm", "version": "35.0"}], "readline": [{"arch": "x86_64", "epoch": null, "name": "readline", "release": "5.fc33", "source": "rpm", "version": "8.0"}], "rootfiles": [{"arch": "noarch", "epoch": null, "name": "rootfiles", "release": "28.fc33", "source": "rpm", "version": "8.1"}], "rpm": [{"arch": "x86_64", "epoch": null, "name": "rpm", "release": "1.fc33", "source": "rpm", "version": "4.16.1.3"}], "rpm-build-libs": [{"arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "1.fc33", "source": "rpm", "version": "4.16.1.3"}], "rpm-libs": [{"arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "1.fc33", "source": "rpm", "version": "4.16.1.3"}], "rpm-plugin-selinux": [{"arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "1.fc33", "source": "rpm", "version": "4.16.1.3"}], "rpm-plugin-systemd-inhibit": [{"arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "1.fc33", "source": "rpm", "version": "4.16.1.3"}], "rpm-sign-libs": [{"arch": "x86_64", "epoch": null, "name": "rpm-sign-libs", "release": "1.fc33", "source": "rpm", "version": "4.16.1.3"}], "rsync": [{"arch": "x86_64", "epoch": null, "name": "rsync", "release": "3.fc33", "source": "rpm", "version": "3.2.3"}], "sed": [{"arch": "x86_64", "epoch": null, "name": "sed", "release": "5.fc33", "source": "rpm", "version": "4.8"}], "selinux-policy": [{"arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "39.fc33", "source": "rpm", "version": "3.14.6"}], "selinux-policy-targeted": [{"arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "39.fc33", "source": "rpm", "version": "3.14.6"}], "setup": [{"arch": "noarch", "epoch": null, "name": "setup", "release": "2.fc33", "source": "rpm", "version": "2.13.7"}], "shadow-utils": [{"arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "7.fc33", "source": "rpm", "version": "4.8.1"}], "shared-mime-info": [{"arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "3.fc33", "source": "rpm", "version": "2.0"}], "sqlite-libs": [{"arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "1.fc33", "source": "rpm", "version": "3.34.1"}], "sssd-client": [{"arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "sssd-common": [{"arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "sssd-kcm": [{"arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "sssd-nfs-idmap": [{"arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "sudo": [{"arch": "x86_64", "epoch": null, "name": "sudo", "release": "1.fc33", "source": "rpm", "version": "1.9.5p2"}], "sudo-python-plugin": [{"arch": "x86_64", "epoch": null, "name": "sudo-python-plugin", "release": "1.fc33", "source": "rpm", "version": "1.9.5p2"}], "syslinux": [{"arch": "x86_64", "epoch": null, "name": "syslinux", "release": "0.16.fc33", "source": "rpm", "version": "6.04"}], "syslinux-extlinux": [{"arch": "x86_64", "epoch": null, "name": "syslinux-extlinux", "release": "0.16.fc33", "source": "rpm", "version": "6.04"}], "syslinux-extlinux-nonlinux": [{"arch": "noarch", "epoch": null, "name": "syslinux-extlinux-nonlinux", "release": "0.16.fc33", "source": "rpm", "version": "6.04"}], "syslinux-nonlinux": [{"arch": "noarch", "epoch": null, "name": "syslinux-nonlinux", "release": "0.16.fc33", "source": "rpm", "version": "6.04"}], "systemd": [{"arch": "x86_64", "epoch": null, "name": "systemd", "release": "1.fc33", "source": "rpm", "version": "246.15"}], "systemd-libs": [{"arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "1.fc33", "source": "rpm", "version": "246.15"}], "systemd-networkd": [{"arch": "x86_64", "epoch": null, "name": "systemd-networkd", "release": "1.fc33", "source": "rpm", "version": "246.15"}], "systemd-pam": [{"arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "1.fc33", "source": "rpm", "version": "246.15"}], "systemd-rpm-macros": [{"arch": "noarch", "epoch": null, "name": "systemd-rpm-macros", "release": "1.fc33", "source": "rpm", "version": "246.15"}], "systemd-udev": [{"arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "1.fc33", "source": "rpm", "version": "246.15"}], "tar": [{"arch": "x86_64", "epoch": 2, "name": "tar", "release": "6.fc33", "source": "rpm", "version": "1.32"}], "tpm2-tss": [{"arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "1.fc33", "source": "rpm", "version": "3.0.4"}], "trousers": [{"arch": "x86_64", "epoch": null, "name": "trousers", "release": "4.fc33", "source": "rpm", "version": "0.3.14"}], "trousers-lib": [{"arch": "x86_64", "epoch": null, "name": "trousers-lib", "release": "4.fc33", "source": "rpm", "version": "0.3.14"}], "tzdata": [{"arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.fc33", "source": "rpm", "version": "2021c"}], "unbound-libs": [{"arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "1.fc33", "source": "rpm", "version": "1.13.1"}], "util-linux": [{"arch": "x86_64", "epoch": null, "name": "util-linux", "release": "1.fc33", "source": "rpm", "version": "2.36.1"}], "vim-minimal": [{"arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "1.fc33", "source": "rpm", "version": "8.2.3512"}], "which": [{"arch": "x86_64", "epoch": null, "name": "which", "release": "20.fc33", "source": "rpm", "version": "2.21"}], "whois-nls": [{"arch": "noarch", "epoch": null, "name": "whois-nls", "release": "1.fc33", "source": "rpm", "version": "5.5.10"}], "xfsprogs": [{"arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "1.fc33", "source": "rpm", "version": "5.7.0"}], "xkeyboard-config": [{"arch": "noarch", "epoch": null, "name": "xkeyboard-config", "release": "3.fc33", "source": "rpm", "version": "2.30"}], "xz": [{"arch": "x86_64", "epoch": null, "name": "xz", "release": "4.fc33", "source": "rpm", "version": "5.2.5"}], "xz-libs": [{"arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "4.fc33", "source": "rpm", "version": "5.2.5"}], "yum": [{"arch": "noarch", "epoch": null, "name": "yum", "release": "1.fc33", "source": "rpm", "version": "4.9.0"}], "zchunk-libs": [{"arch": "x86_64", "epoch": null, "name": "zchunk-libs", "release": "1.fc33", "source": "rpm", "version": "1.1.15"}], "zlib": [{"arch": "x86_64", "epoch": null, "name": "zlib", "release": "23.fc33", "source": "rpm", "version": "1.2.11"}]}}, "changed": false} TASK [Assert NetworkManager-team removed before team configuration] ************ task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_team_plugin_installation.yml:14 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [Team interface configuration] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_team_plugin_installation.yml:20 TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: libdaemon-0.14-20.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64", "Installed: NetworkManager-team-1:1.26.8-1.fc33.x86_64", "Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: libnl3-cli-3.5.0-5.fc33.x86_64", "Installed: teamd-1.31-2.fc33.x86_64", "Installed: libteam-1.31-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"interface_name": "team0", "name": "team0", "persistent_state": "present", "type": "team"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[002] #0, state:None persistent_state:present, 'team0': add connection team0, abdc421f-4f74-4824-8912-1231f281244f\n", "stderr_lines": ["[002] #0, state:None persistent_state:present, 'team0': add connection team0, abdc421f-4f74-4824-8912-1231f281244f"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'team0': add connection team0, abdc421f-4f74-4824-8912-1231f281244f" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "interface_name": "team0", "name": "team0", "persistent_state": "present", "type": "team" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'team0': add connection team0, abdc421f-4f74-4824-8912-1231f281244f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'team0': add connection team0, abdc421f-4f74-4824-8912-1231f281244f" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [get the rpm package facts] *********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_team_plugin_installation.yml:31 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"packages": {"NetworkManager": [{"arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "1.fc33", "source": "rpm", "version": "1.26.8"}], "NetworkManager-libnm": [{"arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "1.fc33", "source": "rpm", "version": "1.26.8"}], "NetworkManager-team": [{"arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "1.fc33", "source": "rpm", "version": "1.26.8"}], "acl": [{"arch": "x86_64", "epoch": null, "name": "acl", "release": "9.fc33", "source": "rpm", "version": "2.2.53"}], "alternatives": [{"arch": "x86_64", "epoch": null, "name": "alternatives", "release": "3.fc33", "source": "rpm", "version": "1.14"}], "audit": [{"arch": "x86_64", "epoch": null, "name": "audit", "release": "1.fc33", "source": "rpm", "version": "3.0.6"}], "audit-libs": [{"arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "1.fc33", "source": "rpm", "version": "3.0.6"}], "basesystem": [{"arch": "noarch", "epoch": null, "name": "basesystem", "release": "10.fc33", "source": "rpm", "version": "11"}], "bash": [{"arch": "x86_64", "epoch": null, "name": "bash", "release": "2.fc33", "source": "rpm", "version": "5.0.17"}], "bzip2-libs": [{"arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "4.fc33", "source": "rpm", "version": "1.0.8"}], "c-ares": [{"arch": "x86_64", "epoch": null, "name": "c-ares", "release": "1.fc33", "source": "rpm", "version": "1.17.2"}], "ca-certificates": [{"arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "1.0.fc33", "source": "rpm", "version": "2021.2.50"}], "checkpolicy": [{"arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "3.fc33", "source": "rpm", "version": "3.1"}], "chrony": [{"arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.fc33", "source": "rpm", "version": "4.1"}], "cloud-init": [{"arch": "noarch", "epoch": null, "name": "cloud-init", "release": "7.fc33", "source": "rpm", "version": "19.4"}], "cloud-utils-growpart": [{"arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "7.fc33", "source": "rpm", "version": "0.31"}], "console-login-helper-messages": [{"arch": "noarch", "epoch": null, "name": "console-login-helper-messages", "release": "1.fc33", "source": "rpm", "version": "0.21.2"}], "console-login-helper-messages-issuegen": [{"arch": "noarch", "epoch": null, "name": "console-login-helper-messages-issuegen", "release": "1.fc33", "source": "rpm", "version": "0.21.2"}], "console-login-helper-messages-motdgen": [{"arch": "noarch", "epoch": null, "name": "console-login-helper-messages-motdgen", "release": "1.fc33", "source": "rpm", "version": "0.21.2"}], "console-login-helper-messages-profile": [{"arch": "noarch", "epoch": null, "name": "console-login-helper-messages-profile", "release": "1.fc33", "source": "rpm", "version": "0.21.2"}], "coreutils": [{"arch": "x86_64", "epoch": null, "name": "coreutils", "release": "21.fc33", "source": "rpm", "version": "8.32"}], "coreutils-common": [{"arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "21.fc33", "source": "rpm", "version": "8.32"}], "cpio": [{"arch": "x86_64", "epoch": null, "name": "cpio", "release": "8.fc33", "source": "rpm", "version": "2.13"}], "cracklib": [{"arch": "x86_64", "epoch": null, "name": "cracklib", "release": "27.fc33", "source": "rpm", "version": "2.9.6"}], "cracklib-dicts": [{"arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "27.fc33", "source": "rpm", "version": "2.9.6"}], "crypto-policies": [{"arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.git85dccc5.fc33", "source": "rpm", "version": "20200918"}], "crypto-policies-scripts": [{"arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.git85dccc5.fc33", "source": "rpm", "version": "20200918"}], "cryptsetup-libs": [{"arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "1.fc33", "source": "rpm", "version": "2.3.6"}], "curl": [{"arch": "x86_64", "epoch": null, "name": "curl", "release": "11.fc33", "source": "rpm", "version": "7.71.1"}], "cyrus-sasl-lib": [{"arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "6.fc33", "source": "rpm", "version": "2.1.27"}], "dbus": [{"arch": "x86_64", "epoch": 1, "name": "dbus", "release": "2.fc33", "source": "rpm", "version": "1.12.20"}], "dbus-broker": [{"arch": "x86_64", "epoch": null, "name": "dbus-broker", "release": "3.fc33", "source": "rpm", "version": "28"}], "dbus-common": [{"arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "2.fc33", "source": "rpm", "version": "1.12.20"}], "dbus-libs": [{"arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "2.fc33", "source": "rpm", "version": "1.12.20"}], "dejavu-sans-fonts": [{"arch": "noarch", "epoch": null, "name": "dejavu-sans-fonts", "release": "15.fc33", "source": "rpm", "version": "2.37"}], "deltarpm": [{"arch": "x86_64", "epoch": null, "name": "deltarpm", "release": "7.fc33", "source": "rpm", "version": "3.6.2"}], "device-mapper": [{"arch": "x86_64", "epoch": null, "name": "device-mapper", "release": "1.fc33", "source": "rpm", "version": "1.02.173"}], "device-mapper-libs": [{"arch": "x86_64", "epoch": null, "name": "device-mapper-libs", "release": "1.fc33", "source": "rpm", "version": "1.02.173"}], "dhcp-client": [{"arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "9.b1.fc33", "source": "rpm", "version": "4.4.2"}], "dhcp-common": [{"arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "9.b1.fc33", "source": "rpm", "version": "4.4.2"}], "diffutils": [{"arch": "x86_64", "epoch": null, "name": "diffutils", "release": "7.fc33", "source": "rpm", "version": "3.7"}], "dnf": [{"arch": "noarch", "epoch": null, "name": "dnf", "release": "1.fc33", "source": "rpm", "version": "4.9.0"}], "dnf-data": [{"arch": "noarch", "epoch": null, "name": "dnf-data", "release": "1.fc33", "source": "rpm", "version": "4.9.0"}], "dnf-plugins-core": [{"arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "1.fc33", "source": "rpm", "version": "4.0.23"}], "dracut": [{"arch": "x86_64", "epoch": null, "name": "dracut", "release": "3.fc33", "source": "rpm", "version": "055"}], "dracut-config-generic": [{"arch": "x86_64", "epoch": null, "name": "dracut-config-generic", "release": "3.fc33", "source": "rpm", "version": "055"}], "e2fsprogs": [{"arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "4.fc33", "source": "rpm", "version": "1.45.6"}], "e2fsprogs-libs": [{"arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "4.fc33", "source": "rpm", "version": "1.45.6"}], "elfutils-debuginfod-client": [{"arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client", "release": "2.fc33", "source": "rpm", "version": "0.185"}], "elfutils-default-yama-scope": [{"arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "2.fc33", "source": "rpm", "version": "0.185"}], "elfutils-libelf": [{"arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "2.fc33", "source": "rpm", "version": "0.185"}], "elfutils-libs": [{"arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "2.fc33", "source": "rpm", "version": "0.185"}], "expat": [{"arch": "x86_64", "epoch": null, "name": "expat", "release": "1.fc33", "source": "rpm", "version": "2.4.1"}], "fedora-gpg-keys": [{"arch": "noarch", "epoch": null, "name": "fedora-gpg-keys", "release": "5", "source": "rpm", "version": "33"}], "fedora-release-cloud": [{"arch": "noarch", "epoch": null, "name": "fedora-release-cloud", "release": "4", "source": "rpm", "version": "33"}], "fedora-release-common": [{"arch": "noarch", "epoch": null, "name": "fedora-release-common", "release": "4", "source": "rpm", "version": "33"}], "fedora-release-identity-cloud": [{"arch": "noarch", "epoch": null, "name": "fedora-release-identity-cloud", "release": "4", "source": "rpm", "version": "33"}], "fedora-repos": [{"arch": "noarch", "epoch": null, "name": "fedora-repos", "release": "5", "source": "rpm", "version": "33"}], "fedora-repos-modular": [{"arch": "noarch", "epoch": null, "name": "fedora-repos-modular", "release": "5", "source": "rpm", "version": "33"}], "file": [{"arch": "x86_64", "epoch": null, "name": "file", "release": "3.fc33", "source": "rpm", "version": "5.39"}], "file-libs": [{"arch": "x86_64", "epoch": null, "name": "file-libs", "release": "3.fc33", "source": "rpm", "version": "5.39"}], "filesystem": [{"arch": "x86_64", "epoch": null, "name": "filesystem", "release": "3.fc33", "source": "rpm", "version": "3.14"}], "findutils": [{"arch": "x86_64", "epoch": 1, "name": "findutils", "release": "7.fc33", "source": "rpm", "version": "4.7.0"}], "fonts-filesystem": [{"arch": "noarch", "epoch": 1, "name": "fonts-filesystem", "release": "4.fc33", "source": "rpm", "version": "2.0.5"}], "fuse-libs": [{"arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "10.fc33", "source": "rpm", "version": "2.9.9"}], "gawk": [{"arch": "x86_64", "epoch": null, "name": "gawk", "release": "2.fc33", "source": "rpm", "version": "5.1.0"}], "gawk-all-langpacks": [{"arch": "x86_64", "epoch": null, "name": "gawk-all-langpacks", "release": "2.fc33", "source": "rpm", "version": "5.1.0"}], "gdbm-libs": [{"arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "1.fc33", "source": "rpm", "version": "1.19"}], "gettext": [{"arch": "x86_64", "epoch": null, "name": "gettext", "release": "3.fc33", "source": "rpm", "version": "0.21"}], "gettext-libs": [{"arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "3.fc33", "source": "rpm", "version": "0.21"}], "glib2": [{"arch": "x86_64", "epoch": null, "name": "glib2", "release": "1.fc33", "source": "rpm", "version": "2.66.8"}], "glibc": [{"arch": "x86_64", "epoch": null, "name": "glibc", "release": "10.fc33", "source": "rpm", "version": "2.32"}], "glibc-common": [{"arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "10.fc33", "source": "rpm", "version": "2.32"}], "glibc-langpack-en": [{"arch": "x86_64", "epoch": null, "name": "glibc-langpack-en", "release": "10.fc33", "source": "rpm", "version": "2.32"}], "gmp": [{"arch": "x86_64", "epoch": 1, "name": "gmp", "release": "5.fc33", "source": "rpm", "version": "6.2.0"}], "gnupg2": [{"arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "2.fc33", "source": "rpm", "version": "2.2.25"}], "gnupg2-smime": [{"arch": "x86_64", "epoch": null, "name": "gnupg2-smime", "release": "2.fc33", "source": "rpm", "version": "2.2.25"}], "gnutls": [{"arch": "x86_64", "epoch": null, "name": "gnutls", "release": "1.fc33", "source": "rpm", "version": "3.6.16"}], "gobject-introspection": [{"arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.fc33", "source": "rpm", "version": "1.66.1"}], "gpg-pubkey": [{"arch": null, "epoch": null, "name": "gpg-pubkey", "release": "5e3006fb", "source": "rpm", "version": "9570ff31"}], "gpgme": [{"arch": "x86_64", "epoch": null, "name": "gpgme", "release": "2.fc33", "source": "rpm", "version": "1.14.0"}], "grep": [{"arch": "x86_64", "epoch": null, "name": "grep", "release": "6.fc33", "source": "rpm", "version": "3.4"}], "groff-base": [{"arch": "x86_64", "epoch": null, "name": "groff-base", "release": "4.fc33", "source": "rpm", "version": "1.22.4"}], "grub2-common": [{"arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "2.fc33", "source": "rpm", "version": "2.06~rc1"}], "grub2-pc": [{"arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "2.fc33", "source": "rpm", "version": "2.06~rc1"}], "grub2-pc-modules": [{"arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "2.fc33", "source": "rpm", "version": "2.06~rc1"}], "grub2-tools": [{"arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "2.fc33", "source": "rpm", "version": "2.06~rc1"}], "grub2-tools-minimal": [{"arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "2.fc33", "source": "rpm", "version": "2.06~rc1"}], "grubby": [{"arch": "x86_64", "epoch": null, "name": "grubby", "release": "47.fc33", "source": "rpm", "version": "8.40"}], "gzip": [{"arch": "x86_64", "epoch": null, "name": "gzip", "release": "3.fc33", "source": "rpm", "version": "1.10"}], "hostname": [{"arch": "x86_64", "epoch": null, "name": "hostname", "release": "3.fc33", "source": "rpm", "version": "3.23"}], "hwdata": [{"arch": "noarch", "epoch": null, "name": "hwdata", "release": "1.fc33", "source": "rpm", "version": "0.352"}], "ima-evm-utils": [{"arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "1.fc33", "source": "rpm", "version": "1.3.2"}], "initscripts": [{"arch": "x86_64", "epoch": null, "name": "initscripts", "release": "2.fc33", "source": "rpm", "version": "10.04"}], "ipcalc": [{"arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "2.fc33", "source": "rpm", "version": "0.4.1"}], "iproute": [{"arch": "x86_64", "epoch": null, "name": "iproute", "release": "1.fc33", "source": "rpm", "version": "5.9.0"}], "iproute-tc": [{"arch": "x86_64", "epoch": null, "name": "iproute-tc", "release": "1.fc33", "source": "rpm", "version": "5.9.0"}], "iptables-libs": [{"arch": "x86_64", "epoch": null, "name": "iptables-libs", "release": "6.fc33", "source": "rpm", "version": "1.8.5"}], "iputils": [{"arch": "x86_64", "epoch": null, "name": "iputils", "release": "1.fc33", "source": "rpm", "version": "20200821"}], "jansson": [{"arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.fc33", "source": "rpm", "version": "2.13.1"}], "json-c": [{"arch": "x86_64", "epoch": null, "name": "json-c", "release": "7.fc33", "source": "rpm", "version": "0.14"}], "kbd": [{"arch": "x86_64", "epoch": null, "name": "kbd", "release": "2.fc33", "source": "rpm", "version": "2.3.0"}], "kbd-legacy": [{"arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "2.fc33", "source": "rpm", "version": "2.3.0"}], "kbd-misc": [{"arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "2.fc33", "source": "rpm", "version": "2.3.0"}], "kernel-core": [{"arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "101.fc33", "source": "rpm", "version": "5.14.16"}], "keyutils-libs": [{"arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "1.fc33", "source": "rpm", "version": "1.6.1"}], "kmod": [{"arch": "x86_64", "epoch": null, "name": "kmod", "release": "2.fc33", "source": "rpm", "version": "29"}], "kmod-libs": [{"arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "2.fc33", "source": "rpm", "version": "29"}], "kpartx": [{"arch": "x86_64", "epoch": null, "name": "kpartx", "release": "7.fc33", "source": "rpm", "version": "0.8.4"}], "krb5-libs": [{"arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "31.fc33", "source": "rpm", "version": "1.18.2"}], "langpacks-core-en": [{"arch": "noarch", "epoch": null, "name": "langpacks-core-en", "release": "4.fc33", "source": "rpm", "version": "3.0"}], "langpacks-core-font-en": [{"arch": "noarch", "epoch": null, "name": "langpacks-core-font-en", "release": "4.fc33", "source": "rpm", "version": "3.0"}], "langpacks-en": [{"arch": "noarch", "epoch": null, "name": "langpacks-en", "release": "4.fc33", "source": "rpm", "version": "3.0"}], "less": [{"arch": "x86_64", "epoch": null, "name": "less", "release": "4.fc33", "source": "rpm", "version": "551"}], "libacl": [{"arch": "x86_64", "epoch": null, "name": "libacl", "release": "9.fc33", "source": "rpm", "version": "2.2.53"}], "libarchive": [{"arch": "x86_64", "epoch": null, "name": "libarchive", "release": "1.fc33", "source": "rpm", "version": "3.5.1"}], "libargon2": [{"arch": "x86_64", "epoch": null, "name": "libargon2", "release": "5.fc33", "source": "rpm", "version": "20171227"}], "libassuan": [{"arch": "x86_64", "epoch": null, "name": "libassuan", "release": "4.fc33", "source": "rpm", "version": "2.5.3"}], "libattr": [{"arch": "x86_64", "epoch": null, "name": "libattr", "release": "10.fc33", "source": "rpm", "version": "2.4.48"}], "libbasicobjects": [{"arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "46.fc33", "source": "rpm", "version": "0.1.1"}], "libblkid": [{"arch": "x86_64", "epoch": null, "name": "libblkid", "release": "1.fc33", "source": "rpm", "version": "2.36.1"}], "libbrotli": [{"arch": "x86_64", "epoch": null, "name": "libbrotli", "release": "3.fc33", "source": "rpm", "version": "1.0.9"}], "libcap": [{"arch": "x86_64", "epoch": null, "name": "libcap", "release": "2.fc33", "source": "rpm", "version": "2.48"}], "libcap-ng": [{"arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "1.fc33", "source": "rpm", "version": "0.8"}], "libcbor": [{"arch": "x86_64", "epoch": null, "name": "libcbor", "release": "7.fc33", "source": "rpm", "version": "0.5.0"}], "libcollection": [{"arch": "x86_64", "epoch": null, "name": "libcollection", "release": "46.fc33", "source": "rpm", "version": "0.7.0"}], "libcom_err": [{"arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "4.fc33", "source": "rpm", "version": "1.45.6"}], "libcomps": [{"arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.fc33", "source": "rpm", "version": "0.1.18"}], "libcurl": [{"arch": "x86_64", "epoch": null, "name": "libcurl", "release": "11.fc33", "source": "rpm", "version": "7.71.1"}], "libdaemon": [{"arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "20.fc33", "source": "rpm", "version": "0.14"}], "libdb": [{"arch": "x86_64", "epoch": null, "name": "libdb", "release": "45.fc33", "source": "rpm", "version": "5.3.28"}], "libdhash": [{"arch": "x86_64", "epoch": null, "name": "libdhash", "release": "46.fc33", "source": "rpm", "version": "0.5.0"}], "libdnf": [{"arch": "x86_64", "epoch": null, "name": "libdnf", "release": "1.fc33", "source": "rpm", "version": "0.64.0"}], "libeconf": [{"arch": "x86_64", "epoch": null, "name": "libeconf", "release": "1.fc33", "source": "rpm", "version": "0.4.0"}], "libedit": [{"arch": "x86_64", "epoch": null, "name": "libedit", "release": "38.20210714cvs.fc33", "source": "rpm", "version": "3.1"}], "libevent": [{"arch": "x86_64", "epoch": null, "name": "libevent", "release": "10.fc33", "source": "rpm", "version": "2.1.8"}], "libfdisk": [{"arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "1.fc33", "source": "rpm", "version": "2.36.1"}], "libffi": [{"arch": "x86_64", "epoch": null, "name": "libffi", "release": "26.fc33", "source": "rpm", "version": "3.1"}], "libfido2": [{"arch": "x86_64", "epoch": null, "name": "libfido2", "release": "3.fc33", "source": "rpm", "version": "1.4.0"}], "libgcc": [{"arch": "x86_64", "epoch": null, "name": "libgcc", "release": "1.fc33", "source": "rpm", "version": "10.3.1"}], "libgcrypt": [{"arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "1.fc33", "source": "rpm", "version": "1.8.8"}], "libgomp": [{"arch": "x86_64", "epoch": null, "name": "libgomp", "release": "1.fc33", "source": "rpm", "version": "10.3.1"}], "libgpg-error": [{"arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "1.fc33", "source": "rpm", "version": "1.41"}], "libibverbs": [{"arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "1.fc33", "source": "rpm", "version": "35.0"}], "libidn2": [{"arch": "x86_64", "epoch": null, "name": "libidn2", "release": "1.fc33", "source": "rpm", "version": "2.3.2"}], "libini_config": [{"arch": "x86_64", "epoch": null, "name": "libini_config", "release": "46.fc33", "source": "rpm", "version": "1.3.1"}], "libkcapi": [{"arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "1.fc33", "source": "rpm", "version": "1.2.1"}], "libkcapi-hmaccalc": [{"arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "1.fc33", "source": "rpm", "version": "1.2.1"}], "libksba": [{"arch": "x86_64", "epoch": null, "name": "libksba", "release": "13.fc33", "source": "rpm", "version": "1.3.5"}], "libldb": [{"arch": "x86_64", "epoch": null, "name": "libldb", "release": "1.fc33", "source": "rpm", "version": "2.2.2"}], "libmaxminddb": [{"arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "1.fc33", "source": "rpm", "version": "1.5.2"}], "libmnl": [{"arch": "x86_64", "epoch": null, "name": "libmnl", "release": "12.fc33", "source": "rpm", "version": "1.0.4"}], "libmodulemd": [{"arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "2.fc33", "source": "rpm", "version": "2.13.0"}], "libmount": [{"arch": "x86_64", "epoch": null, "name": "libmount", "release": "1.fc33", "source": "rpm", "version": "2.36.1"}], "libndp": [{"arch": "x86_64", "epoch": null, "name": "libndp", "release": "6.fc33", "source": "rpm", "version": "1.7"}], "libnetfilter_conntrack": [{"arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "5.fc33", "source": "rpm", "version": "1.0.7"}], "libnfnetlink": [{"arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "18.fc33", "source": "rpm", "version": "1.0.1"}], "libnfsidmap": [{"arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "2.rc3.fc33", "source": "rpm", "version": "2.5.4"}], "libnghttp2": [{"arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "1.fc33", "source": "rpm", "version": "1.43.0"}], "libnl3": [{"arch": "x86_64", "epoch": null, "name": "libnl3", "release": "5.fc33", "source": "rpm", "version": "3.5.0"}], "libnl3-cli": [{"arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "5.fc33", "source": "rpm", "version": "3.5.0"}], "libnsl2": [{"arch": "x86_64", "epoch": null, "name": "libnsl2", "release": "8.20180605git4a062cf.fc33", "source": "rpm", "version": "1.2.0"}], "libpath_utils": [{"arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "46.fc33", "source": "rpm", "version": "0.2.1"}], "libpcap": [{"arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "1.fc33", "source": "rpm", "version": "1.10.1"}], "libpipeline": [{"arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "5.fc33", "source": "rpm", "version": "1.5.2"}], "libpsl": [{"arch": "x86_64", "epoch": null, "name": "libpsl", "release": "2.fc33", "source": "rpm", "version": "0.21.1"}], "libpwquality": [{"arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "2.fc33", "source": "rpm", "version": "1.4.4"}], "libref_array": [{"arch": "x86_64", "epoch": null, "name": "libref_array", "release": "46.fc33", "source": "rpm", "version": "0.1.5"}], "librepo": [{"arch": "x86_64", "epoch": null, "name": "librepo", "release": "1.fc33", "source": "rpm", "version": "1.14.2"}], "libreport-filesystem": [{"arch": "noarch", "epoch": null, "name": "libreport-filesystem", "release": "2.fc33", "source": "rpm", "version": "2.15.2"}], "libseccomp": [{"arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "3.fc33", "source": "rpm", "version": "2.5.0"}], "libsecret": [{"arch": "x86_64", "epoch": null, "name": "libsecret", "release": "1.fc33", "source": "rpm", "version": "0.20.4"}], "libselinux": [{"arch": "x86_64", "epoch": null, "name": "libselinux", "release": "2.fc33", "source": "rpm", "version": "3.1"}], "libselinux-utils": [{"arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "2.fc33", "source": "rpm", "version": "3.1"}], "libsemanage": [{"arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "2.fc33", "source": "rpm", "version": "3.1"}], "libsepol": [{"arch": "x86_64", "epoch": null, "name": "libsepol", "release": "3.fc33", "source": "rpm", "version": "3.1"}], "libsigsegv": [{"arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "11.fc33", "source": "rpm", "version": "2.11"}], "libsmartcols": [{"arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "1.fc33", "source": "rpm", "version": "2.36.1"}], "libsolv": [{"arch": "x86_64", "epoch": null, "name": "libsolv", "release": "1.fc33", "source": "rpm", "version": "0.7.17"}], "libss": [{"arch": "x86_64", "epoch": null, "name": "libss", "release": "4.fc33", "source": "rpm", "version": "1.45.6"}], "libssh": [{"arch": "x86_64", "epoch": null, "name": "libssh", "release": "1.fc33", "source": "rpm", "version": "0.9.6"}], "libssh-config": [{"arch": "noarch", "epoch": null, "name": "libssh-config", "release": "1.fc33", "source": "rpm", "version": "0.9.6"}], "libsss_autofs": [{"arch": "x86_64", "epoch": null, "name": "libsss_autofs", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "libsss_certmap": [{"arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "libsss_idmap": [{"arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "libsss_nss_idmap": [{"arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "libsss_sudo": [{"arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "libstdc++": [{"arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "1.fc33", "source": "rpm", "version": "10.3.1"}], "libtalloc": [{"arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "5.fc33", "source": "rpm", "version": "2.3.1"}], "libtasn1": [{"arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "3.fc33", "source": "rpm", "version": "4.16.0"}], "libtdb": [{"arch": "x86_64", "epoch": null, "name": "libtdb", "release": "5.fc33", "source": "rpm", "version": "1.4.3"}], "libteam": [{"arch": "x86_64", "epoch": null, "name": "libteam", "release": "2.fc33", "source": "rpm", "version": "1.31"}], "libtevent": [{"arch": "x86_64", "epoch": null, "name": "libtevent", "release": "5.fc33", "source": "rpm", "version": "0.10.2"}], "libtextstyle": [{"arch": "x86_64", "epoch": null, "name": "libtextstyle", "release": "3.fc33", "source": "rpm", "version": "0.21"}], "libtirpc": [{"arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "4.rc4.fc33", "source": "rpm", "version": "1.2.6"}], "libunistring": [{"arch": "x86_64", "epoch": null, "name": "libunistring", "release": "9.fc33", "source": "rpm", "version": "0.9.10"}], "libusbx": [{"arch": "x86_64", "epoch": null, "name": "libusbx", "release": "2.fc33", "source": "rpm", "version": "1.0.24"}], "libuser": [{"arch": "x86_64", "epoch": null, "name": "libuser", "release": "26.fc33", "source": "rpm", "version": "0.62"}], "libutempter": [{"arch": "x86_64", "epoch": null, "name": "libutempter", "release": "2.fc33", "source": "rpm", "version": "1.2.1"}], "libuuid": [{"arch": "x86_64", "epoch": null, "name": "libuuid", "release": "1.fc33", "source": "rpm", "version": "2.36.1"}], "libverto": [{"arch": "x86_64", "epoch": null, "name": "libverto", "release": "10.fc33", "source": "rpm", "version": "0.3.0"}], "libxcrypt": [{"arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "2.fc33", "source": "rpm", "version": "4.4.26"}], "libxcrypt-compat": [{"arch": "x86_64", "epoch": null, "name": "libxcrypt-compat", "release": "2.fc33", "source": "rpm", "version": "4.4.26"}], "libxkbcommon": [{"arch": "x86_64", "epoch": null, "name": "libxkbcommon", "release": "1.fc33", "source": "rpm", "version": "1.0.1"}], "libxml2": [{"arch": "x86_64", "epoch": null, "name": "libxml2", "release": "4.fc33", "source": "rpm", "version": "2.9.12"}], "libyaml": [{"arch": "x86_64", "epoch": null, "name": "libyaml", "release": "3.fc33", "source": "rpm", "version": "0.2.5"}], "libzstd": [{"arch": "x86_64", "epoch": null, "name": "libzstd", "release": "1.fc33", "source": "rpm", "version": "1.5.0"}], "linux-atm-libs": [{"arch": "x86_64", "epoch": null, "name": "linux-atm-libs", "release": "27.fc33", "source": "rpm", "version": "2.5.1"}], "linux-firmware-whence": [{"arch": "noarch", "epoch": null, "name": "linux-firmware-whence", "release": "122.fc33", "source": "rpm", "version": "20210818"}], "lmdb-libs": [{"arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "1.fc33", "source": "rpm", "version": "0.9.28"}], "lua-libs": [{"arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "1.fc33", "source": "rpm", "version": "5.4.3"}], "lz4-libs": [{"arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "3.fc33", "source": "rpm", "version": "1.9.1"}], "man-db": [{"arch": "x86_64", "epoch": null, "name": "man-db", "release": "6.fc33", "source": "rpm", "version": "2.9.2"}], "memstrack": [{"arch": "x86_64", "epoch": null, "name": "memstrack", "release": "1.fc33", "source": "rpm", "version": "0.1.9"}], "mkpasswd": [{"arch": "x86_64", "epoch": null, "name": "mkpasswd", "release": "1.fc33", "source": "rpm", "version": "5.5.10"}], "mpfr": [{"arch": "x86_64", "epoch": null, "name": "mpfr", "release": "7.fc33", "source": "rpm", "version": "4.1.0"}], "mtools": [{"arch": "x86_64", "epoch": null, "name": "mtools", "release": "1.fc33", "source": "rpm", "version": "4.0.35"}], "ncurses": [{"arch": "x86_64", "epoch": null, "name": "ncurses", "release": "3.20200222.fc33", "source": "rpm", "version": "6.2"}], "ncurses-base": [{"arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "3.20200222.fc33", "source": "rpm", "version": "6.2"}], "ncurses-libs": [{"arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "3.20200222.fc33", "source": "rpm", "version": "6.2"}], "net-tools": [{"arch": "x86_64", "epoch": null, "name": "net-tools", "release": "0.58.20160912git.fc33", "source": "rpm", "version": "2.0"}], "nettle": [{"arch": "x86_64", "epoch": null, "name": "nettle", "release": "3.fc33", "source": "rpm", "version": "3.6"}], "npth": [{"arch": "x86_64", "epoch": null, "name": "npth", "release": "5.fc33", "source": "rpm", "version": "1.6"}], "openldap": [{"arch": "x86_64", "epoch": null, "name": "openldap", "release": "5.fc33", "source": "rpm", "version": "2.4.50"}], "openssh": [{"arch": "x86_64", "epoch": null, "name": "openssh", "release": "8.fc33", "source": "rpm", "version": "8.4p1"}], "openssh-clients": [{"arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "8.fc33", "source": "rpm", "version": "8.4p1"}], "openssh-server": [{"arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "8.fc33", "source": "rpm", "version": "8.4p1"}], "openssl-libs": [{"arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "2.fc33", "source": "rpm", "version": "1.1.1l"}], "openssl-pkcs11": [{"arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "7.fc33", "source": "rpm", "version": "0.4.10"}], "os-prober": [{"arch": "x86_64", "epoch": null, "name": "os-prober", "release": "6.fc33", "source": "rpm", "version": "1.77"}], "p11-kit": [{"arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "2.fc33", "source": "rpm", "version": "0.23.22"}], "p11-kit-trust": [{"arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "2.fc33", "source": "rpm", "version": "0.23.22"}], "pam": [{"arch": "x86_64", "epoch": null, "name": "pam", "release": "11.fc33", "source": "rpm", "version": "1.4.0"}], "parted": [{"arch": "x86_64", "epoch": null, "name": "parted", "release": "5.fc33", "source": "rpm", "version": "3.3"}], "passwd": [{"arch": "x86_64", "epoch": null, "name": "passwd", "release": "9.fc33", "source": "rpm", "version": "0.80"}], "pciutils": [{"arch": "x86_64", "epoch": null, "name": "pciutils", "release": "3.fc33", "source": "rpm", "version": "3.7.0"}], "pciutils-libs": [{"arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "3.fc33", "source": "rpm", "version": "3.7.0"}], "pcre": [{"arch": "x86_64", "epoch": null, "name": "pcre", "release": "2.fc33", "source": "rpm", "version": "8.44"}], "pcre2": [{"arch": "x86_64", "epoch": null, "name": "pcre2", "release": "4.fc33", "source": "rpm", "version": "10.36"}], "pcre2-syntax": [{"arch": "noarch", "epoch": null, "name": "pcre2-syntax", "release": "4.fc33", "source": "rpm", "version": "10.36"}], "pigz": [{"arch": "x86_64", "epoch": null, "name": "pigz", "release": "7.fc33", "source": "rpm", "version": "2.4"}], "pinentry": [{"arch": "x86_64", "epoch": null, "name": "pinentry", "release": "9.fc33", "source": "rpm", "version": "1.1.0"}], "policycoreutils": [{"arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "4.fc33", "source": "rpm", "version": "3.1"}], "popt": [{"arch": "x86_64", "epoch": null, "name": "popt", "release": "2.fc33", "source": "rpm", "version": "1.18"}], "procps-ng": [{"arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "2.fc33", "source": "rpm", "version": "3.3.16"}], "protobuf-c": [{"arch": "x86_64", "epoch": null, "name": "protobuf-c", "release": "3.fc33", "source": "rpm", "version": "1.3.3"}], "psmisc": [{"arch": "x86_64", "epoch": null, "name": "psmisc", "release": "4.fc33", "source": "rpm", "version": "23.3"}], "publicsuffix-list-dafsa": [{"arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "4.fc33", "source": "rpm", "version": "20190417"}], "python-pip-wheel": [{"arch": "noarch", "epoch": null, "name": "python-pip-wheel", "release": "4.fc33", "source": "rpm", "version": "20.2.2"}], "python-setuptools-wheel": [{"arch": "noarch", "epoch": null, "name": "python-setuptools-wheel", "release": "2.fc33", "source": "rpm", "version": "49.1.3"}], "python-unversioned-command": [{"arch": "noarch", "epoch": null, "name": "python-unversioned-command", "release": "1.fc33", "source": "rpm", "version": "3.9.7"}], "python3": [{"arch": "x86_64", "epoch": null, "name": "python3", "release": "1.fc33", "source": "rpm", "version": "3.9.7"}], "python3-attrs": [{"arch": "noarch", "epoch": null, "name": "python3-attrs", "release": "5.fc33", "source": "rpm", "version": "19.3.0"}], "python3-audit": [{"arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "1.fc33", "source": "rpm", "version": "3.0.6"}], "python3-babel": [{"arch": "noarch", "epoch": null, "name": "python3-babel", "release": "2.fc33", "source": "rpm", "version": "2.8.1"}], "python3-cffi": [{"arch": "x86_64", "epoch": null, "name": "python3-cffi", "release": "1.fc33", "source": "rpm", "version": "1.14.1"}], "python3-chardet": [{"arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "18.fc33", "source": "rpm", "version": "3.0.4"}], "python3-configobj": [{"arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "22.fc33", "source": "rpm", "version": "5.0.6"}], "python3-cryptography": [{"arch": "x86_64", "epoch": null, "name": "python3-cryptography", "release": "2.fc33", "source": "rpm", "version": "3.2.1"}], "python3-dateutil": [{"arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "2.fc33", "source": "rpm", "version": "2.8.1"}], "python3-dbus": [{"arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "3.fc33", "source": "rpm", "version": "1.2.16"}], "python3-distro": [{"arch": "noarch", "epoch": null, "name": "python3-distro", "release": "4.fc33", "source": "rpm", "version": "1.5.0"}], "python3-dnf": [{"arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "1.fc33", "source": "rpm", "version": "4.9.0"}], "python3-dnf-plugins-core": [{"arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "1.fc33", "source": "rpm", "version": "4.0.23"}], "python3-gobject-base": [{"arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "2.fc33", "source": "rpm", "version": "3.38.0"}], "python3-gpg": [{"arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "2.fc33", "source": "rpm", "version": "1.14.0"}], "python3-hawkey": [{"arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "1.fc33", "source": "rpm", "version": "0.64.0"}], "python3-idna": [{"arch": "noarch", "epoch": null, "name": "python3-idna", "release": "2.fc33", "source": "rpm", "version": "2.10"}], "python3-jinja2": [{"arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "1.fc33", "source": "rpm", "version": "2.11.3"}], "python3-jsonpatch": [{"arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "13.fc33", "source": "rpm", "version": "1.21"}], "python3-jsonpointer": [{"arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "1.fc33", "source": "rpm", "version": "2.0"}], "python3-jsonschema": [{"arch": "noarch", "epoch": null, "name": "python3-jsonschema", "release": "8.fc33", "source": "rpm", "version": "3.2.0"}], "python3-jwt": [{"arch": "noarch", "epoch": null, "name": "python3-jwt", "release": "10.fc33", "source": "rpm", "version": "1.7.1"}], "python3-jwt+crypto": [{"arch": "noarch", "epoch": null, "name": "python3-jwt+crypto", "release": "10.fc33", "source": "rpm", "version": "1.7.1"}], "python3-libcomps": [{"arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.fc33", "source": "rpm", "version": "0.1.18"}], "python3-libdnf": [{"arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "1.fc33", "source": "rpm", "version": "0.64.0"}], "python3-libs": [{"arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "1.fc33", "source": "rpm", "version": "3.9.7"}], "python3-libselinux": [{"arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "2.fc33", "source": "rpm", "version": "3.1"}], "python3-libsemanage": [{"arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "2.fc33", "source": "rpm", "version": "3.1"}], "python3-markupsafe": [{"arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "7.fc33", "source": "rpm", "version": "1.1.1"}], "python3-oauthlib": [{"arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "8.fc33", "source": "rpm", "version": "3.0.2"}], "python3-oauthlib+signedtoken": [{"arch": "noarch", "epoch": null, "name": "python3-oauthlib+signedtoken", "release": "8.fc33", "source": "rpm", "version": "3.0.2"}], "python3-pip": [{"arch": "noarch", "epoch": null, "name": "python3-pip", "release": "4.fc33", "source": "rpm", "version": "20.2.2"}], "python3-ply": [{"arch": "noarch", "epoch": null, "name": "python3-ply", "release": "9.fc33", "source": "rpm", "version": "3.11"}], "python3-policycoreutils": [{"arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "4.fc33", "source": "rpm", "version": "3.1"}], "python3-prettytable": [{"arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "24.fc33", "source": "rpm", "version": "0.7.2"}], "python3-pycparser": [{"arch": "noarch", "epoch": null, "name": "python3-pycparser", "release": "2.fc33", "source": "rpm", "version": "2.20"}], "python3-pyrsistent": [{"arch": "x86_64", "epoch": null, "name": "python3-pyrsistent", "release": "3.fc33", "source": "rpm", "version": "0.16.1"}], "python3-pyserial": [{"arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "9.fc33", "source": "rpm", "version": "3.4"}], "python3-pysocks": [{"arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "7.fc33", "source": "rpm", "version": "1.7.1"}], "python3-pytz": [{"arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "1.fc33", "source": "rpm", "version": "2020.5"}], "python3-pyyaml": [{"arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "1.fc33", "source": "rpm", "version": "5.4.1"}], "python3-requests": [{"arch": "noarch", "epoch": null, "name": "python3-requests", "release": "3.fc33", "source": "rpm", "version": "2.24.0"}], "python3-rpm": [{"arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "1.fc33", "source": "rpm", "version": "4.16.1.3"}], "python3-setools": [{"arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "5.fc33", "source": "rpm", "version": "4.3.0"}], "python3-setuptools": [{"arch": "noarch", "epoch": null, "name": "python3-setuptools", "release": "2.fc33", "source": "rpm", "version": "49.1.3"}], "python3-six": [{"arch": "noarch", "epoch": null, "name": "python3-six", "release": "2.fc33", "source": "rpm", "version": "1.15.0"}], "python3-unbound": [{"arch": "x86_64", "epoch": null, "name": "python3-unbound", "release": "1.fc33", "source": "rpm", "version": "1.13.1"}], "python3-urllib3": [{"arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "5.fc33", "source": "rpm", "version": "1.25.8"}], "qrencode-libs": [{"arch": "x86_64", "epoch": null, "name": "qrencode-libs", "release": "6.fc33", "source": "rpm", "version": "4.0.2"}], "rdma-core": [{"arch": "x86_64", "epoch": null, "name": "rdma-core", "release": "1.fc33", "source": "rpm", "version": "35.0"}], "readline": [{"arch": "x86_64", "epoch": null, "name": "readline", "release": "5.fc33", "source": "rpm", "version": "8.0"}], "rootfiles": [{"arch": "noarch", "epoch": null, "name": "rootfiles", "release": "28.fc33", "source": "rpm", "version": "8.1"}], "rpm": [{"arch": "x86_64", "epoch": null, "name": "rpm", "release": "1.fc33", "source": "rpm", "version": "4.16.1.3"}], "rpm-build-libs": [{"arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "1.fc33", "source": "rpm", "version": "4.16.1.3"}], "rpm-libs": [{"arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "1.fc33", "source": "rpm", "version": "4.16.1.3"}], "rpm-plugin-selinux": [{"arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "1.fc33", "source": "rpm", "version": "4.16.1.3"}], "rpm-plugin-systemd-inhibit": [{"arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "1.fc33", "source": "rpm", "version": "4.16.1.3"}], "rpm-sign-libs": [{"arch": "x86_64", "epoch": null, "name": "rpm-sign-libs", "release": "1.fc33", "source": "rpm", "version": "4.16.1.3"}], "rsync": [{"arch": "x86_64", "epoch": null, "name": "rsync", "release": "3.fc33", "source": "rpm", "version": "3.2.3"}], "sed": [{"arch": "x86_64", "epoch": null, "name": "sed", "release": "5.fc33", "source": "rpm", "version": "4.8"}], "selinux-policy": [{"arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "39.fc33", "source": "rpm", "version": "3.14.6"}], "selinux-policy-targeted": [{"arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "39.fc33", "source": "rpm", "version": "3.14.6"}], "setup": [{"arch": "noarch", "epoch": null, "name": "setup", "release": "2.fc33", "source": "rpm", "version": "2.13.7"}], "shadow-utils": [{"arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "7.fc33", "source": "rpm", "version": "4.8.1"}], "shared-mime-info": [{"arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "3.fc33", "source": "rpm", "version": "2.0"}], "sqlite-libs": [{"arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "1.fc33", "source": "rpm", "version": "3.34.1"}], "sssd-client": [{"arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "sssd-common": [{"arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "sssd-kcm": [{"arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "sssd-nfs-idmap": [{"arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "2.fc33", "source": "rpm", "version": "2.5.1"}], "sudo": [{"arch": "x86_64", "epoch": null, "name": "sudo", "release": "1.fc33", "source": "rpm", "version": "1.9.5p2"}], "sudo-python-plugin": [{"arch": "x86_64", "epoch": null, "name": "sudo-python-plugin", "release": "1.fc33", "source": "rpm", "version": "1.9.5p2"}], "syslinux": [{"arch": "x86_64", "epoch": null, "name": "syslinux", "release": "0.16.fc33", "source": "rpm", "version": "6.04"}], "syslinux-extlinux": [{"arch": "x86_64", "epoch": null, "name": "syslinux-extlinux", "release": "0.16.fc33", "source": "rpm", "version": "6.04"}], "syslinux-extlinux-nonlinux": [{"arch": "noarch", "epoch": null, "name": "syslinux-extlinux-nonlinux", "release": "0.16.fc33", "source": "rpm", "version": "6.04"}], "syslinux-nonlinux": [{"arch": "noarch", "epoch": null, "name": "syslinux-nonlinux", "release": "0.16.fc33", "source": "rpm", "version": "6.04"}], "systemd": [{"arch": "x86_64", "epoch": null, "name": "systemd", "release": "1.fc33", "source": "rpm", "version": "246.15"}], "systemd-libs": [{"arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "1.fc33", "source": "rpm", "version": "246.15"}], "systemd-networkd": [{"arch": "x86_64", "epoch": null, "name": "systemd-networkd", "release": "1.fc33", "source": "rpm", "version": "246.15"}], "systemd-pam": [{"arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "1.fc33", "source": "rpm", "version": "246.15"}], "systemd-rpm-macros": [{"arch": "noarch", "epoch": null, "name": "systemd-rpm-macros", "release": "1.fc33", "source": "rpm", "version": "246.15"}], "systemd-udev": [{"arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "1.fc33", "source": "rpm", "version": "246.15"}], "tar": [{"arch": "x86_64", "epoch": 2, "name": "tar", "release": "6.fc33", "source": "rpm", "version": "1.32"}], "teamd": [{"arch": "x86_64", "epoch": null, "name": "teamd", "release": "2.fc33", "source": "rpm", "version": "1.31"}], "tpm2-tss": [{"arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "1.fc33", "source": "rpm", "version": "3.0.4"}], "trousers": [{"arch": "x86_64", "epoch": null, "name": "trousers", "release": "4.fc33", "source": "rpm", "version": "0.3.14"}], "trousers-lib": [{"arch": "x86_64", "epoch": null, "name": "trousers-lib", "release": "4.fc33", "source": "rpm", "version": "0.3.14"}], "tzdata": [{"arch": "noarch", "epoch": null, "name": "tzdata", "release": "1.fc33", "source": "rpm", "version": "2021c"}], "unbound-libs": [{"arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "1.fc33", "source": "rpm", "version": "1.13.1"}], "util-linux": [{"arch": "x86_64", "epoch": null, "name": "util-linux", "release": "1.fc33", "source": "rpm", "version": "2.36.1"}], "vim-minimal": [{"arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "1.fc33", "source": "rpm", "version": "8.2.3512"}], "which": [{"arch": "x86_64", "epoch": null, "name": "which", "release": "20.fc33", "source": "rpm", "version": "2.21"}], "whois-nls": [{"arch": "noarch", "epoch": null, "name": "whois-nls", "release": "1.fc33", "source": "rpm", "version": "5.5.10"}], "xfsprogs": [{"arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "1.fc33", "source": "rpm", "version": "5.7.0"}], "xkeyboard-config": [{"arch": "noarch", "epoch": null, "name": "xkeyboard-config", "release": "3.fc33", "source": "rpm", "version": "2.30"}], "xz": [{"arch": "x86_64", "epoch": null, "name": "xz", "release": "4.fc33", "source": "rpm", "version": "5.2.5"}], "xz-libs": [{"arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "4.fc33", "source": "rpm", "version": "5.2.5"}], "yum": [{"arch": "noarch", "epoch": null, "name": "yum", "release": "1.fc33", "source": "rpm", "version": "4.9.0"}], "zchunk-libs": [{"arch": "x86_64", "epoch": null, "name": "zchunk-libs", "release": "1.fc33", "source": "rpm", "version": "1.1.15"}], "zlib": [{"arch": "x86_64", "epoch": null, "name": "zlib", "release": "23.fc33", "source": "rpm", "version": "1.2.11"}]}}, "changed": false} TASK [Assert NetworkManager-team is installed after team configuration] ******** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_team_plugin_installation.yml:35 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=20 changed=2 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_unit.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_unit.yml ******************************************************* 2 plays in /tmp/tmpmd5a3eg6/tests/tests_unit.yml PLAY [Setup for test running] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:6 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Install dependencies] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:8 ok: [/cache/fedora-33.qcow2] => (item=NetworkManager-libnm) => {"ansible_loop_var": "item", "changed": false, "item": "NetworkManager-libnm", "msg": "Nothing to do", "rc": 0, "results": []} failed: [/cache/fedora-33.qcow2] (item=python2-gobject-base) => {"ansible_loop_var": "item", "changed": false, "failures": ["No package python2-gobject-base available."], "item": "python2-gobject-base", "msg": "Failed to install some of the specified packages", "rc": 1, "results": []} changed: [/cache/fedora-33.qcow2] => (item=python3-gobject-base) => {"ansible_loop_var": "item", "changed": true, "item": "python3-gobject-base", "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} ok: [/cache/fedora-33.qcow2] => (item=python-gobject-base) => {"ansible_loop_var": "item", "changed": false, "item": "python-gobject-base", "msg": "Nothing to do", "rc": 0, "results": []} failed: [/cache/fedora-33.qcow2] (item=python2-mock) => {"ansible_loop_var": "item", "changed": false, "failures": ["No package python2-mock available."], "item": "python2-mock", "msg": "Failed to install some of the specified packages", "rc": 1, "results": []} ...ignoring META: ran handlers META: ran handlers PLAY [execute python unit tests] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:21 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [create tempdir for code to test] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:25 changed: [/cache/fedora-33.qcow2] => {"changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsrtest_gy2a3a8s", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0} TASK [get tempfile for tar] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:31 changed: [/cache/fedora-33.qcow2 -> localhost] => {"changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/lsrtest_00dmx0ov.tar", "size": 0, "state": "file", "uid": 0} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:38 included: /tmp/tmpmd5a3eg6/tests/tasks/get_modules_and_utils_paths.yml for /cache/fedora-33.qcow2 TASK [set collection paths] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_modules_and_utils_paths.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"collection_paths": ["/home/tester/.ansible/collections", "/usr/share/ansible/collections"]}, "changed": false} TASK [set search paths] ******************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_modules_and_utils_paths.yml:13 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"module_utils_search_path": ["../../module_utils", "../module_utils", "/home/tester/.ansible/plugins/module_utils", "/usr/share/ansible/plugins/module_utils"], "modules_search_path": ["../../library", "../library", "/home/tester/.ansible/plugins/modules", "/usr/share/ansible/plugins/modules"]}, "changed": false} TASK [find parent directory and path of modules] ******************************* task path: /tmp/tmpmd5a3eg6/tests/tasks/get_modules_and_utils_paths.yml:42 ok: [/cache/fedora-33.qcow2 -> localhost] => {"changed": false, "cmd": "set -euxo pipefail\nfor dir in ../../library ../library /home/tester/.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 /home/tester/.ansible/collections /usr/share/ansible/collections; 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.007753", "end": "2021-11-08 19:51:51.495672", "rc": 0, "start": "2021-11-08 19:51:51.487919", "stderr": "+ for dir in ../../library ../library /home/tester/.ansible/plugins/modules /usr/share/ansible/plugins/modules\n+ '[' -f ../../library/network_connections.py ']'\n+ for dir in ../../library ../library /home/tester/.ansible/plugins/modules /usr/share/ansible/plugins/modules\n+ '[' -f ../library/network_connections.py ']'\n++ dirname ../library\n+ readlink -f ..\n+ basename ../library\n+ exit 0", "stderr_lines": ["+ for dir in ../../library ../library /home/tester/.ansible/plugins/modules /usr/share/ansible/plugins/modules", "+ '[' -f ../../library/network_connections.py ']'", "+ for dir in ../../library ../library /home/tester/.ansible/plugins/modules /usr/share/ansible/plugins/modules", "+ '[' -f ../library/network_connections.py ']'", "++ dirname ../library", "+ readlink -f ..", "+ basename ../library", "+ exit 0"], "stdout": "/tmp/tmpmd5a3eg6\nlibrary", "stdout_lines": ["/tmp/tmpmd5a3eg6", "library"]} TASK [find parent directory and path of module_utils] ************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/get_modules_and_utils_paths.yml:69 ok: [/cache/fedora-33.qcow2 -> localhost] => {"changed": false, "cmd": "set -euxo pipefail\nfor dir in ../../module_utils ../module_utils /home/tester/.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 /home/tester/.ansible/collections /usr/share/ansible/collections; 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.007408", "end": "2021-11-08 19:51:51.695557", "rc": 0, "start": "2021-11-08 19:51:51.688149", "stderr": "+ for dir in ../../module_utils ../module_utils /home/tester/.ansible/plugins/module_utils /usr/share/ansible/plugins/module_utils\n+ '[' -d ../../module_utils/network_lsr ']'\n+ for dir in ../../module_utils ../module_utils /home/tester/.ansible/plugins/module_utils /usr/share/ansible/plugins/module_utils\n+ '[' -d ../module_utils/network_lsr ']'\n++ dirname ../module_utils\n+ readlink -f ..\n+ basename ../module_utils\n+ exit 0", "stderr_lines": ["+ for dir in ../../module_utils ../module_utils /home/tester/.ansible/plugins/module_utils /usr/share/ansible/plugins/module_utils", "+ '[' -d ../../module_utils/network_lsr ']'", "+ for dir in ../../module_utils ../module_utils /home/tester/.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"], "stdout": "/tmp/tmpmd5a3eg6\nmodule_utils", "stdout_lines": ["/tmp/tmpmd5a3eg6", "module_utils"]} TASK [Create Tar file] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:44 [WARNING]: Consider using the unarchive module rather than running 'tar'. If you need to use command because unarchive is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [/cache/fedora-33.qcow2 -> localhost] => {"changed": true, "cmd": ["tar", "-cvf", "/tmp/lsrtest_00dmx0ov.tar", "--exclude", "*.pyc", "--exclude", "__pycache__", "-C", "/tmp/tmpmd5a3eg6", "library", "-C", "/tmp/tmpmd5a3eg6", "module_utils"], "delta": "0:00:00.004809", "end": "2021-11-08 19:51:51.890993", "rc": 0, "start": "2021-11-08 19:51:51.886184", "stderr": "", "stderr_lines": [], "stdout": "library/\nlibrary/__init__.py\nlibrary/network_connections.py\nmodule_utils/\nmodule_utils/network_lsr/\nmodule_utils/network_lsr/__init__.py\nmodule_utils/network_lsr/argument_validator.py\nmodule_utils/network_lsr/ethtool.py\nmodule_utils/network_lsr/myerror.py\nmodule_utils/network_lsr/nm/\nmodule_utils/network_lsr/nm/__init__.py\nmodule_utils/network_lsr/nm/active_connection.py\nmodule_utils/network_lsr/nm/client.py\nmodule_utils/network_lsr/nm/connection.py\nmodule_utils/network_lsr/nm/error.py\nmodule_utils/network_lsr/nm/provider.py\nmodule_utils/network_lsr/nm_provider.py\nmodule_utils/network_lsr/utils.py", "stdout_lines": ["library/", "library/__init__.py", "library/network_connections.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: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:54 changed: [/cache/fedora-33.qcow2] => {"changed": true, "checksum": "2ab3c1decf0b2393086a14334d2a68f415946479", "dest": "/tmp/lsrtest_gy2a3a8s/lsrtest_00dmx0ov.tar", "gid": 0, "group": "root", "md5sum": "f1cce8189db9f587ef832a36dbaecd64", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 215040, "src": "/root/.ansible/tmp/ansible-tmp-1636401111.962903-81790-148363589167027/source", "state": "file", "uid": 0} TASK [Untar testrepo.tar] ****************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:60 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["tar", "-xvf", "lsrtest_00dmx0ov.tar"], "delta": "0:00:00.007046", "end": "2021-11-08 19:51:52.632469", "rc": 0, "start": "2021-11-08 19:51:52.625423", "stderr": "", "stderr_lines": [], "stdout": "library/\nlibrary/__init__.py\nlibrary/network_connections.py\nmodule_utils/\nmodule_utils/network_lsr/\nmodule_utils/network_lsr/__init__.py\nmodule_utils/network_lsr/argument_validator.py\nmodule_utils/network_lsr/ethtool.py\nmodule_utils/network_lsr/myerror.py\nmodule_utils/network_lsr/nm/\nmodule_utils/network_lsr/nm/__init__.py\nmodule_utils/network_lsr/nm/active_connection.py\nmodule_utils/network_lsr/nm/client.py\nmodule_utils/network_lsr/nm/connection.py\nmodule_utils/network_lsr/nm/error.py\nmodule_utils/network_lsr/nm/provider.py\nmodule_utils/network_lsr/nm_provider.py\nmodule_utils/network_lsr/utils.py", "stdout_lines": ["library/", "library/__init__.py", "library/network_connections.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_gy2a3a8s/ansible/module_utils] *********************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:65 changed: [/cache/fedora-33.qcow2] => (item=/tmp/lsrtest_gy2a3a8s/ansible) => {"ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "/tmp/lsrtest_gy2a3a8s/ansible", "mode": "0755", "owner": "root", "path": "/tmp/lsrtest_gy2a3a8s/ansible", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0} changed: [/cache/fedora-33.qcow2] => (item=/tmp/lsrtest_gy2a3a8s/ansible/module_utils) => {"ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "/tmp/lsrtest_gy2a3a8s/ansible/module_utils", "mode": "0755", "owner": "root", "path": "/tmp/lsrtest_gy2a3a8s/ansible/module_utils", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0} TASK [Move module_utils to ansible directory] ********************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:74 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": "if [ -d /tmp/lsrtest_gy2a3a8s/module_utils ]; then\n mv /tmp/lsrtest_gy2a3a8s/module_utils /tmp/lsrtest_gy2a3a8s/ansible\nfi\n", "delta": "0:00:00.005442", "end": "2021-11-08 19:51:53.710657", "rc": 0, "start": "2021-11-08 19:51:53.705215", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Fake out python module directories, primarily for python2] *************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:80 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": "for dir in $(find /tmp/lsrtest_gy2a3a8s -type d -print); do\n if [ ! -f \"$dir/__init__.py\" ]; then\n touch \"$dir/__init__.py\"\n fi\ndone\n", "delta": "0:00:00.010640", "end": "2021-11-08 19:51:54.055560", "rc": 0, "start": "2021-11-08 19:51:54.044920", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Copy unit test to remote system] ***************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:88 changed: [/cache/fedora-33.qcow2] => {"changed": true, "checksum": "c80d43f5618a80eb115aa39c45b024d112dc733c", "dest": "/tmp/lsrtest_gy2a3a8s/test_network_connections.py", "gid": 0, "group": "root", "md5sum": "e03ebf3c9a85c4dc1e7f272b4704426a", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 148980, "src": "/root/.ansible/tmp/ansible-tmp-1636401114.793524-81902-188536708416529/source", "state": "file", "uid": 0} TASK [Set _lsr_python_path] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:94 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"_lsr_python_path": "/tmp/lsrtest_gy2a3a8s/library:/tmp/lsrtest_gy2a3a8s/ansible/module_utils:/tmp/lsrtest_gy2a3a8s/module_utils:/tmp/lsrtest_gy2a3a8s"}, "changed": false} TASK [ls -alrtFR /tmp/lsrtest_gy2a3a8s] **************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:106 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ls", "-alrtFR", "/tmp/lsrtest_gy2a3a8s"], "delta": "0:00:00.004587", "end": "2021-11-08 19:51:55.272899", "rc": 0, "start": "2021-11-08 19:51:55.268312", "stderr": "", "stderr_lines": [], "stdout": "/tmp/lsrtest_gy2a3a8s:\ntotal 360\ndrwxr-xr-x. 2 root root 80 Nov 8 18:49 library/\n-rw-------. 1 root root 215040 Nov 8 19:51 lsrtest_00dmx0ov.tar\n-rw-r--r--. 1 root root 0 Nov 8 19:51 __init__.py\ndrwxr-xr-x. 3 root root 80 Nov 8 19:51 ansible/\n-rw-r--r--. 1 root root 148980 Nov 8 19:51 test_network_connections.py\ndrwx------. 4 root root 140 Nov 8 19:51 ./\ndrwxrwxrwt. 13 root root 260 Nov 8 19:51 ../\n\n/tmp/lsrtest_gy2a3a8s/library:\ntotal 96\n-rw-r--r--. 1 root root 95429 Nov 8 18:49 network_connections.py\n-rw-r--r--. 1 root root 0 Nov 8 18:49 __init__.py\ndrwxr-xr-x. 2 root root 80 Nov 8 18:49 ./\ndrwx------. 4 root root 140 Nov 8 19:51 ../\n\n/tmp/lsrtest_gy2a3a8s/ansible:\ntotal 0\ndrwxr-xr-x. 3 root root 80 Nov 8 19:51 module_utils/\n-rw-r--r--. 1 root root 0 Nov 8 19:51 __init__.py\ndrwxr-xr-x. 3 root root 80 Nov 8 19:51 ./\ndrwx------. 4 root root 140 Nov 8 19:51 ../\n\n/tmp/lsrtest_gy2a3a8s/ansible/module_utils:\ntotal 0\ndrwxr-xr-x. 3 root root 180 Nov 8 18:49 network_lsr/\n-rw-r--r--. 1 root root 0 Nov 8 19:51 __init__.py\ndrwxr-xr-x. 3 root root 80 Nov 8 19:51 ../\ndrwxr-xr-x. 3 root root 80 Nov 8 19:51 ./\n\n/tmp/lsrtest_gy2a3a8s/ansible/module_utils/network_lsr:\ntotal 104\n-rw-r--r--. 1 root root 10658 Nov 8 18:49 utils.py\n-rw-r--r--. 1 root root 1594 Nov 8 18:49 nm_provider.py\ndrwxr-xr-x. 2 root root 160 Nov 8 18:49 nm/\n-rw-r--r--. 1 root root 190 Nov 8 18:49 myerror.py\n-rw-r--r--. 1 root root 0 Nov 8 18:49 __init__.py\n-rw-r--r--. 1 root root 1706 Nov 8 18:49 ethtool.py\n-rw-r--r--. 1 root root 79109 Nov 8 18:49 argument_validator.py\ndrwxr-xr-x. 3 root root 180 Nov 8 18:49 ./\ndrwxr-xr-x. 3 root root 80 Nov 8 19:51 ../\n\n/tmp/lsrtest_gy2a3a8s/ansible/module_utils/network_lsr/nm:\ntotal 24\n-rw-r--r--. 1 root root 2224 Nov 8 18:49 provider.py\n-rw-r--r--. 1 root root 343 Nov 8 18:49 __init__.py\n-rw-r--r--. 1 root root 175 Nov 8 18:49 error.py\n-rw-r--r--. 1 root root 3546 Nov 8 18:49 connection.py\n-rw-r--r--. 1 root root 2834 Nov 8 18:49 client.py\n-rw-r--r--. 1 root root 4012 Nov 8 18:49 active_connection.py\ndrwxr-xr-x. 3 root root 180 Nov 8 18:49 ../\ndrwxr-xr-x. 2 root root 160 Nov 8 18:49 ./", "stdout_lines": ["/tmp/lsrtest_gy2a3a8s:", "total 360", "drwxr-xr-x. 2 root root 80 Nov 8 18:49 library/", "-rw-------. 1 root root 215040 Nov 8 19:51 lsrtest_00dmx0ov.tar", "-rw-r--r--. 1 root root 0 Nov 8 19:51 __init__.py", "drwxr-xr-x. 3 root root 80 Nov 8 19:51 ansible/", "-rw-r--r--. 1 root root 148980 Nov 8 19:51 test_network_connections.py", "drwx------. 4 root root 140 Nov 8 19:51 ./", "drwxrwxrwt. 13 root root 260 Nov 8 19:51 ../", "", "/tmp/lsrtest_gy2a3a8s/library:", "total 96", "-rw-r--r--. 1 root root 95429 Nov 8 18:49 network_connections.py", "-rw-r--r--. 1 root root 0 Nov 8 18:49 __init__.py", "drwxr-xr-x. 2 root root 80 Nov 8 18:49 ./", "drwx------. 4 root root 140 Nov 8 19:51 ../", "", "/tmp/lsrtest_gy2a3a8s/ansible:", "total 0", "drwxr-xr-x. 3 root root 80 Nov 8 19:51 module_utils/", "-rw-r--r--. 1 root root 0 Nov 8 19:51 __init__.py", "drwxr-xr-x. 3 root root 80 Nov 8 19:51 ./", "drwx------. 4 root root 140 Nov 8 19:51 ../", "", "/tmp/lsrtest_gy2a3a8s/ansible/module_utils:", "total 0", "drwxr-xr-x. 3 root root 180 Nov 8 18:49 network_lsr/", "-rw-r--r--. 1 root root 0 Nov 8 19:51 __init__.py", "drwxr-xr-x. 3 root root 80 Nov 8 19:51 ../", "drwxr-xr-x. 3 root root 80 Nov 8 19:51 ./", "", "/tmp/lsrtest_gy2a3a8s/ansible/module_utils/network_lsr:", "total 104", "-rw-r--r--. 1 root root 10658 Nov 8 18:49 utils.py", "-rw-r--r--. 1 root root 1594 Nov 8 18:49 nm_provider.py", "drwxr-xr-x. 2 root root 160 Nov 8 18:49 nm/", "-rw-r--r--. 1 root root 190 Nov 8 18:49 myerror.py", "-rw-r--r--. 1 root root 0 Nov 8 18:49 __init__.py", "-rw-r--r--. 1 root root 1706 Nov 8 18:49 ethtool.py", "-rw-r--r--. 1 root root 79109 Nov 8 18:49 argument_validator.py", "drwxr-xr-x. 3 root root 180 Nov 8 18:49 ./", "drwxr-xr-x. 3 root root 80 Nov 8 19:51 ../", "", "/tmp/lsrtest_gy2a3a8s/ansible/module_utils/network_lsr/nm:", "total 24", "-rw-r--r--. 1 root root 2224 Nov 8 18:49 provider.py", "-rw-r--r--. 1 root root 343 Nov 8 18:49 __init__.py", "-rw-r--r--. 1 root root 175 Nov 8 18:49 error.py", "-rw-r--r--. 1 root root 3546 Nov 8 18:49 connection.py", "-rw-r--r--. 1 root root 2834 Nov 8 18:49 client.py", "-rw-r--r--. 1 root root 4012 Nov 8 18:49 active_connection.py", "drwxr-xr-x. 3 root root 180 Nov 8 18:49 ../", "drwxr-xr-x. 2 root root 160 Nov 8 18:49 ./"]} TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:108 ok: [/cache/fedora-33.qcow2] => { "msg": "path /tmp/lsrtest_gy2a3a8s/library:/tmp/lsrtest_gy2a3a8s/ansible/module_utils:/tmp/lsrtest_gy2a3a8s/module_utils:/tmp/lsrtest_gy2a3a8s" } TASK [Check if python2 is available] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:111 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "python2 --version", "msg": "[Errno 2] No such file or directory: b'python2'", "rc": 2} ...ignoring TASK [Run python2 unit tests] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:117 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if python3 is available] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:126 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["python3", "--version"], "delta": "0:00:00.003867", "end": "2021-11-08 19:51:55.948822", "rc": 0, "start": "2021-11-08 19:51:55.944955", "stderr": "", "stderr_lines": [], "stdout": "Python 3.9.7", "stdout_lines": ["Python 3.9.7"]} TASK [Run python3 unit tests] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:132 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["python3", "/tmp/lsrtest_gy2a3a8s/test_network_connections.py", "--verbose"], "delta": "0:00:00.278337", "end": "2021-11-08 19:51:56.553880", "rc": 0, "start": "2021-11-08 19:51:56.275543", "stderr": "test_connection_ensure_setting (__main__.TestNM) ... ok\ntest_connection_list (__main__.TestNM) ... ok\ntest_path_to_glib_bytes (__main__.TestNM) ... ok\ntest_link_read_permaddress (__main__.TestSysUtils) ... ok\ntest_convert_passwd_flags_nm (__main__.TestUtils) ... ok\ntest_mac_ntoa (__main__.TestUtils) ... ok\ntest_802_1x_1 (__main__.TestValidator)\nTest private key with password ... ok\ntest_802_1x_2 (__main__.TestValidator)\nTest 802.1x profile with unencrypted private key, ... ok\ntest_802_1x_3 (__main__.TestValidator)\nTest 802.1x profile with unencrypted private key and ca_path ... ok\ntest_802_1x_ca_path_and_system_ca_certs (__main__.TestValidator)\nshould fail if ca_path and system_ca_certs are used together ... ok\ntest_802_1x_initscripts (__main__.TestValidator)\nshould fail to create ieee802_1x connection with initscripts ... ok\ntest_802_1x_unsupported_type (__main__.TestValidator)\nshould fail if a non ethernet/wireless connection has 802.1x settings defined ... ok\ntest_absent (__main__.TestValidator) ... ok\ntest_auto6_enabled_ipv6_disabled (__main__.TestValidator)\nTest that enabling `auto6` and disabling IPv6 are mutually exclusive. ... ok\ntest_auto_gateway_false (__main__.TestValidator) ... ok\ntest_auto_gateway_no_gateway (__main__.TestValidator) ... ok\ntest_auto_gateway_true (__main__.TestValidator) ... ok\ntest_bond (__main__.TestValidator) ... ok\ntest_bond_active_backup (__main__.TestValidator) ... ok\ntest_bridge2 (__main__.TestValidator) ... ok\ntest_bridge_no_dhcp4_auto6 (__main__.TestValidator) ... ok\ntest_default_states (__main__.TestValidator) ... ok\ntest_default_states_type (__main__.TestValidator) ... ok\ntest_deprecated_ethtool_names (__main__.TestValidator)\nTest that for each validator in ... ok\ntest_dns_options_argvalidator (__main__.TestValidator)\nTest that argvalidator for validating dns_options value is correctly defined. ... ok\ntest_empty (__main__.TestValidator) ... ok\ntest_ethernet_mac_address (__main__.TestValidator) ... ok\ntest_ethernet_speed_settings (__main__.TestValidator) ... ok\ntest_ethernet_two_defaults (__main__.TestValidator) ... ok\ntest_full_state_absent_defaults (__main__.TestValidator) ... ok\ntest_full_state_absent_no_type (__main__.TestValidator) ... ok\ntest_full_state_present_no_type (__main__.TestValidator) ... ok\ntest_full_state_present_type_defaults (__main__.TestValidator) ... ok\ntest_gateway6_configured_ipv6_disabled (__main__.TestValidator)\nTest that configuring `gateway6` and disabling IPv6 are mutually exclusive. ... ok\ntest_infiniband (__main__.TestValidator) ... ok\ntest_infiniband2 (__main__.TestValidator) ... ok\ntest_interface_name_bond_empty_interface_name (__main__.TestValidator) ... ok\ntest_interface_name_bond_profile_as_interface_name (__main__.TestValidator) ... ok\ntest_interface_name_ethernet_None (__main__.TestValidator)\nCheck that interface_name cannot be None ... ok\ntest_interface_name_ethernet_default (__main__.TestValidator)\nUse the profile name as interface_name for ethernet profiles ... ok\ntest_interface_name_ethernet_empty (__main__.TestValidator)\nAllow not to restrict the profile to an interface ... ok\ntest_interface_name_ethernet_explicit (__main__.TestValidator)\nUse the explicitly provided interface name ... ok\ntest_interface_name_ethernet_invalid_interface_name (__main__.TestValidator) ... ok\ntest_interface_name_ethernet_invalid_profile (__main__.TestValidator)\nRequire explicit interface_name when the profile name is not a ... ok\ntest_interface_name_ethernet_mac (__main__.TestValidator)\nDo not set interface_name when mac is specified ... ok\ntest_invalid_autoconnect (__main__.TestValidator) ... ok\ntest_invalid_cert_path (__main__.TestValidator)\nshould fail if a relative path is used for 802.1x certs/keys ... ok\ntest_invalid_ethtool_settings (__main__.TestValidator)\nWhen both the deprecated and current version of a feature are stated, ... ok\ntest_invalid_mac (__main__.TestValidator) ... ok\ntest_invalid_password_flag (__main__.TestValidator)\nshould fail if an invalid private key password flag is set ... ok\ntest_invalid_persistent_state_down (__main__.TestValidator) ... ok\ntest_invalid_persistent_state_up (__main__.TestValidator) ... ok\ntest_invalid_state_test (__main__.TestValidator) ... ok\ntest_invalid_values (__main__.TestValidator) ... ok\ntest_ipv4_dns_without_ipv4_config (__main__.TestValidator)\nTest that configuring IPv4 DNS is not allowed when IPv4 is disabled. ... ok\ntest_ipv6_dns_options_without_ipv6_config (__main__.TestValidator)\nTest that configuring IPv6 DNS options is not allowed when IPv6 is disabled. ... ok\ntest_ipv6_dns_with_ipv6_disabled (__main__.TestValidator)\nTest that configuring IPv6 DNS is not allowed when IPv6 is disabled. ... ok\ntest_ipv6_dns_with_static_ipv6_configuration (__main__.TestValidator)\nTest that configuring IPv6 DNS is allowed when static IPv6 is configured. ... ok\ntest_ipv6_static (__main__.TestValidator) ... ok\ntest_macvlan (__main__.TestValidator) ... ok\ntest_persistent_state_absent (__main__.TestValidator) ... ok\ntest_persistent_state_present (__main__.TestValidator) ... ok\ntest_route_metric6_configured_ipv6_disabled (__main__.TestValidator)\nTest that configuring `route_metric6` and disabling IPv6 are mutually ... ok\ntest_route_metric_prefix (__main__.TestValidator) ... ok\ntest_route_v6 (__main__.TestValidator) ... ok\ntest_routes (__main__.TestValidator) ... ok\ntest_set_deprecated_ethtool_feature (__main__.TestValidator)\nWhen passing a deprecated name, their current version is updated. ... ok\ntest_set_deprecated_master (__main__.TestValidator)\nWhen passing the deprecated \"master\" it is updated to \"controller\". ... ok\ntest_set_deprecated_slave_type (__main__.TestValidator)\nWhen passing the deprecated \"slave_type\" it is updated to \"port_type\". ... ok\ntest_set_ethtool_feature (__main__.TestValidator)\nWhen passing the name of an non-deprecated ethtool feature, their ... ok\ntest_state_absent (__main__.TestValidator) ... ok\ntest_state_absent_down (__main__.TestValidator) ... ok\ntest_state_absent_up_no_type (__main__.TestValidator) ... ok\ntest_state_absent_up_type (__main__.TestValidator) ... ok\ntest_state_down_no_type (__main__.TestValidator) ... ok\ntest_state_present (__main__.TestValidator) ... ok\ntest_state_present_down (__main__.TestValidator) ... ok\ntest_state_present_up (__main__.TestValidator) ... ok\ntest_state_up_no_type (__main__.TestValidator) ... ok\ntest_state_up_type (__main__.TestValidator) ... ok\ntest_static_ipv6_configured_ipv6_disabled (__main__.TestValidator)\nTest that configuring static IPv6 and disabling IPv6 are mutually exclusive. ... ok\ntest_up_ethernet (__main__.TestValidator) ... ok\ntest_up_ethernet_mac_mtu_static_ip (__main__.TestValidator) ... ok\ntest_up_ethernet_no_autoconnect (__main__.TestValidator) ... ok\ntest_up_single_v4_dns (__main__.TestValidator) ... ok\ntest_valid_persistent_state (__main__.TestValidator)\nTest that when persistent_state is present and state is set to present ... ok\ntest_validate_allow_empty_string_in_list (__main__.TestValidator)\nTest that when ArgValidatorStr.allow_empty is True, empty string is allowed in ... ok\ntest_validate_bool (__main__.TestValidator) ... ok\ntest_validate_dict (__main__.TestValidator) ... ok\ntest_validate_disallow_none_in_list (__main__.TestValidator)\nTest that None is not allowed in ArgValidatorList ... ok\ntest_validate_int (__main__.TestValidator) ... ok\ntest_validate_list (__main__.TestValidator) ... ok\ntest_validate_list_remove_none_or_empty (__main__.TestValidator)\nTest that when ArgValidatorStr.remove_none_or_empty is True, None or empty ... ok\ntest_validate_str (__main__.TestValidator) ... ok\ntest_vlan (__main__.TestValidator) ... ok\ntest_wireless_eap (__main__.TestValidator)\nTest wireless connection with wpa-eap ... ok\ntest_wireless_initscripts (__main__.TestValidator)\nshould fail to create wireless connection with initscripts ... ok\ntest_wireless_no_802_1x_for_wpa_eap (__main__.TestValidator)\nshould fail if no 802.1x parameters are defined for a wireless ... ok\ntest_wireless_no_options_defined (__main__.TestValidator)\nshould fail if a connection of type='wireless' does not ... ok\ntest_wireless_no_password (__main__.TestValidator)\nshould fail if wpa-psk is selected and no password provided ... ok\ntest_wireless_password_too_long (__main__.TestValidator)\nshould fail if wpa-psk is selected and no password provided ... ok\ntest_wireless_psk (__main__.TestValidator)\nTest wireless connection with wpa-psk auth ... ok\ntest_wireless_ssid_too_long (__main__.TestValidator)\nshould fail if ssid longer than 32 bytes ... ok\ntest_wireless_unsupported_type (__main__.TestValidator)\nshould fail if a non wireless connection has wireless settings defined ... ok\ntest_interface_name_and_match_when_match_is_None (__main__.TestValidatorMatch)\nTest that when 'match' setting is None, interface name should be profile name ... ok\ntest_interface_name_when_match_not_specified (__main__.TestValidatorMatch)\nTest that when 'match' setting is not specified, interface name should be ... ok\ntest_interface_name_when_match_path_is_empty_list (__main__.TestValidatorMatch)\nTest that when 'match.path' setting is empty list, interface name should be ... ok\ntest_interface_name_when_match_path_is_valid (__main__.TestValidatorMatch)\nTest that when 'match.path' setting contains interface path, interface name ... ok\ntest_match_path_empty_list (__main__.TestValidatorMatch)\nTest that 'match.path' setting can be defined as None, [], [\"\"], [None] or \"\" ... ok\ntest_match_path_invalid_connection_type (__main__.TestValidatorMatch)\nTest that when 'match.path' setting is correctly defined but the connection ... ok\ntest_match_path_invalid_setting (__main__.TestValidatorMatch)\nTest that values like [\"&\"] and [\"|\"] are invalid values for 'match.path' ... ok\ntest_match_path_setting_normalization (__main__.TestValidatorMatch)\nTest that 'match.path' setting [\"\", \"usb123\", None] will be normalized into ... ok\ntest_match_path_valid_setting (__main__.TestValidatorMatch)\nTest that values like [\"pci-0000:00:03.0\"] and [\"&!pci-0000:00:0[1-3].0\"] are ... ok\n\n----------------------------------------------------------------------\nRan 113 tests in 0.059s\n\nOK", "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_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_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_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)", "When passing the deprecated \"master\" it is updated to \"controller\". ... ok", "test_set_deprecated_slave_type (__main__.TestValidator)", "When passing the deprecated \"slave_type\" it is updated to \"port_type\". ... 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_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_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", "", "----------------------------------------------------------------------", "Ran 113 tests in 0.059s", "", "OK"], "stdout": "", "stdout_lines": []} TASK [Show python2 unit test results] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:140 ok: [/cache/fedora-33.qcow2] => { "python2_result.stderr_lines": "VARIABLE IS NOT DEFINED!: 'dict object' has no attribute 'stderr_lines'" } TASK [Show python3 unit test results] ****************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:145 ok: [/cache/fedora-33.qcow2] => { "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_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_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_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)", "When passing the deprecated \"master\" it is updated to \"controller\". ... ok", "test_set_deprecated_slave_type (__main__.TestValidator)", "When passing the deprecated \"slave_type\" it is updated to \"port_type\". ... 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_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_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", "", "----------------------------------------------------------------------", "Ran 113 tests in 0.059s", "", "OK" ] } TASK [remove local tar file] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:151 changed: [/cache/fedora-33.qcow2 -> localhost] => {"changed": true, "path": "/tmp/lsrtest_00dmx0ov.tar", "state": "absent"} TASK [remove tempdir] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:157 changed: [/cache/fedora-33.qcow2] => {"changed": true, "path": "/tmp/lsrtest_gy2a3a8s", "state": "absent"} TASK [Ensure that at least one python unit test ran] *************************** task path: /tmp/tmpmd5a3eg6/tests/tests_unit.yml:162 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=30 changed=15 unreachable=0 failed=0 skipped=8 rescued=0 ignored=2 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_vlan_mtu_initscripts.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_vlan_mtu_initscripts.yml *************************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_vlan_mtu_initscripts.yml PLAY [Run playbook 'playbooks/tests_vlan_mtu.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_vlan_mtu_initscripts.yml:4 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_vlan_mtu_initscripts.yml:7 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpmd5a3eg6/tests/tests_vlan_mtu_initscripts.yml:8 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "initscripts"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:9 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003830", "end": "2021-11-08 19:52:13.567547", "rc": 0, "start": "2021-11-08 19:52:13.563717", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:10 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.002960", "end": "2021-11-08 19:52:14.037820", "rc": 0, "start": "2021-11-08 19:52:14.034860", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface lsr101] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add lsr101 type veth peer name peerlsr101) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "lsr101", "type", "veth", "peer", "name", "peerlsr101"], "delta": "0:00:00.012618", "end": "2021-11-08 19:52:50.077538", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2021-11-08 19:52:50.064920", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peerlsr101 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peerlsr101", "up"], "delta": "0:00:00.003251", "end": "2021-11-08 19:52:50.394776", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2021-11-08 19:52:50.391525", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set lsr101 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "lsr101", "up"], "delta": "0:00:00.008248", "end": "2021-11-08 19:52:50.706936", "item": "ip link set lsr101 up", "rc": 0, "start": "2021-11-08 19:52:50.698688", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "lsr101", "managed", "true"], "delta": "0:00:00.025927", "end": "2021-11-08 19:52:51.060299", "rc": 0, "start": "2021-11-08 19:52:51.034372", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface lsr101] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface lsr101] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface lsr101] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface lsr101] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface lsr101] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface lsr101] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636401170.0766242, "block_size": 4096, "blocks": 0, "ctime": 1636401170.0766242, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101", "lnk_target": "../../devices/virtual/net/lsr101", "mode": "0777", "mtime": 1636401170.0766242, "nlink": 1, "path": "/sys/class/net/lsr101", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface lsr101 is present] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST: I can configure the MTU for a vlan interface without autoconnect.] *** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:14 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: network-scripts-10.04-2.fc33.x86_64", "Installed: bc-1.07.1-14.fc33.x86_64", "Installed: chkconfig-1.14-3.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 changed: [/cache/fedora-33.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-82045psqwxvdk/tmp8g4eoz9p"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"autoconnect": false, "ip": {"auto6": false, "dhcp4": false}, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet"}, {"autoconnect": false, "ip": {"auto6": false, "dhcp4": false}, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'\n[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)\n[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)\n[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": ["[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'\n[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)\n[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)\n[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:42 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface lsr101.90] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636401178.825329, "block_size": 4096, "blocks": 0, "ctime": 1636401178.825329, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21507, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101.90", "lnk_target": "../../devices/virtual/net/lsr101.90", "mode": "0777", "mtime": 1636401178.825329, "nlink": 1, "path": "/sys/class/net/lsr101.90", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface lsr101.90 is present] ****************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:45 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636401178.703359, "block_size": 4096, "blocks": 8, "ctime": 1636401178.702359, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132660, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636401178.702359, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.019458", "end": "2021-11-08 19:53:00.782475", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:53:00.763017", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'lsr101' is present] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636401178.785359, "block_size": 4096, "blocks": 8, "ctime": 1636401178.703359, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132665, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636401178.703359, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101.90", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 156, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.017576", "end": "2021-11-08 19:53:01.641393", "msg": "non-zero return code", "rc": 1, "start": "2021-11-08 19:53:01.623817", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [assert that profile 'lsr101.90' is present] ****************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:52 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: initscripts" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 ok: [/cache/fedora-33.qcow2] => {"changed": false, "dest": "/etc/sysconfig/network", "src": "/home/tester/.ansible/tmp/ansible-local-82045psqwxvdk/tmps276ek3r"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "lsr101", "persistent_state": "absent", "state": "down"}, {"name": "lsr101.90", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "initscripts"}}, "changed": true, "stderr": "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)\n[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active\n[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'\n[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'\n", "stderr_lines": ["[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)\n[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active\n[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'\n[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'\n", "stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed from distribution in near future.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:67 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003269", "end": "2021-11-08 19:53:06.241836", "rc": 0, "start": "2021-11-08 19:53:06.238567", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\nlsr101\nlsr101.90\npeerlsr101", "stdout_lines": ["eth0", "lo", "lsr101", "lsr101.90", "peerlsr101"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "lsr101", "lsr101.90", "peerlsr101"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'lsr101', 'lsr101.90', 'peerlsr101']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface lsr101] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add lsr101 type veth peer name peerlsr101) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add lsr101 type veth peer name peerlsr101", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peerlsr101 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peerlsr101 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set lsr101 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set lsr101 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface lsr101] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "lsr101", "type", "veth"], "delta": "0:00:00.016096", "end": "2021-11-08 19:53:08.482637", "rc": 0, "start": "2021-11-08 19:53:08.466541", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface lsr101] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface lsr101] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface lsr101] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface lsr101] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=71 changed=7 unreachable=0 failed=0 skipped=30 rescued=0 ignored=2 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_vlan_mtu_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_vlan_mtu_nm.yml ************************************************ 2 plays in /tmp/tmpmd5a3eg6/tests/tests_vlan_mtu_nm.yml PLAY [Run playbook 'playbooks/tests_vlan_mtu.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_vlan_mtu_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_vlan_mtu_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_vlan_mtu_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:9 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003747", "end": "2021-11-08 19:53:25.570034", "rc": 0, "start": "2021-11-08 19:53:25.566287", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:10 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003340", "end": "2021-11-08 19:53:26.048137", "rc": 0, "start": "2021-11-08 19:53:26.044797", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo", "stdout_lines": ["eth0", "lo"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface lsr101] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 changed: [/cache/fedora-33.qcow2] => (item=ip link add lsr101 type veth peer name peerlsr101) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "add", "lsr101", "type", "veth", "peer", "name", "peerlsr101"], "delta": "0:00:00.011294", "end": "2021-11-08 19:54:04.262450", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2021-11-08 19:54:04.251156", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set peerlsr101 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "peerlsr101", "up"], "delta": "0:00:00.002969", "end": "2021-11-08 19:54:04.579000", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2021-11-08 19:54:04.576031", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} changed: [/cache/fedora-33.qcow2] => (item=ip link set lsr101 up) => {"ansible_loop_var": "item", "changed": true, "cmd": ["ip", "link", "set", "lsr101", "up"], "delta": "0:00:00.007622", "end": "2021-11-08 19:54:04.894170", "item": "ip link set lsr101 up", "rc": 0, "start": "2021-11-08 19:54:04.886548", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["nmcli", "d", "set", "lsr101", "managed", "true"], "delta": "0:00:00.022984", "end": "2021-11-08 19:54:05.251866", "rc": 0, "start": "2021-11-08 19:54:05.228882", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Delete veth interface lsr101] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create dummy interface lsr101] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface lsr101] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface lsr101] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface lsr101] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface lsr101] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636401244.2619555, "block_size": 4096, "blocks": 0, "ctime": 1636401244.2619555, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21252, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101", "lnk_target": "../../devices/virtual/net/lsr101", "mode": "0777", "mtime": 1636401244.2619555, "nlink": 1, "path": "/sys/class/net/lsr101", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface lsr101 is present] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEST: I can configure the MTU for a vlan interface without autoconnect.] *** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:14 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 changed: [/cache/fedora-33.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: gobject-introspection-1.66.1-1.fc33.x86_64", "Installed: python3-gobject-base-3.38.0-2.fc33.x86_64"]} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"autoconnect": false, "ip": {"auto6": false, "dhcp4": false}, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet"}, {"autoconnect": false, "ip": {"auto6": false, "dhcp4": false}, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, e5540f9a-21a6-49cc-8867-bfbdb679309f\n[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 1d116b52-2c75-476e-9fd8-1e8d9d78a56d\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, e5540f9a-21a6-49cc-8867-bfbdb679309f (not-active)\n[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 1d116b52-2c75-476e-9fd8-1e8d9d78a56d (not-active)\n", "stderr_lines": ["[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, e5540f9a-21a6-49cc-8867-bfbdb679309f", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 1d116b52-2c75-476e-9fd8-1e8d9d78a56d", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, e5540f9a-21a6-49cc-8867-bfbdb679309f (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 1d116b52-2c75-476e-9fd8-1e8d9d78a56d (not-active)"]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, e5540f9a-21a6-49cc-8867-bfbdb679309f", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 1d116b52-2c75-476e-9fd8-1e8d9d78a56d", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, e5540f9a-21a6-49cc-8867-bfbdb679309f (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 1d116b52-2c75-476e-9fd8-1e8d9d78a56d (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, e5540f9a-21a6-49cc-8867-bfbdb679309f\n[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 1d116b52-2c75-476e-9fd8-1e8d9d78a56d\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, e5540f9a-21a6-49cc-8867-bfbdb679309f (not-active)\n[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 1d116b52-2c75-476e-9fd8-1e8d9d78a56d (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, e5540f9a-21a6-49cc-8867-bfbdb679309f", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 1d116b52-2c75-476e-9fd8-1e8d9d78a56d", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, e5540f9a-21a6-49cc-8867-bfbdb679309f (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 1d116b52-2c75-476e-9fd8-1e8d9d78a56d (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:42 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-33.qcow2 TASK [Get stat for interface lsr101.90] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_interface_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636401251.9718878, "block_size": 4096, "blocks": 0, "ctime": 1636401251.9718878, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21507, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101.90", "lnk_target": "../../devices/virtual/net/lsr101.90", "mode": "0777", "mtime": 1636401251.9718878, "nlink": 1, "path": "/sys/class/net/lsr101.90", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}} TASK [assert that interface lsr101.90 is present] ****************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_device_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:45 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636401251.9517705, "block_size": 4096, "blocks": 8, "ctime": 1636401251.9117706, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636401251.9117706, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 147, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.019736", "end": "2021-11-08 19:54:13.749381", "rc": 0, "start": "2021-11-08 19:54:13.729645", "stderr": "", "stderr_lines": [], "stdout": "lsr101 /etc/sysconfig/network-scripts/ifcfg-lsr101 \nlsr101.90 /etc/sysconfig/network-scripts/ifcfg-lsr101.90 ", "stdout_lines": ["lsr101 /etc/sysconfig/network-scripts/ifcfg-lsr101 ", "lsr101.90 /etc/sysconfig/network-scripts/ifcfg-lsr101.90 "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'lsr101' is present] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-33.qcow2 TASK [Initialize NM profile exist flag] **************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:3 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": false}, "changed": false} TASK [stat profile file] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:6 ok: [/cache/fedora-33.qcow2] => {"changed": false, "stat": {"atime": 1636401251.9937706, "block_size": 4096, "blocks": 8, "ctime": 1636401251.9187706, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 132471, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636401251.9187706, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101.90", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 254, "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: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:14 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:21 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.019572", "end": "2021-11-08 19:54:14.572052", "rc": 0, "start": "2021-11-08 19:54:14.552480", "stderr": "", "stderr_lines": [], "stdout": "lsr101.90 /etc/sysconfig/network-scripts/ifcfg-lsr101.90 ", "stdout_lines": ["lsr101.90 /etc/sysconfig/network-scripts/ifcfg-lsr101.90 "]} TASK [Set NM profile exist flag based on the nmcli output] ********************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_profile_stat.yml:27 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"lsr_net_profile_exists": true}, "changed": false} TASK [assert that profile 'lsr101.90' is present] ****************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/assert_profile_present.yml:4 ok: [/cache/fedora-33.qcow2] => { "changed": false, "msg": "All assertions passed" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:52 ok: [/cache/fedora-33.qcow2] => { "msg": "##################################################" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 ok: [/cache/fedora-33.qcow2] => { "msg": "Using network provider: nm" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 ok: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 changed: [/cache/fedora-33.qcow2] => {"_invocation": {"module_args": {"__debug_flags": "", "connections": [{"name": "lsr101", "persistent_state": "absent", "state": "down"}, {"name": "lsr101.90", "persistent_state": "absent", "state": "down"}], "force_state_change": false, "ignore_errors": false, "provider": "nm"}}, "changed": true, "stderr": "\n", "stderr_lines": [""]} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 ok: [/cache/fedora-33.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 ok: [/cache/fedora-33.qcow2] => {"changed": false, "ping": "pong"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_vlan_mtu.yml:67 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-33.qcow2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:8 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:13 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-33.qcow2 TASK [include] ***************************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:3 included: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-33.qcow2 TASK [Gather current interface info] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:3 ok: [/cache/fedora-33.qcow2] => {"changed": false, "cmd": ["ls", "-1"], "delta": "0:00:00.003100", "end": "2021-11-08 19:54:18.774732", "rc": 0, "start": "2021-11-08 19:54:18.771632", "stderr": "", "stderr_lines": [], "stdout": "eth0\nlo\nlsr101\npeerlsr101", "stdout_lines": ["eth0", "lo", "lsr101", "peerlsr101"]} TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/get_current_interfaces.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"current_interfaces": ["eth0", "lo", "lsr101", "peerlsr101"]}, "changed": false} TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/show_interfaces.yml:4 ok: [/cache/fedora-33.qcow2] => { "msg": "current_interfaces: ['eth0', 'lo', 'lsr101', 'peerlsr101']" } TASK [Install iproute] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:15 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [Create veth interface lsr101] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:21 skipping: [/cache/fedora-33.qcow2] => (item=ip link add lsr101 type veth peer name peerlsr101) => {"ansible_loop_var": "item", "changed": false, "item": "ip link add lsr101 type veth peer name peerlsr101", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set peerlsr101 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set peerlsr101 up", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=ip link set lsr101 up) => {"ansible_loop_var": "item", "changed": false, "item": "ip link set lsr101 up", "skip_reason": "Conditional result was False"} TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:29 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete veth interface lsr101] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:36 changed: [/cache/fedora-33.qcow2] => {"changed": true, "cmd": ["ip", "link", "del", "lsr101", "type", "veth"], "delta": "0:00:00.010747", "end": "2021-11-08 19:54:20.923099", "rc": 0, "start": "2021-11-08 19:54:20.912352", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Create dummy interface lsr101] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:42 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete dummy interface lsr101] ******************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:47 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create tap interface lsr101] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:53 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Delete tap interface lsr101] ********************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tasks/manage_test_interface.yml:58 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=71 changed=6 unreachable=0 failed=0 skipped=30 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_wireless_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_wireless_nm.yml ************************************************ 2 plays in /tmp/tmpmd5a3eg6/tests/tests_wireless_nm.yml PLAY [Run playbook 'playbooks/tests_wireless.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_wireless_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_wireless_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_wireless_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_wireless.yml:3 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers TASK [INIT: wireless tests] **************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_wireless.yml:7 skipping: [/cache/fedora-33.qcow2] => {} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_wireless.yml:10 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Copy client certs] ******************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_wireless.yml:11 skipping: [/cache/fedora-33.qcow2] => (item=client.key) => {"ansible_loop_var": "item", "changed": false, "item": "client.key", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=client.pem) => {"ansible_loop_var": "item", "changed": false, "item": "client.pem", "skip_reason": "Conditional result was False"} skipping: [/cache/fedora-33.qcow2] => (item=cacert.pem) => {"ansible_loop_var": "item", "changed": false, "item": "cacert.pem", "skip_reason": "Conditional result was False"} TASK [TEST: wireless connection with WPA-PSK] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_wireless.yml:21 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [TEST: wireless connection with 802.1x TLS-EAP] *************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_wireless.yml:50 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:4 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:9 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:13 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:20 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:30 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:44 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:55 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:64 skipping: [/cache/fedora-33.qcow2] => {"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: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:72 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:81 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.network : Show stderr messages] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:90 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Show debug messages] ************************ task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:94 skipping: [/cache/fedora-33.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpmd5a3eg6/tests/roles/linux-system-roles.network/tasks/main.yml:99 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_wireless.yml:90 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=5 changed=0 unreachable=0 failed=0 skipped=65 rescued=0 ignored=0 + cd /tmp/tmpmd5a3eg6/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_network-436-9620b74-fedora-33-apb73al4/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpmd5a3eg6/_setup.yml /tmp/tmpmd5a3eg6/tests/tests_wireless_plugin_installation_nm.yml ansible-playbook 2.9.25 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpmd5a3eg6/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpmd5a3eg6/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpmd5a3eg6/_setup.yml:7 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_wireless_plugin_installation_nm.yml **************************** 2 plays in /tmp/tmpmd5a3eg6/tests/tests_wireless_plugin_installation_nm.yml PLAY [Run playbook 'playbooks/tests_wireless_plugin_installation.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/tests_wireless_plugin_installation_nm.yml:5 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_wireless_plugin_installation_nm.yml:8 included: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml for /cache/fedora-33.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:2 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [include_tasks] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/el_repo_setup.yml:27 included: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml for /cache/fedora-33.qcow2 TASK [Create EPEL 33] ********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:4 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:11 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:17 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpmd5a3eg6/tests/tasks/enable_epel.yml:26 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpmd5a3eg6/tests/tests_wireless_plugin_installation_nm.yml:9 ok: [/cache/fedora-33.qcow2] => {"ansible_facts": {"network_provider": "nm"}, "changed": false} META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_wireless_plugin_installation.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [remove the NetworkManager-wifi package] ********************************** task path: /tmp/tmpmd5a3eg6/tests/playbooks/tests_wireless_plugin_installation.yml:5 fatal: [/cache/fedora-33.qcow2]: FAILED! => {"changed": false, "msg": "Failed to download metadata for repo 'fedora': Cannot prepare internal mirrorlist: Status code: 503 for https://mirrors.fedoraproject.org/metalink?repo=fedora-33&arch=x86_64 (IP: 152.19.134.142)", "rc": 1, "results": []} PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=6 changed=0 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0