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/tmpn3r4nkt1 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: tests_change_settings.yml ******************************************** 1 plays in /tmp/tmpn2_uw5li/tests/tests_change_settings.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:1 Monday 25 July 2022 18:41:17 +0000 (0:00:00.014) 0:00:00.014 *********** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [Ensure required packages are installed] ********************************** task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:6 Monday 25 July 2022 18:41:18 +0000 (0:00:01.088) 0:00:01.103 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Ensure kernel settings profile directory exists] ************************* task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:11 Monday 25 July 2022 18:41:19 +0000 (0:00:00.930) 0:00:02.034 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/tests_change_settings.yml:17 Monday 25 July 2022 18:41:19 +0000 (0:00:00.445) 0:00:02.479 *********** changed: [/cache/rhel-9.qcow2.snap] => { "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-1658774479.5143685-124362-130318097384648/source", "state": "file", "uid": 0 } TASK [Ensure required services are enabled and started] ************************ task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:23 Monday 25 July 2022 18:41:20 +0000 (0:00:00.863) 0:00:03.343 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:41:00 EDT", "ActiveEnterTimestampMonotonic": "4380503", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket systemd-sysctl.service sysinit.target system.slice systemd-journald.socket network.target basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:41:00 EDT", "AssertTimestampMonotonic": "4090555", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "260149000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:41:00 EDT", "ConditionTimestampMonotonic": "4090553", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "735", "ExecMainStartTimestamp": "Mon 2022-07-25 14:41:00 EDT", "ExecMainStartTimestampMonotonic": "4091411", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:41:00 EDT] ; stop_time=[n/a] ; pid=735 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Mon 2022-07-25 14:41:00 EDT] ; stop_time=[n/a] ; pid=735 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:41:00 EDT", "InactiveExitTimestampMonotonic": "4091583", "InvocationID": "fd338755bcfc4f76808ab9d3ee160812", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "735", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18051072", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus-broker.service sysinit.target dbus.socket system.slice polkit.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "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 14:41:00 EDT", "StateChangeTimestampMonotonic": "4380503", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [apply kernel_settings] *************************************************** task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:29 Monday 25 July 2022 18:41:21 +0000 (0:00:00.995) 0:00:04.338 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:41:21 +0000 (0:00:00.043) 0:00:04.381 *********** included: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:41:21 +0000 (0:00:00.027) 0:00:04.409 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:41:21 +0000 (0:00:00.500) 0:00:04.910 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpn2_uw5li/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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:41:21 +0000 (0:00:00.040) 0:00:04.950 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:41:22 +0000 (0:00:00.810) 0:00:05.761 *********** ok: [/cache/rhel-9.qcow2.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:41:20 EDT", "ActiveEnterTimestampMonotonic": "24747013", "ActiveExitTimestamp": "Mon 2022-07-25 14:41:20 EDT", "ActiveExitTimestampMonotonic": "24488753", "ActiveState": "active", "After": "dbus.socket systemd-sysctl.service sysinit.target system.slice systemd-journald.socket network.target basic.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:41:20 EDT", "AssertTimestampMonotonic": "24534284", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "244274000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:41:20 EDT", "ConditionTimestampMonotonic": "24534283", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3171", "ExecMainStartTimestamp": "Mon 2022-07-25 14:41:20 EDT", "ExecMainStartTimestampMonotonic": "24537197", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:41:20 EDT] ; stop_time=[n/a] ; pid=3171 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Mon 2022-07-25 14:41:20 EDT] ; stop_time=[n/a] ; pid=3171 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-07-25 14:41:20 EDT", "InactiveEnterTimestampMonotonic": "24533647", "InactiveExitTimestamp": "Mon 2022-07-25 14:41:20 EDT", "InactiveExitTimestampMonotonic": "24537472", "InvocationID": "73f92abb0e9c413384ae87237c58786f", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3171", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "13930496", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus-broker.service sysinit.target dbus.socket system.slice polkit.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "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 14:41:20 EDT", "StateChangeTimestampMonotonic": "24747013", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:41:23 +0000 (0:00:00.485) 0:00:06.246 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:41:23 +0000 (0:00:00.373) 0:00:06.620 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-124306p3bbvr6b/tmpyfjs99ds/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:41:23 +0000 (0:00:00.373) 0:00:06.993 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:41:24 +0000 (0:00:00.468) 0:00:07.462 *********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap changed: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:41:25 +0000 (0:00:00.669) 0:00:08.131 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.125401", "end": "2022-07-25 14:41:26.114951", "rc": 0, "start": "2022-07-25 14:41:24.989550" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:41:26 +0000 (0:00:01.623) 0:00:09.754 *********** included: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:41:26 +0000 (0:00:00.036) 0:00:09.790 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.096847", "end": "2022-07-25 14:41:26.637435", "rc": 0, "start": "2022-07-25 14:41:26.540588" } 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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:41:27 +0000 (0:00:00.484) 0:00:10.275 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:41:27 +0000 (0:00:00.057) 0:00:10.333 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:41:27 +0000 (0:00:00.024) 0:00:10.358 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:41:27 +0000 (0:00:00.032) 0:00:10.390 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [ensure kernel_settings_reboot_required is unset or undefined] ************ task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:42 Monday 25 July 2022 18:41:27 +0000 (0:00:00.040) 0:00:10.431 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:46 Monday 25 July 2022 18:41:27 +0000 (0:00:00.040) 0:00:10.471 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:01.004050", "end": "2022-07-25 14:41:28.181234", "rc": 0, "start": "2022-07-25 14:41:27.177184" } STDOUT: 65000 TASK [check sysctl after role runs] ******************************************** task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:50 Monday 25 July 2022 18:41:28 +0000 (0:00:01.345) 0:00:11.817 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.005240", "end": "2022-07-25 14:41:28.528814", "rc": 0, "start": "2022-07-25 14:41:28.523574" } STDOUT: 400000 TASK [check sysctl after role runs] ******************************************** task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:56 Monday 25 July 2022 18:41:29 +0000 (0:00:00.347) 0:00:12.164 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.004694", "end": "2022-07-25 14:41:28.885485", "rc": 0, "start": "2022-07-25 14:41:28.880791" } TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:62 Monday 25 July 2022 18:41:29 +0000 (0:00:00.354) 0:00:12.518 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "elapsed": 10, "rebooted": true } TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:66 Monday 25 July 2022 18:41:40 +0000 (0:00:11.373) 0:00:23.891 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.004285", "end": "2022-07-25 14:41:41.056652", "rc": 0, "start": "2022-07-25 14:41:41.052367" } STDOUT: 400000 TASK [check sysfs after reboot] ************************************************ task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:72 Monday 25 July 2022 18:41:41 +0000 (0:00:00.351) 0:00:24.243 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003105", "end": "2022-07-25 14:41:41.405188", "rc": 0, "start": "2022-07-25 14:41:41.402083" } STDOUT: 65000 TASK [show cmdline] ************************************************************ task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:76 Monday 25 July 2022 18:41:41 +0000 (0:00:00.352) 0:00:24.595 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/proc/cmdline" ], "delta": "0:00:00.002883", "end": "2022-07-25 14:41:41.758623", "rc": 0, "start": "2022-07-25 14:41:41.755740" } STDOUT: BOOT_IMAGE=(hd0,gpt3)/vmlinuz-5.14.0-70.13.1.el9_0.x86_64 root=UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:80 Monday 25 July 2022 18:41:41 +0000 (0:00:00.354) 0:00:24.950 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.003880", "end": "2022-07-25 14:41:42.107124", "rc": 0, "start": "2022-07-25 14:41:42.103244" } TASK [check with tuned verify] ************************************************* task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:86 Monday 25 July 2022 18:41:42 +0000 (0:00:00.348) 0:00:25.298 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.095093", "end": "2022-07-25 14:41:42.555883", "rc": 0, "start": "2022-07-25 14:41:42.460790" } 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/tmpn2_uw5li/tests/tests_change_settings.yml:90 Monday 25 July 2022 18:41:42 +0000 (0:00:00.448) 0:00:25.746 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:41:42 +0000 (0:00:00.043) 0:00:25.790 *********** included: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:41:42 +0000 (0:00:00.028) 0:00:25.818 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:41:43 +0000 (0:00:00.526) 0:00:26.345 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpn2_uw5li/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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:41:43 +0000 (0:00:00.041) 0:00:26.386 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:41:44 +0000 (0:00:01.031) 0:00:27.418 *********** ok: [/cache/rhel-9.qcow2.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:41:37 EDT", "ActiveEnterTimestampMonotonic": "4536000", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.socket systemd-journald.socket systemd-sysctl.service basic.target dbus-broker.service network.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:41:37 EDT", "AssertTimestampMonotonic": "4326785", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "137546000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:41:37 EDT", "ConditionTimestampMonotonic": "4326782", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "733", "ExecMainStartTimestamp": "Mon 2022-07-25 14:41:37 EDT", "ExecMainStartTimestampMonotonic": "4327905", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:41:37 EDT] ; stop_time=[n/a] ; pid=733 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Mon 2022-07-25 14:41:37 EDT] ; stop_time=[n/a] ; pid=733 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:41:37 EDT", "InactiveExitTimestampMonotonic": "4328125", "InvocationID": "ab46a4ce87304841a94c810e8982222b", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "733", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17854464", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target polkit.service system.slice dbus.socket dbus-broker.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "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 14:41:37 EDT", "StateChangeTimestampMonotonic": "4536000", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:41:44 +0000 (0:00:00.493) 0:00:27.911 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:41:45 +0000 (0:00:00.385) 0:00:28.296 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-124306p3bbvr6b/tmp_jhnvj2p/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:41:45 +0000 (0:00:00.399) 0:00:28.695 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:41:46 +0000 (0:00:00.350) 0:00:29.046 *********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap changed: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:41:46 +0000 (0:00:00.478) 0:00:29.525 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.112016", "end": "2022-07-25 14:41:47.832299", "rc": 0, "start": "2022-07-25 14:41:46.720283" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:41:48 +0000 (0:00:01.501) 0:00:31.027 *********** included: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:41:48 +0000 (0:00:00.038) 0:00:31.065 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.098777", "end": "2022-07-25 14:41:48.334037", "rc": 0, "start": "2022-07-25 14:41:48.235260" } 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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:41:48 +0000 (0:00:00.462) 0:00:31.528 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:41:48 +0000 (0:00:00.024) 0:00:31.553 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:41:48 +0000 (0:00:00.022) 0:00:31.575 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:41:48 +0000 (0:00:00.029) 0:00:31.605 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [force handlers] ********************************************************** task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:101 Monday 25 July 2022 18:41:48 +0000 (0:00:00.043) 0:00:31.648 *********** RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:41:48 +0000 (0:00:00.000) 0:00:31.648 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:41:48 +0000 (0:00:00.028) 0:00:31.677 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:41:48 +0000 (0:00:00.028) 0:00:31.705 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:41:48 +0000 (0:00:00.028) 0:00:31.734 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/tests_change_settings.yml:104 Monday 25 July 2022 18:41:48 +0000 (0:00:00.037) 0:00:31.771 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:108 Monday 25 July 2022 18:41:48 +0000 (0:00:00.040) 0:00:31.811 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lxvq 400000", "delta": "0:00:00.004208", "end": "2022-07-25 14:41:48.971852", "rc": 0, "start": "2022-07-25 14:41:48.967644" } TASK [apply kernel_settings for removing] ************************************** task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:114 Monday 25 July 2022 18:41:49 +0000 (0:00:00.347) 0:00:32.159 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:41:49 +0000 (0:00:00.047) 0:00:32.206 *********** included: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:41:49 +0000 (0:00:00.029) 0:00:32.236 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:41:49 +0000 (0:00:00.511) 0:00:32.747 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpn2_uw5li/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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:41:49 +0000 (0:00:00.039) 0:00:32.786 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:41:50 +0000 (0:00:00.823) 0:00:33.609 *********** ok: [/cache/rhel-9.qcow2.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:41:37 EDT", "ActiveEnterTimestampMonotonic": "4536000", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.socket systemd-journald.socket systemd-sysctl.service basic.target dbus-broker.service network.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:41:37 EDT", "AssertTimestampMonotonic": "4326785", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "171688000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:41:37 EDT", "ConditionTimestampMonotonic": "4326782", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "733", "ExecMainStartTimestamp": "Mon 2022-07-25 14:41:37 EDT", "ExecMainStartTimestampMonotonic": "4327905", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:41:37 EDT] ; stop_time=[n/a] ; pid=733 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Mon 2022-07-25 14:41:37 EDT] ; stop_time=[n/a] ; pid=733 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:41:37 EDT", "InactiveExitTimestampMonotonic": "4328125", "InvocationID": "ab46a4ce87304841a94c810e8982222b", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "733", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18030592", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target polkit.service system.slice dbus.socket dbus-broker.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "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 14:41:37 EDT", "StateChangeTimestampMonotonic": "4536000", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:41:51 +0000 (0:00:00.487) 0:00:34.097 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:41:51 +0000 (0:00:00.366) 0:00:34.463 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-124306p3bbvr6b/tmp7_vn9xxv/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:41:51 +0000 (0:00:00.392) 0:00:34.856 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:41:52 +0000 (0:00:00.343) 0:00:35.199 *********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap changed: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:41:52 +0000 (0:00:00.448) 0:00:35.648 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.107515", "end": "2022-07-25 14:41:53.952707", "rc": 0, "start": "2022-07-25 14:41:52.845192" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:41:54 +0000 (0:00:01.497) 0:00:37.146 *********** included: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:41:54 +0000 (0:00:00.036) 0:00:37.182 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.094370", "end": "2022-07-25 14:41:54.477519", "rc": 0, "start": "2022-07-25 14:41:54.383149" } 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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:41:54 +0000 (0:00:00.486) 0:00:37.669 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:41:54 +0000 (0:00:00.025) 0:00:37.694 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:41:54 +0000 (0:00:00.023) 0:00:37.717 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:41:54 +0000 (0:00:00.034) 0:00:37.751 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [force handlers] ********************************************************** task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:126 Monday 25 July 2022 18:41:54 +0000 (0:00:00.040) 0:00:37.792 *********** RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:41:54 +0000 (0:00:00.000) 0:00:37.792 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:41:54 +0000 (0:00:00.032) 0:00:37.825 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:41:54 +0000 (0:00:00.033) 0:00:37.858 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:41:54 +0000 (0:00:00.032) 0:00:37.890 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:41:54 +0000 (0:00:00.042) 0:00:37.932 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:41:54 +0000 (0:00:00.035) 0:00:37.968 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/tests_change_settings.yml:129 Monday 25 July 2022 18:41:54 +0000 (0:00:00.043) 0:00:38.012 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check sysctl] ************************************************************ task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:133 Monday 25 July 2022 18:41:55 +0000 (0:00:00.078) 0:00:38.090 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -qx 400001", "delta": "0:00:00.004074", "end": "2022-07-25 14:41:55.245832", "rc": 0, "start": "2022-07-25 14:41:55.241758" } TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:139 Monday 25 July 2022 18:41:55 +0000 (0:00:00.343) 0:00:38.434 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "grep", "-x", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003272", "end": "2022-07-25 14:41:55.607971", "rc": 0, "start": "2022-07-25 14:41:55.604699" } STDOUT: 60666 TASK [apply kernel_settings for removing section] ****************************** task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:143 Monday 25 July 2022 18:41:55 +0000 (0:00:00.362) 0:00:38.796 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:41:55 +0000 (0:00:00.054) 0:00:38.850 *********** included: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:41:55 +0000 (0:00:00.029) 0:00:38.880 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:41:56 +0000 (0:00:00.504) 0:00:39.385 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpn2_uw5li/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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:41:56 +0000 (0:00:00.039) 0:00:39.424 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:41:57 +0000 (0:00:00.830) 0:00:40.254 *********** ok: [/cache/rhel-9.qcow2.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:41:37 EDT", "ActiveEnterTimestampMonotonic": "4536000", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.socket systemd-journald.socket systemd-sysctl.service basic.target dbus-broker.service network.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:41:37 EDT", "AssertTimestampMonotonic": "4326785", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "203544000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:41:37 EDT", "ConditionTimestampMonotonic": "4326782", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "733", "ExecMainStartTimestamp": "Mon 2022-07-25 14:41:37 EDT", "ExecMainStartTimestampMonotonic": "4327905", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:41:37 EDT] ; stop_time=[n/a] ; pid=733 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Mon 2022-07-25 14:41:37 EDT] ; stop_time=[n/a] ; pid=733 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:41:37 EDT", "InactiveExitTimestampMonotonic": "4328125", "InvocationID": "ab46a4ce87304841a94c810e8982222b", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "733", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18067456", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target polkit.service system.slice dbus.socket dbus-broker.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "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 14:41:37 EDT", "StateChangeTimestampMonotonic": "4536000", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:41:57 +0000 (0:00:00.493) 0:00:40.747 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:41:58 +0000 (0:00:00.351) 0:00:41.099 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-124306p3bbvr6b/tmpz6nlkml4/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:41:58 +0000 (0:00:00.373) 0:00:41.472 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:41:58 +0000 (0:00:00.356) 0:00:41.828 *********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap changed: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:41:59 +0000 (0:00:00.452) 0:00:42.281 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.118764", "end": "2022-07-25 14:42:00.565310", "rc": 0, "start": "2022-07-25 14:41:59.446546" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:42:00 +0000 (0:00:01.481) 0:00:43.763 *********** included: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:42:00 +0000 (0:00:00.038) 0:00:43.802 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.094565", "end": "2022-07-25 14:42:01.069166", "rc": 0, "start": "2022-07-25 14:42:00.974601" } 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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:42:01 +0000 (0:00:00.458) 0:00:44.260 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:42:01 +0000 (0:00:00.025) 0:00:44.286 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:42:01 +0000 (0:00:00.025) 0:00:44.311 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:42:01 +0000 (0:00:00.032) 0:00:44.344 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [force handlers] ********************************************************** task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:153 Monday 25 July 2022 18:42:01 +0000 (0:00:00.040) 0:00:44.384 *********** RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:42:01 +0000 (0:00:00.000) 0:00:44.384 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:42:01 +0000 (0:00:00.031) 0:00:44.416 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:42:01 +0000 (0:00:00.031) 0:00:44.448 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:42:01 +0000 (0:00:00.031) 0:00:44.480 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:42:01 +0000 (0:00:00.031) 0:00:44.512 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:42:01 +0000 (0:00:00.030) 0:00:44.543 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:42:01 +0000 (0:00:00.029) 0:00:44.572 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:42:01 +0000 (0:00:00.028) 0:00:44.601 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn2_uw5li/tests/tests_change_settings.yml:156 Monday 25 July 2022 18:42:01 +0000 (0:00:00.037) 0:00:44.638 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check sysctl] ************************************************************ task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:160 Monday 25 July 2022 18:42:01 +0000 (0:00:00.038) 0:00:44.677 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lvxq 400001", "delta": "0:00:00.004081", "end": "2022-07-25 14:42:01.835473", "rc": 0, "start": "2022-07-25 14:42:01.831392" } TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:166 Monday 25 July 2022 18:42:02 +0000 (0:00:00.346) 0:00:45.023 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "grep", "-Lxqv", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.002982", "end": "2022-07-25 14:42:02.189401", "rc": 0, "start": "2022-07-25 14:42:02.186419" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=71 changed=11 unreachable=0 failed=0 skipped=34 rescued=0 ignored=0 Monday 25 July 2022 18:42:02 +0000 (0:00:00.366) 0:00:45.389 *********** =============================================================================== reboot the machine - see if settings persist after reboot -------------- 11.37s /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:62 --------------------------- linux-system-roles.kernel_settings : tuned apply settings --------------- 1.62s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : tuned apply settings --------------- 1.50s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : tuned apply settings --------------- 1.50s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : tuned apply settings --------------- 1.48s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 check sysfs after role runs --------------------------------------------- 1.35s /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:46 --------------------------- Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:1 ---------------------------- linux-system-roles.kernel_settings : Ensure required packages are installed --- 1.03s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Ensure required services are enabled and started ------------------------ 1.00s /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:23 --------------------------- Ensure required packages are installed ---------------------------------- 0.93s /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:6 ---------------------------- Generate a configuration for kernel settings ---------------------------- 0.86s /tmp/tmpn2_uw5li/tests/tests_change_settings.yml:17 --------------------------- linux-system-roles.kernel_settings : Ensure required packages are installed --- 0.83s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Ensure required packages are installed --- 0.82s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Ensure required packages are installed --- 0.81s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.67s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.53s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.51s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.50s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.50s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 0.49s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 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/tmpn3r4nkt1 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: tests_change_settings.yml ******************************************** 1 plays in /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:1 Monday 25 July 2022 18:42:51 +0000 (0:00:00.014) 0:00:00.014 *********** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [Ensure required packages are installed] ********************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:6 Monday 25 July 2022 18:42:52 +0000 (0:00:01.088) 0:00:01.102 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Ensure kernel settings profile directory exists] ************************* task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:11 Monday 25 July 2022 18:42:53 +0000 (0:00:00.959) 0:00:02.062 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:17 Monday 25 July 2022 18:42:53 +0000 (0:00:00.452) 0:00:02.514 *********** changed: [/cache/rhel-9.qcow2.snap] => { "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-1658774573.788125-126437-121527301811818/source", "state": "file", "uid": 0 } TASK [Ensure required services are enabled and started] ************************ task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:23 Monday 25 July 2022 18:42:54 +0000 (0:00:00.864) 0:00:03.378 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:42:34 EDT", "ActiveEnterTimestampMonotonic": "4330569", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service dbus-broker.service basic.target system.slice dbus.socket sysinit.target network.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:42:33 EDT", "AssertTimestampMonotonic": "4025117", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "260408000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:42:33 EDT", "ConditionTimestampMonotonic": "4025115", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "735", "ExecMainStartTimestamp": "Mon 2022-07-25 14:42:33 EDT", "ExecMainStartTimestampMonotonic": "4026185", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:42:33 EDT] ; stop_time=[n/a] ; pid=735 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Mon 2022-07-25 14:42:33 EDT] ; stop_time=[n/a] ; pid=735 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:42:33 EDT", "InactiveExitTimestampMonotonic": "4026350", "InvocationID": "9cd63c642b984210a3264f8e5b517754", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "735", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18038784", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket polkit.service system.slice dbus-broker.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "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 14:42:34 EDT", "StateChangeTimestampMonotonic": "4330569", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [apply kernel_settings] *************************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:29 Monday 25 July 2022 18:42:55 +0000 (0:00:00.992) 0:00:04.371 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:42:55 +0000 (0:00:00.046) 0:00:04.418 *********** included: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:42:55 +0000 (0:00:00.028) 0:00:04.446 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:42:56 +0000 (0:00:00.484) 0:00:04.931 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpn3r4nkt1/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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:42:56 +0000 (0:00:00.044) 0:00:04.976 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:42:57 +0000 (0:00:00.803) 0:00:05.779 *********** ok: [/cache/rhel-9.qcow2.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:42:54 EDT", "ActiveEnterTimestampMonotonic": "24794572", "ActiveExitTimestamp": "Mon 2022-07-25 14:42:54 EDT", "ActiveExitTimestampMonotonic": "24548604", "ActiveState": "active", "After": "systemd-sysctl.service dbus-broker.service basic.target system.slice dbus.socket sysinit.target network.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:42:54 EDT", "AssertTimestampMonotonic": "24586143", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "241027000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:42:54 EDT", "ConditionTimestampMonotonic": "24586142", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "3171", "ExecMainStartTimestamp": "Mon 2022-07-25 14:42:54 EDT", "ExecMainStartTimestampMonotonic": "24587798", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:42:54 EDT] ; stop_time=[n/a] ; pid=3171 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Mon 2022-07-25 14:42:54 EDT] ; stop_time=[n/a] ; pid=3171 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-07-25 14:42:54 EDT", "InactiveEnterTimestampMonotonic": "24585676", "InactiveExitTimestamp": "Mon 2022-07-25 14:42:54 EDT", "InactiveExitTimestampMonotonic": "24588078", "InvocationID": "001e82699dd8413399749fecd35f8c1f", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "3171", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "13934592", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket polkit.service system.slice dbus-broker.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "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 14:42:54 EDT", "StateChangeTimestampMonotonic": "24794572", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:42:57 +0000 (0:00:00.488) 0:00:06.268 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:42:57 +0000 (0:00:00.363) 0:00:06.632 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-1263819cnlftyc/tmp8nl7x6r3/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:42:58 +0000 (0:00:00.385) 0:00:07.018 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:42:58 +0000 (0:00:00.456) 0:00:07.474 *********** NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap changed: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:42:59 +0000 (0:00:00.697) 0:00:08.171 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.136205", "end": "2022-07-25 14:43:00.180641", "rc": 0, "start": "2022-07-25 14:42:59.044436" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:43:01 +0000 (0:00:01.638) 0:00:09.809 *********** included: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:43:01 +0000 (0:00:00.040) 0:00:09.850 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.106413", "end": "2022-07-25 14:43:00.726358", "rc": 0, "start": "2022-07-25 14:43:00.619945" } 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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:43:01 +0000 (0:00:00.502) 0:00:10.352 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:43:01 +0000 (0:00:00.025) 0:00:10.378 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:43:01 +0000 (0:00:00.023) 0:00:10.401 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:43:01 +0000 (0:00:00.031) 0:00:10.433 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [ensure kernel_settings_reboot_required is unset or undefined] ************ task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:42 Monday 25 July 2022 18:43:01 +0000 (0:00:00.040) 0:00:10.473 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:46 Monday 25 July 2022 18:43:01 +0000 (0:00:00.069) 0:00:10.543 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003234", "end": "2022-07-25 14:43:01.327438", "rc": 0, "start": "2022-07-25 14:43:01.324204" } STDOUT: 65000 TASK [check sysctl after role runs] ******************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:50 Monday 25 July 2022 18:43:02 +0000 (0:00:00.403) 0:00:10.946 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.004761", "end": "2022-07-25 14:43:01.683366", "rc": 0, "start": "2022-07-25 14:43:01.678605" } STDOUT: 400000 TASK [check sysctl after role runs] ******************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:56 Monday 25 July 2022 18:43:02 +0000 (0:00:00.355) 0:00:11.301 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.003949", "end": "2022-07-25 14:43:02.028622", "rc": 0, "start": "2022-07-25 14:43:02.024673" } TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:62 Monday 25 July 2022 18:43:02 +0000 (0:00:00.344) 0:00:11.645 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "elapsed": 10, "rebooted": true } TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:66 Monday 25 July 2022 18:43:14 +0000 (0:00:11.166) 0:00:22.812 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.004605", "end": "2022-07-25 14:43:13.671305", "rc": 0, "start": "2022-07-25 14:43:13.666700" } STDOUT: 400000 TASK [check sysfs after reboot] ************************************************ task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:72 Monday 25 July 2022 18:43:14 +0000 (0:00:00.353) 0:00:23.165 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.002901", "end": "2022-07-25 14:43:14.024131", "rc": 0, "start": "2022-07-25 14:43:14.021230" } STDOUT: 65000 TASK [show cmdline] ************************************************************ task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:76 Monday 25 July 2022 18:43:14 +0000 (0:00:00.354) 0:00:23.519 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/proc/cmdline" ], "delta": "0:00:00.002202", "end": "2022-07-25 14:43:14.372832", "rc": 0, "start": "2022-07-25 14:43:14.370630" } STDOUT: BOOT_IMAGE=(hd0,gpt3)/vmlinuz-5.14.0-70.13.1.el9_0.x86_64 root=UUID=1bb53e4d-984c-4316-908a-59b5a62fa30e console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:80 Monday 25 July 2022 18:43:15 +0000 (0:00:00.346) 0:00:23.865 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.004141", "end": "2022-07-25 14:43:14.722539", "rc": 0, "start": "2022-07-25 14:43:14.718398" } TASK [check with tuned verify] ************************************************* task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:86 Monday 25 July 2022 18:43:15 +0000 (0:00:00.354) 0:00:24.219 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.095688", "end": "2022-07-25 14:43:15.173531", "rc": 0, "start": "2022-07-25 14:43:15.077843" } 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/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:90 Monday 25 July 2022 18:43:15 +0000 (0:00:00.451) 0:00:24.671 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:43:15 +0000 (0:00:00.047) 0:00:24.719 *********** included: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:43:15 +0000 (0:00:00.029) 0:00:24.748 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:43:16 +0000 (0:00:00.536) 0:00:25.285 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpn3r4nkt1/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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:43:16 +0000 (0:00:00.039) 0:00:25.325 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:43:17 +0000 (0:00:01.112) 0:00:26.437 *********** ok: [/cache/rhel-9.qcow2.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:43:10 EDT", "ActiveEnterTimestampMonotonic": "4540611", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.socket systemd-journald.socket network.target system.slice dbus-broker.service systemd-sysctl.service sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:43:10 EDT", "AssertTimestampMonotonic": "4330075", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "143225000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:43:10 EDT", "ConditionTimestampMonotonic": "4330073", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "736", "ExecMainStartTimestamp": "Mon 2022-07-25 14:43:10 EDT", "ExecMainStartTimestampMonotonic": "4331140", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:43:10 EDT] ; stop_time=[n/a] ; pid=736 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Mon 2022-07-25 14:43:10 EDT] ; stop_time=[n/a] ; pid=736 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:43:10 EDT", "InactiveExitTimestampMonotonic": "4331365", "InvocationID": "3a56ebccf350423386d1a1af080a238e", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "736", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17842176", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket polkit.service dbus-broker.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "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 14:43:10 EDT", "StateChangeTimestampMonotonic": "4540611", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:43:18 +0000 (0:00:00.528) 0:00:26.966 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:43:18 +0000 (0:00:00.405) 0:00:27.371 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-1263819cnlftyc/tmpqs98u6vi/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:43:18 +0000 (0:00:00.392) 0:00:27.764 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:43:19 +0000 (0:00:00.370) 0:00:28.134 *********** NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap changed: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:43:19 +0000 (0:00:00.492) 0:00:28.627 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.114561", "end": "2022-07-25 14:43:20.610050", "rc": 0, "start": "2022-07-25 14:43:19.495489" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:43:21 +0000 (0:00:01.492) 0:00:30.119 *********** included: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:43:21 +0000 (0:00:00.040) 0:00:30.159 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.101554", "end": "2022-07-25 14:43:21.123367", "rc": 0, "start": "2022-07-25 14:43:21.021813" } 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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:43:21 +0000 (0:00:00.463) 0:00:30.622 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:43:21 +0000 (0:00:00.026) 0:00:30.649 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:43:21 +0000 (0:00:00.025) 0:00:30.675 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:43:21 +0000 (0:00:00.034) 0:00:30.709 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [force handlers] ********************************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:101 Monday 25 July 2022 18:43:21 +0000 (0:00:00.041) 0:00:30.750 *********** RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:21 +0000 (0:00:00.000) 0:00:30.751 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:22 +0000 (0:00:00.030) 0:00:30.781 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:22 +0000 (0:00:00.031) 0:00:30.814 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:22 +0000 (0:00:00.031) 0:00:30.845 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:104 Monday 25 July 2022 18:43:22 +0000 (0:00:00.043) 0:00:30.888 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:108 Monday 25 July 2022 18:43:22 +0000 (0:00:00.043) 0:00:30.932 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lxvq 400000", "delta": "0:00:00.004704", "end": "2022-07-25 14:43:21.791207", "rc": 0, "start": "2022-07-25 14:43:21.786503" } TASK [apply kernel_settings for removing] ************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:114 Monday 25 July 2022 18:43:22 +0000 (0:00:00.354) 0:00:31.286 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:43:22 +0000 (0:00:00.053) 0:00:31.340 *********** included: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:43:22 +0000 (0:00:00.031) 0:00:31.372 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:43:23 +0000 (0:00:00.502) 0:00:31.875 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpn3r4nkt1/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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:43:23 +0000 (0:00:00.040) 0:00:31.915 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:43:24 +0000 (0:00:00.880) 0:00:32.795 *********** ok: [/cache/rhel-9.qcow2.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:43:10 EDT", "ActiveEnterTimestampMonotonic": "4540611", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.socket systemd-journald.socket network.target system.slice dbus-broker.service systemd-sysctl.service sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:43:10 EDT", "AssertTimestampMonotonic": "4330075", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "177685000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:43:10 EDT", "ConditionTimestampMonotonic": "4330073", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "736", "ExecMainStartTimestamp": "Mon 2022-07-25 14:43:10 EDT", "ExecMainStartTimestampMonotonic": "4331140", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:43:10 EDT] ; stop_time=[n/a] ; pid=736 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Mon 2022-07-25 14:43:10 EDT] ; stop_time=[n/a] ; pid=736 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:43:10 EDT", "InactiveExitTimestampMonotonic": "4331365", "InvocationID": "3a56ebccf350423386d1a1af080a238e", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "736", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18018304", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket polkit.service dbus-broker.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "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 14:43:10 EDT", "StateChangeTimestampMonotonic": "4540611", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:43:24 +0000 (0:00:00.500) 0:00:33.296 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:43:24 +0000 (0:00:00.375) 0:00:33.671 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-1263819cnlftyc/tmpxnqgllpy/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:43:25 +0000 (0:00:00.389) 0:00:34.061 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:43:25 +0000 (0:00:00.341) 0:00:34.402 *********** NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap changed: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:43:26 +0000 (0:00:00.463) 0:00:34.866 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.109551", "end": "2022-07-25 14:43:26.833398", "rc": 0, "start": "2022-07-25 14:43:25.723847" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:43:27 +0000 (0:00:01.467) 0:00:36.333 *********** included: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:43:27 +0000 (0:00:00.039) 0:00:36.373 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.101078", "end": "2022-07-25 14:43:27.335548", "rc": 0, "start": "2022-07-25 14:43:27.234470" } 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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:43:28 +0000 (0:00:00.463) 0:00:36.837 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:43:28 +0000 (0:00:00.026) 0:00:36.863 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:43:28 +0000 (0:00:00.025) 0:00:36.888 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:43:28 +0000 (0:00:00.041) 0:00:36.930 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [force handlers] ********************************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:126 Monday 25 July 2022 18:43:28 +0000 (0:00:00.046) 0:00:36.977 *********** RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:28 +0000 (0:00:00.000) 0:00:36.977 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:28 +0000 (0:00:00.031) 0:00:37.009 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:28 +0000 (0:00:00.033) 0:00:37.042 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:28 +0000 (0:00:00.033) 0:00:37.076 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:28 +0000 (0:00:00.033) 0:00:37.110 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:28 +0000 (0:00:00.033) 0:00:37.143 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:129 Monday 25 July 2022 18:43:28 +0000 (0:00:00.089) 0:00:37.233 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check sysctl] ************************************************************ task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:133 Monday 25 July 2022 18:43:28 +0000 (0:00:00.047) 0:00:37.281 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -qx 400001", "delta": "0:00:00.004657", "end": "2022-07-25 14:43:28.143145", "rc": 0, "start": "2022-07-25 14:43:28.138488" } TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:139 Monday 25 July 2022 18:43:28 +0000 (0:00:00.361) 0:00:37.642 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "grep", "-x", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003244", "end": "2022-07-25 14:43:28.503970", "rc": 0, "start": "2022-07-25 14:43:28.500726" } STDOUT: 60666 TASK [apply kernel_settings for removing section] ****************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:143 Monday 25 July 2022 18:43:29 +0000 (0:00:00.360) 0:00:38.003 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:43:29 +0000 (0:00:00.060) 0:00:38.063 *********** included: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:43:29 +0000 (0:00:00.030) 0:00:38.094 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:43:29 +0000 (0:00:00.511) 0:00:38.606 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpn3r4nkt1/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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:43:29 +0000 (0:00:00.044) 0:00:38.651 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:43:30 +0000 (0:00:00.817) 0:00:39.468 *********** ok: [/cache/rhel-9.qcow2.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:43:10 EDT", "ActiveEnterTimestampMonotonic": "4540611", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.socket systemd-journald.socket network.target system.slice dbus-broker.service systemd-sysctl.service sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:43:10 EDT", "AssertTimestampMonotonic": "4330075", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "209566000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:43:10 EDT", "ConditionTimestampMonotonic": "4330073", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "736", "ExecMainStartTimestamp": "Mon 2022-07-25 14:43:10 EDT", "ExecMainStartTimestampMonotonic": "4331140", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:43:10 EDT] ; stop_time=[n/a] ; pid=736 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Mon 2022-07-25 14:43:10 EDT] ; stop_time=[n/a] ; pid=736 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:43:10 EDT", "InactiveExitTimestampMonotonic": "4331365", "InvocationID": "3a56ebccf350423386d1a1af080a238e", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "736", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18055168", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket polkit.service dbus-broker.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "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 14:43:10 EDT", "StateChangeTimestampMonotonic": "4540611", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:43:31 +0000 (0:00:00.511) 0:00:39.980 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:43:31 +0000 (0:00:00.363) 0:00:40.344 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-1263819cnlftyc/tmp5yc9dnd5/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:43:31 +0000 (0:00:00.387) 0:00:40.731 *********** ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:43:32 +0000 (0:00:00.366) 0:00:41.098 *********** NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap changed: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:43:32 +0000 (0:00:00.485) 0:00:41.583 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.109219", "end": "2022-07-25 14:43:33.555716", "rc": 0, "start": "2022-07-25 14:43:32.446497" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:43:34 +0000 (0:00:01.475) 0:00:43.059 *********** included: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:43:34 +0000 (0:00:00.040) 0:00:43.099 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.096805", "end": "2022-07-25 14:43:34.101522", "rc": 0, "start": "2022-07-25 14:43:34.004717" } 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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:43:34 +0000 (0:00:00.500) 0:00:43.600 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:43:34 +0000 (0:00:00.026) 0:00:43.627 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:43:34 +0000 (0:00:00.025) 0:00:43.652 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:43:34 +0000 (0:00:00.034) 0:00:43.687 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [force handlers] ********************************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:153 Monday 25 July 2022 18:43:34 +0000 (0:00:00.039) 0:00:43.727 *********** RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:34 +0000 (0:00:00.000) 0:00:43.727 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:34 +0000 (0:00:00.029) 0:00:43.756 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:35 +0000 (0:00:00.037) 0:00:43.794 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:35 +0000 (0:00:00.032) 0:00:43.826 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:35 +0000 (0:00:00.034) 0:00:43.860 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:35 +0000 (0:00:00.033) 0:00:43.894 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:35 +0000 (0:00:00.032) 0:00:43.926 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:35 +0000 (0:00:00.032) 0:00:43.958 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:156 Monday 25 July 2022 18:43:35 +0000 (0:00:00.041) 0:00:44.000 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check sysctl] ************************************************************ task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:160 Monday 25 July 2022 18:43:35 +0000 (0:00:00.041) 0:00:44.042 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lvxq 400001", "delta": "0:00:00.004716", "end": "2022-07-25 14:43:34.917750", "rc": 0, "start": "2022-07-25 14:43:34.913034" } TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:166 Monday 25 July 2022 18:43:35 +0000 (0:00:00.373) 0:00:44.416 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "grep", "-Lxqv", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003275", "end": "2022-07-25 14:43:35.320997", "rc": 0, "start": "2022-07-25 14:43:35.317722" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=71 changed=11 unreachable=0 failed=0 skipped=34 rescued=0 ignored=0 Monday 25 July 2022 18:43:36 +0000 (0:00:00.413) 0:00:44.829 *********** =============================================================================== reboot the machine - see if settings persist after reboot -------------- 11.17s /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:62 ----------- fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 1.64s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 1.49s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 1.48s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 1.47s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 1.11s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:1 ------------ Ensure required services are enabled and started ------------------------ 0.99s /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:23 ----------- Ensure required packages are installed ---------------------------------- 0.96s /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:6 ------------ fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.88s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Generate a configuration for kernel settings ---------------------------- 0.86s /tmp/tmps1jwcs1a/tests/kernel_settings/tests_change_settings.yml:17 ----------- fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.82s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.80s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.70s /tmp/tmpn3r4nkt1/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.54s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.53s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.51s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.51s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.50s /tmp/tmpn3r4nkt1/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.50s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2