ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpbfhu8xj4 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Monday 25 July 2022 18:43:39 +0000 (0:00:00.019) 0:00:00.019 *********** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.192700", "end": "2022-07-25 18:43:40.044660", "rc": 0, "start": "2022-07-25 18:43:39.851960" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 25 July 2022 18:43:40 +0000 (0:00:00.762) 0:00:00.781 *********** =============================================================================== Enable HA repos --------------------------------------------------------- 0.76s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_change_settings.yml ******************************************** 1 plays in /tmp/tmpy6acgkml/tests/tests_change_settings.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:1 Monday 25 July 2022 18:43:40 +0000 (0:00:00.020) 0:00:00.802 *********** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Ensure required packages are installed] ********************************** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:6 Monday 25 July 2022 18:43:41 +0000 (0:00:01.000) 0:00:01.802 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Ensure kernel settings profile directory exists] ************************* task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:11 Monday 25 July 2022 18:43:43 +0000 (0:00:02.015) 0:00:03.818 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [Generate a configuration for kernel settings] **************************** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:17 Monday 25 July 2022 18:43:43 +0000 (0:00:00.490) 0:00:04.308 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "checksum": "13fdc203370e2b8e7e42c13d94b671b1ac621563", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "d5df32baf1a63528844555117ead6672", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 381, "src": "/root/.ansible/tmp/ansible-tmp-1658774624.0025194-188522-215558522947830/source", "state": "file", "uid": 0 } TASK [Ensure required services are enabled and started] ************************ task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:23 Monday 25 July 2022 18:43:44 +0000 (0:00:00.934) 0:00:05.243 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:43:03 UTC", "ActiveEnterTimestampMonotonic": "7152358", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service dbus.service network.target basic.target systemd-journald.socket sysinit.target dbus.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:43:02 UTC", "AssertTimestampMonotonic": "6686214", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 18:43:02 UTC", "ConditionTimestampMonotonic": "6686214", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "895", "ExecMainStartTimestamp": "Mon 2022-07-25 18:43:02 UTC", "ExecMainStartTimestampMonotonic": "6686911", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:43:02 UTC] ; stop_time=[n/a] ; pid=895 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 18:43:02 UTC", "InactiveExitTimestampMonotonic": "6686947", "InvocationID": "73dadf56dc2a49828f822b71dd13feaa", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "895", "MemoryAccounting": "yes", "MemoryCurrent": "18747392", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.service system.slice polkit.service dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 18:43:03 UTC", "StateChangeTimestampMonotonic": "7152358", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 18:43:03 UTC", "WatchdogTimestampMonotonic": "7152356", "WatchdogUSec": "0" } } TASK [apply kernel_settings] *************************************************** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:29 Monday 25 July 2022 18:43:46 +0000 (0:00:02.047) 0:00:07.290 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:43:46 +0000 (0:00:00.043) 0:00:07.333 *********** included: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:43:47 +0000 (0:00:00.028) 0:00:07.362 *********** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:43:47 +0000 (0:00:00.513) 0:00:07.875 *********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/vars/default.yml" ], "changed": false } TASK [linux-system-roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:43:47 +0000 (0:00:00.039) 0:00:07.915 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:43:49 +0000 (0:00:01.750) 0:00:09.666 *********** ok: [/cache/centos-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:43:46 UTC", "ActiveEnterTimestampMonotonic": "50283874", "ActiveExitTimestamp": "Mon 2022-07-25 18:43:45 UTC", "ActiveExitTimestampMonotonic": "48999808", "ActiveState": "active", "After": "systemd-sysctl.service dbus.service network.target basic.target systemd-journald.socket sysinit.target dbus.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:43:46 UTC", "AssertTimestampMonotonic": "50140400", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 18:43:46 UTC", "ConditionTimestampMonotonic": "50140400", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7210", "ExecMainStartTimestamp": "Mon 2022-07-25 18:43:46 UTC", "ExecMainStartTimestampMonotonic": "50141400", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:43:46 UTC] ; stop_time=[n/a] ; pid=7210 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-07-25 18:43:46 UTC", "InactiveEnterTimestampMonotonic": "50139727", "InactiveExitTimestamp": "Mon 2022-07-25 18:43:46 UTC", "InactiveExitTimestampMonotonic": "50141445", "InvocationID": "6ca6c25f3eed4f10b17f154c4b4e397b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7210", "MemoryAccounting": "yes", "MemoryCurrent": "15253504", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.service system.slice polkit.service dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 18:43:46 UTC", "StateChangeTimestampMonotonic": "50283874", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 18:43:46 UTC", "WatchdogTimestampMonotonic": "50283873", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:43:49 +0000 (0:00:00.517) 0:00:10.184 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:43:50 +0000 (0:00:00.368) 0:00:10.552 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-1884485tjkux_m/tmp92cmrsti/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:43:50 +0000 (0:00:00.404) 0:00:10.957 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "content": "IyB0dW5lZCBjb25maWd1cmF0aW9uCiMKClttYWluXQpzdW1tYXJ5PWtlcm5lbCBzZXR0aW5ncwoKW3N5c2N0bF0KZnMuZXBvbGwubWF4X3VzZXJfd2F0Y2hlcz03ODU1OTIKZnMuZmlsZS1tYXg9Mzc5NzI0Cmtlcm5lbC50aHJlYWRzLW1heD0yOTk2OAp2bS5tYXhfbWFwX2NvdW50PTY1NTMwCgpbc3lzZnNdCi9zeXMvZnMvc2VsaW51eC9hdmMvY2FjaGVfdGhyZXNob2xkPTI1NgojIHNwZWN0cmUvbWVsdGRvd24gLSB0dXJuIG9mZiBmaXggZm9yIHBlcmZvcm1hbmNlIGJvb3N0Ci9zeXMva2VybmVsL2RlYnVnL3g4Ni9wdGlfZW5hYmxlZD0wCi9zeXMva2VybmVsL2RlYnVnL3g4Ni9yZXRwX2VuYWJsZWQ9MAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkPTAK", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:43:51 +0000 (0:00:00.487) 0:00:11.445 *********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400000", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [linux-system-roles.kernel_settings : tuned apply settings] *************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:43:51 +0000 (0:00:00.594) 0:00:12.039 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.176521", "end": "2022-07-25 18:43:52.849561", "rc": 0, "start": "2022-07-25 18:43:51.673040" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:43:53 +0000 (0:00:01.547) 0:00:13.586 *********** included: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:43:53 +0000 (0:00:00.037) 0:00:13.624 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.124056", "end": "2022-07-25 18:43:53.422438", "rc": 0, "start": "2022-07-25 18:43:53.298382" } STDOUT: Verfication succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [linux-system-roles.kernel_settings : get last verify results from log] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:43:53 +0000 (0:00:00.532) 0:00:14.157 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:43:53 +0000 (0:00:00.023) 0:00:14.181 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:43:53 +0000 (0:00:00.022) 0:00:14.203 *********** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:43:53 +0000 (0:00:00.033) 0:00:14.237 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-8.qcow2 TASK [ensure kernel_settings_reboot_required is unset or undefined] ************ task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:42 Monday 25 July 2022 18:43:53 +0000 (0:00:00.038) 0:00:14.276 *********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:46 Monday 25 July 2022 18:43:53 +0000 (0:00:00.068) 0:00:14.344 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003195", "end": "2022-07-25 18:43:53.982224", "rc": 0, "start": "2022-07-25 18:43:53.979029" } STDOUT: 65000 TASK [check sysctl after role runs] ******************************************** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:50 Monday 25 July 2022 18:43:54 +0000 (0:00:00.372) 0:00:14.717 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.006720", "end": "2022-07-25 18:43:54.349296", "rc": 0, "start": "2022-07-25 18:43:54.342576" } STDOUT: 400000 TASK [check sysctl after role runs] ******************************************** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:56 Monday 25 July 2022 18:43:54 +0000 (0:00:00.364) 0:00:15.081 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005735", "end": "2022-07-25 18:43:54.718102", "rc": 0, "start": "2022-07-25 18:43:54.712367" } TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:62 Monday 25 July 2022 18:43:55 +0000 (0:00:00.371) 0:00:15.452 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "elapsed": 17, "rebooted": true } TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:66 Monday 25 July 2022 18:44:13 +0000 (0:00:18.599) 0:00:34.052 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.009213", "end": "2022-07-25 18:44:14.428697", "rc": 0, "start": "2022-07-25 18:44:14.419484" } STDOUT: 400000 TASK [check sysfs after reboot] ************************************************ task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:72 Monday 25 July 2022 18:44:14 +0000 (0:00:00.400) 0:00:34.453 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003406", "end": "2022-07-25 18:44:14.806415", "rc": 0, "start": "2022-07-25 18:44:14.803009" } STDOUT: 65000 TASK [show cmdline] ************************************************************ task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:76 Monday 25 July 2022 18:44:14 +0000 (0:00:00.376) 0:00:34.829 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/proc/cmdline" ], "delta": "0:00:00.002461", "end": "2022-07-25 18:44:15.169771", "rc": 0, "start": "2022-07-25 18:44:15.167310" } STDOUT: BOOT_IMAGE=(hd0,msdos1)/boot/vmlinuz-4.18.0-358.el8.x86_64 root=UUID=395b9844-e404-4857-afbb-c6edccaf72f3 ro console=ttyS0,115200n8 no_timer_check net.ifnames=0 crashkernel=auto TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:80 Monday 25 July 2022 18:44:14 +0000 (0:00:00.361) 0:00:35.191 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005370", "end": "2022-07-25 18:44:15.529213", "rc": 0, "start": "2022-07-25 18:44:15.523843" } TASK [check with tuned verify] ************************************************* task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:86 Monday 25 July 2022 18:44:15 +0000 (0:00:00.359) 0:00:35.550 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.114832", "end": "2022-07-25 18:44:15.996332", "rc": 0, "start": "2022-07-25 18:44:15.881500" } STDOUT: Verfication succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [apply role again and remove settings] ************************************ task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:90 Monday 25 July 2022 18:44:15 +0000 (0:00:00.469) 0:00:36.019 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:44:15 +0000 (0:00:00.042) 0:00:36.062 *********** included: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:44:15 +0000 (0:00:00.026) 0:00:36.089 *********** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:44:16 +0000 (0:00:00.503) 0:00:36.592 *********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/vars/default.yml" ], "changed": false } TASK [linux-system-roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:44:16 +0000 (0:00:00.039) 0:00:36.632 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:44:18 +0000 (0:00:02.088) 0:00:38.720 *********** ok: [/cache/centos-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:44:07 UTC", "ActiveEnterTimestampMonotonic": "6886025", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice dbus.service network.target dbus.socket systemd-sysctl.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:44:06 UTC", "AssertTimestampMonotonic": "6450193", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 18:44:06 UTC", "ConditionTimestampMonotonic": "6450193", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "860", "ExecMainStartTimestamp": "Mon 2022-07-25 18:44:06 UTC", "ExecMainStartTimestampMonotonic": "6451101", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:44:06 UTC] ; stop_time=[n/a] ; pid=860 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 18:44:06 UTC", "InactiveExitTimestampMonotonic": "6451146", "InvocationID": "9c1ff3fd01634b1db914fdb1c94f7a18", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "860", "MemoryAccounting": "yes", "MemoryCurrent": "20668416", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target polkit.service dbus.service system.slice dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 18:44:07 UTC", "StateChangeTimestampMonotonic": "6886025", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 18:44:07 UTC", "WatchdogTimestampMonotonic": "6886022", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:44:18 +0000 (0:00:00.498) 0:00:39.218 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:44:19 +0000 (0:00:00.368) 0:00:39.586 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-1884485tjkux_m/tmpcdxlrxw5/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:44:19 +0000 (0:00:00.405) 0:00:39.992 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKZnMuZmlsZS1tYXggPSA0MDAwMDAKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2NTAwMAo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:44:20 +0000 (0:00:00.391) 0:00:40.384 *********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [linux-system-roles.kernel_settings : tuned apply settings] *************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:44:20 +0000 (0:00:00.513) 0:00:40.897 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.166442", "end": "2022-07-25 18:44:23.434964", "rc": 0, "start": "2022-07-25 18:44:21.268522" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:44:23 +0000 (0:00:02.562) 0:00:43.460 *********** included: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:44:23 +0000 (0:00:00.036) 0:00:43.496 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.113041", "end": "2022-07-25 18:44:23.947317", "rc": 0, "start": "2022-07-25 18:44:23.834276" } STDOUT: Verfication succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [linux-system-roles.kernel_settings : get last verify results from log] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:44:23 +0000 (0:00:00.475) 0:00:43.972 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:44:23 +0000 (0:00:00.024) 0:00:43.997 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:44:23 +0000 (0:00:00.021) 0:00:44.018 *********** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:44:23 +0000 (0:00:00.028) 0:00:44.047 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-8.qcow2 TASK [force handlers] ********************************************************** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:101 Monday 25 July 2022 18:44:23 +0000 (0:00:00.036) 0:00:44.084 *********** RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:44:23 +0000 (0:00:00.000) 0:00:44.084 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:44:23 +0000 (0:00:00.032) 0:00:44.116 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:44:23 +0000 (0:00:00.031) 0:00:44.148 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:44:23 +0000 (0:00:00.031) 0:00:44.179 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:104 Monday 25 July 2022 18:44:23 +0000 (0:00:00.038) 0:00:44.218 *********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:108 Monday 25 July 2022 18:44:23 +0000 (0:00:00.071) 0:00:44.289 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lxvq 400000", "delta": "0:00:00.006725", "end": "2022-07-25 18:44:24.667012", "rc": 0, "start": "2022-07-25 18:44:24.660287" } TASK [apply kernel_settings for removing] ************************************** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:114 Monday 25 July 2022 18:44:24 +0000 (0:00:00.400) 0:00:44.690 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:44:24 +0000 (0:00:00.047) 0:00:44.738 *********** included: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:44:24 +0000 (0:00:00.026) 0:00:44.765 *********** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:44:24 +0000 (0:00:00.505) 0:00:45.270 *********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/vars/default.yml" ], "changed": false } TASK [linux-system-roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:44:24 +0000 (0:00:00.038) 0:00:45.309 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:44:26 +0000 (0:00:01.710) 0:00:47.019 *********** ok: [/cache/centos-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:44:07 UTC", "ActiveEnterTimestampMonotonic": "6886025", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice dbus.service network.target dbus.socket systemd-sysctl.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:44:06 UTC", "AssertTimestampMonotonic": "6450193", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 18:44:06 UTC", "ConditionTimestampMonotonic": "6450193", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "860", "ExecMainStartTimestamp": "Mon 2022-07-25 18:44:06 UTC", "ExecMainStartTimestampMonotonic": "6451101", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:44:06 UTC] ; stop_time=[n/a] ; pid=860 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 18:44:06 UTC", "InactiveExitTimestampMonotonic": "6451146", "InvocationID": "9c1ff3fd01634b1db914fdb1c94f7a18", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "860", "MemoryAccounting": "yes", "MemoryCurrent": "21565440", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target polkit.service dbus.service system.slice dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 18:44:07 UTC", "StateChangeTimestampMonotonic": "6886025", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 18:44:07 UTC", "WatchdogTimestampMonotonic": "6886022", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:44:27 +0000 (0:00:00.507) 0:00:47.527 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:44:27 +0000 (0:00:00.372) 0:00:47.899 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-1884485tjkux_m/tmplqhuobtr/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:44:27 +0000 (0:00:00.388) 0:00:48.288 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2NTAwMAo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:44:28 +0000 (0:00:00.345) 0:00:48.633 *********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400001", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "60666", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [linux-system-roles.kernel_settings : tuned apply settings] *************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:44:28 +0000 (0:00:00.476) 0:00:49.109 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.159335", "end": "2022-07-25 18:44:31.603781", "rc": 0, "start": "2022-07-25 18:44:29.444446" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:44:31 +0000 (0:00:02.521) 0:00:51.631 *********** included: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:44:31 +0000 (0:00:00.037) 0:00:51.668 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.107441", "end": "2022-07-25 18:44:32.110088", "rc": 0, "start": "2022-07-25 18:44:32.002647" } STDOUT: Verfication succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [linux-system-roles.kernel_settings : get last verify results from log] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:44:31 +0000 (0:00:00.465) 0:00:52.133 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:44:31 +0000 (0:00:00.026) 0:00:52.160 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:44:31 +0000 (0:00:00.024) 0:00:52.184 *********** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:44:31 +0000 (0:00:00.032) 0:00:52.216 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-8.qcow2 TASK [force handlers] ********************************************************** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:126 Monday 25 July 2022 18:44:31 +0000 (0:00:00.037) 0:00:52.254 *********** RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:44:31 +0000 (0:00:00.000) 0:00:52.254 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:44:31 +0000 (0:00:00.029) 0:00:52.284 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:44:31 +0000 (0:00:00.031) 0:00:52.316 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:44:31 +0000 (0:00:00.031) 0:00:52.347 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:44:32 +0000 (0:00:00.031) 0:00:52.378 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:44:32 +0000 (0:00:00.031) 0:00:52.409 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:129 Monday 25 July 2022 18:44:32 +0000 (0:00:00.036) 0:00:52.446 *********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check sysctl] ************************************************************ task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:133 Monday 25 July 2022 18:44:32 +0000 (0:00:00.040) 0:00:52.487 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -qx 400001", "delta": "0:00:00.005700", "end": "2022-07-25 18:44:32.824212", "rc": 0, "start": "2022-07-25 18:44:32.818512" } TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:139 Monday 25 July 2022 18:44:32 +0000 (0:00:00.360) 0:00:52.847 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "grep", "-x", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003043", "end": "2022-07-25 18:44:33.192455", "rc": 0, "start": "2022-07-25 18:44:33.189412" } STDOUT: 60666 TASK [apply kernel_settings for removing section] ****************************** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:143 Monday 25 July 2022 18:44:32 +0000 (0:00:00.368) 0:00:53.216 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:44:32 +0000 (0:00:00.053) 0:00:53.269 *********** included: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:44:32 +0000 (0:00:00.025) 0:00:53.295 *********** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:44:33 +0000 (0:00:00.536) 0:00:53.832 *********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/vars/default.yml" ], "changed": false } TASK [linux-system-roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:44:33 +0000 (0:00:00.037) 0:00:53.869 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:44:35 +0000 (0:00:01.865) 0:00:55.734 *********** ok: [/cache/centos-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:44:07 UTC", "ActiveEnterTimestampMonotonic": "6886025", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice dbus.service network.target dbus.socket systemd-sysctl.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:44:06 UTC", "AssertTimestampMonotonic": "6450193", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 18:44:06 UTC", "ConditionTimestampMonotonic": "6450193", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "860", "ExecMainStartTimestamp": "Mon 2022-07-25 18:44:06 UTC", "ExecMainStartTimestampMonotonic": "6451101", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:44:06 UTC] ; stop_time=[n/a] ; pid=860 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 18:44:06 UTC", "InactiveExitTimestampMonotonic": "6451146", "InvocationID": "9c1ff3fd01634b1db914fdb1c94f7a18", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "860", "MemoryAccounting": "yes", "MemoryCurrent": "21643264", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target polkit.service dbus.service system.slice dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 18:44:07 UTC", "StateChangeTimestampMonotonic": "6886025", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 18:44:07 UTC", "WatchdogTimestampMonotonic": "6886022", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:44:35 +0000 (0:00:00.501) 0:00:56.236 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:44:36 +0000 (0:00:00.378) 0:00:56.614 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-1884485tjkux_m/tmpryo_y664/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:44:36 +0000 (0:00:00.391) 0:00:57.006 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCmZzLmZpbGUtbWF4ID0gNDAwMDAxCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2MDY2Ngo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:44:37 +0000 (0:00:00.363) 0:00:57.369 *********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": {}, "reboot_required": false } MSG: Kernel settings were updated. TASK [linux-system-roles.kernel_settings : tuned apply settings] *************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:44:37 +0000 (0:00:00.473) 0:00:57.843 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.191125", "end": "2022-07-25 18:44:40.370442", "rc": 0, "start": "2022-07-25 18:44:38.179317" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:44:40 +0000 (0:00:02.556) 0:01:00.399 *********** included: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:44:40 +0000 (0:00:00.037) 0:01:00.437 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:01.116662", "end": "2022-07-25 18:44:41.888713", "rc": 0, "start": "2022-07-25 18:44:40.772051" } STDOUT: Verfication succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [linux-system-roles.kernel_settings : get last verify results from log] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:44:41 +0000 (0:00:01.481) 0:01:01.918 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:44:41 +0000 (0:00:00.025) 0:01:01.943 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:44:41 +0000 (0:00:00.024) 0:01:01.968 *********** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:44:41 +0000 (0:00:00.033) 0:01:02.001 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-8.qcow2 TASK [force handlers] ********************************************************** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:153 Monday 25 July 2022 18:44:41 +0000 (0:00:00.039) 0:01:02.041 *********** RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:44:41 +0000 (0:00:00.000) 0:01:02.041 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:44:41 +0000 (0:00:00.029) 0:01:02.070 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:44:41 +0000 (0:00:00.030) 0:01:02.101 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:44:41 +0000 (0:00:00.030) 0:01:02.131 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:44:41 +0000 (0:00:00.030) 0:01:02.162 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:44:41 +0000 (0:00:00.028) 0:01:02.191 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:44:41 +0000 (0:00:00.028) 0:01:02.220 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:44:41 +0000 (0:00:00.032) 0:01:02.253 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:156 Monday 25 July 2022 18:44:41 +0000 (0:00:00.039) 0:01:02.293 *********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check sysctl] ************************************************************ task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:160 Monday 25 July 2022 18:44:41 +0000 (0:00:00.043) 0:01:02.336 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lvxq 400001", "delta": "0:00:00.005082", "end": "2022-07-25 18:44:42.670999", "rc": 0, "start": "2022-07-25 18:44:42.665917" } TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmpy6acgkml/tests/tests_change_settings.yml:166 Monday 25 July 2022 18:44:42 +0000 (0:00:00.356) 0:01:02.692 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "grep", "-Lxqv", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.002582", "end": "2022-07-25 18:44:43.021085", "rc": 0, "start": "2022-07-25 18:44:43.018503" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=72 changed=12 unreachable=0 failed=0 skipped=34 rescued=0 ignored=0 Monday 25 July 2022 18:44:42 +0000 (0:00:00.356) 0:01:03.049 *********** =============================================================================== reboot the machine - see if settings persist after reboot -------------- 18.60s /tmp/tmpy6acgkml/tests/tests_change_settings.yml:62 --------------------------- linux-system-roles.kernel_settings : tuned apply settings --------------- 2.56s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : tuned apply settings --------------- 2.56s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : tuned apply settings --------------- 2.52s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : Ensure required packages are installed --- 2.09s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Ensure required services are enabled and started ------------------------ 2.05s /tmp/tmpy6acgkml/tests/tests_change_settings.yml:23 --------------------------- Ensure required packages are installed ---------------------------------- 2.02s /tmp/tmpy6acgkml/tests/tests_change_settings.yml:6 ---------------------------- linux-system-roles.kernel_settings : Ensure required packages are installed --- 1.87s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Ensure required packages are installed --- 1.75s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Ensure required packages are installed --- 1.71s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : tuned apply settings --------------- 1.55s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : check that settings are applied correctly --- 1.48s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmpy6acgkml/tests/tests_change_settings.yml:1 ---------------------------- Generate a configuration for kernel settings ---------------------------- 0.93s /tmp/tmpy6acgkml/tests/tests_change_settings.yml:17 --------------------------- Enable HA repos --------------------------------------------------------- 0.76s /cache/centos-8_setup.yml:5 --------------------------------------------------- linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.59s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.54s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : check that settings are applied correctly --- 0.53s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 0.52s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.51s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpbfhu8xj4 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Monday 25 July 2022 18:46:07 +0000 (0:00:00.019) 0:00:00.019 *********** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.198830", "end": "2022-07-25 18:46:07.005506", "rc": 0, "start": "2022-07-25 18:46:06.806676" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 25 July 2022 18:46:08 +0000 (0:00:00.770) 0:00:00.790 *********** =============================================================================== Enable HA repos --------------------------------------------------------- 0.77s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_change_settings.yml ******************************************** 1 plays in /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:1 Monday 25 July 2022 18:46:08 +0000 (0:00:00.020) 0:00:00.810 *********** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Ensure required packages are installed] ********************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:6 Monday 25 July 2022 18:46:09 +0000 (0:00:01.021) 0:00:01.832 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Ensure kernel settings profile directory exists] ************************* task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:11 Monday 25 July 2022 18:46:12 +0000 (0:00:03.658) 0:00:05.491 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [Generate a configuration for kernel settings] **************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:17 Monday 25 July 2022 18:46:13 +0000 (0:00:00.510) 0:00:06.001 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "checksum": "13fdc203370e2b8e7e42c13d94b671b1ac621563", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "d5df32baf1a63528844555117ead6672", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 381, "src": "/root/.ansible/tmp/ansible-tmp-1658774773.5152376-190728-8703624933784/source", "state": "file", "uid": 0 } TASK [Ensure required services are enabled and started] ************************ task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:23 Monday 25 July 2022 18:46:14 +0000 (0:00:00.948) 0:00:06.950 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:45:27 UTC", "ActiveEnterTimestampMonotonic": "7403310", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service systemd-sysctl.service sysinit.target system.slice dbus.socket basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:45:27 UTC", "AssertTimestampMonotonic": "6932026", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 18:45:27 UTC", "ConditionTimestampMonotonic": "6932026", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "895", "ExecMainStartTimestamp": "Mon 2022-07-25 18:45:27 UTC", "ExecMainStartTimestampMonotonic": "6932917", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:45:27 UTC] ; stop_time=[n/a] ; pid=895 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 18:45:27 UTC", "InactiveExitTimestampMonotonic": "6932970", "InvocationID": "71eb6a2d5486439cbe800de647250148", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "895", "MemoryAccounting": "yes", "MemoryCurrent": "18710528", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.service system.slice sysinit.target dbus.socket polkit.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 18:45:27 UTC", "StateChangeTimestampMonotonic": "7403310", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 18:45:27 UTC", "WatchdogTimestampMonotonic": "7403309", "WatchdogUSec": "0" } } TASK [apply kernel_settings] *************************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:29 Monday 25 July 2022 18:46:16 +0000 (0:00:02.039) 0:00:08.990 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:46:16 +0000 (0:00:00.046) 0:00:09.036 *********** included: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:46:16 +0000 (0:00:00.028) 0:00:09.064 *********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:46:17 +0000 (0:00:00.526) 0:00:09.590 *********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:46:17 +0000 (0:00:00.039) 0:00:09.630 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:46:18 +0000 (0:00:01.833) 0:00:11.463 *********** ok: [/cache/centos-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:46:15 UTC", "ActiveEnterTimestampMonotonic": "54935363", "ActiveExitTimestamp": "Mon 2022-07-25 18:46:13 UTC", "ActiveExitTimestampMonotonic": "53664451", "ActiveState": "active", "After": "network.target dbus.service systemd-sysctl.service sysinit.target system.slice dbus.socket basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:46:15 UTC", "AssertTimestampMonotonic": "54778106", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 18:46:15 UTC", "ConditionTimestampMonotonic": "54778106", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7209", "ExecMainStartTimestamp": "Mon 2022-07-25 18:46:15 UTC", "ExecMainStartTimestampMonotonic": "54779374", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:46:15 UTC] ; stop_time=[n/a] ; pid=7209 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-07-25 18:46:15 UTC", "InactiveEnterTimestampMonotonic": "54776977", "InactiveExitTimestamp": "Mon 2022-07-25 18:46:15 UTC", "InactiveExitTimestampMonotonic": "54779420", "InvocationID": "efde93585c064075af337a1a1033a6b2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7209", "MemoryAccounting": "yes", "MemoryCurrent": "15249408", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.service system.slice sysinit.target dbus.socket polkit.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 18:46:15 UTC", "StateChangeTimestampMonotonic": "54935363", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 18:46:15 UTC", "WatchdogTimestampMonotonic": "54935362", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:46:19 +0000 (0:00:00.529) 0:00:11.993 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:46:19 +0000 (0:00:00.379) 0:00:12.372 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-190654ivfkbqlr/tmpz9e2ykiy/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:46:20 +0000 (0:00:00.448) 0:00:12.820 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "content": "IyB0dW5lZCBjb25maWd1cmF0aW9uCiMKClttYWluXQpzdW1tYXJ5PWtlcm5lbCBzZXR0aW5ncwoKW3N5c2N0bF0KZnMuZXBvbGwubWF4X3VzZXJfd2F0Y2hlcz03ODU1OTIKZnMuZmlsZS1tYXg9Mzc5NzI0Cmtlcm5lbC50aHJlYWRzLW1heD0yOTk2OAp2bS5tYXhfbWFwX2NvdW50PTY1NTMwCgpbc3lzZnNdCi9zeXMvZnMvc2VsaW51eC9hdmMvY2FjaGVfdGhyZXNob2xkPTI1NgojIHNwZWN0cmUvbWVsdGRvd24gLSB0dXJuIG9mZiBmaXggZm9yIHBlcmZvcm1hbmNlIGJvb3N0Ci9zeXMva2VybmVsL2RlYnVnL3g4Ni9wdGlfZW5hYmxlZD0wCi9zeXMva2VybmVsL2RlYnVnL3g4Ni9yZXRwX2VuYWJsZWQ9MAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkPTAK", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:46:20 +0000 (0:00:00.478) 0:00:13.298 *********** NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400000", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [fedora.linux_system_roles.kernel_settings : tuned apply settings] ******** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:46:21 +0000 (0:00:00.600) 0:00:13.899 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.197359", "end": "2022-07-25 18:46:22.708839", "rc": 0, "start": "2022-07-25 18:46:20.511480" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:46:23 +0000 (0:00:02.597) 0:00:16.496 *********** included: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:46:23 +0000 (0:00:00.038) 0:00:16.535 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.124139", "end": "2022-07-25 18:46:23.287138", "rc": 0, "start": "2022-07-25 18:46:23.162999" } STDOUT: Verfication succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : get last verify results from log] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:46:24 +0000 (0:00:00.538) 0:00:17.073 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:46:24 +0000 (0:00:00.026) 0:00:17.099 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:46:24 +0000 (0:00:00.025) 0:00:17.125 *********** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:46:24 +0000 (0:00:00.033) 0:00:17.158 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-8.qcow2 TASK [ensure kernel_settings_reboot_required is unset or undefined] ************ task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:42 Monday 25 July 2022 18:46:24 +0000 (0:00:00.039) 0:00:17.198 *********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:46 Monday 25 July 2022 18:46:24 +0000 (0:00:00.040) 0:00:17.238 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003323", "end": "2022-07-25 18:46:23.825158", "rc": 0, "start": "2022-07-25 18:46:23.821835" } STDOUT: 65000 TASK [check sysctl after role runs] ******************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:50 Monday 25 July 2022 18:46:25 +0000 (0:00:00.365) 0:00:17.603 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.007907", "end": "2022-07-25 18:46:24.199781", "rc": 0, "start": "2022-07-25 18:46:24.191874" } STDOUT: 400000 TASK [check sysctl after role runs] ******************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:56 Monday 25 July 2022 18:46:25 +0000 (0:00:00.376) 0:00:17.979 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005389", "end": "2022-07-25 18:46:24.572937", "rc": 0, "start": "2022-07-25 18:46:24.567548" } TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:62 Monday 25 July 2022 18:46:25 +0000 (0:00:00.369) 0:00:18.349 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "elapsed": 17, "rebooted": true } TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:66 Monday 25 July 2022 18:46:44 +0000 (0:00:18.425) 0:00:36.774 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.013089", "end": "2022-07-25 18:46:44.511011", "rc": 0, "start": "2022-07-25 18:46:44.497922" } STDOUT: 400000 TASK [check sysfs after reboot] ************************************************ task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:72 Monday 25 July 2022 18:46:45 +0000 (0:00:00.979) 0:00:37.754 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.004367", "end": "2022-07-25 18:46:44.903335", "rc": 0, "start": "2022-07-25 18:46:44.898968" } STDOUT: 65000 TASK [show cmdline] ************************************************************ task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:76 Monday 25 July 2022 18:46:45 +0000 (0:00:00.366) 0:00:38.121 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/proc/cmdline" ], "delta": "0:00:01.004236", "end": "2022-07-25 18:46:46.275867", "rc": 0, "start": "2022-07-25 18:46:45.271631" } STDOUT: BOOT_IMAGE=(hd0,msdos1)/boot/vmlinuz-4.18.0-358.el8.x86_64 root=UUID=395b9844-e404-4857-afbb-c6edccaf72f3 ro console=ttyS0,115200n8 no_timer_check net.ifnames=0 crashkernel=auto TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:80 Monday 25 July 2022 18:46:46 +0000 (0:00:01.373) 0:00:39.494 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005661", "end": "2022-07-25 18:46:46.644879", "rc": 0, "start": "2022-07-25 18:46:46.639218" } TASK [check with tuned verify] ************************************************* task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:86 Monday 25 July 2022 18:46:47 +0000 (0:00:00.366) 0:00:39.861 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.128026", "end": "2022-07-25 18:46:47.143285", "rc": 0, "start": "2022-07-25 18:46:47.015259" } STDOUT: Verfication succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [apply role again and remove settings] ************************************ task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:90 Monday 25 July 2022 18:46:47 +0000 (0:00:00.504) 0:00:40.365 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:46:47 +0000 (0:00:00.047) 0:00:40.413 *********** included: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:46:47 +0000 (0:00:00.030) 0:00:40.443 *********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:46:48 +0000 (0:00:00.552) 0:00:40.995 *********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:46:48 +0000 (0:00:00.069) 0:00:41.065 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:46:50 +0000 (0:00:02.150) 0:00:43.215 *********** ok: [/cache/centos-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:46:37 UTC", "ActiveEnterTimestampMonotonic": "7179638", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket dbus.socket systemd-sysctl.service sysinit.target network.target system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:46:37 UTC", "AssertTimestampMonotonic": "6741196", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 18:46:37 UTC", "ConditionTimestampMonotonic": "6741196", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "857", "ExecMainStartTimestamp": "Mon 2022-07-25 18:46:37 UTC", "ExecMainStartTimestampMonotonic": "6742057", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:46:37 UTC] ; stop_time=[n/a] ; pid=857 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 18:46:37 UTC", "InactiveExitTimestampMonotonic": "6742099", "InvocationID": "a164e5177cc544a2bd7eb310f36fc280", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "857", "MemoryAccounting": "yes", "MemoryCurrent": "20676608", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.service sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 18:46:37 UTC", "StateChangeTimestampMonotonic": "7179638", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 18:46:37 UTC", "WatchdogTimestampMonotonic": "7179636", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:46:51 +0000 (0:00:00.529) 0:00:43.745 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:46:51 +0000 (0:00:00.416) 0:00:44.162 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-190654ivfkbqlr/tmp62qu1zam/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:46:52 +0000 (0:00:00.433) 0:00:44.596 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKZnMuZmlsZS1tYXggPSA0MDAwMDAKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2NTAwMAo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:46:52 +0000 (0:00:00.357) 0:00:44.953 *********** NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [fedora.linux_system_roles.kernel_settings : tuned apply settings] ******** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:46:52 +0000 (0:00:00.502) 0:00:45.456 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.675735", "end": "2022-07-25 18:46:54.281404", "rc": 0, "start": "2022-07-25 18:46:52.605669" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:46:54 +0000 (0:00:02.049) 0:00:47.506 *********** included: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:46:55 +0000 (0:00:00.036) 0:00:47.542 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.114747", "end": "2022-07-25 18:46:54.791317", "rc": 0, "start": "2022-07-25 18:46:54.676570" } STDOUT: Verfication succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : get last verify results from log] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:46:55 +0000 (0:00:00.466) 0:00:48.008 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:46:55 +0000 (0:00:00.022) 0:00:48.031 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:46:55 +0000 (0:00:00.021) 0:00:48.053 *********** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:46:55 +0000 (0:00:00.033) 0:00:48.087 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-8.qcow2 TASK [force handlers] ********************************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:101 Monday 25 July 2022 18:46:55 +0000 (0:00:00.039) 0:00:48.127 *********** RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:46:55 +0000 (0:00:00.000) 0:00:48.127 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:46:55 +0000 (0:00:00.032) 0:00:48.159 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:46:55 +0000 (0:00:00.033) 0:00:48.193 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:46:55 +0000 (0:00:00.032) 0:00:48.225 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:104 Monday 25 July 2022 18:46:55 +0000 (0:00:00.039) 0:00:48.265 *********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:108 Monday 25 July 2022 18:46:55 +0000 (0:00:00.042) 0:00:48.308 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lxvq 400000", "delta": "0:00:00.006634", "end": "2022-07-25 18:46:55.469657", "rc": 0, "start": "2022-07-25 18:46:55.463023" } TASK [apply kernel_settings for removing] ************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:114 Monday 25 July 2022 18:46:56 +0000 (0:00:00.381) 0:00:48.689 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:46:56 +0000 (0:00:00.050) 0:00:48.740 *********** included: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:46:56 +0000 (0:00:00.026) 0:00:48.767 *********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:46:56 +0000 (0:00:00.521) 0:00:49.288 *********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:46:56 +0000 (0:00:00.046) 0:00:49.335 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:46:58 +0000 (0:00:01.932) 0:00:51.267 *********** ok: [/cache/centos-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:46:37 UTC", "ActiveEnterTimestampMonotonic": "7179638", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket dbus.socket systemd-sysctl.service sysinit.target network.target system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:46:37 UTC", "AssertTimestampMonotonic": "6741196", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 18:46:37 UTC", "ConditionTimestampMonotonic": "6741196", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "857", "ExecMainStartTimestamp": "Mon 2022-07-25 18:46:37 UTC", "ExecMainStartTimestampMonotonic": "6742057", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:46:37 UTC] ; stop_time=[n/a] ; pid=857 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 18:46:37 UTC", "InactiveExitTimestampMonotonic": "6742099", "InvocationID": "a164e5177cc544a2bd7eb310f36fc280", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "857", "MemoryAccounting": "yes", "MemoryCurrent": "21524480", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.service sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 18:46:37 UTC", "StateChangeTimestampMonotonic": "7179638", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 18:46:37 UTC", "WatchdogTimestampMonotonic": "7179636", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:46:59 +0000 (0:00:00.510) 0:00:51.778 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:46:59 +0000 (0:00:00.369) 0:00:52.148 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-190654ivfkbqlr/tmp3fe29pe0/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:47:00 +0000 (0:00:00.397) 0:00:52.545 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2NTAwMAo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:47:00 +0000 (0:00:00.345) 0:00:52.891 *********** NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400001", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "60666", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [fedora.linux_system_roles.kernel_settings : tuned apply settings] ******** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:47:00 +0000 (0:00:00.470) 0:00:53.362 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.198908", "end": "2022-07-25 18:47:02.701013", "rc": 0, "start": "2022-07-25 18:47:00.502105" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:47:03 +0000 (0:00:02.559) 0:00:55.921 *********** included: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:47:03 +0000 (0:00:00.037) 0:00:55.959 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.123324", "end": "2022-07-25 18:47:03.234459", "rc": 0, "start": "2022-07-25 18:47:03.111135" } STDOUT: Verfication succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : get last verify results from log] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:47:03 +0000 (0:00:00.495) 0:00:56.455 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:47:03 +0000 (0:00:00.027) 0:00:56.482 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:47:03 +0000 (0:00:00.024) 0:00:56.507 *********** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:47:04 +0000 (0:00:00.030) 0:00:56.537 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-8.qcow2 TASK [force handlers] ********************************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:126 Monday 25 July 2022 18:47:04 +0000 (0:00:00.037) 0:00:56.575 *********** RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:47:04 +0000 (0:00:00.000) 0:00:56.575 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:47:04 +0000 (0:00:00.033) 0:00:56.608 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:47:04 +0000 (0:00:00.034) 0:00:56.643 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:47:04 +0000 (0:00:00.033) 0:00:56.676 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:47:04 +0000 (0:00:00.033) 0:00:56.710 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:47:04 +0000 (0:00:00.033) 0:00:56.743 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:129 Monday 25 July 2022 18:47:04 +0000 (0:00:00.039) 0:00:56.783 *********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check sysctl] ************************************************************ task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:133 Monday 25 July 2022 18:47:04 +0000 (0:00:00.039) 0:00:56.823 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -qx 400001", "delta": "0:00:00.007139", "end": "2022-07-25 18:47:03.967277", "rc": 0, "start": "2022-07-25 18:47:03.960138" } TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:139 Monday 25 July 2022 18:47:04 +0000 (0:00:00.361) 0:00:57.185 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "grep", "-x", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.002831", "end": "2022-07-25 18:47:04.376789", "rc": 0, "start": "2022-07-25 18:47:04.373958" } STDOUT: 60666 TASK [apply kernel_settings for removing section] ****************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:143 Monday 25 July 2022 18:47:05 +0000 (0:00:00.408) 0:00:57.593 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:47:05 +0000 (0:00:00.085) 0:00:57.678 *********** included: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:47:05 +0000 (0:00:00.027) 0:00:57.706 *********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:47:05 +0000 (0:00:00.514) 0:00:58.220 *********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:47:05 +0000 (0:00:00.043) 0:00:58.263 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:47:07 +0000 (0:00:01.787) 0:01:00.051 *********** ok: [/cache/centos-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:46:37 UTC", "ActiveEnterTimestampMonotonic": "7179638", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket dbus.socket systemd-sysctl.service sysinit.target network.target system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:46:37 UTC", "AssertTimestampMonotonic": "6741196", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 18:46:37 UTC", "ConditionTimestampMonotonic": "6741196", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "857", "ExecMainStartTimestamp": "Mon 2022-07-25 18:46:37 UTC", "ExecMainStartTimestampMonotonic": "6742057", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:46:37 UTC] ; stop_time=[n/a] ; pid=857 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 18:46:37 UTC", "InactiveExitTimestampMonotonic": "6742099", "InvocationID": "a164e5177cc544a2bd7eb310f36fc280", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "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": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "857", "MemoryAccounting": "yes", "MemoryCurrent": "21676032", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.service sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 18:46:37 UTC", "StateChangeTimestampMonotonic": "7179638", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 18:46:37 UTC", "WatchdogTimestampMonotonic": "7179636", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:47:08 +0000 (0:00:00.499) 0:01:00.551 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:47:08 +0000 (0:00:00.379) 0:01:00.930 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-190654ivfkbqlr/tmp9dsq0ffs/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:47:08 +0000 (0:00:00.404) 0:01:01.335 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCmZzLmZpbGUtbWF4ID0gNDAwMDAxCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2MDY2Ngo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:47:09 +0000 (0:00:00.371) 0:01:01.707 *********** NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": {}, "reboot_required": false } MSG: Kernel settings were updated. TASK [fedora.linux_system_roles.kernel_settings : tuned apply settings] ******** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:47:09 +0000 (0:00:00.478) 0:01:02.186 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.167744", "end": "2022-07-25 18:47:11.512457", "rc": 0, "start": "2022-07-25 18:47:09.344713" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:47:12 +0000 (0:00:02.548) 0:01:04.734 *********** included: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:47:12 +0000 (0:00:00.037) 0:01:04.771 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.118118", "end": "2022-07-25 18:47:12.044587", "rc": 0, "start": "2022-07-25 18:47:11.926469" } STDOUT: Verfication succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : get last verify results from log] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:47:12 +0000 (0:00:00.495) 0:01:05.266 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:47:12 +0000 (0:00:00.025) 0:01:05.292 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:47:12 +0000 (0:00:00.024) 0:01:05.317 *********** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:47:12 +0000 (0:00:00.033) 0:01:05.350 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-8.qcow2 TASK [force handlers] ********************************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:153 Monday 25 July 2022 18:47:12 +0000 (0:00:00.041) 0:01:05.391 *********** RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:47:12 +0000 (0:00:00.000) 0:01:05.391 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:47:12 +0000 (0:00:00.032) 0:01:05.423 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:47:12 +0000 (0:00:00.032) 0:01:05.456 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:47:12 +0000 (0:00:00.032) 0:01:05.488 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:47:12 +0000 (0:00:00.030) 0:01:05.519 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:47:13 +0000 (0:00:00.031) 0:01:05.551 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:47:13 +0000 (0:00:00.033) 0:01:05.584 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:47:13 +0000 (0:00:00.034) 0:01:05.618 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:156 Monday 25 July 2022 18:47:13 +0000 (0:00:00.040) 0:01:05.659 *********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check sysctl] ************************************************************ task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:160 Monday 25 July 2022 18:47:13 +0000 (0:00:00.040) 0:01:05.699 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lvxq 400001", "delta": "0:00:00.005679", "end": "2022-07-25 18:47:12.857894", "rc": 0, "start": "2022-07-25 18:47:12.852215" } TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:166 Monday 25 July 2022 18:47:13 +0000 (0:00:00.377) 0:01:06.077 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "grep", "-Lxqv", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003462", "end": "2022-07-25 18:47:13.231480", "rc": 0, "start": "2022-07-25 18:47:13.228018" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=72 changed=12 unreachable=0 failed=0 skipped=34 rescued=0 ignored=0 Monday 25 July 2022 18:47:13 +0000 (0:00:00.378) 0:01:06.456 *********** =============================================================================== reboot the machine - see if settings persist after reboot -------------- 18.43s /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:62 ----------- Ensure required packages are installed ---------------------------------- 3.66s /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:6 ------------ fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 2.60s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 2.56s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 2.55s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 2.15s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 2.05s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Ensure required services are enabled and started ------------------------ 2.04s /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:23 ----------- fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 1.93s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 1.83s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 1.79s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 show cmdline ------------------------------------------------------------ 1.37s /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:76 ----------- Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:1 ------------ check sysctl after reboot ----------------------------------------------- 0.98s /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:66 ----------- Generate a configuration for kernel settings ---------------------------- 0.95s /tmp/tmp19nurs6d/tests/kernel_settings/tests_change_settings.yml:17 ----------- Enable HA repos --------------------------------------------------------- 0.77s /cache/centos-8_setup.yml:5 --------------------------------------------------- fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.60s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.55s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : check that settings are applied correctly --- 0.54s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.53s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10