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/tmpej3en55n 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Monday 25 July 2022 18:40:49 +0000 (0:00:00.017) 0:00:00.017 *********** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 25 July 2022 18:40:50 +0000 (0:00:01.275) 0:00:01.293 *********** =============================================================================== set up internal repositories -------------------------------------------- 1.28s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_change_settings.yml ******************************************** 1 plays in /tmp/tmpopvokypi/tests/tests_change_settings.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:1 Monday 25 July 2022 18:40:50 +0000 (0:00:00.040) 0:00:01.333 *********** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Ensure required packages are installed] ********************************** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:6 Monday 25 July 2022 18:40:51 +0000 (0:00:01.014) 0:00:02.347 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Ensure kernel settings profile directory exists] ************************* task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:11 Monday 25 July 2022 18:40:52 +0000 (0:00:01.373) 0:00:03.721 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [Generate a configuration for kernel settings] **************************** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:17 Monday 25 July 2022 18:40:53 +0000 (0:00:00.503) 0:00:04.224 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "checksum": "13fdc203370e2b8e7e42c13d94b671b1ac621563", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "d5df32baf1a63528844555117ead6672", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 381, "src": "/root/.ansible/tmp/ansible-tmp-1658774453.3582222-111383-281353130801464/source", "state": "file", "uid": 0 } TASK [Ensure required services are enabled and started] ************************ task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:23 Monday 25 July 2022 18:40:54 +0000 (0:00:00.936) 0:00:05.161 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:40:26 EDT", "ActiveEnterTimestampMonotonic": "4782902", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket dbus.service network.target basic.target system.slice systemd-journald.socket sysinit.target systemd-sysctl.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:40:26 EDT", "AssertTimestampMonotonic": "4436363", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:40:26 EDT", "ConditionTimestampMonotonic": "4436363", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "879", "ExecMainStartTimestamp": "Mon 2022-07-25 14:40:26 EDT", "ExecMainStartTimestampMonotonic": "4437638", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:40:26 EDT] ; stop_time=[n/a] ; pid=879 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:40:26 EDT", "InactiveExitTimestampMonotonic": "4437735", "InvocationID": "53695d26120240c68fe0ad28c03a36b0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "879", "MemoryAccounting": "yes", "MemoryCurrent": "18477056", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice polkit.service sysinit.target dbus.socket dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 14:40:26 EDT", "StateChangeTimestampMonotonic": "4782902", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 14:40:26 EDT", "WatchdogTimestampMonotonic": "4782900", "WatchdogUSec": "0" } } TASK [apply kernel_settings] *************************************************** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:29 Monday 25 July 2022 18:40:55 +0000 (0:00:01.426) 0:00:06.588 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:40:55 +0000 (0:00:00.043) 0:00:06.631 *********** included: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:40:55 +0000 (0:00:00.028) 0:00:06.660 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:40:56 +0000 (0:00:00.521) 0:00:07.181 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpopvokypi/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/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:40:56 +0000 (0:00:00.039) 0:00:07.221 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:40:57 +0000 (0:00:01.309) 0:00:08.531 *********** ok: [/cache/rhel-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:40:55 EDT", "ActiveEnterTimestampMonotonic": "32961035", "ActiveExitTimestamp": "Mon 2022-07-25 14:40:54 EDT", "ActiveExitTimestampMonotonic": "32293385", "ActiveState": "active", "After": "dbus.socket dbus.service network.target basic.target system.slice systemd-journald.socket sysinit.target systemd-sysctl.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:40:54 EDT", "AssertTimestampMonotonic": "32707909", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:40:54 EDT", "ConditionTimestampMonotonic": "32707909", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7592", "ExecMainStartTimestamp": "Mon 2022-07-25 14:40:54 EDT", "ExecMainStartTimestampMonotonic": "32710222", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:40:54 EDT] ; stop_time=[n/a] ; pid=7592 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-07-25 14:40:54 EDT", "InactiveEnterTimestampMonotonic": "32705288", "InactiveExitTimestamp": "Mon 2022-07-25 14:40:54 EDT", "InactiveExitTimestampMonotonic": "32710266", "InvocationID": "137fb9207ec8437887b53a92031eb526", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7592", "MemoryAccounting": "yes", "MemoryCurrent": "17215488", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice polkit.service sysinit.target dbus.socket dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 14:40:55 EDT", "StateChangeTimestampMonotonic": "32961035", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 14:40:55 EDT", "WatchdogTimestampMonotonic": "32961033", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:40:58 +0000 (0:00:00.514) 0:00:09.045 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:40:58 +0000 (0:00:00.426) 0:00:09.471 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-111283t5p0xb5g/tmptu2mqe1r/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:40:58 +0000 (0:00:00.385) 0:00:09.857 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "content": "IyB0dW5lZCBjb25maWd1cmF0aW9uCiMKClttYWluXQpzdW1tYXJ5PWtlcm5lbCBzZXR0aW5ncwoKW3N5c2N0bF0KZnMuZXBvbGwubWF4X3VzZXJfd2F0Y2hlcz03ODU1OTIKZnMuZmlsZS1tYXg9Mzc5NzI0Cmtlcm5lbC50aHJlYWRzLW1heD0yOTk2OAp2bS5tYXhfbWFwX2NvdW50PTY1NTMwCgpbc3lzZnNdCi9zeXMvZnMvc2VsaW51eC9hdmMvY2FjaGVfdGhyZXNob2xkPTI1NgojIHNwZWN0cmUvbWVsdGRvd24gLSB0dXJuIG9mZiBmaXggZm9yIHBlcmZvcm1hbmNlIGJvb3N0Ci9zeXMva2VybmVsL2RlYnVnL3g4Ni9wdGlfZW5hYmxlZD0wCi9zeXMva2VybmVsL2RlYnVnL3g4Ni9yZXRwX2VuYWJsZWQ9MAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkPTAK", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:40:59 +0000 (0:00:00.480) 0:00:10.337 *********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 changed: [/cache/rhel-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400000", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [linux-system-roles.kernel_settings : tuned apply settings] *************** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:41:00 +0000 (0:00:00.679) 0:00:11.016 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.183713", "end": "2022-07-25 14:41:02.174804", "rc": 0, "start": "2022-07-25 14:40:59.991091" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:41:02 +0000 (0:00:02.681) 0:00:13.698 *********** included: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:41:02 +0000 (0:00:00.035) 0:00:13.734 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.106495", "end": "2022-07-25 14:41:02.715523", "rc": 0, "start": "2022-07-25 14:41:02.609028" } 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/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:41:03 +0000 (0:00:00.496) 0:00:14.230 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:41:03 +0000 (0:00:00.024) 0:00:14.255 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:41:03 +0000 (0:00:00.023) 0:00:14.278 *********** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:41:03 +0000 (0:00:00.033) 0:00:14.312 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-8.qcow2 TASK [ensure kernel_settings_reboot_required is unset or undefined] ************ task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:42 Monday 25 July 2022 18:41:03 +0000 (0:00:00.039) 0:00:14.351 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:46 Monday 25 July 2022 18:41:03 +0000 (0:00:00.041) 0:00:14.393 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003469", "end": "2022-07-25 14:41:03.243380", "rc": 0, "start": "2022-07-25 14:41:03.239911" } STDOUT: 65000 TASK [check sysctl after role runs] ******************************************** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:50 Monday 25 July 2022 18:41:03 +0000 (0:00:00.360) 0:00:14.754 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.006432", "end": "2022-07-25 14:41:03.607127", "rc": 0, "start": "2022-07-25 14:41:03.600695" } STDOUT: 400000 TASK [check sysctl after role runs] ******************************************** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:56 Monday 25 July 2022 18:41:04 +0000 (0:00:00.365) 0:00:15.119 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005174", "end": "2022-07-25 14:41:03.971831", "rc": 0, "start": "2022-07-25 14:41:03.966657" } TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:62 Monday 25 July 2022 18:41:04 +0000 (0:00:00.364) 0:00:15.483 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "elapsed": 9, "rebooted": true } TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:66 Monday 25 July 2022 18:41:14 +0000 (0:00:10.041) 0:00:25.524 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.008180", "end": "2022-07-25 14:41:14.487136", "rc": 0, "start": "2022-07-25 14:41:14.478956" } STDOUT: 400000 TASK [check sysfs after reboot] ************************************************ task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:72 Monday 25 July 2022 18:41:15 +0000 (0:00:00.399) 0:00:25.923 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003407", "end": "2022-07-25 14:41:14.857946", "rc": 0, "start": "2022-07-25 14:41:14.854539" } STDOUT: 65000 TASK [show cmdline] ************************************************************ task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:76 Monday 25 July 2022 18:41:15 +0000 (0:00:00.371) 0:00:26.295 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/proc/cmdline" ], "delta": "0:00:00.003467", "end": "2022-07-25 14:41:15.224155", "rc": 0, "start": "2022-07-25 14:41:15.220688" } STDOUT: BOOT_IMAGE=(hd0,gpt3)/boot/vmlinuz-4.18.0-372.9.1.el8.x86_64 root=UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 crashkernel=auto TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:80 Monday 25 July 2022 18:41:15 +0000 (0:00:00.363) 0:00:26.658 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.006318", "end": "2022-07-25 14:41:15.590671", "rc": 0, "start": "2022-07-25 14:41:15.584353" } TASK [check with tuned verify] ************************************************* task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:86 Monday 25 July 2022 18:41:16 +0000 (0:00:00.370) 0:00:27.028 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.110376", "end": "2022-07-25 14:41:16.057551", "rc": 0, "start": "2022-07-25 14:41:15.947175" } 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/tmpopvokypi/tests/tests_change_settings.yml:90 Monday 25 July 2022 18:41:16 +0000 (0:00:00.468) 0:00:27.497 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:41:16 +0000 (0:00:00.043) 0:00:27.540 *********** included: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:41:16 +0000 (0:00:00.026) 0:00:27.566 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:41:17 +0000 (0:00:00.523) 0:00:28.090 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpopvokypi/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/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:41:17 +0000 (0:00:00.037) 0:00:28.128 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:41:18 +0000 (0:00:01.602) 0:00:29.730 *********** ok: [/cache/rhel-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:41:12 EDT", "ActiveEnterTimestampMonotonic": "4418603", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target systemd-journald.socket systemd-sysctl.service dbus.service sysinit.target basic.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:41:12 EDT", "AssertTimestampMonotonic": "4167819", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:41:12 EDT", "ConditionTimestampMonotonic": "4167819", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "844", "ExecMainStartTimestamp": "Mon 2022-07-25 14:41:12 EDT", "ExecMainStartTimestampMonotonic": "4168716", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:41:12 EDT] ; stop_time=[n/a] ; pid=844 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:41:12 EDT", "InactiveExitTimestampMonotonic": "4168755", "InvocationID": "345f9620edaf40db97a8fd2109e0baba", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "844", "MemoryAccounting": "yes", "MemoryCurrent": "18710528", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.service dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 14:41:12 EDT", "StateChangeTimestampMonotonic": "4418603", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 14:41:12 EDT", "WatchdogTimestampMonotonic": "4418601", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:41:19 +0000 (0:00:00.510) 0:00:30.240 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:41:19 +0000 (0:00:00.401) 0:00:30.641 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-111283t5p0xb5g/tmpjppskish/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:41:20 +0000 (0:00:00.393) 0:00:31.035 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKZnMuZmlsZS1tYXggPSA0MDAwMDAKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2NTAwMAo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:41:20 +0000 (0:00:00.351) 0:00:31.387 *********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 changed: [/cache/rhel-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [linux-system-roles.kernel_settings : tuned apply settings] *************** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:41:20 +0000 (0:00:00.515) 0:00:31.902 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.158903", "end": "2022-07-25 14:41:22.998923", "rc": 0, "start": "2022-07-25 14:41:20.840020" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:41:23 +0000 (0:00:02.552) 0:00:34.455 *********** included: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:41:23 +0000 (0:00:00.035) 0:00:34.490 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.116694", "end": "2022-07-25 14:41:23.562679", "rc": 0, "start": "2022-07-25 14:41:23.445985" } 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/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:41:24 +0000 (0:00:00.512) 0:00:35.003 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:41:24 +0000 (0:00:00.023) 0:00:35.026 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:41:24 +0000 (0:00:00.021) 0:00:35.048 *********** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:41:24 +0000 (0:00:00.028) 0:00:35.077 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-8.qcow2 TASK [force handlers] ********************************************************** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:101 Monday 25 July 2022 18:41:24 +0000 (0:00:00.036) 0:00:35.113 *********** RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:41:24 +0000 (0:00:00.000) 0:00:35.113 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:41:24 +0000 (0:00:00.032) 0:00:35.145 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:41:24 +0000 (0:00:00.032) 0:00:35.178 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:41:24 +0000 (0:00:00.063) 0:00:35.241 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:104 Monday 25 July 2022 18:41:24 +0000 (0:00:00.039) 0:00:35.281 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:108 Monday 25 July 2022 18:41:24 +0000 (0:00:00.041) 0:00:35.322 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lxvq 400000", "delta": "0:00:00.005562", "end": "2022-07-25 14:41:24.254798", "rc": 0, "start": "2022-07-25 14:41:24.249236" } TASK [apply kernel_settings for removing] ************************************** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:114 Monday 25 July 2022 18:41:24 +0000 (0:00:00.369) 0:00:35.691 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:41:24 +0000 (0:00:00.046) 0:00:35.738 *********** included: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:41:24 +0000 (0:00:00.028) 0:00:35.766 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:41:25 +0000 (0:00:00.510) 0:00:36.277 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpopvokypi/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/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:41:25 +0000 (0:00:00.036) 0:00:36.313 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:41:26 +0000 (0:00:01.297) 0:00:37.610 *********** ok: [/cache/rhel-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:41:12 EDT", "ActiveEnterTimestampMonotonic": "4418603", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target systemd-journald.socket systemd-sysctl.service dbus.service sysinit.target basic.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:41:12 EDT", "AssertTimestampMonotonic": "4167819", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:41:12 EDT", "ConditionTimestampMonotonic": "4167819", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "844", "ExecMainStartTimestamp": "Mon 2022-07-25 14:41:12 EDT", "ExecMainStartTimestampMonotonic": "4168716", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:41:12 EDT] ; stop_time=[n/a] ; pid=844 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:41:12 EDT", "InactiveExitTimestampMonotonic": "4168755", "InvocationID": "345f9620edaf40db97a8fd2109e0baba", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "844", "MemoryAccounting": "yes", "MemoryCurrent": "19390464", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.service dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 14:41:12 EDT", "StateChangeTimestampMonotonic": "4418603", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 14:41:12 EDT", "WatchdogTimestampMonotonic": "4418601", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:41:27 +0000 (0:00:00.505) 0:00:38.116 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:41:27 +0000 (0:00:00.372) 0:00:38.488 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-111283t5p0xb5g/tmpkyzdomyy/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:41:27 +0000 (0:00:00.388) 0:00:38.877 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2NTAwMAo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:41:28 +0000 (0:00:00.353) 0:00:39.230 *********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 changed: [/cache/rhel-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400001", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "60666", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [linux-system-roles.kernel_settings : tuned apply settings] *************** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:41:28 +0000 (0:00:00.464) 0:00:39.694 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.142598", "end": "2022-07-25 14:41:30.770798", "rc": 0, "start": "2022-07-25 14:41:28.628200" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:41:31 +0000 (0:00:02.517) 0:00:42.212 *********** included: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:41:31 +0000 (0:00:00.040) 0:00:42.252 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.113235", "end": "2022-07-25 14:41:31.293127", "rc": 0, "start": "2022-07-25 14:41:31.179892" } 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/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:41:31 +0000 (0:00:00.482) 0:00:42.735 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:41:31 +0000 (0:00:00.025) 0:00:42.760 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:41:31 +0000 (0:00:00.022) 0:00:42.783 *********** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:41:31 +0000 (0:00:00.035) 0:00:42.818 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-8.qcow2 TASK [force handlers] ********************************************************** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:126 Monday 25 July 2022 18:41:31 +0000 (0:00:00.038) 0:00:42.857 *********** RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:41:31 +0000 (0:00:00.000) 0:00:42.857 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:41:31 +0000 (0:00:00.030) 0:00:42.887 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:41:32 +0000 (0:00:00.029) 0:00:42.917 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:41:32 +0000 (0:00:00.029) 0:00:42.947 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:41:32 +0000 (0:00:00.029) 0:00:42.977 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:41:32 +0000 (0:00:00.030) 0:00:43.007 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:129 Monday 25 July 2022 18:41:32 +0000 (0:00:00.037) 0:00:43.045 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check sysctl] ************************************************************ task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:133 Monday 25 July 2022 18:41:32 +0000 (0:00:00.040) 0:00:43.085 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -qx 400001", "delta": "0:00:00.005391", "end": "2022-07-25 14:41:32.009707", "rc": 0, "start": "2022-07-25 14:41:32.004316" } TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:139 Monday 25 July 2022 18:41:32 +0000 (0:00:00.360) 0:00:43.445 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "grep", "-x", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003199", "end": "2022-07-25 14:41:32.369944", "rc": 0, "start": "2022-07-25 14:41:32.366745" } STDOUT: 60666 TASK [apply kernel_settings for removing section] ****************************** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:143 Monday 25 July 2022 18:41:32 +0000 (0:00:00.358) 0:00:43.804 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:41:32 +0000 (0:00:00.050) 0:00:43.855 *********** included: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:41:32 +0000 (0:00:00.026) 0:00:43.881 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:41:33 +0000 (0:00:00.529) 0:00:44.411 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpopvokypi/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/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:41:33 +0000 (0:00:00.041) 0:00:44.452 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:41:34 +0000 (0:00:01.214) 0:00:45.666 *********** ok: [/cache/rhel-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:41:12 EDT", "ActiveEnterTimestampMonotonic": "4418603", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target systemd-journald.socket systemd-sysctl.service dbus.service sysinit.target basic.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:41:12 EDT", "AssertTimestampMonotonic": "4167819", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:41:12 EDT", "ConditionTimestampMonotonic": "4167819", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "844", "ExecMainStartTimestamp": "Mon 2022-07-25 14:41:12 EDT", "ExecMainStartTimestampMonotonic": "4168716", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:41:12 EDT] ; stop_time=[n/a] ; pid=844 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:41:12 EDT", "InactiveExitTimestampMonotonic": "4168755", "InvocationID": "345f9620edaf40db97a8fd2109e0baba", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "844", "MemoryAccounting": "yes", "MemoryCurrent": "19505152", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.service dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 14:41:12 EDT", "StateChangeTimestampMonotonic": "4418603", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 14:41:12 EDT", "WatchdogTimestampMonotonic": "4418601", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:41:35 +0000 (0:00:00.516) 0:00:46.183 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:41:35 +0000 (0:00:00.383) 0:00:46.567 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-111283t5p0xb5g/tmp8ukk9i48/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:41:36 +0000 (0:00:00.408) 0:00:46.975 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCmZzLmZpbGUtbWF4ID0gNDAwMDAxCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2MDY2Ngo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:41:36 +0000 (0:00:00.351) 0:00:47.327 *********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 changed: [/cache/rhel-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": {}, "reboot_required": false } MSG: Kernel settings were updated. TASK [linux-system-roles.kernel_settings : tuned apply settings] *************** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:41:36 +0000 (0:00:00.475) 0:00:47.802 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.153728", "end": "2022-07-25 14:41:38.895673", "rc": 0, "start": "2022-07-25 14:41:36.741945" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:41:39 +0000 (0:00:02.537) 0:00:50.339 *********** included: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:41:39 +0000 (0:00:00.037) 0:00:50.377 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.113021", "end": "2022-07-25 14:41:39.425492", "rc": 0, "start": "2022-07-25 14:41:39.312471" } 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/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:41:39 +0000 (0:00:00.490) 0:00:50.867 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:41:39 +0000 (0:00:00.025) 0:00:50.892 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:41:39 +0000 (0:00:00.023) 0:00:50.916 *********** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:41:40 +0000 (0:00:00.032) 0:00:50.948 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-8.qcow2 TASK [force handlers] ********************************************************** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:153 Monday 25 July 2022 18:41:40 +0000 (0:00:00.038) 0:00:50.987 *********** RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:41:40 +0000 (0:00:00.000) 0:00:50.987 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:41:40 +0000 (0:00:00.028) 0:00:51.015 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:41:40 +0000 (0:00:00.029) 0:00:51.044 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:41:40 +0000 (0:00:00.032) 0:00:51.077 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:41:40 +0000 (0:00:00.030) 0:00:51.107 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:41:40 +0000 (0:00:00.030) 0:00:51.137 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:41:40 +0000 (0:00:00.031) 0:00:51.169 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:41:40 +0000 (0:00:00.031) 0:00:51.200 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:156 Monday 25 July 2022 18:41:40 +0000 (0:00:00.039) 0:00:51.239 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check sysctl] ************************************************************ task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:160 Monday 25 July 2022 18:41:40 +0000 (0:00:00.041) 0:00:51.281 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lvxq 400001", "delta": "0:00:00.005273", "end": "2022-07-25 14:41:40.209612", "rc": 0, "start": "2022-07-25 14:41:40.204339" } TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmpopvokypi/tests/tests_change_settings.yml:166 Monday 25 July 2022 18:41:40 +0000 (0:00:00.365) 0:00:51.646 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "grep", "-Lxqv", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.002895", "end": "2022-07-25 14:41:40.572542", "rc": 0, "start": "2022-07-25 14:41:40.569647" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=72 changed=11 unreachable=0 failed=0 skipped=34 rescued=0 ignored=0 Monday 25 July 2022 18:41:41 +0000 (0:00:00.371) 0:00:52.018 *********** =============================================================================== reboot the machine - see if settings persist after reboot -------------- 10.04s /tmp/tmpopvokypi/tests/tests_change_settings.yml:62 --------------------------- linux-system-roles.kernel_settings : tuned apply settings --------------- 2.68s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : tuned apply settings --------------- 2.55s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : tuned apply settings --------------- 2.54s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : tuned apply settings --------------- 2.52s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : Ensure required packages are installed --- 1.60s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Ensure required services are enabled and started ------------------------ 1.43s /tmp/tmpopvokypi/tests/tests_change_settings.yml:23 --------------------------- Ensure required packages are installed ---------------------------------- 1.37s /tmp/tmpopvokypi/tests/tests_change_settings.yml:6 ---------------------------- linux-system-roles.kernel_settings : Ensure required packages are installed --- 1.31s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Ensure required packages are installed --- 1.30s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 set up internal repositories -------------------------------------------- 1.28s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.kernel_settings : Ensure required packages are installed --- 1.21s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmpopvokypi/tests/tests_change_settings.yml:1 ---------------------------- Generate a configuration for kernel settings ---------------------------- 0.94s /tmp/tmpopvokypi/tests/tests_change_settings.yml:17 --------------------------- linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.68s /tmp/tmpopvokypi/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/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.52s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.52s /tmp/tmpopvokypi/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.52s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.52s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 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/tmpej3en55n 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Monday 25 July 2022 18:42:44 +0000 (0:00:00.018) 0:00:00.018 *********** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 25 July 2022 18:42:45 +0000 (0:00:01.272) 0:00:01.290 *********** =============================================================================== set up internal repositories -------------------------------------------- 1.27s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_change_settings.yml ******************************************** 1 plays in /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:1 Monday 25 July 2022 18:42:45 +0000 (0:00:00.040) 0:00:01.331 *********** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Ensure required packages are installed] ********************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:6 Monday 25 July 2022 18:42:46 +0000 (0:00:00.998) 0:00:02.330 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Ensure kernel settings profile directory exists] ************************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:11 Monday 25 July 2022 18:42:48 +0000 (0:00:01.373) 0:00:03.704 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [Generate a configuration for kernel settings] **************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:17 Monday 25 July 2022 18:42:48 +0000 (0:00:00.487) 0:00:04.191 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "checksum": "13fdc203370e2b8e7e42c13d94b671b1ac621563", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "d5df32baf1a63528844555117ead6672", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 381, "src": "/root/.ansible/tmp/ansible-tmp-1658774568.6067245-113683-217616395658926/source", "state": "file", "uid": 0 } TASK [Ensure required services are enabled and started] ************************ task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:23 Monday 25 July 2022 18:42:49 +0000 (0:00:00.945) 0:00:05.137 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:42:21 EDT", "ActiveEnterTimestampMonotonic": "4616801", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target sysinit.target systemd-sysctl.service dbus.socket systemd-journald.socket dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:42:21 EDT", "AssertTimestampMonotonic": "4281138", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:42:21 EDT", "ConditionTimestampMonotonic": "4281138", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "877", "ExecMainStartTimestamp": "Mon 2022-07-25 14:42:21 EDT", "ExecMainStartTimestampMonotonic": "4281984", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:42:21 EDT] ; stop_time=[n/a] ; pid=877 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:42:21 EDT", "InactiveExitTimestampMonotonic": "4282040", "InvocationID": "10faf38b673e447fbc34627c9134cc41", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "877", "MemoryAccounting": "yes", "MemoryCurrent": "20684800", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service sysinit.target dbus.service system.slice dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 14:42:21 EDT", "StateChangeTimestampMonotonic": "4616801", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 14:42:21 EDT", "WatchdogTimestampMonotonic": "4616798", "WatchdogUSec": "0" } } TASK [apply kernel_settings] *************************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:29 Monday 25 July 2022 18:42:51 +0000 (0:00:02.150) 0:00:07.288 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:42:51 +0000 (0:00:00.046) 0:00:07.334 *********** included: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:42:51 +0000 (0:00:00.029) 0:00:07.363 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:42:52 +0000 (0:00:00.505) 0:00:07.869 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpej3en55n/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/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:42:52 +0000 (0:00:00.039) 0:00:07.908 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:42:53 +0000 (0:00:01.316) 0:00:09.225 *********** ok: [/cache/rhel-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:42:51 EDT", "ActiveEnterTimestampMonotonic": "33923888", "ActiveExitTimestamp": "Mon 2022-07-25 14:42:49 EDT", "ActiveExitTimestampMonotonic": "32524764", "ActiveState": "active", "After": "network.target basic.target sysinit.target systemd-sysctl.service dbus.socket systemd-journald.socket dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:42:50 EDT", "AssertTimestampMonotonic": "33683021", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:42:50 EDT", "ConditionTimestampMonotonic": "33683021", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7589", "ExecMainStartTimestamp": "Mon 2022-07-25 14:42:50 EDT", "ExecMainStartTimestampMonotonic": "33685366", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:42:50 EDT] ; stop_time=[n/a] ; pid=7589 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2022-07-25 14:42:50 EDT", "InactiveEnterTimestampMonotonic": "33680599", "InactiveExitTimestamp": "Mon 2022-07-25 14:42:50 EDT", "InactiveExitTimestampMonotonic": "33685424", "InvocationID": "076c8a9b17a344839d2364f1babbce19", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7589", "MemoryAccounting": "yes", "MemoryCurrent": "15282176", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service sysinit.target dbus.service system.slice dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 14:42:51 EDT", "StateChangeTimestampMonotonic": "33923888", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 14:42:51 EDT", "WatchdogTimestampMonotonic": "33923886", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:42:54 +0000 (0:00:00.492) 0:00:09.717 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:42:54 +0000 (0:00:00.399) 0:00:10.117 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-1135830f3wq3co/tmpgbe2zzds/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:42:54 +0000 (0:00:00.391) 0:00:10.508 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "content": "IyB0dW5lZCBjb25maWd1cmF0aW9uCiMKClttYWluXQpzdW1tYXJ5PWtlcm5lbCBzZXR0aW5ncwoKW3N5c2N0bF0KZnMuZXBvbGwubWF4X3VzZXJfd2F0Y2hlcz03ODU1OTIKZnMuZmlsZS1tYXg9Mzc5NzI0Cmtlcm5lbC50aHJlYWRzLW1heD0yOTk2OAp2bS5tYXhfbWFwX2NvdW50PTY1NTMwCgpbc3lzZnNdCi9zeXMvZnMvc2VsaW51eC9hdmMvY2FjaGVfdGhyZXNob2xkPTI1NgojIHNwZWN0cmUvbWVsdGRvd24gLSB0dXJuIG9mZiBmaXggZm9yIHBlcmZvcm1hbmNlIGJvb3N0Ci9zeXMva2VybmVsL2RlYnVnL3g4Ni9wdGlfZW5hYmxlZD0wCi9zeXMva2VybmVsL2RlYnVnL3g4Ni9yZXRwX2VuYWJsZWQ9MAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkPTAK", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:42:55 +0000 (0:00:00.475) 0:00:10.983 *********** NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 changed: [/cache/rhel-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400000", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [fedora.linux_system_roles.kernel_settings : tuned apply settings] ******** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:42:56 +0000 (0:00:00.682) 0:00:11.666 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.160293", "end": "2022-07-25 14:42:58.166921", "rc": 0, "start": "2022-07-25 14:42:56.006628" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:42:58 +0000 (0:00:02.688) 0:00:14.354 *********** included: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:42:58 +0000 (0:00:00.036) 0:00:14.391 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.118648", "end": "2022-07-25 14:42:58.690487", "rc": 0, "start": "2022-07-25 14:42:58.571839" } 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/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:42:59 +0000 (0:00:00.488) 0:00:14.879 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:42:59 +0000 (0:00:00.023) 0:00:14.902 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:42:59 +0000 (0:00:00.022) 0:00:14.924 *********** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:42:59 +0000 (0:00:00.032) 0:00:14.957 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-8.qcow2 TASK [ensure kernel_settings_reboot_required is unset or undefined] ************ task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:42 Monday 25 July 2022 18:42:59 +0000 (0:00:00.068) 0:00:15.026 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:46 Monday 25 July 2022 18:42:59 +0000 (0:00:00.042) 0:00:15.068 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.002833", "end": "2022-07-25 14:42:59.250605", "rc": 0, "start": "2022-07-25 14:42:59.247772" } STDOUT: 65000 TASK [check sysctl after role runs] ******************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:50 Monday 25 July 2022 18:42:59 +0000 (0:00:00.361) 0:00:15.430 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.006753", "end": "2022-07-25 14:42:59.611414", "rc": 0, "start": "2022-07-25 14:42:59.604661" } STDOUT: 400000 TASK [check sysctl after role runs] ******************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:56 Monday 25 July 2022 18:43:00 +0000 (0:00:00.362) 0:00:15.792 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005454", "end": "2022-07-25 14:42:59.974705", "rc": 0, "start": "2022-07-25 14:42:59.969251" } TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:62 Monday 25 July 2022 18:43:00 +0000 (0:00:00.363) 0:00:16.156 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "elapsed": 14, "rebooted": true } TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:66 Monday 25 July 2022 18:43:15 +0000 (0:00:15.166) 0:00:31.323 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.008298", "end": "2022-07-25 14:43:16.333779", "rc": 0, "start": "2022-07-25 14:43:16.325481" } STDOUT: 400000 TASK [check sysfs after reboot] ************************************************ task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:72 Monday 25 July 2022 18:43:16 +0000 (0:00:00.363) 0:00:31.686 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003022", "end": "2022-07-25 14:43:16.688183", "rc": 0, "start": "2022-07-25 14:43:16.685161" } STDOUT: 65000 TASK [show cmdline] ************************************************************ task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:76 Monday 25 July 2022 18:43:16 +0000 (0:00:00.351) 0:00:32.037 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/proc/cmdline" ], "delta": "0:00:00.002867", "end": "2022-07-25 14:43:17.050596", "rc": 0, "start": "2022-07-25 14:43:17.047729" } STDOUT: BOOT_IMAGE=(hd0,gpt3)/boot/vmlinuz-4.18.0-372.9.1.el8.x86_64 root=UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 crashkernel=auto TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:80 Monday 25 July 2022 18:43:16 +0000 (0:00:00.365) 0:00:32.402 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005679", "end": "2022-07-25 14:43:17.414424", "rc": 0, "start": "2022-07-25 14:43:17.408745" } TASK [check with tuned verify] ************************************************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:86 Monday 25 July 2022 18:43:17 +0000 (0:00:00.362) 0:00:32.765 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.124744", "end": "2022-07-25 14:43:17.886835", "rc": 0, "start": "2022-07-25 14:43:17.762091" } 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/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:90 Monday 25 July 2022 18:43:17 +0000 (0:00:00.479) 0:00:33.245 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:43:17 +0000 (0:00:00.048) 0:00:33.293 *********** included: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:43:17 +0000 (0:00:00.028) 0:00:33.321 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:43:18 +0000 (0:00:00.527) 0:00:33.849 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpej3en55n/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/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:43:18 +0000 (0:00:00.040) 0:00:33.889 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:43:19 +0000 (0:00:01.632) 0:00:35.521 *********** ok: [/cache/rhel-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:43:09 EDT", "ActiveEnterTimestampMonotonic": "4828303", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-sysctl.service sysinit.target network.target system.slice basic.target dbus.socket systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:43:09 EDT", "AssertTimestampMonotonic": "4597921", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:43:09 EDT", "ConditionTimestampMonotonic": "4597921", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "849", "ExecMainStartTimestamp": "Mon 2022-07-25 14:43:09 EDT", "ExecMainStartTimestampMonotonic": "4598920", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:43:09 EDT] ; stop_time=[n/a] ; pid=849 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:43:09 EDT", "InactiveExitTimestampMonotonic": "4599074", "InvocationID": "93fe2c72104a47e7993466da8ed5c89e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "849", "MemoryAccounting": "yes", "MemoryCurrent": "20701184", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target dbus.service polkit.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 14:43:09 EDT", "StateChangeTimestampMonotonic": "4828303", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 14:43:09 EDT", "WatchdogTimestampMonotonic": "4828301", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:43:20 +0000 (0:00:00.512) 0:00:36.034 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:43:20 +0000 (0:00:00.402) 0:00:36.436 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-1135830f3wq3co/tmpbbcqp5ij/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:43:21 +0000 (0:00:00.406) 0:00:36.842 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKZnMuZmlsZS1tYXggPSA0MDAwMDAKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2NTAwMAo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:43:21 +0000 (0:00:00.370) 0:00:37.213 *********** NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 changed: [/cache/rhel-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [fedora.linux_system_roles.kernel_settings : tuned apply settings] ******** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:43:22 +0000 (0:00:00.513) 0:00:37.727 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.704880", "end": "2022-07-25 14:43:24.453774", "rc": 0, "start": "2022-07-25 14:43:22.748894" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:43:24 +0000 (0:00:02.086) 0:00:39.813 *********** included: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:43:24 +0000 (0:00:00.038) 0:00:39.852 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.108019", "end": "2022-07-25 14:43:24.965306", "rc": 0, "start": "2022-07-25 14:43:24.857287" } 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/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:43:24 +0000 (0:00:00.466) 0:00:40.318 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:43:24 +0000 (0:00:00.025) 0:00:40.344 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:43:24 +0000 (0:00:00.024) 0:00:40.368 *********** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:43:24 +0000 (0:00:00.033) 0:00:40.402 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-8.qcow2 TASK [force handlers] ********************************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:101 Monday 25 July 2022 18:43:24 +0000 (0:00:00.040) 0:00:40.443 *********** RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:24 +0000 (0:00:00.000) 0:00:40.443 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:24 +0000 (0:00:00.032) 0:00:40.475 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:24 +0000 (0:00:00.033) 0:00:40.509 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:24 +0000 (0:00:00.033) 0:00:40.543 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:104 Monday 25 July 2022 18:43:24 +0000 (0:00:00.040) 0:00:40.583 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:108 Monday 25 July 2022 18:43:24 +0000 (0:00:00.042) 0:00:40.626 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lxvq 400000", "delta": "0:00:00.006027", "end": "2022-07-25 14:43:25.647321", "rc": 0, "start": "2022-07-25 14:43:25.641294" } TASK [apply kernel_settings for removing] ************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:114 Monday 25 July 2022 18:43:25 +0000 (0:00:00.372) 0:00:40.999 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:43:25 +0000 (0:00:00.052) 0:00:41.051 *********** included: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:43:25 +0000 (0:00:00.028) 0:00:41.080 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:43:25 +0000 (0:00:00.527) 0:00:41.607 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpej3en55n/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/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:43:26 +0000 (0:00:00.040) 0:00:41.648 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:43:27 +0000 (0:00:01.232) 0:00:42.881 *********** ok: [/cache/rhel-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:43:09 EDT", "ActiveEnterTimestampMonotonic": "4828303", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-sysctl.service sysinit.target network.target system.slice basic.target dbus.socket systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:43:09 EDT", "AssertTimestampMonotonic": "4597921", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:43:09 EDT", "ConditionTimestampMonotonic": "4597921", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "849", "ExecMainStartTimestamp": "Mon 2022-07-25 14:43:09 EDT", "ExecMainStartTimestampMonotonic": "4598920", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:43:09 EDT] ; stop_time=[n/a] ; pid=849 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:43:09 EDT", "InactiveExitTimestampMonotonic": "4599074", "InvocationID": "93fe2c72104a47e7993466da8ed5c89e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "849", "MemoryAccounting": "yes", "MemoryCurrent": "21606400", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target dbus.service polkit.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 14:43:09 EDT", "StateChangeTimestampMonotonic": "4828303", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 14:43:09 EDT", "WatchdogTimestampMonotonic": "4828301", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:43:27 +0000 (0:00:00.504) 0:00:43.386 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:43:28 +0000 (0:00:00.378) 0:00:43.764 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-1135830f3wq3co/tmpb39ipt4u/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:43:28 +0000 (0:00:00.421) 0:00:44.185 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2NTAwMAo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:43:28 +0000 (0:00:00.360) 0:00:44.545 *********** NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 changed: [/cache/rhel-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400001", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "60666", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [fedora.linux_system_roles.kernel_settings : tuned apply settings] ******** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:43:29 +0000 (0:00:00.477) 0:00:45.023 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.193323", "end": "2022-07-25 14:43:32.227988", "rc": 0, "start": "2022-07-25 14:43:30.034665" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:43:31 +0000 (0:00:02.576) 0:00:47.599 *********** included: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:43:32 +0000 (0:00:00.041) 0:00:47.641 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.109606", "end": "2022-07-25 14:43:32.777439", "rc": 0, "start": "2022-07-25 14:43:32.667833" } 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/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:43:32 +0000 (0:00:00.490) 0:00:48.132 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:43:32 +0000 (0:00:00.026) 0:00:48.159 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:43:32 +0000 (0:00:00.025) 0:00:48.184 *********** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:43:32 +0000 (0:00:00.035) 0:00:48.219 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-8.qcow2 TASK [force handlers] ********************************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:126 Monday 25 July 2022 18:43:32 +0000 (0:00:00.044) 0:00:48.264 *********** RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:32 +0000 (0:00:00.000) 0:00:48.264 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:32 +0000 (0:00:00.032) 0:00:48.296 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:32 +0000 (0:00:00.034) 0:00:48.331 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:32 +0000 (0:00:00.035) 0:00:48.366 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:32 +0000 (0:00:00.034) 0:00:48.400 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:32 +0000 (0:00:00.034) 0:00:48.434 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:129 Monday 25 July 2022 18:43:32 +0000 (0:00:00.041) 0:00:48.476 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check sysctl] ************************************************************ task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:133 Monday 25 July 2022 18:43:32 +0000 (0:00:00.080) 0:00:48.556 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -qx 400001", "delta": "0:00:00.006280", "end": "2022-07-25 14:43:33.570778", "rc": 0, "start": "2022-07-25 14:43:33.564498" } TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:139 Monday 25 July 2022 18:43:33 +0000 (0:00:00.367) 0:00:48.923 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "grep", "-x", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003152", "end": "2022-07-25 14:43:33.940072", "rc": 0, "start": "2022-07-25 14:43:33.936920" } STDOUT: 60666 TASK [apply kernel_settings for removing section] ****************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:143 Monday 25 July 2022 18:43:33 +0000 (0:00:00.368) 0:00:49.291 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:43:33 +0000 (0:00:00.057) 0:00:49.349 *********** included: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:43:33 +0000 (0:00:00.062) 0:00:49.412 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:43:34 +0000 (0:00:00.504) 0:00:49.916 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpej3en55n/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/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:43:34 +0000 (0:00:00.042) 0:00:49.959 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:43:35 +0000 (0:00:01.300) 0:00:51.260 *********** ok: [/cache/rhel-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:43:09 EDT", "ActiveEnterTimestampMonotonic": "4828303", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-sysctl.service sysinit.target network.target system.slice basic.target dbus.socket systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:43:09 EDT", "AssertTimestampMonotonic": "4597921", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:43:09 EDT", "ConditionTimestampMonotonic": "4597921", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "849", "ExecMainStartTimestamp": "Mon 2022-07-25 14:43:09 EDT", "ExecMainStartTimestampMonotonic": "4598920", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:43:09 EDT] ; stop_time=[n/a] ; pid=849 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:43:09 EDT", "InactiveExitTimestampMonotonic": "4599074", "InvocationID": "93fe2c72104a47e7993466da8ed5c89e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "849", "MemoryAccounting": "yes", "MemoryCurrent": "21581824", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target dbus.service polkit.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 14:43:09 EDT", "StateChangeTimestampMonotonic": "4828303", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 14:43:09 EDT", "WatchdogTimestampMonotonic": "4828301", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:43:36 +0000 (0:00:00.528) 0:00:51.788 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:43:36 +0000 (0:00:00.371) 0:00:52.160 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-1135830f3wq3co/tmpwwopp2jq/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:43:36 +0000 (0:00:00.374) 0:00:52.534 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCmZzLmZpbGUtbWF4ID0gNDAwMDAxCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2MDY2Ngo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:43:37 +0000 (0:00:00.367) 0:00:52.902 *********** NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8.qcow2 changed: [/cache/rhel-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": {}, "reboot_required": false } MSG: Kernel settings were updated. TASK [fedora.linux_system_roles.kernel_settings : tuned apply settings] ******** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:43:37 +0000 (0:00:00.468) 0:00:53.371 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.159500", "end": "2022-07-25 14:43:40.547988", "rc": 0, "start": "2022-07-25 14:43:38.388488" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:43:40 +0000 (0:00:02.535) 0:00:55.907 *********** included: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:43:40 +0000 (0:00:00.039) 0:00:55.947 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.103814", "end": "2022-07-25 14:43:41.067026", "rc": 0, "start": "2022-07-25 14:43:40.963212" } 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/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:43:40 +0000 (0:00:00.475) 0:00:56.422 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:43:40 +0000 (0:00:00.026) 0:00:56.448 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:43:40 +0000 (0:00:00.023) 0:00:56.472 *********** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:43:40 +0000 (0:00:00.032) 0:00:56.505 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-8.qcow2 TASK [force handlers] ********************************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:153 Monday 25 July 2022 18:43:40 +0000 (0:00:00.039) 0:00:56.545 *********** RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:40 +0000 (0:00:00.000) 0:00:56.545 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:40 +0000 (0:00:00.032) 0:00:56.577 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:40 +0000 (0:00:00.034) 0:00:56.611 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:41 +0000 (0:00:00.034) 0:00:56.646 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:41 +0000 (0:00:00.033) 0:00:56.679 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:41 +0000 (0:00:00.031) 0:00:56.711 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:43:41 +0000 (0:00:00.031) 0:00:56.742 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:43:41 +0000 (0:00:00.033) 0:00:56.776 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:156 Monday 25 July 2022 18:43:41 +0000 (0:00:00.041) 0:00:56.817 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check sysctl] ************************************************************ task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:160 Monday 25 July 2022 18:43:41 +0000 (0:00:00.046) 0:00:56.863 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lvxq 400001", "delta": "0:00:00.005505", "end": "2022-07-25 14:43:41.880515", "rc": 0, "start": "2022-07-25 14:43:41.875010" } TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:166 Monday 25 July 2022 18:43:41 +0000 (0:00:00.370) 0:00:57.234 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "grep", "-Lxqv", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.002681", "end": "2022-07-25 14:43:42.250091", "rc": 0, "start": "2022-07-25 14:43:42.247410" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=72 changed=11 unreachable=0 failed=0 skipped=34 rescued=0 ignored=0 Monday 25 July 2022 18:43:41 +0000 (0:00:00.375) 0:00:57.609 *********** =============================================================================== reboot the machine - see if settings persist after reboot -------------- 15.17s /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:62 ----------- fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 2.69s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 2.58s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 2.54s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Ensure required services are enabled and started ------------------------ 2.15s /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:23 ----------- fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 2.09s /tmp/tmpej3en55n/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.63s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Ensure required packages are installed ---------------------------------- 1.37s /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:6 ------------ fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 1.32s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 1.30s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 set up internal repositories -------------------------------------------- 1.27s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 1.23s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:1 ------------ Generate a configuration for kernel settings ---------------------------- 0.95s /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_change_settings.yml:17 ----------- fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.68s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.53s /tmp/tmpej3en55n/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.53s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.53s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.51s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.51s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10