# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Test role with default options] ****************************************** TASK [Gathering Facts] ********************************************************* ok: [sut] TASK [linux-system-roles.cockpit : Set version specific variables] ************* ok: [sut] => (item=/WORKDIR/dist-git-cockpit-test-ci-rhel7-extras-E14L5H/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": [ "/WORKDIR/dist-git-cockpit-test-ci-rhel7-extras-E14L5H/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-cockpit-test-ci-rhel7-extras-E14L5H/vars/Fedora.yml" } TASK [linux-system-roles.cockpit : List active RHEL repositories] ************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.cockpit : Enable RHEL repositories] ******************* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.cockpit : Manage cockpit packages using platform specific package manager if applicable] *** included: /WORKDIR/dist-git-cockpit-test-ci-rhel7-extras-E14L5H/tasks/setup-dnf.yml for sut TASK [linux-system-roles.cockpit : If choosing custom package set, ensure minimal cockpit is included] *** ok: [sut] => { "ansible_facts": { "cockpit_packages": "default" }, "changed": false } TASK [linux-system-roles.cockpit : Ensure Cockpit Web Console packages are installed.] *** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: cockpit-system", "Installed: cockpit-ws", "Installed: cockpit", "Installed: cockpit-networkmanager", "Installed: cockpit-packagekit", "Installed: cockpit-selinux", "Installed: cockpit-storaged", "Installed: python3-systemd-234-12.fc32.x86_64", "Installed: lvm2-2.03.09-1.fc32.x86_64", "Installed: lvm2-libs-2.03.09-1.fc32.x86_64", "Installed: libstemmer-0-14.585svn.fc32.x86_64", "Installed: libdaemon-0.14-19.fc32.x86_64", "Installed: device-mapper-event-1.02.171-1.fc32.x86_64", "Installed: libatasmart-0.19-18.fc32.x86_64", "Installed: device-mapper-event-libs-1.02.171-1.fc32.x86_64", "Installed: device-mapper-persistent-data-0.8.5-3.fc32.x86_64", "Installed: iscsi-initiator-utils-6.2.1.0-2.git4440e57.fc32.x86_64", "Installed: iscsi-initiator-utils-iscsiuio-6.2.1.0-2.git4440e57.fc32.x86_64", "Installed: libteam-1.31-2.fc32.x86_64", "Installed: isns-utils-libs-0.97-10.fc32.x86_64", "Installed: policycoreutils-python-utils-3.0-2.fc32.noarch", "Installed: python3-tracer-0.7.6-1.fc32.noarch", "Installed: polkit-0.116-7.fc32.x86_64", "Installed: polkit-pkla-compat-0.1-16.fc32.x86_64", "Installed: libproxy-0.4.15-19.fc32.x86_64", "Installed: web-assets-filesystem-5-11.fc32.noarch", "Installed: udisks2-2.8.4-4.fc32.x86_64", "Installed: udisks2-iscsi-2.8.4-4.fc32.x86_64", "Installed: udisks2-lvm2-2.8.4-4.fc32.x86_64", "Installed: libmodman-2.0.1-21.fc32.x86_64", "Installed: sscg-2.6.2-1.fc32.x86_64", "Installed: compat-readline5-5.2-36.fc32.x86_64", "Installed: json-glib-1.4.4-4.fc32.x86_64", "Installed: gsettings-desktop-schemas-3.36.1-1.fc32.x86_64", "Installed: volume_key-libs-0.3.12-11.fc32.x86_64", "Installed: libblockdev-2.24-2.fc32.x86_64", "Installed: abattis-cantarell-fonts-0.201-2.fc32.noarch", "Installed: libblockdev-crypto-2.24-2.fc32.x86_64", "Installed: mozjs60-60.9.0-5.fc32.x86_64", "Installed: libblockdev-fs-2.24-2.fc32.x86_64", "Installed: NetworkManager-team-1:1.22.16-1.fc32.x86_64", "Installed: libblockdev-loop-2.24-2.fc32.x86_64", "Installed: libblockdev-lvm-2.24-2.fc32.x86_64", "Installed: libudisks2-2.8.4-4.fc32.x86_64", "Installed: mdadm-4.1-5.fc32.x86_64", "Installed: libblockdev-mdraid-2.24-2.fc32.x86_64", "Installed: PackageKit-1.1.13-3.fc32.x86_64", "Installed: libblockdev-part-2.24-2.fc32.x86_64", "Installed: PackageKit-glib-1.1.13-3.fc32.x86_64", "Installed: libblockdev-swap-2.24-2.fc32.x86_64", "Installed: libblockdev-utils-2.24-2.fc32.x86_64", "Installed: gdk-pixbuf2-2.40.0-2.fc32.x86_64", "Installed: js-jquery-3.5.0-2.fc32.noarch", "Installed: tracer-common-0.7.6-1.fc32.noarch", "Installed: python3-psutil-5.6.7-1.fc32.x86_64", "Installed: dosfstools-4.1-10.fc32.x86_64", "Installed: libbytesize-2.5-1.fc32.x86_64", "Installed: gdisk-1.0.7-1.fc32.x86_64", "Installed: libnl3-cli-3.5.0-2.fc32.x86_64", "Installed: adobe-source-code-pro-fonts-2.030.1.050-8.fc32.noarch", "Installed: userspace-rcu-0.11.1-3.fc32.x86_64", "Installed: python3-pydbus-0.6.0-12.fc32.noarch", "Installed: libgudev-232-7.fc32.x86_64", "Installed: teamd-1.31-2.fc32.x86_64", "Installed: libsoup-2.70.0-1.fc32.x86_64", "Installed: ntfs-3g-2:2017.3.23-13.fc32.x86_64", "Installed: setroubleshoot-plugins-3.3.12-1.fc32.noarch", "Installed: setroubleshoot-server-3.3.24-1.fc32.x86_64", "Installed: ntfs-3g-system-compression-1.0-3.fc32.x86_64", "Installed: ntfsprogs-2:2017.3.23-13.fc32.x86_64", "Installed: device-mapper-multipath-0.8.2-4.fc32.x86_64", "Installed: device-mapper-multipath-libs-0.8.2-4.fc32.x86_64", "Installed: fedora-logos-30.0.2-4.fc32.x86_64", "Installed: libaio-0.3.111-7.fc32.x86_64", "Installed: glib-networking-2.64.3-1.fc32.x86_64", "Installed: cockpit-238.1-1.fc32.x86_64", "Installed: cockpit-bridge-238.1-1.fc32.x86_64", "Installed: python-systemd-doc-234-12.fc32.x86_64", "Installed: cockpit-networkmanager-238.1-1.fc32.noarch", "Installed: cockpit-packagekit-238.1-1.fc32.noarch", "Installed: cockpit-selinux-238.1-1.fc32.noarch", "Installed: libappstream-glib-0.7.17-1.fc32.x86_64", "Installed: cockpit-storaged-238.1-1.fc32.noarch", "Installed: cockpit-system-238.1-1.fc32.noarch", "Installed: cockpit-ws-238.1-1.fc32.x86_64" ] } TASK [linux-system-roles.cockpit : Ensure Cockpit Web Console is started/stopped and enabled/disabled] *** changed: [sut] => { "changed": true, "enabled": true, "name": "cockpit.socket", "state": "started", "status": { "Accept": "no", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "4096", "Before": "sockets.target cockpit-motd.service cockpit.service shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "yes", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "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 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": "14201", "LimitNPROCSoft": "14201", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14201", "LimitSIGPENDINGSoft": "14201", "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", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "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", "RestartKillSignal": "15", "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": "4260", "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" } } TASK [linux-system-roles.cockpit : Create cockpit.conf configuration file] ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [test - socket is active] ************************************************* ok: [sut] => { "changed": false, "cmd": [ "systemctl", "is-active", "cockpit.socket" ], "delta": "0:00:00.009375", "end": "2021-11-08 16:54:25.404164", "rc": 0, "start": "2021-11-08 16:54:25.394789" } STDOUT: active TASK [test - socket is enabled] ************************************************ ok: [sut] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "cockpit.socket" ], "delta": "0:00:00.009385", "end": "2021-11-08 16:54:25.672226", "rc": 0, "start": "2021-11-08 16:54:25.662841" } STDOUT: enabled TASK [test - cockpit works with TLS] ******************************************* changed: [sut] => { "changed": true, "checksum_dest": null, "checksum_src": "f78a5de91b77a2aef725efbb8707c32e502b3319", "dest": "/run/out", "elapsed": 0, "gid": 0, "group": "root", "md5sum": "29e232f9b702274f36ff7e27e507af65", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:var_run_t:s0", "size": 8551, "src": "/root/.ansible/tmp/ansible-moduletmp-1636390466.3066714-si064v1s/tmpq4xskksy", "state": "file", "status_code": 200, "uid": 0, "url": "https://localhost:9090" } MSG: OK (unknown bytes) TASK [test - no configuration file] ******************************************** ok: [sut] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [include_tasks] *********************************************************** included: /WORKDIR/dist-git-cockpit-test-ci-rhel7-extras-E14L5H/tests/tasks/cleanup.yml for sut TASK [cleanup - packages] ****************************************************** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: cockpit-238.1-1.fc32.x86_64", "Removed: cockpit-bridge-238.1-1.fc32.x86_64", "Removed: cockpit-networkmanager-238.1-1.fc32.noarch", "Removed: cockpit-packagekit-238.1-1.fc32.noarch", "Removed: cockpit-selinux-238.1-1.fc32.noarch", "Removed: cockpit-storaged-238.1-1.fc32.noarch", "Removed: cockpit-system-238.1-1.fc32.noarch", "Removed: cockpit-ws-238.1-1.fc32.x86_64" ] } TASK [cleanup - config file] *************************************************** ok: [sut] => { "changed": false, "path": "/etc/cockpit/cockpit.conf", "state": "absent" } PLAY RECAP ********************************************************************* sut : ok=13 changed=4 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/gluetool/lib/python2.7/site-packages/ansible/parsing/vault/__init__.py:41: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---