+ cd /tmp/tmpgch7t1xn/tests; TEST_SUBJECTS=/cache/Fedora-Cloud-Base-31-1.9.x86_64.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_cockpit-13-eea70f9-fedora-31-e5o5k_b8/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpgch7t1xn/_setup.yml /tmp/tmpgch7t1xn/tests/tests_default.yml ansible-playbook 2.9.13 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.8/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.8.5 (default, Aug 12 2020, 00:00:00) [GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] Using /etc/ansible/ansible.cfg as config file PLAYBOOK: _setup.yml *********************************************************** 1 plays in /tmp/tmpgch7t1xn/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpgch7t1xn/_setup.yml:5 ok: [/cache/Fedora-Cloud-Base-31-1.9.x86_64.qcow2] => { "groups": { "all": [ "/cache/Fedora-Cloud-Base-31-1.9.x86_64.qcow2" ], "localhost": [ "/cache/Fedora-Cloud-Base-31-1.9.x86_64.qcow2" ], "subjects": [ "/cache/Fedora-Cloud-Base-31-1.9.x86_64.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpgch7t1xn/_setup.yml:7 skipping: [/cache/Fedora-Cloud-Base-31-1.9.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/Fedora-Cloud-Base-31-1.9.x86_64.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpgch7t1xn/tests/tests_default.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpgch7t1xn/tests/tests_default.yml:2 ok: [/cache/Fedora-Cloud-Base-31-1.9.x86_64.qcow2] META: ran handlers TASK [linux-system-roles.cockpit : Set version specific variables] ************* task path: /tmp/tmpgch7t1xn/tasks/main.yml:1 ok: [/cache/Fedora-Cloud-Base-31-1.9.x86_64.qcow2] => (item=/tmp/tmpgch7t1xn/vars/Fedora.yml) => {"ansible_facts": {"__cockpit_packages": {"default": "{{ __cockpit_packages_minimal + __cockpit_packages_default }}", "full": "{{ __cockpit_packages_minimal + __cockpit_packages_default + __cockpit_packages_full }}", "minimal": "{{ __cockpit_packages_minimal }}"}, "__cockpit_packages_default": ["cockpit", "cockpit-networkmanager", "cockpit-packagekit", "cockpit-selinux", "cockpit-storaged"], "__cockpit_packages_exclude": ["cockpit-docker", "cockpit-ostree", "cockpit-tests"], "__cockpit_packages_full": ["cockpit-*"], "__cockpit_packages_minimal": ["cockpit-system", "cockpit-ws"]}, "ansible_included_var_files": ["/tmp/tmpgch7t1xn/vars/Fedora.yml"], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpgch7t1xn/vars/Fedora.yml"} TASK [linux-system-roles.cockpit : Manage cockpit packages using platform specific package manager if applicable] *** task path: /tmp/tmpgch7t1xn/tasks/main.yml:10 included: /tmp/tmpgch7t1xn/tasks/setup-dnf.yml for /cache/Fedora-Cloud-Base-31-1.9.x86_64.qcow2 TASK [linux-system-roles.cockpit : If choosing custom package set, ensure minimal cockpit is included] *** task path: /tmp/tmpgch7t1xn/tasks/setup-dnf.yml:1 ok: [/cache/Fedora-Cloud-Base-31-1.9.x86_64.qcow2] => {"ansible_facts": {"cockpit_packages": "default"}, "changed": false} TASK [linux-system-roles.cockpit : Ensure Cockpit Web Console packages are installed.] *** task path: /tmp/tmpgch7t1xn/tasks/setup-dnf.yml:8 changed: [/cache/Fedora-Cloud-Base-31-1.9.x86_64.qcow2] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: iscsi-initiator-utils-6.2.0.876-10.gitf3c8e90.fc31.x86_64", "Installed: volume_key-libs-0.3.12-4.fc31.x86_64", "Installed: iscsi-initiator-utils-iscsiuio-6.2.0.876-10.gitf3c8e90.fc31.x86_64", "Installed: isns-utils-libs-0.97-9.fc31.x86_64", "Installed: python3-systemd-234-9.fc31.x86_64", "Installed: luksmeta-9-6.fc31.x86_64", "Installed: NetworkManager-team-1:1.20.4-1.fc31.x86_64", "Installed: libnl3-cli-3.5.0-1.fc31.x86_64", "Installed: clevis-13-1.fc31.x86_64", "Installed: clevis-luks-13-1.fc31.x86_64", "Installed: python3-gobject-base-3.34.0-3.fc31.x86_64", "Installed: libgudev-232-6.fc31.x86_64", "Installed: cockpit-226-1.fc31.x86_64", "Installed: cockpit-bridge-226-1.fc31.x86_64", "Installed: cockpit-networkmanager-226-1.fc31.noarch", "Installed: cockpit-packagekit-226-1.fc31.noarch", "Installed: cockpit-selinux-226-1.fc31.noarch", "Installed: cockpit-storaged-226-1.fc31.noarch", "Installed: cockpit-system-226-1.fc31.noarch", "Installed: cockpit-ws-226-1.fc31.x86_64", "Installed: PackageKit-1.1.12-11.fc31.x86_64", "Installed: dosfstools-4.1-9.fc31.x86_64", "Installed: libaio-0.3.111-6.fc31.x86_64", "Installed: web-assets-filesystem-5-10.fc31.noarch", "Installed: PackageKit-glib-1.1.12-11.fc31.x86_64", "Installed: nspr-4.29.0-1.fc31.x86_64", "Installed: nss-3.57.0-1.fc31.x86_64", "Installed: nss-softokn-3.57.0-1.fc31.x86_64", "Installed: mozjs60-60.9.0-5.fc31.x86_64", "Installed: nss-softokn-freebl-3.57.0-1.fc31.x86_64", "Installed: ntfs-3g-2:2017.3.23-12.fc31.x86_64", "Installed: udisks2-2.8.4-3.fc31.x86_64", "Installed: nss-sysinit-3.57.0-1.fc31.x86_64", "Installed: ntfs-3g-system-compression-1.0-2.fc31.x86_64", "Installed: ntfsprogs-2:2017.3.23-12.fc31.x86_64", "Installed: nss-util-3.57.0-1.fc31.x86_64", "Installed: python-systemd-doc-234-9.fc31.x86_64", "Installed: udisks2-iscsi-2.8.4-3.fc31.x86_64", "Installed: udisks2-lvm2-2.8.4-3.fc31.x86_64", "Installed: lvm2-2.03.05-2.fc31.x86_64", "Installed: libstemmer-0-13.585svn.fc31.x86_64", "Installed: lvm2-libs-2.03.05-2.fc31.x86_64", "Installed: sscg-2.6.2-1.fc31.x86_64", "Installed: gobject-introspection-1.62.0-1.fc31.x86_64", "Installed: libdaemon-0.14-18.fc31.x86_64", "Installed: libappstream-glib-0.7.17-1.fc31.x86_64", "Installed: tpm2-tools-4.0.1-1.fc31.x86_64", "Installed: python3-decorator-4.4.0-2.fc31.noarch", "Installed: libatasmart-0.19-17.fc31.x86_64", "Installed: jose-10-5.fc31.x86_64", "Installed: policycoreutils-python-utils-2.9-5.fc31.noarch", "Installed: polkit-0.116-4.fc31.x86_64", "Installed: libblockdev-2.24-2.fc31.x86_64", "Installed: libteam-1.29-2.fc31.x86_64", "Installed: polkit-pkla-compat-0.1-15.fc31.x86_64", "Installed: libblockdev-crypto-2.24-2.fc31.x86_64", "Installed: cryptsetup-2.2.1-1.fc31.x86_64", "Installed: mdadm-4.1-5.fc31.x86_64", "Installed: libblockdev-fs-2.24-2.fc31.x86_64", "Installed: libblockdev-loop-2.24-2.fc31.x86_64", "Installed: libblockdev-lvm-2.24-2.fc31.x86_64", "Installed: libblockdev-mdraid-2.24-2.fc31.x86_64", "Installed: libblockdev-part-2.24-2.fc31.x86_64", "Installed: libblockdev-swap-2.24-2.fc31.x86_64", "Installed: tpm2-tss-2.3.1-1.fc31.x86_64", "Installed: libblockdev-utils-2.24-2.fc31.x86_64", "Installed: libluksmeta-9-6.fc31.x86_64", "Installed: js-jquery-3.5.0-2.fc31.noarch", "Installed: fedora-logos-30.0.2-3.fc31.x86_64", "Installed: teamd-1.29-2.fc31.x86_64", "Installed: device-mapper-event-1.02.163-2.fc31.x86_64", "Installed: libbytesize-2.3-1.fc31.x86_64", "Installed: device-mapper-event-libs-1.02.163-2.fc31.x86_64", "Installed: device-mapper-multipath-0.8.0-3.fc31.x86_64", "Installed: device-mapper-multipath-libs-0.8.0-3.fc31.x86_64", "Installed: device-mapper-persistent-data-0.8.5-2.fc31.x86_64", "Installed: python3-slip-0.6.4-16.fc31.noarch", "Installed: python3-slip-dbus-0.6.4-16.fc31.noarch", "Installed: libjose-10-5.fc31.x86_64", "Installed: gdisk-1.0.5-1.fc31.x86_64", "Installed: python3-libxml2-2.9.9-3.fc31.x86_64", "Installed: setroubleshoot-plugins-3.3.12-1.fc31.noarch", "Installed: setroubleshoot-server-3.3.23-1.fc31.x86_64", "Installed: compat-readline5-5.2-34.fc31.x86_64", "Installed: python3-pydbus-0.6.0-9.fc31.noarch", "Installed: libudisks2-2.8.4-3.fc31.x86_64", "Installed: userspace-rcu-0.11.1-2.fc31.x86_64"]} TASK [linux-system-roles.cockpit : Ensure Cockpit Web Console is started and enabled on boot.] *** task path: /tmp/tmpgch7t1xn/tasks/main.yml:16 changed: [/cache/Fedora-Cloud-Base-31-1.9.x86_64.qcow2] => {"changed": true, "enabled": true, "name": "cockpit.socket", "state": "started", "status": {"Accept": "no", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "128", "Before": "cockpit-motd.service sockets.target shutdown.target cockpit.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "yes", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Cockpit Web Service Socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "Documentation": "man:cockpit-ws(8)", "DynamicUser": "no", "ExecStartPost": "{ path=/bin/ln ; argv[]=/bin/ln -snf active.motd /run/cockpit/motd ; ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopPost": "{ path=/bin/ln ; argv[]=/bin/ln -snf /usr/share/cockpit/motd/inactive.motd /run/cockpit/motd ; ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorName": "cockpit.socket", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/cockpit.socket", "FreeBind": "no", "GID": "[not set]", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "IPTOS": "-1", "IPTTL": "-1", "Id": "cockpit.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7776", "LimitNPROCSoft": "7776", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7776", "LimitSIGPENDINGSoft": "7776", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:9090 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "cockpit.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "RequiredBy": "cockpit.service", "Requires": "sysinit.target system.slice", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2332", "TimeoutCleanUSec": "infinity", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "20", "TriggerLimitIntervalUSec": "2s", "Triggers": "cockpit.service", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "cockpit-motd.service", "WatchdogSignal": "6", "Writable": "no"}} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/Fedora-Cloud-Base-31-1.9.x86_64.qcow2 : ok=7 changed=2 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0