# 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-rIG_q2/vars/CentOS-8.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-rIG_q2/vars/CentOS-8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-cockpit-test-ci-rhel7-extras-rIG_q2/vars/CentOS-8.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-rIG_q2/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-pexpect-4.3.1-3.el8.noarch", "Installed: json-glib-1.4.4-1.el8.x86_64", "Installed: libstemmer-0-10.585svn.el8.x86_64", "Installed: sscg-2.3.3-14.el8.x86_64", "Installed: python3-psutil-5.4.3-10.el8.x86_64", "Installed: python3-ptyprocess-0.5.2-4.el8.noarch", "Installed: glib-networking-2.56.1-1.1.el8.x86_64", "Installed: libatasmart-0.19-14.el8.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: mdadm-4.1-16.el8_4.x86_64", "Installed: dosfstools-4.1-6.el8.x86_64", "Installed: libblockdev-2.24-5.el8.x86_64", "Installed: libblockdev-crypto-2.24-5.el8.x86_64", "Installed: libproxy-0.4.15-5.2.el8.x86_64", "Installed: libblockdev-fs-2.24-5.el8.x86_64", "Installed: libblockdev-loop-2.24-5.el8.x86_64", "Installed: gsettings-desktop-schemas-3.32.0-5.el8.x86_64", "Installed: libappstream-glib-0.7.14-3.el8.x86_64", "Installed: centos-logos-85.8-1.el8.x86_64", "Installed: libgudev-232-4.el8.x86_64", "Installed: libblockdev-mdraid-2.24-5.el8.x86_64", "Installed: libblockdev-part-2.24-5.el8.x86_64", "Installed: cockpit-238.2-1.el8.x86_64", "Installed: cockpit-bridge-238.2-1.el8.x86_64", "Installed: libblockdev-swap-2.24-5.el8.x86_64", "Installed: cockpit-system-238.2-1.el8.noarch", "Installed: libblockdev-utils-2.24-5.el8.x86_64", "Installed: cockpit-ws-238.2-1.el8.x86_64", "Installed: libudisks2-2.9.0-6.el8.x86_64", "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: PackageKit-1.1.12-6.el8.x86_64", "Installed: cockpit-packagekit-238.2-1.el8.noarch", "Installed: PackageKit-glib-1.1.12-6.el8.x86_64", "Installed: cockpit-storaged-238.2-1.el8.noarch", "Installed: abattis-cantarell-fonts-0.0.25-6.el8.noarch", "Installed: python3-tracer-0.7.5-2.el8.noarch", "Installed: volume_key-libs-0.3.11-5.el8.x86_64", "Installed: fontpackages-filesystem-1.44-22.el8.noarch", "Installed: libsoup-2.62.3-2.el8.x86_64", "Installed: iscsi-initiator-utils-6.2.1.2-1.gita8fcb37.el8.x86_64", "Installed: tracer-common-0.7.5-2.el8.noarch", "Installed: iscsi-initiator-utils-iscsiuio-6.2.1.2-1.gita8fcb37.el8.x86_64", "Installed: libmodman-2.0.1-17.el8.x86_64", "Installed: sos-4.0-12.el8_4.noarch", "Installed: isns-utils-libs-0.99-1.el8.x86_64", "Installed: dejavu-fonts-common-2.35-7.el8.noarch", "Installed: gdisk-1.0.3-6.el8.x86_64", "Installed: dejavu-sans-mono-fonts-2.35-7.el8.noarch", "Installed: gdk-pixbuf2-2.36.12-5.el8.x86_64", "Installed: udisks2-2.9.0-6.el8.x86_64", "Installed: udisks2-iscsi-2.9.0-6.el8.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": "128", "Before": "shutdown.target cockpit-motd.service cockpit.service sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "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", "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", "FragmentPath": "/usr/lib/systemd/system/cockpit.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "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": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14177", "LimitNPROCSoft": "14177", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14177", "LimitSIGPENDINGSoft": "14177", "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", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "RequiredBy": "cockpit.service", "Requires": "system.slice sysinit.target", "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": "22683", "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", "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.008219", "end": "2021-11-11 09:56:18.642434", "rc": 0, "start": "2021-11-11 09:56:18.634215" } STDOUT: active TASK [test - socket is enabled] ************************************************ ok: [sut] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "cockpit.socket" ], "delta": "0:00:00.008476", "end": "2021-11-11 09:56:18.904714", "rc": 0, "start": "2021-11-11 09:56:18.896238" } STDOUT: enabled TASK [test - cockpit works with TLS] ******************************************* changed: [sut] => { "changed": true, "checksum_dest": null, "checksum_src": "427250f861967b4db66e43fb3aed4ff2e295790a", "dest": "/run/out", "elapsed": 1, "gid": 0, "group": "root", "md5sum": "469ce5a1680e77e4fe72425fa1fe7d1b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:var_run_t:s0", "size": 8466, "src": "/root/.ansible/tmp/ansible-moduletmp-1636624579.5566325-cvwjy516/tmpnrj9wbm7", "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-rIG_q2/tests/tasks/cleanup.yml for sut TASK [cleanup - packages] ****************************************************** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: cockpit-238.2-1.el8.x86_64", "Removed: cockpit-bridge-238.2-1.el8.x86_64", "Removed: cockpit-packagekit-238.2-1.el8.noarch", "Removed: cockpit-storaged-238.2-1.el8.noarch", "Removed: cockpit-system-238.2-1.el8.noarch", "Removed: cockpit-ws-238.2-1.el8.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 ---^---^---^---^---^---