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/tmpghrc0zs3 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_simple_settings.yml ******************************************** 1 plays in /tmp/tmp7n6ysc6q/tests/tests_simple_settings.yml PLAY [test simple kernel settings] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp7n6ysc6q/tests/tests_simple_settings.yml:2 Monday 25 July 2022 18:46:34 +0000 (0:00:00.013) 0:00:00.013 *********** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [set platform independent vars used by this test] ************************* task path: /tmp/tmp7n6ysc6q/tests/tests_simple_settings.yml:8 Monday 25 July 2022 18:46:35 +0000 (0:00:01.112) 0:00:01.125 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp7n6ysc6q/tests/vars/vars_simple_settings.yml" ], "changed": false } TASK [disable bootloader cmdline testing on Fedora] **************************** task path: /tmp/tmp7n6ysc6q/tests/tests_simple_settings.yml:12 Monday 25 July 2022 18:46:35 +0000 (0:00:00.052) 0:00:01.178 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [apply the settings - call the role] ************************************** task path: /tmp/tmp7n6ysc6q/tests/tests_simple_settings.yml:23 Monday 25 July 2022 18:46:35 +0000 (0:00:00.020) 0:00:01.198 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:46:36 +0000 (0:00:00.057) 0:00:01.255 *********** included: /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:46:36 +0000 (0:00:00.030) 0:00:01.286 *********** ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:46:36 +0000 (0:00:00.507) 0:00:01.794 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp7n6ysc6q/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/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:46:36 +0000 (0:00:00.041) 0:00:01.835 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:46:38 +0000 (0:00:01.434) 0:00:03.270 *********** ok: [/cache/rhel-8-y.qcow2.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:45:46 EDT", "ActiveEnterTimestampMonotonic": "4677861", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target network.target dbus.service systemd-sysctl.service basic.target systemd-journald.socket dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:45:46 EDT", "AssertTimestampMonotonic": "4420586", "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:45:46 EDT", "ConditionTimestampMonotonic": "4420586", "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": "856", "ExecMainStartTimestamp": "Mon 2022-07-25 14:45:46 EDT", "ExecMainStartTimestampMonotonic": "4421424", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:45:46 EDT] ; stop_time=[n/a] ; pid=856 ; 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:45:46 EDT", "InactiveExitTimestampMonotonic": "4421529", "InvocationID": "f40c7198b53b4aa38e74f96d02108e32", "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": "6963", "LimitNPROCSoft": "6963", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6963", "LimitSIGPENDINGSoft": "6963", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "856", "MemoryAccounting": "yes", "MemoryCurrent": "21856256", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice polkit.service dbus.service 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:45:46 EDT", "StateChangeTimestampMonotonic": "4677861", "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": "11140", "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:45:46 EDT", "WatchdogTimestampMonotonic": "4677859", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:46:38 +0000 (0:00:00.768) 0:00:04.038 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:46:39 +0000 (0:00:00.497) 0:00:04.536 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-307426rr2mp2b2/tmp3tlk8q3a/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:46:39 +0000 (0:00:00.516) 0:00:05.053 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:46:40 +0000 (0:00:00.485) 0:00:05.538 *********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8-y.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:46:40 +0000 (0:00:00.630) 0:00:06.168 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.169423", "end": "2022-07-25 14:46:43.382521", "rc": 0, "start": "2022-07-25 14:46:41.213098" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:46:43 +0000 (0:00:02.678) 0:00:08.846 *********** included: /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:46:43 +0000 (0:00:00.044) 0:00:08.891 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.107405", "end": "2022-07-25 14:46:43.917420", "rc": 0, "start": "2022-07-25 14:46:43.810015" } 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/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:46:44 +0000 (0:00:00.482) 0:00:09.373 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:46:44 +0000 (0:00:00.026) 0:00:09.400 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:46:44 +0000 (0:00:00.025) 0:00:09.426 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:46:44 +0000 (0:00:00.034) 0:00:09.461 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [verify that settings were applied correctly] ***************************** task path: /tmp/tmp7n6ysc6q/tests/tests_simple_settings.yml:28 Monday 25 July 2022 18:46:44 +0000 (0:00:00.042) 0:00:09.503 *********** included: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings.yml for /cache/rhel-8-y.qcow2.snap TASK [Set version specific variables] ****************************************** task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings.yml:2 Monday 25 July 2022 18:46:44 +0000 (0:00:00.032) 0:00:09.535 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__kernel_settings_test_python_cmd": "python3", "__kernel_settings_test_python_pkgs": [ "python3", "python3-configobj" ] }, "ansible_included_var_files": [ "/tmp/tmp7n6ysc6q/tests/vars/tests_RedHat_8.yml" ], "changed": false } TASK [reset settings success flag] ********************************************* task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings.yml:13 Monday 25 July 2022 18:46:44 +0000 (0:00:00.034) 0:00:09.569 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__kernel_settings_success": true }, "changed": false } TASK [check tuned-adm verify] ************************************************** task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings.yml:17 Monday 25 July 2022 18:46:44 +0000 (0:00:00.065) 0:00:09.634 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check for verify errors] ************************************************* task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings.yml:23 Monday 25 July 2022 18:46:44 +0000 (0:00:00.021) 0:00:09.656 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check /proc/cmdline] ***************************************************** task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings.yml:29 Monday 25 July 2022 18:46:44 +0000 (0:00:00.025) 0:00:09.681 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set error flag based on verify] ****************************************** task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings.yml:35 Monday 25 July 2022 18:46:44 +0000 (0:00:00.026) 0:00:09.707 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings.yml:42 Monday 25 July 2022 18:46:44 +0000 (0:00:00.023) 0:00:09.731 *********** included: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml for /cache/rhel-8-y.qcow2.snap TASK [create temporary file for expected config] ******************************* task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:2 Monday 25 July 2022 18:46:44 +0000 (0:00:00.048) 0:00:09.780 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.8cdfxz41.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/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:8 Monday 25 July 2022 18:46:45 +0000 (0:00:00.478) 0:00:10.259 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "checksum": "169e46a0442e2493edda7ef1d37dfc572d06525c", "dest": "/tmp/ansible.8cdfxz41.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-1658774805.1025028-307646-267580576799318/source", "state": "file", "uid": 0 } TASK [ensure python command exists for tests below] **************************** task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:14 Monday 25 July 2022 18:46:45 +0000 (0:00:00.855) 0:00:11.114 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: python3-setuptools-39.2.0-6.el8.noarch", "Installed: python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64", "Installed: python3-pip-9.0.3-22.el8.noarch" ] } TASK [diff expected vs actual content] ***************************************** task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:19 Monday 25 July 2022 18:46:47 +0000 (0:00:01.976) 0:00:13.091 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "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.8cdfxz41.kernel_settings /etc/tuned/kernel_settings/tuned.conf\n", "delta": "0:00:00.030693", "end": "2022-07-25 14:46:48.088228", "rc": 0, "start": "2022-07-25 14:46:48.057535" } TASK [verify expected content] ************************************************* task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:32 Monday 25 July 2022 18:46:48 +0000 (0:00:00.452) 0:00:13.543 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show diff - may not reflect actual ConfigObj differences] **************** task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:37 Monday 25 July 2022 18:46:48 +0000 (0:00:00.028) 0:00:13.571 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get active_profile file] ************************************************* task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:44 Monday 25 July 2022 18:46:48 +0000 (0:00:00.025) 0:00:13.597 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [check that active_profile ends with kernel_settings] ********************* task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:51 Monday 25 July 2022 18:46:48 +0000 (0:00:00.378) 0:00:13.976 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get profile_mode file] *************************************************** task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:58 Monday 25 July 2022 18:46:48 +0000 (0:00:00.034) 0:00:14.010 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "content": "bWFudWFsCg==", "encoding": "base64", "source": "/etc/tuned/profile_mode" } TASK [check that profile_mode is manual] *************************************** task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:65 Monday 25 July 2022 18:46:49 +0000 (0:00:00.364) 0:00:14.375 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get the bootloader specific config file] ********************************* task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:73 Monday 25 July 2022 18:46:49 +0000 (0:00:00.037) 0:00:14.413 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify bootloader settings value] **************************************** task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:84 Monday 25 July 2022 18:46:49 +0000 (0:00:00.035) 0:00:14.449 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check if kernel_settings_reboot_required is set if needed] *************** task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings.yml:45 Monday 25 July 2022 18:46:49 +0000 (0:00:00.035) 0:00:14.484 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert success] ********************************************************** task path: /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings.yml:52 Monday 25 July 2022 18:46:49 +0000 (0:00:00.035) 0:00:14.520 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmp7n6ysc6q/tests/tests_simple_settings.yml:35 Monday 25 July 2022 18:46:49 +0000 (0:00:00.045) 0:00:14.565 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify that settings were applied correctly after reboot] **************** task path: /tmp/tmp7n6ysc6q/tests/tests_simple_settings.yml:42 Monday 25 July 2022 18:46:49 +0000 (0:00:00.032) 0:00:14.598 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show contents of tuned.conf] ********************************************* task path: /tmp/tmp7n6ysc6q/tests/tests_simple_settings.yml:51 Monday 25 July 2022 18:46:49 +0000 (0:00:00.031) 0:00:14.629 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.003076", "end": "2022-07-25 14:46:49.545402", "rc": 0, "start": "2022-07-25 14:46:49.542326" } 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/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:46:49 +0000 (0:00:00.370) 0:00:15.000 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:46:49 +0000 (0:00:00.033) 0:00:15.034 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=26 changed=5 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Monday 25 July 2022 18:46:49 +0000 (0:00:00.044) 0:00:15.078 *********** =============================================================================== linux-system-roles.kernel_settings : tuned apply settings --------------- 2.68s /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 ensure python command exists for tests below ---------------------------- 1.98s /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:14 --------- linux-system-roles.kernel_settings : Ensure required packages are installed --- 1.43s /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmp7n6ysc6q/tests/tests_simple_settings.yml:2 ---------------------------- put expected contents into temporary file ------------------------------- 0.86s /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:8 ---------- linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 0.77s /tmp/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.63s /tmp/tmp7n6ysc6q/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/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.51s /tmp/tmp7n6ysc6q/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/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 linux-system-roles.kernel_settings : Get current config ----------------- 0.49s /tmp/tmp7n6ysc6q/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/tmp7n6ysc6q/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 create temporary file for expected config ------------------------------- 0.48s /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:2 ---------- diff expected vs actual content ----------------------------------------- 0.45s /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:19 --------- get active_profile file ------------------------------------------------- 0.38s /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:44 --------- show contents of tuned.conf --------------------------------------------- 0.37s /tmp/tmp7n6ysc6q/tests/tests_simple_settings.yml:51 --------------------------- get profile_mode file --------------------------------------------------- 0.36s /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings_conf_files.yml:58 --------- reset settings success flag --------------------------------------------- 0.07s /tmp/tmp7n6ysc6q/tests/tasks/assert_kernel_settings.yml:13 -------------------- apply the settings - call the role -------------------------------------- 0.06s /tmp/tmp7n6ysc6q/tests/tests_simple_settings.yml:23 --------------------------- set platform independent vars used by this test ------------------------- 0.05s /tmp/tmp7n6ysc6q/tests/tests_simple_settings.yml:8 ---------------------------- 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/tmpghrc0zs3 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_simple_settings.yml ******************************************** 1 plays in /tmp/tmpgrrtkvtu/tests/kernel_settings/tests_simple_settings.yml PLAY [test simple kernel settings] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tests_simple_settings.yml:2 Monday 25 July 2022 18:48:22 +0000 (0:00:00.013) 0:00:00.013 *********** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [set platform independent vars used by this test] ************************* task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tests_simple_settings.yml:8 Monday 25 July 2022 18:48:23 +0000 (0:00:01.132) 0:00:01.146 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpgrrtkvtu/tests/kernel_settings/vars/vars_simple_settings.yml" ], "changed": false } TASK [disable bootloader cmdline testing on Fedora] **************************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tests_simple_settings.yml:12 Monday 25 July 2022 18:48:23 +0000 (0:00:00.049) 0:00:01.195 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [apply the settings - call the role] ************************************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tests_simple_settings.yml:23 Monday 25 July 2022 18:48:23 +0000 (0:00:00.018) 0:00:01.214 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:48:23 +0000 (0:00:00.057) 0:00:01.272 *********** included: /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:48:23 +0000 (0:00:00.028) 0:00:01.300 *********** ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:48:24 +0000 (0:00:00.497) 0:00:01.798 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpghrc0zs3/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/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:48:24 +0000 (0:00:00.038) 0:00:01.836 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:48:25 +0000 (0:00:01.447) 0:00:03.284 *********** ok: [/cache/rhel-8-y.qcow2.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:47:39 EDT", "ActiveEnterTimestampMonotonic": "4745213", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-sysctl.service dbus.service basic.target system.slice dbus.socket sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:47:39 EDT", "AssertTimestampMonotonic": "4461455", "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:47:39 EDT", "ConditionTimestampMonotonic": "4461455", "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": "865", "ExecMainStartTimestamp": "Mon 2022-07-25 14:47:39 EDT", "ExecMainStartTimestampMonotonic": "4462492", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:47:39 EDT] ; stop_time=[n/a] ; pid=865 ; 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:47:39 EDT", "InactiveExitTimestampMonotonic": "4462534", "InvocationID": "07671104a09f4fb9aada545f97cf85c5", "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": "6963", "LimitNPROCSoft": "6963", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6963", "LimitSIGPENDINGSoft": "6963", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "865", "MemoryAccounting": "yes", "MemoryCurrent": "19636224", "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 system.slice dbus.service polkit.service dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 14:47:39 EDT", "StateChangeTimestampMonotonic": "4745213", "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": "11140", "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:47:39 EDT", "WatchdogTimestampMonotonic": "4745211", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:48:26 +0000 (0:00:00.739) 0:00:04.023 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:48:27 +0000 (0:00:00.488) 0:00:04.512 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-3095019xgpbe7x/tmpk_npwbi_/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:48:27 +0000 (0:00:00.512) 0:00:05.025 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:48:28 +0000 (0:00:00.466) 0:00:05.491 *********** NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-8-y.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:48:28 +0000 (0:00:00.590) 0:00:06.082 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.169709", "end": "2022-07-25 14:48:30.828807", "rc": 0, "start": "2022-07-25 14:48:28.659098" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:48:31 +0000 (0:00:02.660) 0:00:08.742 *********** included: /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:48:31 +0000 (0:00:00.047) 0:00:08.790 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.112252", "end": "2022-07-25 14:48:31.362143", "rc": 0, "start": "2022-07-25 14:48:31.249891" } 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/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:48:31 +0000 (0:00:00.483) 0:00:09.273 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:48:31 +0000 (0:00:00.027) 0:00:09.300 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:48:31 +0000 (0:00:00.024) 0:00:09.325 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:48:31 +0000 (0:00:00.031) 0:00:09.356 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [verify that settings were applied correctly] ***************************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tests_simple_settings.yml:28 Monday 25 July 2022 18:48:31 +0000 (0:00:00.037) 0:00:09.394 *********** included: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings.yml for /cache/rhel-8-y.qcow2.snap TASK [Set version specific variables] ****************************************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings.yml:2 Monday 25 July 2022 18:48:31 +0000 (0:00:00.029) 0:00:09.423 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__kernel_settings_test_python_cmd": "python3", "__kernel_settings_test_python_pkgs": [ "python3", "python3-configobj" ] }, "ansible_included_var_files": [ "/tmp/tmpgrrtkvtu/tests/kernel_settings/vars/tests_RedHat_8.yml" ], "changed": false } TASK [reset settings success flag] ********************************************* task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings.yml:12 Monday 25 July 2022 18:48:31 +0000 (0:00:00.036) 0:00:09.459 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "__kernel_settings_success": true }, "changed": false } TASK [check tuned-adm verify] ************************************************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings.yml:16 Monday 25 July 2022 18:48:32 +0000 (0:00:00.028) 0:00:09.487 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check for verify errors] ************************************************* task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings.yml:22 Monday 25 July 2022 18:48:32 +0000 (0:00:00.019) 0:00:09.507 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check /proc/cmdline] ***************************************************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings.yml:28 Monday 25 July 2022 18:48:32 +0000 (0:00:00.025) 0:00:09.532 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set error flag based on verify] ****************************************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings.yml:34 Monday 25 July 2022 18:48:32 +0000 (0:00:00.025) 0:00:09.558 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings.yml:41 Monday 25 July 2022 18:48:32 +0000 (0:00:00.038) 0:00:09.597 *********** included: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml for /cache/rhel-8-y.qcow2.snap TASK [create temporary file for expected config] ******************************* task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:2 Monday 25 July 2022 18:48:32 +0000 (0:00:00.056) 0:00:09.653 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.pz34f6wk.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/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:8 Monday 25 July 2022 18:48:32 +0000 (0:00:00.489) 0:00:10.143 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "checksum": "169e46a0442e2493edda7ef1d37dfc572d06525c", "dest": "/tmp/ansible.pz34f6wk.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-1658774912.7281525-309721-90275028804396/source", "state": "file", "uid": 0 } TASK [ensure python command exists for tests below] **************************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:14 Monday 25 July 2022 18:48:33 +0000 (0:00:00.816) 0:00:10.960 *********** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: python3-setuptools-39.2.0-6.el8.noarch", "Installed: python36-3.6.8-38.module+el8.5.0+12207+5c5719bc.x86_64", "Installed: python3-pip-9.0.3-22.el8.noarch" ] } TASK [diff expected vs actual content] ***************************************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:19 Monday 25 July 2022 18:48:35 +0000 (0:00:01.851) 0:00:12.811 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "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.pz34f6wk.kernel_settings /etc/tuned/kernel_settings/tuned.conf\n", "delta": "0:00:00.030183", "end": "2022-07-25 14:48:35.327693", "rc": 0, "start": "2022-07-25 14:48:35.297510" } TASK [verify expected content] ************************************************* task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:32 Monday 25 July 2022 18:48:35 +0000 (0:00:00.424) 0:00:13.236 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show diff - may not reflect actual ConfigObj differences] **************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:37 Monday 25 July 2022 18:48:35 +0000 (0:00:00.025) 0:00:13.262 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get active_profile file] ************************************************* task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:44 Monday 25 July 2022 18:48:35 +0000 (0:00:00.024) 0:00:13.286 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [check that active_profile ends with kernel_settings] ********************* task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:51 Monday 25 July 2022 18:48:36 +0000 (0:00:00.357) 0:00:13.643 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get profile_mode file] *************************************************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:58 Monday 25 July 2022 18:48:36 +0000 (0:00:00.036) 0:00:13.680 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "content": "bWFudWFsCg==", "encoding": "base64", "source": "/etc/tuned/profile_mode" } TASK [check that profile_mode is manual] *************************************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:65 Monday 25 July 2022 18:48:36 +0000 (0:00:00.359) 0:00:14.039 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get the bootloader specific config file] ********************************* task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:73 Monday 25 July 2022 18:48:36 +0000 (0:00:00.042) 0:00:14.081 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify bootloader settings value] **************************************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:84 Monday 25 July 2022 18:48:36 +0000 (0:00:00.033) 0:00:14.115 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check if kernel_settings_reboot_required is set if needed] *************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings.yml:44 Monday 25 July 2022 18:48:36 +0000 (0:00:00.032) 0:00:14.147 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert success] ********************************************************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings.yml:51 Monday 25 July 2022 18:48:36 +0000 (0:00:00.033) 0:00:14.180 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tests_simple_settings.yml:35 Monday 25 July 2022 18:48:36 +0000 (0:00:00.042) 0:00:14.223 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify that settings were applied correctly after reboot] **************** task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tests_simple_settings.yml:42 Monday 25 July 2022 18:48:36 +0000 (0:00:00.031) 0:00:14.255 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show contents of tuned.conf] ********************************************* task path: /tmp/tmpgrrtkvtu/tests/kernel_settings/tests_simple_settings.yml:51 Monday 25 July 2022 18:48:36 +0000 (0:00:00.037) 0:00:14.292 *********** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002765", "end": "2022-07-25 14:48:36.746520", "rc": 0, "start": "2022-07-25 14:48:36.743755" } 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/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:48:37 +0000 (0:00:00.363) 0:00:14.656 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:48:37 +0000 (0:00:00.030) 0:00:14.687 *********** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=26 changed=5 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Monday 25 July 2022 18:48:37 +0000 (0:00:00.043) 0:00:14.730 *********** =============================================================================== fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 2.66s /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 ensure python command exists for tests below ---------------------------- 1.85s /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:14 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 1.45s /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.13s /tmp/tmpgrrtkvtu/tests/kernel_settings/tests_simple_settings.yml:2 ------------ put expected contents into temporary file ------------------------------- 0.82s /tmp/tmpgrrtkvtu/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/tmpghrc0zs3/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/tmpghrc0zs3/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/tmpghrc0zs3/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/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 create temporary file for expected config ------------------------------- 0.49s /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:2 fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.49s /tmp/tmpghrc0zs3/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/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 fedora.linux_system_roles.kernel_settings : Get current config ---------- 0.47s /tmp/tmpghrc0zs3/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 diff expected vs actual content ----------------------------------------- 0.42s /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:19 show contents of tuned.conf --------------------------------------------- 0.36s /tmp/tmpgrrtkvtu/tests/kernel_settings/tests_simple_settings.yml:51 ----------- get profile_mode file --------------------------------------------------- 0.36s /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:58 get active_profile file ------------------------------------------------- 0.36s /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:44 apply the settings - call the role -------------------------------------- 0.06s /tmp/tmpgrrtkvtu/tests/kernel_settings/tests_simple_settings.yml:23 ----------- include_tasks ----------------------------------------------------------- 0.06s /tmp/tmpgrrtkvtu/tests/kernel_settings/tasks/assert_kernel_settings.yml:41 ---- set platform independent vars used by this test ------------------------- 0.05s /tmp/tmpgrrtkvtu/tests/kernel_settings/tests_simple_settings.yml:8 ------------