ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpbfhu8xj4 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Monday 25 July 2022 18:44:59 +0000 (0:00:00.018) 0:00:00.018 *********** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.225194", "end": "2022-07-25 18:45:00.330523", "rc": 0, "start": "2022-07-25 18:45:00.105329" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 25 July 2022 18:45:00 +0000 (0:00:00.815) 0:00:00.833 *********** =============================================================================== Enable HA repos --------------------------------------------------------- 0.82s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_simple_settings.yml ******************************************** 1 plays in /tmp/tmpy6acgkml/tests/tests_simple_settings.yml PLAY [test simple kernel settings] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpy6acgkml/tests/tests_simple_settings.yml:2 Monday 25 July 2022 18:45:00 +0000 (0:00:00.011) 0:00:00.845 *********** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [set platform independent vars used by this test] ************************* task path: /tmp/tmpy6acgkml/tests/tests_simple_settings.yml:8 Monday 25 July 2022 18:45:01 +0000 (0:00:01.005) 0:00:01.850 *********** ok: [/cache/centos-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/tmpy6acgkml/tests/vars/vars_simple_settings.yml" ], "changed": false } TASK [disable bootloader cmdline testing on Fedora] **************************** task path: /tmp/tmpy6acgkml/tests/tests_simple_settings.yml:12 Monday 25 July 2022 18:45:01 +0000 (0:00:00.027) 0:00:01.877 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [apply the settings - call the role] ************************************** task path: /tmp/tmpy6acgkml/tests/tests_simple_settings.yml:23 Monday 25 July 2022 18:45:01 +0000 (0:00:00.018) 0:00:01.896 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:45:01 +0000 (0:00:00.035) 0:00:01.931 *********** included: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:45:01 +0000 (0:00:00.024) 0:00:01.956 *********** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:45:01 +0000 (0:00:00.496) 0:00:02.452 *********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/vars/default.yml" ], "changed": false } TASK [linux-system-roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:45:01 +0000 (0:00:00.036) 0:00:02.489 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:45:03 +0000 (0:00:02.323) 0:00:04.813 *********** ok: [/cache/centos-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:44:07 UTC", "ActiveEnterTimestampMonotonic": "6886025", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice dbus.service network.target dbus.socket systemd-sysctl.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:44:06 UTC", "AssertTimestampMonotonic": "6450193", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 18:44:06 UTC", "ConditionTimestampMonotonic": "6450193", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "860", "ExecMainStartTimestamp": "Mon 2022-07-25 18:44:06 UTC", "ExecMainStartTimestampMonotonic": "6451101", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:44:06 UTC] ; stop_time=[n/a] ; pid=860 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 18:44:06 UTC", "InactiveExitTimestampMonotonic": "6451146", "InvocationID": "9c1ff3fd01634b1db914fdb1c94f7a18", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "860", "MemoryAccounting": "yes", "MemoryCurrent": "21782528", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target polkit.service dbus.service system.slice dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 18:44:07 UTC", "StateChangeTimestampMonotonic": "6886025", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 18:44:07 UTC", "WatchdogTimestampMonotonic": "6886022", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:45:04 +0000 (0:00:00.754) 0:00:05.567 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:45:05 +0000 (0:00:00.505) 0:00:06.073 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-189894ty68olbt/tmp9p8lrvai/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:45:05 +0000 (0:00:00.516) 0:00:06.590 *********** ok: [/cache/centos-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/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:45:06 +0000 (0:00:00.489) 0:00:07.079 *********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "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/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:45:06 +0000 (0:00:00.604) 0:00:07.683 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.184746", "end": "2022-07-25 18:45:09.736167", "rc": 0, "start": "2022-07-25 18:45:07.551421" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:45:09 +0000 (0:00:02.551) 0:00:10.235 *********** included: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:45:09 +0000 (0:00:00.042) 0:00:10.277 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.125884", "end": "2022-07-25 18:45:10.289058", "rc": 0, "start": "2022-07-25 18:45:10.163174" } STDOUT: Verfication succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [linux-system-roles.kernel_settings : get last verify results from log] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:45:09 +0000 (0:00:00.508) 0:00:10.786 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:45:09 +0000 (0:00:00.025) 0:00:10.812 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:45:10 +0000 (0:00:00.022) 0:00:10.834 *********** skipping: [/cache/centos-8.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:45:10 +0000 (0:00:00.030) 0:00:10.865 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-8.qcow2 TASK [verify that settings were applied correctly] ***************************** task path: /tmp/tmpy6acgkml/tests/tests_simple_settings.yml:28 Monday 25 July 2022 18:45:10 +0000 (0:00:00.037) 0:00:10.902 *********** included: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings.yml for /cache/centos-8.qcow2 TASK [Set version specific variables] ****************************************** task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings.yml:2 Monday 25 July 2022 18:45:10 +0000 (0:00:00.031) 0:00:10.933 *********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__kernel_settings_test_python_cmd": "python3", "__kernel_settings_test_python_pkgs": [ "python3", "python3-configobj" ] }, "ansible_included_var_files": [ "/tmp/tmpy6acgkml/tests/vars/tests_CentOS_8.yml" ], "changed": false } TASK [reset settings success flag] ********************************************* task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings.yml:13 Monday 25 July 2022 18:45:10 +0000 (0:00:00.073) 0:00:11.006 *********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__kernel_settings_success": true }, "changed": false } TASK [check tuned-adm verify] ************************************************** task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings.yml:17 Monday 25 July 2022 18:45:10 +0000 (0:00:00.028) 0:00:11.035 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check for verify errors] ************************************************* task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings.yml:23 Monday 25 July 2022 18:45:10 +0000 (0:00:00.022) 0:00:11.058 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check /proc/cmdline] ***************************************************** task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings.yml:29 Monday 25 July 2022 18:45:10 +0000 (0:00:00.025) 0:00:11.083 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set error flag based on verify] ****************************************** task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings.yml:35 Monday 25 July 2022 18:45:10 +0000 (0:00:00.023) 0:00:11.107 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings.yml:42 Monday 25 July 2022 18:45:10 +0000 (0:00:00.024) 0:00:11.132 *********** included: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml for /cache/centos-8.qcow2 TASK [create temporary file for expected config] ******************************* task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:2 Monday 25 July 2022 18:45:10 +0000 (0:00:00.047) 0:00:11.179 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible._zgty2wv.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/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:8 Monday 25 July 2022 18:45:10 +0000 (0:00:00.471) 0:00:11.651 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "checksum": "169e46a0442e2493edda7ef1d37dfc572d06525c", "dest": "/tmp/ansible._zgty2wv.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-1658774710.9215736-190132-259138102075439/source", "state": "file", "uid": 0 } TASK [ensure python command exists for tests below] **************************** task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:14 Monday 25 July 2022 18:45:11 +0000 (0:00:00.833) 0:00:12.484 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pip-9.0.3-22.el8.noarch", "Installed: python36-3.6.8-38.module_el8.5.0+895+a459eca8.x86_64", "Installed: python3-setuptools-39.2.0-6.el8.noarch" ] } TASK [diff expected vs actual content] ***************************************** task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:19 Monday 25 July 2022 18:45:14 +0000 (0:00:02.650) 0:00:15.134 *********** ok: [/cache/centos-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._zgty2wv.kernel_settings /etc/tuned/kernel_settings/tuned.conf\n", "delta": "0:00:00.029903", "end": "2022-07-25 18:45:15.038400", "rc": 0, "start": "2022-07-25 18:45:15.008497" } TASK [verify expected content] ************************************************* task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:32 Monday 25 July 2022 18:45:14 +0000 (0:00:00.392) 0:00:15.527 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show diff - may not reflect actual ConfigObj differences] **************** task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:37 Monday 25 July 2022 18:45:14 +0000 (0:00:00.024) 0:00:15.552 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get active_profile file] ************************************************* task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:44 Monday 25 July 2022 18:45:14 +0000 (0:00:00.025) 0:00:15.577 *********** ok: [/cache/centos-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/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:51 Monday 25 July 2022 18:45:15 +0000 (0:00:00.370) 0:00:15.948 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get profile_mode file] *************************************************** task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:58 Monday 25 July 2022 18:45:15 +0000 (0:00:00.033) 0:00:15.982 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "content": "bWFudWFsCg==", "encoding": "base64", "source": "/etc/tuned/profile_mode" } TASK [check that profile_mode is manual] *************************************** task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:65 Monday 25 July 2022 18:45:15 +0000 (0:00:00.385) 0:00:16.367 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get the bootloader specific config file] ********************************* task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:73 Monday 25 July 2022 18:45:15 +0000 (0:00:00.032) 0:00:16.400 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify bootloader settings value] **************************************** task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:84 Monday 25 July 2022 18:45:15 +0000 (0:00:00.028) 0:00:16.429 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check if kernel_settings_reboot_required is set if needed] *************** task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings.yml:45 Monday 25 July 2022 18:45:15 +0000 (0:00:00.029) 0:00:16.458 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert success] ********************************************************** task path: /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings.yml:52 Monday 25 July 2022 18:45:15 +0000 (0:00:00.032) 0:00:16.491 *********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmpy6acgkml/tests/tests_simple_settings.yml:35 Monday 25 July 2022 18:45:15 +0000 (0:00:00.041) 0:00:16.533 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify that settings were applied correctly after reboot] **************** task path: /tmp/tmpy6acgkml/tests/tests_simple_settings.yml:42 Monday 25 July 2022 18:45:15 +0000 (0:00:00.033) 0:00:16.566 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show contents of tuned.conf] ********************************************* task path: /tmp/tmpy6acgkml/tests/tests_simple_settings.yml:51 Monday 25 July 2022 18:45:15 +0000 (0:00:00.030) 0:00:16.597 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002611", "end": "2022-07-25 18:45:16.475536", "rc": 0, "start": "2022-07-25 18:45:16.472925" } 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/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:45:16 +0000 (0:00:00.369) 0:00:16.966 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:45:16 +0000 (0:00:00.030) 0:00:16.997 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=27 changed=6 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Monday 25 July 2022 18:45:16 +0000 (0:00:00.040) 0:00:17.037 *********** =============================================================================== ensure python command exists for tests below ---------------------------- 2.65s /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:14 --------- linux-system-roles.kernel_settings : tuned apply settings --------------- 2.55s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : Ensure required packages are installed --- 2.32s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmpy6acgkml/tests/tests_simple_settings.yml:2 ---------------------------- put expected contents into temporary file ------------------------------- 0.83s /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:8 ---------- Enable HA repos --------------------------------------------------------- 0.82s /cache/centos-8_setup.yml:5 --------------------------------------------------- linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 0.75s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.60s /tmp/tmpy6acgkml/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/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 linux-system-roles.kernel_settings : check that settings are applied correctly --- 0.51s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.51s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.50s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Get current config ----------------- 0.49s /tmp/tmpy6acgkml/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 create temporary file for expected config ------------------------------- 0.47s /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:2 ---------- diff expected vs actual content ----------------------------------------- 0.39s /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:19 --------- get profile_mode file --------------------------------------------------- 0.39s /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:58 --------- get active_profile file ------------------------------------------------- 0.37s /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings_conf_files.yml:44 --------- show contents of tuned.conf --------------------------------------------- 0.37s /tmp/tmpy6acgkml/tests/tests_simple_settings.yml:51 --------------------------- Set version specific variables ------------------------------------------ 0.07s /tmp/tmpy6acgkml/tests/tasks/assert_kernel_settings.yml:2 --------------------- include_tasks ----------------------------------------------------------- 0.05s /tmp/tmpy6acgkml/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/tmpbfhu8xj4 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Monday 25 July 2022 18:47:30 +0000 (0:00:00.019) 0:00:00.019 *********** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.197389", "end": "2022-07-25 18:47:30.494651", "rc": 0, "start": "2022-07-25 18:47:30.297262" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Monday 25 July 2022 18:47:31 +0000 (0:00:00.790) 0:00:00.809 *********** =============================================================================== Enable HA repos --------------------------------------------------------- 0.79s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_simple_settings.yml ******************************************** 1 plays in /tmp/tmp19nurs6d/tests/kernel_settings/tests_simple_settings.yml PLAY [test simple kernel settings] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_simple_settings.yml:2 Monday 25 July 2022 18:47:31 +0000 (0:00:00.012) 0:00:00.822 *********** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [set platform independent vars used by this test] ************************* task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_simple_settings.yml:8 Monday 25 July 2022 18:47:33 +0000 (0:00:02.014) 0:00:02.836 *********** ok: [/cache/centos-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/tmp19nurs6d/tests/kernel_settings/vars/vars_simple_settings.yml" ], "changed": false } TASK [disable bootloader cmdline testing on Fedora] **************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_simple_settings.yml:12 Monday 25 July 2022 18:47:33 +0000 (0:00:00.026) 0:00:02.863 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [apply the settings - call the role] ************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_simple_settings.yml:23 Monday 25 July 2022 18:47:33 +0000 (0:00:00.017) 0:00:02.880 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:47:33 +0000 (0:00:00.039) 0:00:02.919 *********** included: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:47:33 +0000 (0:00:00.026) 0:00:02.946 *********** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:47:33 +0000 (0:00:00.508) 0:00:03.454 *********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:47:33 +0000 (0:00:00.039) 0:00:03.494 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:47:36 +0000 (0:00:02.266) 0:00:05.761 *********** ok: [/cache/centos-8.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:46:37 UTC", "ActiveEnterTimestampMonotonic": "7179638", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket dbus.socket systemd-sysctl.service sysinit.target network.target system.slice dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:46:37 UTC", "AssertTimestampMonotonic": "6741196", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 18:46:37 UTC", "ConditionTimestampMonotonic": "6741196", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "857", "ExecMainStartTimestamp": "Mon 2022-07-25 18:46:37 UTC", "ExecMainStartTimestampMonotonic": "6742057", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:46:37 UTC] ; stop_time=[n/a] ; pid=857 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 18:46:37 UTC", "InactiveExitTimestampMonotonic": "6742099", "InvocationID": "a164e5177cc544a2bd7eb310f36fc280", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "857", "MemoryAccounting": "yes", "MemoryCurrent": "21762048", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "polkit.service dbus.service sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 18:46:37 UTC", "StateChangeTimestampMonotonic": "7179638", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 18:46:37 UTC", "WatchdogTimestampMonotonic": "7179636", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:47:36 +0000 (0:00:00.764) 0:00:06.525 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:47:37 +0000 (0:00:00.501) 0:00:07.026 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-192100onpo8e2s/tmp9sav9n2k/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:47:37 +0000 (0:00:00.515) 0:00:07.541 *********** ok: [/cache/centos-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/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:47:38 +0000 (0:00:00.475) 0:00:08.016 *********** NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/centos-8.qcow2 NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "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/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:47:39 +0000 (0:00:00.637) 0:00:08.654 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.168662", "end": "2022-07-25 18:47:40.885819", "rc": 0, "start": "2022-07-25 18:47:38.717157" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:47:41 +0000 (0:00:02.546) 0:00:11.200 *********** included: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:47:41 +0000 (0:00:00.040) 0:00:11.241 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.121944", "end": "2022-07-25 18:47:41.423359", "rc": 0, "start": "2022-07-25 18:47:41.301415" } STDOUT: Verfication succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : get last verify results from log] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:47:42 +0000 (0:00:00.498) 0:00:11.739 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:47:42 +0000 (0:00:00.024) 0:00:11.763 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:47:42 +0000 (0:00:00.022) 0:00:11.785 *********** skipping: [/cache/centos-8.qcow2] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:47:42 +0000 (0:00:00.029) 0:00:11.815 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-8.qcow2 TASK [verify that settings were applied correctly] ***************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_simple_settings.yml:28 Monday 25 July 2022 18:47:42 +0000 (0:00:00.035) 0:00:11.850 *********** included: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings.yml for /cache/centos-8.qcow2 TASK [Set version specific variables] ****************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings.yml:2 Monday 25 July 2022 18:47:42 +0000 (0:00:00.028) 0:00:11.879 *********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__kernel_settings_test_python_cmd": "python3", "__kernel_settings_test_python_pkgs": [ "python3", "python3-configobj" ] }, "ansible_included_var_files": [ "/tmp/tmp19nurs6d/tests/kernel_settings/vars/tests_CentOS_8.yml" ], "changed": false } TASK [reset settings success flag] ********************************************* task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings.yml:12 Monday 25 July 2022 18:47:42 +0000 (0:00:00.064) 0:00:11.943 *********** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__kernel_settings_success": true }, "changed": false } TASK [check tuned-adm verify] ************************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings.yml:16 Monday 25 July 2022 18:47:42 +0000 (0:00:00.062) 0:00:12.006 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check for verify errors] ************************************************* task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings.yml:22 Monday 25 July 2022 18:47:42 +0000 (0:00:00.019) 0:00:12.026 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check /proc/cmdline] ***************************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings.yml:28 Monday 25 July 2022 18:47:42 +0000 (0:00:00.025) 0:00:12.051 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set error flag based on verify] ****************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings.yml:34 Monday 25 July 2022 18:47:42 +0000 (0:00:00.025) 0:00:12.077 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings.yml:41 Monday 25 July 2022 18:47:42 +0000 (0:00:00.024) 0:00:12.101 *********** included: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml for /cache/centos-8.qcow2 TASK [create temporary file for expected config] ******************************* task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:2 Monday 25 July 2022 18:47:42 +0000 (0:00:00.053) 0:00:12.154 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.a1jtm7mm.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/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:8 Monday 25 July 2022 18:47:43 +0000 (0:00:00.499) 0:00:12.653 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "checksum": "169e46a0442e2493edda7ef1d37dfc572d06525c", "dest": "/tmp/ansible.a1jtm7mm.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-1658774863.1245966-192338-261668970116782/source", "state": "file", "uid": 0 } TASK [ensure python command exists for tests below] **************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:14 Monday 25 July 2022 18:47:43 +0000 (0:00:00.842) 0:00:13.496 *********** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pip-9.0.3-22.el8.noarch", "Installed: python36-3.6.8-38.module_el8.5.0+895+a459eca8.x86_64", "Installed: python3-setuptools-39.2.0-6.el8.noarch" ] } TASK [diff expected vs actual content] ***************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:19 Monday 25 July 2022 18:47:46 +0000 (0:00:02.848) 0:00:16.345 *********** ok: [/cache/centos-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.a1jtm7mm.kernel_settings /etc/tuned/kernel_settings/tuned.conf\n", "delta": "0:00:00.032154", "end": "2022-07-25 18:47:46.443821", "rc": 0, "start": "2022-07-25 18:47:46.411667" } TASK [verify expected content] ************************************************* task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:32 Monday 25 July 2022 18:47:47 +0000 (0:00:00.408) 0:00:16.754 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show diff - may not reflect actual ConfigObj differences] **************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:37 Monday 25 July 2022 18:47:47 +0000 (0:00:00.024) 0:00:16.779 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get active_profile file] ************************************************* task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:44 Monday 25 July 2022 18:47:47 +0000 (0:00:00.024) 0:00:16.803 *********** ok: [/cache/centos-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/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:51 Monday 25 July 2022 18:47:47 +0000 (0:00:00.362) 0:00:17.166 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get profile_mode file] *************************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:58 Monday 25 July 2022 18:47:47 +0000 (0:00:00.037) 0:00:17.203 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "content": "bWFudWFsCg==", "encoding": "base64", "source": "/etc/tuned/profile_mode" } TASK [check that profile_mode is manual] *************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:65 Monday 25 July 2022 18:47:47 +0000 (0:00:00.383) 0:00:17.587 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get the bootloader specific config file] ********************************* task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:73 Monday 25 July 2022 18:47:47 +0000 (0:00:00.035) 0:00:17.623 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify bootloader settings value] **************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:84 Monday 25 July 2022 18:47:48 +0000 (0:00:00.030) 0:00:17.653 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check if kernel_settings_reboot_required is set if needed] *************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings.yml:44 Monday 25 July 2022 18:47:48 +0000 (0:00:00.030) 0:00:17.684 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert success] ********************************************************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings.yml:51 Monday 25 July 2022 18:47:48 +0000 (0:00:00.031) 0:00:17.715 *********** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_simple_settings.yml:35 Monday 25 July 2022 18:47:48 +0000 (0:00:00.041) 0:00:17.757 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify that settings were applied correctly after reboot] **************** task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_simple_settings.yml:42 Monday 25 July 2022 18:47:48 +0000 (0:00:00.033) 0:00:17.790 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show contents of tuned.conf] ********************************************* task path: /tmp/tmp19nurs6d/tests/kernel_settings/tests_simple_settings.yml:51 Monday 25 July 2022 18:47:48 +0000 (0:00:00.032) 0:00:17.822 *********** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002938", "end": "2022-07-25 18:47:47.887250", "rc": 0, "start": "2022-07-25 18:47:47.884312" } 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/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:47:48 +0000 (0:00:00.374) 0:00:18.197 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:47:48 +0000 (0:00:00.033) 0:00:18.230 *********** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=27 changed=6 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Monday 25 July 2022 18:47:48 +0000 (0:00:00.041) 0:00:18.272 *********** =============================================================================== ensure python command exists for tests below ---------------------------- 2.85s /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:14 fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 2.55s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 2.27s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 2.01s /tmp/tmp19nurs6d/tests/kernel_settings/tests_simple_settings.yml:2 ------------ put expected contents into temporary file ------------------------------- 0.84s /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:8 Enable HA repos --------------------------------------------------------- 0.79s /cache/centos-8_setup.yml:5 --------------------------------------------------- fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.76s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.64s /tmp/tmpbfhu8xj4/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.52s /tmp/tmpbfhu8xj4/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.51s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.50s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 create temporary file for expected config ------------------------------- 0.50s /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:2 fedora.linux_system_roles.kernel_settings : check that settings are applied correctly --- 0.50s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 fedora.linux_system_roles.kernel_settings : Get current config ---------- 0.48s /tmp/tmpbfhu8xj4/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 diff expected vs actual content ----------------------------------------- 0.41s /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:19 get profile_mode file --------------------------------------------------- 0.38s /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:58 show contents of tuned.conf --------------------------------------------- 0.37s /tmp/tmp19nurs6d/tests/kernel_settings/tests_simple_settings.yml:51 ----------- get active_profile file ------------------------------------------------- 0.36s /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:44 Set version specific variables ------------------------------------------ 0.06s /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings.yml:2 ----- reset settings success flag --------------------------------------------- 0.06s /tmp/tmp19nurs6d/tests/kernel_settings/tasks/assert_kernel_settings.yml:12 ----