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:41:57 +0000 (0:00:00.016) 0:00:00.016 *********** 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:41:58 +0000 (0:00:01.286) 0:00:01.303 *********** =============================================================================== set up internal repositories -------------------------------------------- 1.29s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_simple_settings.yml ******************************************** 1 plays in /tmp/tmpopvokypi/tests/tests_simple_settings.yml PLAY [test simple kernel settings] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpopvokypi/tests/tests_simple_settings.yml:2 Monday 25 July 2022 18:41:58 +0000 (0:00:00.011) 0:00:01.315 *********** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [set platform independent vars used by this test] ************************* task path: /tmp/tmpopvokypi/tests/tests_simple_settings.yml:8 Monday 25 July 2022 18:41:59 +0000 (0:00:01.035) 0:00:02.350 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__kernel_settings_profile_file": "# File managed by Ansible - DO NOT EDIT\n[main]\nsummary = kernel settings\n[sysctl]\nfs.epoll.max_user_watches = 785592\nfs.file-max = 379724\n[vm]\ntransparent_hugepages = madvise\n[sysfs]\n/sys/kernel/debug/x86/ibrs_enabled = 0\n/sys/kernel/debug/x86/pti_enabled = 0\n/sys/kernel/debug/x86/retp_enabled = 0\n{% if __kernel_settings_blcmdline_value | d() %}\n[bootloader]\ncmdline = {{ __kernel_settings_blcmdline_value }}\n{% endif %}\n", "kernel_settings_sysctl": [ { "name": "fs.epoll.max_user_watches", "value": 785592 }, { "name": "fs.file-max", "value": 379724 }, { "name": "no.such.param", "state": "absent" } ], "kernel_settings_sysfs": [ { "name": "/sys/kernel/debug/x86/pti_enabled", "value": 0 }, { "name": "/sys/kernel/debug/x86/retp_enabled", "value": 0 }, { "name": "/sys/kernel/debug/x86/ibrs_enabled", "value": 0 }, { "name": "/sys/not/found", "state": "absent" } ], "kernel_settings_systemd_cpu_affinity": { "state": "absent" }, "kernel_settings_transparent_hugepages": "madvise", "kernel_settings_transparent_hugepages_defrag": { "state": "absent" } }, "ansible_included_var_files": [ "/tmp/tmpopvokypi/tests/vars/vars_simple_settings.yml" ], "changed": false } TASK [disable bootloader cmdline testing on Fedora] **************************** task path: /tmp/tmpopvokypi/tests/tests_simple_settings.yml:12 Monday 25 July 2022 18:41:59 +0000 (0:00:00.029) 0:00:02.379 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [apply the settings - call the role] ************************************** task path: /tmp/tmpopvokypi/tests/tests_simple_settings.yml:23 Monday 25 July 2022 18:41:59 +0000 (0:00:00.019) 0:00:02.399 *********** 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:59 +0000 (0:00:00.036) 0:00:02.436 *********** 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:59 +0000 (0:00:00.026) 0:00:02.463 *********** 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:42:00 +0000 (0:00:00.503) 0:00:02.966 *********** 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:42:00 +0000 (0:00:00.036) 0:00:03.003 *********** 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:42:01 +0000 (0:00:01.428) 0:00:04.431 *********** 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": "19697664", "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:42:02 +0000 (0:00:00.736) 0:00:05.168 *********** 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:42:03 +0000 (0:00:00.497) 0:00:05.666 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-112805x8zlu48k/tmpbd0w8dzv/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:42:03 +0000 (0:00:00.524) 0:00:06.190 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCg==", "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:42:04 +0000 (0:00:00.478) 0:00:06.669 *********** 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": "379724" }, "sysfs": { "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" }, "vm": { "transparent_hugepages": "madvise" } }, "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:42:04 +0000 (0:00:00.579) 0:00:07.249 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.161393", "end": "2022-07-25 14:42:06.885300", "rc": 0, "start": "2022-07-25 14:42:04.723907" } 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:42:07 +0000 (0:00:02.663) 0:00:09.912 *********** 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:42:07 +0000 (0:00:00.042) 0:00:09.955 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.109459", "end": "2022-07-25 14:42:07.410473", "rc": 0, "start": "2022-07-25 14:42:07.301014" } 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:42:07 +0000 (0:00:00.476) 0:00:10.432 *********** 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:42:07 +0000 (0:00:00.025) 0:00:10.457 *********** 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:42:07 +0000 (0:00:00.023) 0:00:10.481 *********** 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:42:08 +0000 (0:00:00.033) 0:00:10.515 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-8.qcow2 TASK [verify that settings were applied correctly] ***************************** task path: /tmp/tmpopvokypi/tests/tests_simple_settings.yml:28 Monday 25 July 2022 18:42:08 +0000 (0:00:00.036) 0:00:10.551 *********** included: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings.yml for /cache/rhel-8.qcow2 TASK [Set version specific variables] ****************************************** task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings.yml:2 Monday 25 July 2022 18:42:08 +0000 (0:00:00.028) 0:00:10.579 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__kernel_settings_test_python_cmd": "python3", "__kernel_settings_test_python_pkgs": [ "python3", "python3-configobj" ] }, "ansible_included_var_files": [ "/tmp/tmpopvokypi/tests/vars/tests_RedHat_8.yml" ], "changed": false } TASK [reset settings success flag] ********************************************* task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings.yml:13 Monday 25 July 2022 18:42:08 +0000 (0:00:00.062) 0:00:10.642 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__kernel_settings_success": true }, "changed": false } TASK [check tuned-adm verify] ************************************************** task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings.yml:17 Monday 25 July 2022 18:42:08 +0000 (0:00:00.050) 0:00:10.692 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check for verify errors] ************************************************* task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings.yml:23 Monday 25 July 2022 18:42:08 +0000 (0:00:00.018) 0:00:10.711 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check /proc/cmdline] ***************************************************** task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings.yml:29 Monday 25 July 2022 18:42:08 +0000 (0:00:00.023) 0:00:10.734 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set error flag based on verify] ****************************************** task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings.yml:35 Monday 25 July 2022 18:42:08 +0000 (0:00:00.021) 0:00:10.755 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings.yml:42 Monday 25 July 2022 18:42:08 +0000 (0:00:00.021) 0:00:10.777 *********** included: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml for /cache/rhel-8.qcow2 TASK [create temporary file for expected config] ******************************* task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:2 Monday 25 July 2022 18:42:08 +0000 (0:00:00.051) 0:00:10.828 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.xpx1ri67.kernel_settings", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [put expected contents into temporary file] ******************************* task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:8 Monday 25 July 2022 18:42:08 +0000 (0:00:00.485) 0:00:11.313 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "checksum": "169e46a0442e2493edda7ef1d37dfc572d06525c", "dest": "/tmp/ansible.xpx1ri67.kernel_settings", "gid": 0, "group": "root", "md5sum": "b82bbe3a22d81e7a442595a59b2d0944", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 299, "src": "/root/.ansible/tmp/ansible-tmp-1658774528.910156-113069-129520344256502/source", "state": "file", "uid": 0 } TASK [ensure python command exists for tests below] **************************** task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:14 Monday 25 July 2022 18:42:09 +0000 (0:00:00.827) 0:00:12.140 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64", "Installed: python3-pip-9.0.3-22.el8.noarch", "Installed: python3-setuptools-39.2.0-6.el8.noarch" ] } TASK [diff expected vs actual content] ***************************************** task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:19 Monday 25 July 2022 18:42:11 +0000 (0:00:01.911) 0:00:14.052 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "python3 -c 'import sys\nfrom configobj import ConfigObj\nc1 = ConfigObj(sys.argv[1])\nc2 = ConfigObj(sys.argv[2])\nsys.exit(not c1 == c2)' /tmp/ansible.xpx1ri67.kernel_settings /etc/tuned/kernel_settings/tuned.conf\n", "delta": "0:00:00.031465", "end": "2022-07-25 14:42:11.443318", "rc": 0, "start": "2022-07-25 14:42:11.411853" } TASK [verify expected content] ************************************************* task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:32 Monday 25 July 2022 18:42:11 +0000 (0:00:00.409) 0:00:14.462 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show diff - may not reflect actual ConfigObj differences] **************** task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:37 Monday 25 July 2022 18:42:11 +0000 (0:00:00.024) 0:00:14.486 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get active_profile file] ************************************************* task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:44 Monday 25 July 2022 18:42:12 +0000 (0:00:00.023) 0:00:14.510 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [check that active_profile ends with kernel_settings] ********************* task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:51 Monday 25 July 2022 18:42:12 +0000 (0:00:00.364) 0:00:14.874 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get profile_mode file] *************************************************** task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:58 Monday 25 July 2022 18:42:12 +0000 (0:00:00.036) 0:00:14.910 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "content": "bWFudWFsCg==", "encoding": "base64", "source": "/etc/tuned/profile_mode" } TASK [check that profile_mode is manual] *************************************** task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:65 Monday 25 July 2022 18:42:12 +0000 (0:00:00.363) 0:00:15.274 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get the bootloader specific config file] ********************************* task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:73 Monday 25 July 2022 18:42:12 +0000 (0:00:00.036) 0:00:15.310 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify bootloader settings value] **************************************** task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:84 Monday 25 July 2022 18:42:12 +0000 (0:00:00.031) 0:00:15.342 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check if kernel_settings_reboot_required is set if needed] *************** task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings.yml:45 Monday 25 July 2022 18:42:12 +0000 (0:00:00.032) 0:00:15.374 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert success] ********************************************************** task path: /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings.yml:52 Monday 25 July 2022 18:42:12 +0000 (0:00:00.032) 0:00:15.407 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmpopvokypi/tests/tests_simple_settings.yml:35 Monday 25 July 2022 18:42:12 +0000 (0:00:00.042) 0:00:15.450 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify that settings were applied correctly after reboot] **************** task path: /tmp/tmpopvokypi/tests/tests_simple_settings.yml:42 Monday 25 July 2022 18:42:12 +0000 (0:00:00.033) 0:00:15.484 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show contents of tuned.conf] ********************************************* task path: /tmp/tmpopvokypi/tests/tests_simple_settings.yml:51 Monday 25 July 2022 18:42:13 +0000 (0:00:00.032) 0:00:15.516 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002892", "end": "2022-07-25 14:42:12.873041", "rc": 0, "start": "2022-07-25 14:42:12.870149" } STDOUT: # # Ansible managed # [main] summary = kernel settings [sysctl] fs.epoll.max_user_watches = 785592 fs.file-max = 379724 [sysfs] /sys/kernel/debug/x86/pti_enabled = 0 /sys/kernel/debug/x86/retp_enabled = 0 /sys/kernel/debug/x86/ibrs_enabled = 0 [vm] transparent_hugepages = madvise 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:42:13 +0000 (0:00:00.374) 0:00:15.890 *********** 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:42:13 +0000 (0:00:00.030) 0:00:15.921 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=27 changed=5 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Monday 25 July 2022 18:42:13 +0000 (0:00:00.042) 0:00:15.963 *********** =============================================================================== linux-system-roles.kernel_settings : tuned apply settings --------------- 2.66s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 ensure python command exists for tests below ---------------------------- 1.91s /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:14 --------- linux-system-roles.kernel_settings : Ensure required packages are installed --- 1.43s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 set up internal repositories -------------------------------------------- 1.29s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpopvokypi/tests/tests_simple_settings.yml:2 ---------------------------- put expected contents into temporary file ------------------------------- 0.83s /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:8 ---------- linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 0.74s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.58s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 linux-system-roles.kernel_settings : Generate a configuration for kernel settings --- 0.52s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.50s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.50s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 create temporary file for expected config ------------------------------- 0.49s /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:2 ---------- linux-system-roles.kernel_settings : Get current config ----------------- 0.48s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 linux-system-roles.kernel_settings : check that settings are applied correctly --- 0.48s /tmp/tmpopvokypi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 diff expected vs actual content ----------------------------------------- 0.41s /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:19 --------- show contents of tuned.conf --------------------------------------------- 0.37s /tmp/tmpopvokypi/tests/tests_simple_settings.yml:51 --------------------------- get active_profile file ------------------------------------------------- 0.36s /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:44 --------- get profile_mode file --------------------------------------------------- 0.36s /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings_conf_files.yml:58 --------- Set version specific variables ------------------------------------------ 0.06s /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings.yml:2 --------------------- include_tasks ----------------------------------------------------------- 0.05s /tmp/tmpopvokypi/tests/tasks/assert_kernel_settings.yml:42 -------------------- 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:43:58 +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:43:59 +0000 (0:00:01.284) 0:00:01.303 *********** =============================================================================== set up internal repositories -------------------------------------------- 1.28s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_simple_settings.yml ******************************************** 1 plays in /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_simple_settings.yml PLAY [test simple kernel settings] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_simple_settings.yml:2 Monday 25 July 2022 18:43:59 +0000 (0:00:00.011) 0:00:01.314 *********** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [set platform independent vars used by this test] ************************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_simple_settings.yml:8 Monday 25 July 2022 18:44:00 +0000 (0:00:01.030) 0:00:02.345 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__kernel_settings_profile_file": "# File managed by Ansible - DO NOT EDIT\n[main]\nsummary = kernel settings\n[sysctl]\nfs.epoll.max_user_watches = 785592\nfs.file-max = 379724\n[vm]\ntransparent_hugepages = madvise\n[sysfs]\n/sys/kernel/debug/x86/ibrs_enabled = 0\n/sys/kernel/debug/x86/pti_enabled = 0\n/sys/kernel/debug/x86/retp_enabled = 0\n{% if __kernel_settings_blcmdline_value | d() %}\n[bootloader]\ncmdline = {{ __kernel_settings_blcmdline_value }}\n{% endif %}\n", "kernel_settings_sysctl": [ { "name": "fs.epoll.max_user_watches", "value": 785592 }, { "name": "fs.file-max", "value": 379724 }, { "name": "no.such.param", "state": "absent" } ], "kernel_settings_sysfs": [ { "name": "/sys/kernel/debug/x86/pti_enabled", "value": 0 }, { "name": "/sys/kernel/debug/x86/retp_enabled", "value": 0 }, { "name": "/sys/kernel/debug/x86/ibrs_enabled", "value": 0 }, { "name": "/sys/not/found", "state": "absent" } ], "kernel_settings_systemd_cpu_affinity": { "state": "absent" }, "kernel_settings_transparent_hugepages": "madvise", "kernel_settings_transparent_hugepages_defrag": { "state": "absent" } }, "ansible_included_var_files": [ "/tmp/tmp7wiwrn0c/tests/kernel_settings/vars/vars_simple_settings.yml" ], "changed": false } TASK [disable bootloader cmdline testing on Fedora] **************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_simple_settings.yml:12 Monday 25 July 2022 18:44:00 +0000 (0:00:00.027) 0:00:02.373 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [apply the settings - call the role] ************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_simple_settings.yml:23 Monday 25 July 2022 18:44:00 +0000 (0:00:00.018) 0:00:02.391 *********** 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:44:01 +0000 (0:00:00.040) 0:00:02.432 *********** 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:44:01 +0000 (0:00:00.028) 0:00:02.460 *********** 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:44:01 +0000 (0:00:00.500) 0:00:02.960 *********** 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:44:01 +0000 (0:00:00.038) 0:00:02.999 *********** 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:44:02 +0000 (0:00:01.372) 0:00:04.371 *********** 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": "21647360", "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:44:03 +0000 (0:00:00.735) 0:00:05.106 *********** 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:44:04 +0000 (0:00:00.488) 0:00:05.595 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-115110jtcd0bdi/tmp9p0s8wp4/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:44:04 +0000 (0:00:00.512) 0:00:06.107 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCg==", "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:44:05 +0000 (0:00:00.492) 0:00:06.600 *********** 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": "379724" }, "sysfs": { "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" }, "vm": { "transparent_hugepages": "madvise" } }, "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:44:05 +0000 (0:00:00.592) 0:00:07.192 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.189087", "end": "2022-07-25 14:44:08.726110", "rc": 0, "start": "2022-07-25 14:44:06.537023" } 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:44:08 +0000 (0:00:02.689) 0:00:09.882 *********** 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:44:08 +0000 (0:00:00.039) 0:00:09.922 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.107611", "end": "2022-07-25 14:44:09.249911", "rc": 0, "start": "2022-07-25 14:44:09.142300" } 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:44:08 +0000 (0:00:00.478) 0:00:10.400 *********** 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:44:08 +0000 (0:00:00.024) 0:00:10.424 *********** 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:44:09 +0000 (0:00:00.022) 0:00:10.447 *********** 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:44:09 +0000 (0:00:00.030) 0:00:10.477 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-8.qcow2 TASK [verify that settings were applied correctly] ***************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_simple_settings.yml:28 Monday 25 July 2022 18:44:09 +0000 (0:00:00.038) 0:00:10.515 *********** included: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings.yml for /cache/rhel-8.qcow2 TASK [Set version specific variables] ****************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings.yml:2 Monday 25 July 2022 18:44:09 +0000 (0:00:00.031) 0:00:10.547 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__kernel_settings_test_python_cmd": "python3", "__kernel_settings_test_python_pkgs": [ "python3", "python3-configobj" ] }, "ansible_included_var_files": [ "/tmp/tmp7wiwrn0c/tests/kernel_settings/vars/tests_RedHat_8.yml" ], "changed": false } TASK [reset settings success flag] ********************************************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings.yml:12 Monday 25 July 2022 18:44:09 +0000 (0:00:00.058) 0:00:10.605 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__kernel_settings_success": true }, "changed": false } TASK [check tuned-adm verify] ************************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings.yml:16 Monday 25 July 2022 18:44:09 +0000 (0:00:00.052) 0:00:10.658 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check for verify errors] ************************************************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings.yml:22 Monday 25 July 2022 18:44:09 +0000 (0:00:00.018) 0:00:10.677 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check /proc/cmdline] ***************************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings.yml:28 Monday 25 July 2022 18:44:09 +0000 (0:00:00.022) 0:00:10.699 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set error flag based on verify] ****************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings.yml:34 Monday 25 July 2022 18:44:09 +0000 (0:00:00.022) 0:00:10.722 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings.yml:41 Monday 25 July 2022 18:44:09 +0000 (0:00:00.023) 0:00:10.745 *********** included: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml for /cache/rhel-8.qcow2 TASK [create temporary file for expected config] ******************************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:2 Monday 25 July 2022 18:44:09 +0000 (0:00:00.047) 0:00:10.792 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.k0p7jlyp.kernel_settings", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [put expected contents into temporary file] ******************************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:8 Monday 25 July 2022 18:44:09 +0000 (0:00:00.477) 0:00:11.270 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "checksum": "169e46a0442e2493edda7ef1d37dfc572d06525c", "dest": "/tmp/ansible.k0p7jlyp.kernel_settings", "gid": 0, "group": "root", "md5sum": "b82bbe3a22d81e7a442595a59b2d0944", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 299, "src": "/root/.ansible/tmp/ansible-tmp-1658774649.906588-115374-182000982125674/source", "state": "file", "uid": 0 } TASK [ensure python command exists for tests below] **************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:14 Monday 25 July 2022 18:44:10 +0000 (0:00:00.799) 0:00:12.069 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64", "Installed: python3-pip-9.0.3-22.el8.noarch", "Installed: python3-setuptools-39.2.0-6.el8.noarch" ] } TASK [diff expected vs actual content] ***************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:19 Monday 25 July 2022 18:44:12 +0000 (0:00:01.861) 0:00:13.930 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "python3 -c 'import sys\nfrom configobj import ConfigObj\nc1 = ConfigObj(sys.argv[1])\nc2 = ConfigObj(sys.argv[2])\nsys.exit(not c1 == c2)' /tmp/ansible.k0p7jlyp.kernel_settings /etc/tuned/kernel_settings/tuned.conf\n", "delta": "0:00:00.030713", "end": "2022-07-25 14:44:13.189620", "rc": 0, "start": "2022-07-25 14:44:13.158907" } TASK [verify expected content] ************************************************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:32 Monday 25 July 2022 18:44:12 +0000 (0:00:00.409) 0:00:14.340 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show diff - may not reflect actual ConfigObj differences] **************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:37 Monday 25 July 2022 18:44:12 +0000 (0:00:00.025) 0:00:14.365 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get active_profile file] ************************************************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:44 Monday 25 July 2022 18:44:12 +0000 (0:00:00.023) 0:00:14.388 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [check that active_profile ends with kernel_settings] ********************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:51 Monday 25 July 2022 18:44:13 +0000 (0:00:00.359) 0:00:14.748 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get profile_mode file] *************************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:58 Monday 25 July 2022 18:44:13 +0000 (0:00:00.037) 0:00:14.785 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "content": "bWFudWFsCg==", "encoding": "base64", "source": "/etc/tuned/profile_mode" } TASK [check that profile_mode is manual] *************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:65 Monday 25 July 2022 18:44:13 +0000 (0:00:00.360) 0:00:15.145 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get the bootloader specific config file] ********************************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:73 Monday 25 July 2022 18:44:13 +0000 (0:00:00.034) 0:00:15.179 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify bootloader settings value] **************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:84 Monday 25 July 2022 18:44:13 +0000 (0:00:00.030) 0:00:15.210 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check if kernel_settings_reboot_required is set if needed] *************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings.yml:44 Monday 25 July 2022 18:44:13 +0000 (0:00:00.030) 0:00:15.241 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert success] ********************************************************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings.yml:51 Monday 25 July 2022 18:44:13 +0000 (0:00:00.029) 0:00:15.271 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_simple_settings.yml:35 Monday 25 July 2022 18:44:13 +0000 (0:00:00.039) 0:00:15.311 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify that settings were applied correctly after reboot] **************** task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_simple_settings.yml:42 Monday 25 July 2022 18:44:13 +0000 (0:00:00.029) 0:00:15.340 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show contents of tuned.conf] ********************************************* task path: /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_simple_settings.yml:51 Monday 25 July 2022 18:44:13 +0000 (0:00:00.029) 0:00:15.370 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.003062", "end": "2022-07-25 14:44:14.585815", "rc": 0, "start": "2022-07-25 14:44:14.582753" } STDOUT: # # Ansible managed # [main] summary = kernel settings [sysctl] fs.epoll.max_user_watches = 785592 fs.file-max = 379724 [sysfs] /sys/kernel/debug/x86/pti_enabled = 0 /sys/kernel/debug/x86/retp_enabled = 0 /sys/kernel/debug/x86/ibrs_enabled = 0 [vm] transparent_hugepages = madvise 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:44:14 +0000 (0:00:00.364) 0:00:15.734 *********** 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:44:14 +0000 (0:00:00.031) 0:00:15.766 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=27 changed=5 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Monday 25 July 2022 18:44:14 +0000 (0:00:00.041) 0:00:15.808 *********** =============================================================================== 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 ensure python command exists for tests below ---------------------------- 1.86s /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:14 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 1.37s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 set up internal repositories -------------------------------------------- 1.28s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_simple_settings.yml:2 ------------ put expected contents into temporary file ------------------------------- 0.80s /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:8 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.74s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.59s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings --- 0.51s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.50s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : Get current config ---------- 0.49s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.49s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 fedora.linux_system_roles.kernel_settings : check that settings are applied correctly --- 0.48s /tmp/tmpej3en55n/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 create temporary file for expected config ------------------------------- 0.48s /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:2 diff expected vs actual content ----------------------------------------- 0.41s /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:19 show contents of tuned.conf --------------------------------------------- 0.36s /tmp/tmp7wiwrn0c/tests/kernel_settings/tests_simple_settings.yml:51 ----------- get profile_mode file --------------------------------------------------- 0.36s /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:58 get active_profile file ------------------------------------------------- 0.36s /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:44 Set version specific variables ------------------------------------------ 0.06s /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings.yml:2 ----- reset settings success flag --------------------------------------------- 0.05s /tmp/tmp7wiwrn0c/tests/kernel_settings/tasks/assert_kernel_settings.yml:12 ----