# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_802_1x_updated_nm.yml ****************************************** 3 plays in /WORKDIR/git-route_typervf8s7o5/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: /WORKDIR/git-route_typervf8s7o5/tests/tests_802_1x_updated_nm.yml:6 Friday 12 January 2024 20:10:57 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typervf8s7o5/tests/tests_802_1x_updated_nm.yml:9 Friday 12 January 2024 20:10:58 +0000 (0:00:00.567) 0:00:00.580 ******** included: /WORKDIR/git-route_typervf8s7o5/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 20:10:58 +0000 (0:00:00.018) 0:00:00.599 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/tasks/el_repo_setup.yml:19 Friday 12 January 2024 20:10:58 +0000 (0:00:00.260) 0:00:00.860 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/tasks/el_repo_setup.yml:24 Friday 12 January 2024 20:10:58 +0000 (0:00:00.247) 0:00:01.108 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/tasks/el_repo_setup.yml:28 Friday 12 January 2024 20:10:58 +0000 (0:00:00.032) 0:00:01.140 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/tasks/el_repo_setup.yml:53 Friday 12 January 2024 20:10:58 +0000 (0:00:00.028) 0:00:01.169 ******** included: /WORKDIR/git-route_typervf8s7o5/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 20:10:58 +0000 (0:00:00.033) 0:00:01.202 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 20:10:59 +0000 (0:00:00.207) 0:00:01.410 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 20:10:59 +0000 (0:00:00.471) 0:00:01.882 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.193185", "end": "2024-01-12 20:10:59.832934", "rc": 0, "start": "2024-01-12 20:10:59.639749" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = 1 enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 20:10:59 +0000 (0:00:00.331) 0:00:02.214 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 20:10:59 +0000 (0:00:00.010) 0:00:02.225 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/tests_802_1x_updated_nm.yml:11 Friday 12 January 2024 20:10:59 +0000 (0:00:00.009) 0:00:02.234 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing configuring 802.1x authentication with latest NetworkManager] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x_updated.yml:3 Friday 12 January 2024 20:10:59 +0000 (0:00:00.013) 0:00:02.248 ******** ok: [sut] META: ran handlers TASK [Update NetworkManager] *************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x_updated.yml:7 Friday 12 January 2024 20:11:00 +0000 (0:00:00.419) 0:00:02.667 ******** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "" ] } TASK [Restart NetworkManager] ************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x_updated.yml:13 Friday 12 January 2024 20:11:03 +0000 (0:00:02.838) 0:00:05.506 ******** changed: [sut] => { "changed": true, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-12 20:03:59 UTC", "ActiveEnterTimestampMonotonic": "10851549", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service cloud-init-local.service network-pre.target basic.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-12 20:03:58 UTC", "AssertTimestampMonotonic": "10764734", "Before": "multi-user.target network.service shutdown.target cloud-init.service NetworkManager-wait-online.service network.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "539309282", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-12 20:03:58 UTC", "ConditionTimestampMonotonic": "10764733", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "662", "ExecMainStartTimestamp": "Fri 2024-01-12 20:03:58 UTC", "ExecMainStartTimestampMonotonic": "10771869", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/dbus-send ; argv[]=/usr/bin/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.Reload uint32:0 ; ignore_errors=no ; 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=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-12 20:03:58 UTC", "InactiveExitTimestampMonotonic": "10771913", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "662", "MemoryAccounting": "no", "MemoryCurrent": "9785344", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "read-only", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "basic.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "4", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogTimestamp": "Fri 2024-01-12 20:03:59 UTC", "WatchdogTimestampMonotonic": "10851400", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers PLAY [Play for testing configuring 802.1x authentication] ********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:3 Friday 12 January 2024 20:11:03 +0000 (0:00:00.471) 0:00:05.978 ******** ok: [sut] META: ran handlers TASK [INIT: 802.1x tests] ****************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:8 Friday 12 January 2024 20:11:04 +0000 (0:00:00.514) 0:00:06.492 ******** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'setup_802.1x.yml'] ************************************* task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:11 Friday 12 January 2024 20:11:04 +0000 (0:00:00.012) 0:00:06.505 ******** included: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802.1x.yml for sut TASK [Include the task 'setup_802_1x_server.yml'] ****************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802.1x.yml:2 Friday 12 January 2024 20:11:04 +0000 (0:00:00.014) 0:00:06.519 ******** included: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802_1x_server.yml for sut TASK [Debug] ******************************************************************* task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802_1x_server.yml:3 Friday 12 January 2024 20:11:04 +0000 (0:00:00.016) 0:00:06.536 ******** ok: [sut] => {} MSG: facts { "_ansible_facts_gathered": true, "all_ipv4_addresses": [ "10.31.40.86" ], "all_ipv6_addresses": [ "fe80::ce6:bfff:fe90:ff65" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_version": "4.2.amazon", "cmdline": { "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.107.1.el7.x86_64", "LANG": "en_US.UTF-8", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=870513cd-8dd7-42a0-b617-f0b3d273865f" }, "date_time": { "date": "2024-01-12", "day": "12", "epoch": "1705090264", "hour": "20", "iso8601": "2024-01-12T20:11:04Z", "iso8601_basic": "20240112T201104105499", "iso8601_basic_short": "20240112T201104", "iso8601_micro": "2024-01-12T20:11:04.105499Z", "minute": "11", "month": "01", "second": "04", "time": "20:11:04", "tz": "UTC", "tz_offset": "+0000", "weekday": "Friday", "weekday_number": "5", "weeknumber": "02", "year": "2024" }, "default_ipv4": { "address": "10.31.40.86", "alias": "eth0", "broadcast": "10.31.43.255", "gateway": "10.31.40.1", "interface": "eth0", "macaddress": "0e:e6:bf:90:ff:65", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.40.0", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda1": [ "870513cd-8dd7-42a0-b617-f0b3d273865f" ] } }, "devices": { "xvda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "xvda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "870513cd-8dd7-42a0-b617-f0b3d273865f" ] }, "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "start": "2048", "uuid": "870513cd-8dd7-42a0-b617-f0b3d273865f" } }, "removable": "0", "rotational": "0", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "deadline", "sectors": "524288000", "sectorsize": "512", "size": "250.00 GB", "support_discard": "0", "vendor": null, "virtual": 1 } }, "distribution": "RedHat", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_search_string": "Red Hat", "distribution_file_variety": "RedHat", "distribution_major_version": "7", "distribution_release": "Maipo", "distribution_version": "7.9", "dns": { "nameservers": [ "10.29.169.13", "10.29.170.12", "10.2.32.1" ], "search": [ "us-east-1.aws.redhat.com", "testing-farm" ] }, "domain": "testing-farm.us-east-1.aws.redhat.com", "effective_group_id": 0, "effective_user_id": 0, "env": { "HOME": "/root", "LANG": "en_US.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "MAIL": "/var/mail/root", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "2", "SSH_CLIENT": "10.29.163.172 52916 22", "SSH_CONNECTION": "10.29.163.172 52916 10.31.40.86 22", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_ID": "5", "_": "/usr/bin/python2" }, "eth0": { "active": true, "device": "eth0", "features": { "busy_poll": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "off [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "off [fixed]", "netns_local": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ipv6": "off [requested on]", "tx_checksum_sctp": "off [fixed]", "tx_checksumming": "on", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_lockless": "off [fixed]", "tx_nocache_copy": "off", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_tcp6_segmentation": "off [requested on]", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp_segmentation": "on", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "vlan_challenged": "off [fixed]" }, "hw_timestamp_filters": [], "ipv4": { "address": "10.31.40.86", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0" }, "ipv6": [ { "address": "fe80::ce6:bfff:fe90:ff65", "prefix": "64", "scope": "link" } ], "macaddress": "0e:e6:bf:90:ff:65", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "timestamping": [ "rx_software", "software" ], "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "b7bd4a9e-15ea-4f78-8f7e-d5eb8e8911e2.testing-farm.us-east-1.aws.redhat.com", "gather_subset": [ "all" ], "hostname": "b7bd4a9e-15ea-4f78-8f7e-d5eb8e8911e2", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "3.10.0-1160.107.1.el7.x86_64", "kernel_version": "#1 SMP Thu Dec 14 10:02:18 EST 2023", "lo": { "active": true, "device": "lo", "features": { "busy_poll": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "on [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "on [fixed]", "netns_local": "on [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "tx_checksumming": "on", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_lockless": "on [fixed]", "tx_nocache_copy": "off [fixed]", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp_segmentation": "on", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "udp_fragmentation_offload": "on", "vlan_challenged": "on [fixed]" }, "hw_timestamp_filters": [], "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "timestamping": [ "rx_software", "software" ], "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "88b40502d3634bfeb808a6697f1152ea", "memfree_mb": 2231, "memory_mb": { "nocache": { "free": 3385, "used": 215 }, "real": { "free": 2231, "total": 3600, "used": 1369 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 3600, "module_setup": true, "mounts": [ { "block_available": 64899650, "block_size": 4096, "block_total": 65533179, "block_used": 633529, "device": "/dev/xvda1", "fstype": "xfs", "inode_available": 131029787, "inode_total": 131071472, "inode_used": 41685, "mount": "/", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 265828966400, "size_total": 268423901184, "uuid": "870513cd-8dd7-42a0-b617-f0b3d273865f" } ], "nodename": "b7bd4a9e-15ea-4f78-8f7e-d5eb8e8911e2.testing-farm", "os_family": "RedHat", "pkg_mgr": "yum", "proc_cmdline": { "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.107.1.el7.x86_64", "LANG": "en_US.UTF-8", "console": [ "tty0", "ttyS0,115200n8" ], "crashkernel": "auto", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=870513cd-8dd7-42a0-b617-f0b3d273865f" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz" ], "processor_cores": 1, "processor_count": 1, "processor_threads_per_core": 2, "processor_vcpus": 2, "product_name": "HVM domU", "product_serial": "ec294dff-25f3-693c-ada4-4b7dd81f29a8", "product_uuid": "EC294DFF-25F3-693C-ADA4-4B7DD81F29A8", "product_version": "4.2.amazon", "python": { "executable": "/usr/bin/python2", "has_sslcontext": true, "type": "CPython", "version": { "major": 2, "micro": 5, "minor": 7, "releaselevel": "final", "serial": 0 }, "version_info": [ 2, 7, 5, "final", 0 ] }, "python_version": "2.7.5", "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 31, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNkDc9UX73+yfQVElC/SRMYFtm00baccqPyVWNr6ODrC3vRJA6L+oSslPrGOuNe9WvvOhoODn3To8OqBcfJ30KE=", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIJrgFUHtVI0cnKvR25ZAHlDiIU/MmId/Qu15gaPYSbEX", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCXU4XIQr4EQT9PEcXWnRXXzM5sgh114UPKBuENXeDsAzpMNqEZXf16xK0Ch01JrkvSJ+wx7V4sNqQlUNrazroVIPtnzvh5WE2mO+o2bUaDBqyq0EsyhcL5hDYykxppkcLa0q0glZW8o7R1d3xr++WjbhuYWR8qKzk5eBvP3IwqSutVpSK9+5mai1GNFpBFyLtAyidFos6tOb8cgbmfmcIYN4QGort8gaS/qyRjEvwPSvImPbrCAVE1x3UyoezHPVOhAsOGHFxPnkfWDub/uS9253dfhNNRQcwuKGYz51+TUcAowrR3gFc6l3mRqmQoNDAltOJGIfj88oKZ9iLXfnbl", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [ "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", "35", "36+ep" ], "system_capabilities_enforced": "True", "system_vendor": "Xen", "uptime_seconds": 435, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_type": "xen" } TASK [Install hostapd via CentOS Stream] *************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802_1x_server.yml:8 Friday 12 January 2024 20:11:04 +0000 (0:00:00.013) 0:00:06.550 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install hostapd] ********************************************************* task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802_1x_server.yml:16 Friday 12 January 2024 20:11:04 +0000 (0:00:00.012) 0:00:06.562 ******** changed: [sut] => { "changed": true, "changes": { "installed": [ "hostapd" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package hostapd.x86_64 0:2.9-3.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n hostapd x86_64 2.9-3.el7 epel 489 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 489 k\nInstalled size: 1.2 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : hostapd-2.9-3.el7.x86_64 1/1 \n Verifying : hostapd-2.9-3.el7.x86_64 1/1 \n\nInstalled:\n hostapd.x86_64 0:2.9-3.el7 \n\nComplete!\n" ] } TASK [Create directory for test certificates] ********************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802_1x_server.yml:23 Friday 12 January 2024 20:11:06 +0000 (0:00:01.991) 0:00:08.553 ******** changed: [sut] => { "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": 6, "state": "directory", "uid": 0 } TASK [Copy server certificates] ************************************************ task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802_1x_server.yml:28 Friday 12 January 2024 20:11:06 +0000 (0:00:00.208) 0:00:08.761 ******** changed: [sut] => (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-1705090266.4533782-2542-241286616579304/source", "state": "file", "uid": 0 } changed: [sut] => (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-1705090266.9326413-2542-76315658946101/source", "state": "file", "uid": 0 } changed: [sut] => (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-1705090267.3881419-2542-234593253585226/source", "state": "file", "uid": 0 } changed: [sut] => (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-1705090267.8079407-2542-67839804581039/source", "state": "file", "uid": 0 } TASK [Create test interfaces] ************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802_1x_server.yml:39 Friday 12 January 2024 20:11:08 +0000 (0:00:01.813) 0:00:10.574 ******** ok: [sut] => { "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.361986", "end": "2024-01-12 20:11:08.703888", "rc": 0, "start": "2024-01-12 20:11:08.341902" } TASK [Create hostapd config] *************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802_1x_server.yml:66 Friday 12 January 2024 20:11:08 +0000 (0:00:00.512) 0:00:11.087 ******** changed: [sut] => { "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-1705090268.758705-2579-252054296145828/source", "state": "file", "uid": 0 } TASK [Create eap_user_file config] ********************************************* task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802_1x_server.yml:87 Friday 12 January 2024 20:11:09 +0000 (0:00:00.376) 0:00:11.463 ******** changed: [sut] => { "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-1705090269.132775-2589-56375021944942/source", "state": "file", "uid": 0 } TASK [Run hostapd in namespace] ************************************************ task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802_1x_server.yml:94 Friday 12 January 2024 20:11:09 +0000 (0:00:00.369) 0:00:11.833 ******** ok: [sut] => { "changed": false, "cmd": "ip netns exec ns1 hostapd -B /etc/hostapd/wired.conf && sleep 5", "delta": "0:00:05.137679", "end": "2024-01-12 20:11:14.714951", "rc": 0, "start": "2024-01-12 20:11:09.577272" } STDOUT: Configuration file: /etc/hostapd/wired.conf Using interface veth1 with hwaddr 96:d0:52:41:29:50 and ssid "" veth1: interface state UNINITIALIZED->ENABLED veth1: AP-ENABLED TASK [Copy client certs] ******************************************************* task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802.1x.yml:4 Friday 12 January 2024 20:11:14 +0000 (0:00:05.274) 0:00:17.108 ******** changed: [sut] => (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-1705090274.7855382-2685-13374908759120/source", "state": "file", "uid": 0 } changed: [sut] => (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-1705090275.1679804-2685-196077433998676/source", "state": "file", "uid": 0 } changed: [sut] => (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-1705090275.6290057-2685-226075361066624/source", "state": "file", "uid": 0 } changed: [sut] => (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-1705090276.0928972-2685-145616074618071/source", "state": "file", "uid": 0 } TASK [TEST: 802.1x profile with private key password and ca cert] ************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:15 Friday 12 January 2024 20:11:16 +0000 (0:00:01.720) 0:00:18.828 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:11:16 +0000 (0:00:00.011) 0:00:18.840 ******** included: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:11:16 +0000 (0:00:00.072) 0:00:18.913 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:11:16 +0000 (0:00:00.024) 0:00:18.937 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:11:16 +0000 (0:00:00.018) 0:00:18.956 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:11:16 +0000 (0:00:00.019) 0:00:18.975 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:11:17 +0000 (0:00:00.852) 0:00:19.828 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:11:18 +0000 (0:00:00.821) 0:00:20.649 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:11:18 +0000 (0:00:00.041) 0:00:20.691 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:11:18 +0000 (0:00:00.042) 0:00:20.734 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:11:18 +0000 (0:00:00.028) 0:00:20.763 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:11:18 +0000 (0:00:00.068) 0:00:20.831 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:11:18 +0000 (0:00:00.028) 0:00:20.860 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:11:18 +0000 (0:00:00.029) 0:00:20.889 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:11:18 +0000 (0:00:00.037) 0:00:20.927 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:11:18 +0000 (0:00:00.233) 0:00:21.161 ******** changed: [sut] => { "changed": true, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target syslog.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "WPA Supplicant daemon", "DevicePolicy": "auto", "EnvironmentFile": "/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 -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:11:19 +0000 (0:00:00.411) 0:00:21.573 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:11:19 +0000 (0:00:00.026) 0:00:21.599 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:11:19 +0000 (0:00:00.026) 0:00:21.625 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "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, 41350274-f8b8-47ff-bf2d-a5ed5aa56ae3 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 41350274-f8b8-47ff-bf2d-a5ed5aa56ae3 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:11:21 +0000 (0:00:02.534) 0:00:24.159 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:11:21 +0000 (0:00:00.026) 0:00:24.186 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 41350274-f8b8-47ff-bf2d-a5ed5aa56ae3", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 41350274-f8b8-47ff-bf2d-a5ed5aa56ae3 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:11:21 +0000 (0:00:00.028) 0:00:24.214 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "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, 41350274-f8b8-47ff-bf2d-a5ed5aa56ae3\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 41350274-f8b8-47ff-bf2d-a5ed5aa56ae3 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 41350274-f8b8-47ff-bf2d-a5ed5aa56ae3", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 41350274-f8b8-47ff-bf2d-a5ed5aa56ae3 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:11:21 +0000 (0:00:00.027) 0:00:24.242 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:11:21 +0000 (0:00:00.032) 0:00:24.275 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Ensure ping command is present] ****************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:41 Friday 12 January 2024 20:11:22 +0000 (0:00:00.248) 0:00:24.523 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iputils-20160308-10.el7.x86_64 providing iputils is already installed" ] } TASK [TEST: I can ping the EAP server] ***************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:47 Friday 12 January 2024 20:11:22 +0000 (0:00:00.327) 0:00:24.851 ******** ok: [sut] => { "changed": false, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.004863", "end": "2024-01-12 20:11:22.603751", "rc": 0, "start": "2024-01-12 20:11:22.598888" } STDOUT: 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.057 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.057/0.057/0.057/0.000 ms TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:11:22 +0000 (0:00:00.141) 0:00:24.992 ******** included: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:11:22 +0000 (0:00:00.044) 0:00:25.036 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:11:22 +0000 (0:00:00.065) 0:00:25.102 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:11:22 +0000 (0:00:00.083) 0:00:25.185 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:11:22 +0000 (0:00:00.123) 0:00:25.309 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:11:23 +0000 (0:00:00.752) 0:00:26.062 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:11:24 +0000 (0:00:00.651) 0:00:26.714 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:11:24 +0000 (0:00:00.029) 0:00:26.743 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:11:24 +0000 (0:00:00.035) 0:00:26.779 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:11:24 +0000 (0:00:00.033) 0:00:26.812 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:11:24 +0000 (0:00:00.057) 0:00:26.869 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:11:24 +0000 (0:00:00.033) 0:00:26.902 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:11:24 +0000 (0:00:00.030) 0:00:26.933 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:11:24 +0000 (0:00:00.032) 0:00:26.966 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:11:24 +0000 (0:00:00.286) 0:00:27.252 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:11:24 +0000 (0:00:00.033) 0:00:27.286 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:11:24 +0000 (0:00:00.029) 0:00:27.315 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:11:25 +0000 (0:00:00.058) 0:00:27.373 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:11:27 +0000 (0:00:02.503) 0:00:29.877 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:11:27 +0000 (0:00:00.053) 0:00:29.930 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:11:27 +0000 (0:00:00.068) 0:00:29.999 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "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 : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:11:27 +0000 (0:00:00.034) 0:00:30.033 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:11:27 +0000 (0:00:00.028) 0:00:30.062 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [TEST: 802.1x profile with unencrypted private key, domain suffix match, and system ca certs] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:58 Friday 12 January 2024 20:11:27 +0000 (0:00:00.182) 0:00:30.245 ******** ok: [sut] => {} MSG: ################################################## TASK [Copy cacert to system truststore] **************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:63 Friday 12 January 2024 20:11:27 +0000 (0:00:00.028) 0:00:30.273 ******** changed: [sut] => { "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-1705090287.992945-3104-239215005074525/source", "state": "file", "uid": 0 } TASK [Update ca trust] ********************************************************* task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:68 Friday 12 January 2024 20:11:28 +0000 (0:00:00.496) 0:00:30.770 ******** ok: [sut] => { "changed": false, "cmd": [ "update-ca-trust" ], "delta": "0:00:01.508035", "end": "2024-01-12 20:11:30.025783", "rc": 0, "start": "2024-01-12 20:11:28.517748" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:11:30 +0000 (0:00:01.647) 0:00:32.417 ******** included: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:11:30 +0000 (0:00:00.043) 0:00:32.461 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:11:30 +0000 (0:00:00.075) 0:00:32.536 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:11:30 +0000 (0:00:00.034) 0:00:32.570 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:11:30 +0000 (0:00:00.039) 0:00:32.610 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:11:31 +0000 (0:00:00.775) 0:00:33.385 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:11:31 +0000 (0:00:00.655) 0:00:34.041 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:11:31 +0000 (0:00:00.027) 0:00:34.068 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:11:31 +0000 (0:00:00.026) 0:00:34.095 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:11:31 +0000 (0:00:00.039) 0:00:34.134 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:11:31 +0000 (0:00:00.062) 0:00:34.197 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:11:31 +0000 (0:00:00.040) 0:00:34.237 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:11:31 +0000 (0:00:00.036) 0:00:34.274 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:11:31 +0000 (0:00:00.035) 0:00:34.309 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:11:32 +0000 (0:00:00.276) 0:00:34.586 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-12 20:11:19 UTC", "ActiveEnterTimestampMonotonic": "451023138", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-12 20:11:19 UTC", "AssertTimestampMonotonic": "450930278", "Before": "multi-user.target network.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-12 20:11:19 UTC", "ConditionTimestampMonotonic": "450930276", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "WPA Supplicant daemon", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6013", "ExecMainStartTimestamp": "Fri 2024-01-12 20:11:19 UTC", "ExecMainStartTimestampMonotonic": "450937510", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Fri 2024-01-12 20:11:19 UTC] ; stop_time=[n/a] ; pid=6013 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-12 20:11:19 UTC", "InactiveExitTimestampMonotonic": "450937552", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "6013", "MemoryAccounting": "no", "MemoryCurrent": "3551232", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "1", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-12 20:11:19 UTC", "WatchdogTimestampMonotonic": "451023092", "WatchdogUSec": "0" } } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:11:32 +0000 (0:00:00.242) 0:00:34.829 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:11:32 +0000 (0:00:00.036) 0:00:34.865 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:11:32 +0000 (0:00:00.039) 0:00:34.904 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "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, 7cdbdc80-975c-4b64-932a-b570a30d5c4a [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 7cdbdc80-975c-4b64-932a-b570a30d5c4a (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:11:35 +0000 (0:00:02.572) 0:00:37.477 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:11:35 +0000 (0:00:00.025) 0:00:37.502 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 7cdbdc80-975c-4b64-932a-b570a30d5c4a", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 7cdbdc80-975c-4b64-932a-b570a30d5c4a (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:11:35 +0000 (0:00:00.026) 0:00:37.529 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "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, 7cdbdc80-975c-4b64-932a-b570a30d5c4a\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 7cdbdc80-975c-4b64-932a-b570a30d5c4a (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 7cdbdc80-975c-4b64-932a-b570a30d5c4a", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 7cdbdc80-975c-4b64-932a-b570a30d5c4a (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:11:35 +0000 (0:00:00.026) 0:00:37.555 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:11:35 +0000 (0:00:00.026) 0:00:37.582 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [TEST: I can ping the EAP server] ***************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:94 Friday 12 January 2024 20:11:35 +0000 (0:00:00.135) 0:00:37.718 ******** ok: [sut] => { "changed": false, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.005201", "end": "2024-01-12 20:11:35.466270", "rc": 0, "start": "2024-01-12 20:11:35.461069" } STDOUT: 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.056 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.056/0.056/0.056/0.000 ms TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:11:35 +0000 (0:00:00.137) 0:00:37.855 ******** included: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:11:35 +0000 (0:00:00.042) 0:00:37.898 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:11:35 +0000 (0:00:00.040) 0:00:37.938 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:11:35 +0000 (0:00:00.085) 0:00:38.023 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:11:35 +0000 (0:00:00.043) 0:00:38.067 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:11:36 +0000 (0:00:00.819) 0:00:38.886 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:11:37 +0000 (0:00:00.679) 0:00:39.566 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:11:37 +0000 (0:00:00.034) 0:00:39.600 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:11:37 +0000 (0:00:00.061) 0:00:39.662 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:11:37 +0000 (0:00:00.037) 0:00:39.699 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:11:37 +0000 (0:00:00.051) 0:00:39.750 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:11:37 +0000 (0:00:00.028) 0:00:39.779 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:11:37 +0000 (0:00:00.029) 0:00:39.808 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:11:37 +0000 (0:00:00.033) 0:00:39.842 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:11:37 +0000 (0:00:00.296) 0:00:40.139 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:11:37 +0000 (0:00:00.033) 0:00:40.172 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:11:37 +0000 (0:00:00.029) 0:00:40.202 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:11:37 +0000 (0:00:00.043) 0:00:40.246 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "802-1x-test", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:11:38 +0000 (0:00:00.453) 0:00:40.699 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:11:38 +0000 (0:00:00.029) 0:00:40.728 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:11:38 +0000 (0:00:00.030) 0:00:40.758 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "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 : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:11:38 +0000 (0:00:00.030) 0:00:40.789 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:11:38 +0000 (0:00:00.031) 0:00:40.821 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'test_802.1x_capath.yml'] ******************************* task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:106 Friday 12 January 2024 20:11:38 +0000 (0:00:00.169) 0:00:40.991 ******** included: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/test_802.1x_capath.yml for sut TASK [TEST: 802.1x profile with unencrypted private key and ca_path] *********** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/test_802.1x_capath.yml:2 Friday 12 January 2024 20:11:38 +0000 (0:00:00.054) 0:00:41.046 ******** ok: [sut] => {} MSG: ################################################## TASK [Set __NM_capath_ignored_NVRs] ******************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/test_802.1x_capath.yml:6 Friday 12 January 2024 20:11:38 +0000 (0:00:00.023) 0:00:41.069 ******** ok: [sut] => { "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: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/test_802.1x_capath.yml:22 Friday 12 January 2024 20:11:38 +0000 (0:00:00.022) 0:00:41.092 ******** changed: [sut] => { "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": 6, "state": "directory", "uid": 0 } TASK [Copy cacert to ca_path] ************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/test_802.1x_capath.yml:27 Friday 12 January 2024 20:11:38 +0000 (0:00:00.170) 0:00:41.262 ******** changed: [sut] => { "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-1705090298.933189-3607-43263129596690/source", "state": "file", "uid": 0 } TASK [Install openssl (test dependency)] *************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/test_802.1x_capath.yml:32 Friday 12 January 2024 20:11:39 +0000 (0:00:00.373) 0:00:41.636 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-26.el7_9.x86_64 providing openssl is already installed" ] } TASK [Hash cacert] ************************************************************* task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/test_802.1x_capath.yml:38 Friday 12 January 2024 20:11:39 +0000 (0:00:00.336) 0:00:41.972 ******** ok: [sut] => { "changed": false, "cmd": [ "openssl", "x509", "-hash", "-noout", "-in", "/etc/pki/tls/my_ca_certs/cacert.pem" ], "delta": "0:00:00.077082", "end": "2024-01-12 20:11:39.796634", "rc": 0, "start": "2024-01-12 20:11:39.719552" } STDOUT: d1b7d027 TASK [Add symlink for cacert] ************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/test_802.1x_capath.yml:43 Friday 12 January 2024 20:11:39 +0000 (0:00:00.214) 0:00:42.186 ******** changed: [sut] => { "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: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/test_802.1x_capath.yml:48 Friday 12 January 2024 20:11:39 +0000 (0:00:00.140) 0:00:42.327 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "NetworkManager" ], "delta": "0:00:00.405088", "end": "2024-01-12 20:11:40.474271", "rc": 0, "start": "2024-01-12 20:11:40.069183" } STDOUT: NetworkManager-1.18.8-2.el7_9.x86_64 TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:11:40 +0000 (0:00:00.538) 0:00:42.865 ******** included: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:11:40 +0000 (0:00:00.049) 0:00:42.915 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:11:40 +0000 (0:00:00.043) 0:00:42.958 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:11:40 +0000 (0:00:00.026) 0:00:42.984 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:11:40 +0000 (0:00:00.070) 0:00:43.055 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:11:41 +0000 (0:00:00.766) 0:00:43.821 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:11:42 +0000 (0:00:00.660) 0:00:44.481 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:11:42 +0000 (0:00:00.025) 0:00:44.506 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:11:42 +0000 (0:00:00.024) 0:00:44.531 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:11:42 +0000 (0:00:00.048) 0:00:44.580 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:11:42 +0000 (0:00:00.102) 0:00:44.682 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:11:42 +0000 (0:00:00.035) 0:00:44.717 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:11:42 +0000 (0:00:00.039) 0:00:44.757 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:11:42 +0000 (0:00:00.055) 0:00:44.812 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:11:42 +0000 (0:00:00.295) 0:00:45.108 ******** ok: [sut] => { "changed": false, "enabled": true, "name": "wpa_supplicant", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-12 20:11:19 UTC", "ActiveEnterTimestampMonotonic": "451023138", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-12 20:11:19 UTC", "AssertTimestampMonotonic": "450930278", "Before": "multi-user.target network.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "fi.w1.wpa_supplicant1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-01-12 20:11:19 UTC", "ConditionTimestampMonotonic": "450930276", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/wpa_supplicant.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "WPA Supplicant daemon", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/wpa_supplicant (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6013", "ExecMainStartTimestamp": "Fri 2024-01-12 20:11:19 UTC", "ExecMainStartTimestampMonotonic": "450937510", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/wpa_supplicant ; argv[]=/usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS ; ignore_errors=no ; start_time=[Fri 2024-01-12 20:11:19 UTC] ; stop_time=[n/a] ; pid=6013 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/wpa_supplicant.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "wpa_supplicant.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-01-12 20:11:19 UTC", "InactiveExitTimestampMonotonic": "450937552", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "6013", "MemoryAccounting": "no", "MemoryCurrent": "4415488", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "wpa_supplicant.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "1", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-01-12 20:11:19 UTC", "WatchdogTimestampMonotonic": "451023092", "WatchdogUSec": "0" } } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:11:42 +0000 (0:00:00.225) 0:00:45.334 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:11:43 +0000 (0:00:00.035) 0:00:45.369 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:11:43 +0000 (0:00:00.034) 0:00:45.404 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "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, 731524a2-21d5-4805-9514-66bda6056692 [004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 731524a2-21d5-4805-9514-66bda6056692 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:11:45 +0000 (0:00:02.567) 0:00:47.972 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:11:45 +0000 (0:00:00.051) 0:00:48.023 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 731524a2-21d5-4805-9514-66bda6056692", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 731524a2-21d5-4805-9514-66bda6056692 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:11:45 +0000 (0:00:00.032) 0:00:48.055 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "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, 731524a2-21d5-4805-9514-66bda6056692\n[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 731524a2-21d5-4805-9514-66bda6056692 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, '802-1x-test': add connection 802-1x-test, 731524a2-21d5-4805-9514-66bda6056692", "[004] #0, state:up persistent_state:present, '802-1x-test': up connection 802-1x-test, 731524a2-21d5-4805-9514-66bda6056692 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:11:45 +0000 (0:00:00.049) 0:00:48.104 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:11:45 +0000 (0:00:00.041) 0:00:48.146 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Ensure ping command is present] ****************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/test_802.1x_capath.yml:78 Friday 12 January 2024 20:11:45 +0000 (0:00:00.185) 0:00:48.331 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iputils-20160308-10.el7.x86_64 providing iputils is already installed" ] } TASK [TEST: I can ping the EAP server] ***************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/test_802.1x_capath.yml:84 Friday 12 January 2024 20:11:46 +0000 (0:00:00.433) 0:00:48.765 ******** ok: [sut] => { "changed": false, "cmd": [ "ping", "-c1", "203.0.113.1" ], "delta": "0:00:00.005106", "end": "2024-01-12 20:11:46.550326", "rc": 0, "start": "2024-01-12 20:11:46.545220" } STDOUT: 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.056 ms --- 203.0.113.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.056/0.056/0.056/0.000 ms TASK [Trigger failure in case the role did not fail] *************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/test_802.1x_capath.yml:87 Friday 12 January 2024 20:11:46 +0000 (0:00:00.196) 0:00:48.962 ******** fatal: [sut]: FAILED! => { "changed": false } MSG: after test TASK [Show failed item] ******************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/test_802.1x_capath.yml:91 Friday 12 January 2024 20:11:46 +0000 (0:00:00.028) 0:00:48.991 ******** ok: [sut] => (item=ansible_failed_result) => { "ansible_failed_result": { "changed": false, "failed": true, "msg": "after test" }, "ansible_loop_var": "item", "item": "ansible_failed_result" } ok: [sut] => (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": "root", "retries": 3, "run_once": null, "squashed": true, "tags": [], "throttle": 0, "until": [], "uuid": "0a0b630a-c513-696d-69d3-0000000004c4", "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: [sut] => (item=__network_nm_nvr.stdout) => { "__network_nm_nvr.stdout": "NetworkManager-1.18.8-2.el7_9.x86_64", "ansible_loop_var": "item", "item": "__network_nm_nvr.stdout" } ok: [sut] => (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: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/test_802.1x_capath.yml:101 Friday 12 January 2024 20:11:46 +0000 (0:00:00.207) 0:00:49.198 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert role failure] ***************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/test_802.1x_capath.yml:111 Friday 12 January 2024 20:11:46 +0000 (0:00:00.064) 0:00:49.263 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ping succeeded] *************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/test_802.1x_capath.yml:120 Friday 12 January 2024 20:11:46 +0000 (0:00:00.065) 0:00:49.329 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:11:47 +0000 (0:00:00.072) 0:00:49.402 ******** included: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:11:47 +0000 (0:00:00.111) 0:00:49.513 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:11:47 +0000 (0:00:00.081) 0:00:49.595 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:11:47 +0000 (0:00:00.097) 0:00:49.692 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:11:47 +0000 (0:00:00.061) 0:00:49.754 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:11:48 +0000 (0:00:00.791) 0:00:50.545 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:11:48 +0000 (0:00:00.688) 0:00:51.234 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:11:48 +0000 (0:00:00.037) 0:00:51.272 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:11:48 +0000 (0:00:00.080) 0:00:51.352 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:11:49 +0000 (0:00:00.055) 0:00:51.408 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:11:49 +0000 (0:00:00.091) 0:00:51.499 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:11:49 +0000 (0:00:00.059) 0:00:51.559 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:11:49 +0000 (0:00:00.035) 0:00:51.594 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:11:49 +0000 (0:00:00.034) 0:00:51.629 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:11:49 +0000 (0:00:00.242) 0:00:51.872 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:11:49 +0000 (0:00:00.036) 0:00:51.909 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:11:49 +0000 (0:00:00.050) 0:00:51.959 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:11:49 +0000 (0:00:00.030) 0:00:51.990 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "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: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:11:50 +0000 (0:00:00.631) 0:00:52.622 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:11:50 +0000 (0:00:00.040) 0:00:52.662 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:11:50 +0000 (0:00:00.065) 0:00:52.727 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "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 : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:11:50 +0000 (0:00:00.045) 0:00:52.773 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:11:50 +0000 (0:00:00.030) 0:00:52.804 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'cleanup_802_1x_server.yml'] **************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:125 Friday 12 January 2024 20:11:50 +0000 (0:00:00.151) 0:00:52.955 ******** included: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/cleanup_802_1x_server.yml for sut TASK [Remove test interfaces] ************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/cleanup_802_1x_server.yml:3 Friday 12 January 2024 20:11:50 +0000 (0:00:00.076) 0:00:53.031 ******** ok: [sut] => { "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.063694", "end": "2024-01-12 20:11:50.876936", "rc": 0, "start": "2024-01-12 20:11:50.813242" } TASK [Kill hostapd process] **************************************************** task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/cleanup_802_1x_server.yml:11 Friday 12 January 2024 20:11:50 +0000 (0:00:00.244) 0:00:53.276 ******** ok: [sut] => { "changed": false, "cmd": [ "pkill", "hostapd" ], "delta": "0:00:00.026250", "end": "2024-01-12 20:11:51.069181", "rc": 0, "start": "2024-01-12 20:11:51.042931" } TASK [Remove certs and config] ************************************************* task path: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/cleanup_802_1x_server.yml:14 Friday 12 January 2024 20:11:51 +0000 (0:00:00.206) 0:00:53.482 ******** changed: [sut] => (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: [sut] => (item=/etc/hostapd/wired.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/hostapd/wired.conf", "path": "/etc/hostapd/wired.conf", "state": "absent" } changed: [sut] => (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: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:127 Friday 12 January 2024 20:11:51 +0000 (0:00:00.450) 0:00:53.932 ******** changed: [sut] => (item=client.key) => { "ansible_loop_var": "item", "changed": true, "item": "client.key", "path": "/etc/pki/tls/client.key", "state": "absent" } changed: [sut] => (item=client.key.nocrypt) => { "ansible_loop_var": "item", "changed": true, "item": "client.key.nocrypt", "path": "/etc/pki/tls/client.key.nocrypt", "state": "absent" } changed: [sut] => (item=client.pem) => { "ansible_loop_var": "item", "changed": true, "item": "client.pem", "path": "/etc/pki/tls/client.pem", "state": "absent" } changed: [sut] => (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: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:136 Friday 12 January 2024 20:11:52 +0000 (0:00:00.593) 0:00:54.526 ******** changed: [sut] => (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: [sut] => (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: /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:143 Friday 12 January 2024 20:11:52 +0000 (0:00:00.304) 0:00:54.830 ******** ok: [sut] => { "changed": false, "cmd": [ "update-ca-trust" ], "delta": "0:00:01.505788", "end": "2024-01-12 20:11:54.099985", "rc": 0, "start": "2024-01-12 20:11:52.594197" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=111 changed=21 unreachable=0 failed=0 skipped=86 rescued=1 ignored=0 Friday 12 January 2024 20:11:54 +0000 (0:00:01.702) 0:00:56.533 ******** =============================================================================== Run hostapd in namespace ------------------------------------------------ 5.27s /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802_1x_server.yml:94 linux-system-roles.network : Configure networking connection profiles --- 2.96s /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Update NetworkManager --------------------------------------------------- 2.84s /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x_updated.yml:7 ---- linux-system-roles.network : Configure networking connection profiles --- 2.57s /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 2.57s /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 2.53s /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Install hostapd --------------------------------------------------------- 1.99s /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802_1x_server.yml:16 Copy server certificates ------------------------------------------------ 1.81s /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802_1x_server.yml:28 Copy client certs ------------------------------------------------------- 1.72s /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tasks/setup_802.1x.yml:4 ------ Update ca trust --------------------------------------------------------- 1.70s /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:143 ---------- Update ca trust --------------------------------------------------------- 1.65s /WORKDIR/git-route_typervf8s7o5/tests/playbooks/tests_802_1x.yml:68 ----------- linux-system-roles.network : Check which services are running ----------- 0.85s /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.82s /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.69s /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.68s /WORKDIR/git-route_typervf8s7o5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper 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. ---^---^---^---^---^---