ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpn3r4nkt1 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_simple_settings.yml ******************************************** 1 plays in /tmp/tmpn2_uw5li/tests/tests_simple_settings.yml PLAY [test simple kernel settings] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn2_uw5li/tests/tests_simple_settings.yml:2 Monday 25 July 2022 18:42:15 +0000 (0:00:00.013) 0:00:00.013 *********** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [set platform independent vars used by this test] ************************* task path: /tmp/tmpn2_uw5li/tests/tests_simple_settings.yml:8 Monday 25 July 2022 18:42:16 +0000 (0:00:01.092) 0:00:01.106 *********** ok: [/cache/rhel-9.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/tmpn2_uw5li/tests/vars/vars_simple_settings.yml" ], "changed": false } TASK [disable bootloader cmdline testing on Fedora] **************************** task path: /tmp/tmpn2_uw5li/tests/tests_simple_settings.yml:12 Monday 25 July 2022 18:42:16 +0000 (0:00:00.050) 0:00:01.156 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [apply the settings - call the role] ************************************** task path: /tmp/tmpn2_uw5li/tests/tests_simple_settings.yml:23 Monday 25 July 2022 18:42:16 +0000 (0:00:00.018) 0:00:01.175 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:42:16 +0000 (0:00:00.053) 0:00:01.229 *********** included: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:42:16 +0000 (0:00:00.026) 0:00:01.255 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:42:16 +0000 (0:00:00.487) 0:00:01.743 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/vars/default.yml" ], "changed": false } TASK [linux-system-roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:42:16 +0000 (0:00:00.038) 0:00:01.781 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:42:17 +0000 (0:00:00.967) 0:00:02.749 *********** ok: [/cache/rhel-9.qcow2.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:41:37 EDT", "ActiveEnterTimestampMonotonic": "4536000", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.socket systemd-journald.socket systemd-sysctl.service basic.target dbus-broker.service network.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:41:37 EDT", "AssertTimestampMonotonic": "4326785", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "236685000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:41:37 EDT", "ConditionTimestampMonotonic": "4326782", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "\"man:tuned(8)\" \"man:tuned.conf(5)\" \"man:tuned-adm(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "733", "ExecMainStartTimestamp": "Mon 2022-07-25 14:41:37 EDT", "ExecMainStartTimestampMonotonic": "4327905", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:41:37 EDT] ; stop_time=[n/a] ; pid=733 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Mon 2022-07-25 14:41:37 EDT] ; stop_time=[n/a] ; pid=733 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:41:37 EDT", "InactiveExitTimestampMonotonic": "4328125", "InvocationID": "ab46a4ce87304841a94c810e8982222b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "733", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18108416", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target polkit.service system.slice dbus.socket dbus-broker.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 14:41:37 EDT", "StateChangeTimestampMonotonic": "4536000", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:42:18 +0000 (0:00:00.700) 0:00:03.450 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:42:19 +0000 (0:00:00.472) 0:00:03.922 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-125706edo3cvtl/tmpmpp82i2e/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:42:19 +0000 (0:00:00.480) 0:00:04.402 *********** ok: [/cache/rhel-9.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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:42:19 +0000 (0:00:00.452) 0:00:04.855 *********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap changed: [/cache/rhel-9.qcow2.snap] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:42:20 +0000 (0:00:00.564) 0:00:05.419 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.104165", "end": "2022-07-25 14:42:21.899769", "rc": 0, "start": "2022-07-25 14:42:20.795604" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:42:22 +0000 (0:00:01.565) 0:00:06.985 *********** included: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:42:22 +0000 (0:00:00.037) 0:00:07.023 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.090988", "end": "2022-07-25 14:42:22.371003", "rc": 0, "start": "2022-07-25 14:42:22.280015" } STDOUT: Verfication succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [linux-system-roles.kernel_settings : get last verify results from log] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:42:22 +0000 (0:00:00.438) 0:00:07.461 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:42:22 +0000 (0:00:00.028) 0:00:07.489 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:42:22 +0000 (0:00:00.026) 0:00:07.516 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:42:22 +0000 (0:00:00.032) 0:00:07.548 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [verify that settings were applied correctly] ***************************** task path: /tmp/tmpn2_uw5li/tests/tests_simple_settings.yml:28 Monday 25 July 2022 18:42:22 +0000 (0:00:00.041) 0:00:07.590 *********** included: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings.yml for /cache/rhel-9.qcow2.snap TASK [Set version specific variables] ****************************************** task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings.yml:2 Monday 25 July 2022 18:42:22 +0000 (0:00:00.033) 0:00:07.623 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__kernel_settings_test_python_cmd": "python3", "__kernel_settings_test_python_pkgs": [ "python3", "python3-configobj" ] }, "ansible_included_var_files": [ "/tmp/tmpn2_uw5li/tests/vars/tests_RedHat_9.yml" ], "changed": false } TASK [reset settings success flag] ********************************************* task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings.yml:13 Monday 25 July 2022 18:42:22 +0000 (0:00:00.036) 0:00:07.659 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__kernel_settings_success": true }, "changed": false } TASK [check tuned-adm verify] ************************************************** task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings.yml:17 Monday 25 July 2022 18:42:22 +0000 (0:00:00.026) 0:00:07.686 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check for verify errors] ************************************************* task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings.yml:23 Monday 25 July 2022 18:42:22 +0000 (0:00:00.019) 0:00:07.705 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check /proc/cmdline] ***************************************************** task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings.yml:29 Monday 25 July 2022 18:42:22 +0000 (0:00:00.023) 0:00:07.729 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set error flag based on verify] ****************************************** task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings.yml:35 Monday 25 July 2022 18:42:22 +0000 (0:00:00.022) 0:00:07.752 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings.yml:42 Monday 25 July 2022 18:42:22 +0000 (0:00:00.024) 0:00:07.777 *********** included: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml for /cache/rhel-9.qcow2.snap TASK [create temporary file for expected config] ******************************* task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:2 Monday 25 July 2022 18:42:22 +0000 (0:00:00.048) 0:00:07.825 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.qc5zk04k.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/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:8 Monday 25 July 2022 18:42:23 +0000 (0:00:00.487) 0:00:08.313 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "checksum": "169e46a0442e2493edda7ef1d37dfc572d06525c", "dest": "/tmp/ansible.qc5zk04k.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-1658774543.4740696-125926-136533689011867/source", "state": "file", "uid": 0 } TASK [ensure python command exists for tests below] **************************** task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:14 Monday 25 July 2022 18:42:24 +0000 (0:00:00.800) 0:00:09.114 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [diff expected vs actual content] ***************************************** task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:19 Monday 25 July 2022 18:42:25 +0000 (0:00:00.815) 0:00:09.929 *********** ok: [/cache/rhel-9.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.qc5zk04k.kernel_settings /etc/tuned/kernel_settings/tuned.conf\n", "delta": "0:00:00.024798", "end": "2022-07-25 14:42:25.237056", "rc": 0, "start": "2022-07-25 14:42:25.212258" } TASK [verify expected content] ************************************************* task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:32 Monday 25 July 2022 18:42:25 +0000 (0:00:00.388) 0:00:10.317 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show diff - may not reflect actual ConfigObj differences] **************** task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:37 Monday 25 July 2022 18:42:25 +0000 (0:00:00.024) 0:00:10.342 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get active_profile file] ************************************************* task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:44 Monday 25 July 2022 18:42:25 +0000 (0:00:00.024) 0:00:10.367 *********** ok: [/cache/rhel-9.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/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:51 Monday 25 July 2022 18:42:25 +0000 (0:00:00.362) 0:00:10.729 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get profile_mode file] *************************************************** task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:58 Monday 25 July 2022 18:42:25 +0000 (0:00:00.034) 0:00:10.763 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "content": "bWFudWFsCg==", "encoding": "base64", "source": "/etc/tuned/profile_mode" } TASK [check that profile_mode is manual] *************************************** task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:65 Monday 25 July 2022 18:42:26 +0000 (0:00:00.343) 0:00:11.107 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get the bootloader specific config file] ********************************* task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:73 Monday 25 July 2022 18:42:26 +0000 (0:00:00.034) 0:00:11.142 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify bootloader settings value] **************************************** task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:84 Monday 25 July 2022 18:42:26 +0000 (0:00:00.032) 0:00:11.174 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check if kernel_settings_reboot_required is set if needed] *************** task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings.yml:45 Monday 25 July 2022 18:42:26 +0000 (0:00:00.033) 0:00:11.208 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert success] ********************************************************** task path: /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings.yml:52 Monday 25 July 2022 18:42:26 +0000 (0:00:00.031) 0:00:11.239 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmpn2_uw5li/tests/tests_simple_settings.yml:35 Monday 25 July 2022 18:42:26 +0000 (0:00:00.041) 0:00:11.281 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify that settings were applied correctly after reboot] **************** task path: /tmp/tmpn2_uw5li/tests/tests_simple_settings.yml:42 Monday 25 July 2022 18:42:26 +0000 (0:00:00.030) 0:00:11.311 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show contents of tuned.conf] ********************************************* task path: /tmp/tmpn2_uw5li/tests/tests_simple_settings.yml:51 Monday 25 July 2022 18:42:26 +0000 (0:00:00.029) 0:00:11.340 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002953", "end": "2022-07-25 14:42:26.608529", "rc": 0, "start": "2022-07-25 14:42:26.605576" } 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/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:42:26 +0000 (0:00:00.352) 0:00:11.693 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:42:26 +0000 (0:00:00.029) 0:00:11.723 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=26 changed=4 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Monday 25 July 2022 18:42:26 +0000 (0:00:00.038) 0:00:11.762 *********** =============================================================================== linux-system-roles.kernel_settings : tuned apply settings --------------- 1.57s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmpn2_uw5li/tests/tests_simple_settings.yml:2 ---------------------------- linux-system-roles.kernel_settings : Ensure required packages are installed --- 0.97s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 ensure python command exists for tests below ---------------------------- 0.82s /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:14 --------- put expected contents into temporary file ------------------------------- 0.80s /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:8 ---------- linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 0.70s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.56s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 create temporary file for expected config ------------------------------- 0.49s /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:2 ---------- linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.49s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Generate a configuration for kernel settings --- 0.48s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.47s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 linux-system-roles.kernel_settings : Get current config ----------------- 0.45s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 linux-system-roles.kernel_settings : check that settings are applied correctly --- 0.44s /tmp/tmpn2_uw5li/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 diff expected vs actual content ----------------------------------------- 0.39s /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:19 --------- get active_profile file ------------------------------------------------- 0.36s /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:44 --------- show contents of tuned.conf --------------------------------------------- 0.35s /tmp/tmpn2_uw5li/tests/tests_simple_settings.yml:51 --------------------------- get profile_mode file --------------------------------------------------- 0.34s /tmp/tmpn2_uw5li/tests/tasks/assert_kernel_settings_conf_files.yml:58 --------- apply the settings - call the role -------------------------------------- 0.05s /tmp/tmpn2_uw5li/tests/tests_simple_settings.yml:23 --------------------------- set platform independent vars used by this test ------------------------- 0.05s /tmp/tmpn2_uw5li/tests/tests_simple_settings.yml:8 ---------------------------- include_tasks ----------------------------------------------------------- 0.05s /tmp/tmpn2_uw5li/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/tmpn3r4nkt1 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_simple_settings.yml ******************************************** 1 plays in /tmp/tmps1jwcs1a/tests/kernel_settings/tests_simple_settings.yml PLAY [test simple kernel settings] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_simple_settings.yml:2 Monday 25 July 2022 18:43:49 +0000 (0:00:00.013) 0:00:00.013 *********** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [set platform independent vars used by this test] ************************* task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_simple_settings.yml:8 Monday 25 July 2022 18:43:50 +0000 (0:00:01.105) 0:00:01.119 *********** ok: [/cache/rhel-9.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/tmps1jwcs1a/tests/kernel_settings/vars/vars_simple_settings.yml" ], "changed": false } TASK [disable bootloader cmdline testing on Fedora] **************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_simple_settings.yml:12 Monday 25 July 2022 18:43:50 +0000 (0:00:00.056) 0:00:01.175 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [apply the settings - call the role] ************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_simple_settings.yml:23 Monday 25 July 2022 18:43:50 +0000 (0:00:00.021) 0:00:01.197 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:43:50 +0000 (0:00:00.064) 0:00:01.262 *********** included: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:43:50 +0000 (0:00:00.031) 0:00:01.293 *********** ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:43:50 +0000 (0:00:00.509) 0:00:01.803 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:43:50 +0000 (0:00:00.040) 0:00:01.843 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:43:51 +0000 (0:00:00.986) 0:00:02.830 *********** ok: [/cache/rhel-9.qcow2.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:43:10 EDT", "ActiveEnterTimestampMonotonic": "4540611", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.socket systemd-journald.socket network.target system.slice dbus-broker.service systemd-sysctl.service sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:43:10 EDT", "AssertTimestampMonotonic": "4330075", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "240116000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:43:10 EDT", "ConditionTimestampMonotonic": "4330073", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "\"man:tuned(8)\" \"man:tuned.conf(5)\" \"man:tuned-adm(8)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "736", "ExecMainStartTimestamp": "Mon 2022-07-25 14:43:10 EDT", "ExecMainStartTimestampMonotonic": "4331140", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:43:10 EDT] ; stop_time=[n/a] ; pid=736 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Mon 2022-07-25 14:43:10 EDT] ; stop_time=[n/a] ; pid=736 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:43:10 EDT", "InactiveExitTimestampMonotonic": "4331365", "InvocationID": "3a56ebccf350423386d1a1af080a238e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "736", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18096128", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket polkit.service dbus-broker.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 14:43:10 EDT", "StateChangeTimestampMonotonic": "4540611", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:43:52 +0000 (0:00:00.736) 0:00:03.566 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:43:53 +0000 (0:00:00.502) 0:00:04.069 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-127815_8dii0cb/tmppijcffk0/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:43:53 +0000 (0:00:00.502) 0:00:04.572 *********** ok: [/cache/rhel-9.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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:43:54 +0000 (0:00:00.476) 0:00:05.048 *********** NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/rhel-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/rhel-9.qcow2.snap changed: [/cache/rhel-9.qcow2.snap] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:43:54 +0000 (0:00:00.604) 0:00:05.652 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.118952", "end": "2022-07-25 14:43:55.533213", "rc": 0, "start": "2022-07-25 14:43:54.414261" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:43:56 +0000 (0:00:01.607) 0:00:07.259 *********** included: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:43:56 +0000 (0:00:00.040) 0:00:07.299 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.104156", "end": "2022-07-25 14:43:56.047682", "rc": 0, "start": "2022-07-25 14:43:55.943526" } STDOUT: Verfication succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : get last verify results from log] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:43:56 +0000 (0:00:00.470) 0:00:07.770 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:43:56 +0000 (0:00:00.042) 0:00:07.813 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:43:56 +0000 (0:00:00.028) 0:00:07.842 *********** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:43:56 +0000 (0:00:00.035) 0:00:07.878 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [verify that settings were applied correctly] ***************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_simple_settings.yml:28 Monday 25 July 2022 18:43:56 +0000 (0:00:00.041) 0:00:07.919 *********** included: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings.yml for /cache/rhel-9.qcow2.snap TASK [Set version specific variables] ****************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings.yml:2 Monday 25 July 2022 18:43:56 +0000 (0:00:00.031) 0:00:07.951 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__kernel_settings_test_python_cmd": "python3", "__kernel_settings_test_python_pkgs": [ "python3", "python3-configobj" ] }, "ansible_included_var_files": [ "/tmp/tmps1jwcs1a/tests/kernel_settings/vars/tests_RedHat_9.yml" ], "changed": false } TASK [reset settings success flag] ********************************************* task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings.yml:12 Monday 25 July 2022 18:43:56 +0000 (0:00:00.036) 0:00:07.988 *********** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__kernel_settings_success": true }, "changed": false } TASK [check tuned-adm verify] ************************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings.yml:16 Monday 25 July 2022 18:43:57 +0000 (0:00:00.027) 0:00:08.016 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check for verify errors] ************************************************* task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings.yml:22 Monday 25 July 2022 18:43:57 +0000 (0:00:00.020) 0:00:08.036 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check /proc/cmdline] ***************************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings.yml:28 Monday 25 July 2022 18:43:57 +0000 (0:00:00.025) 0:00:08.062 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set error flag based on verify] ****************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings.yml:34 Monday 25 July 2022 18:43:57 +0000 (0:00:00.025) 0:00:08.087 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings.yml:41 Monday 25 July 2022 18:43:57 +0000 (0:00:00.026) 0:00:08.113 *********** included: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml for /cache/rhel-9.qcow2.snap TASK [create temporary file for expected config] ******************************* task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:2 Monday 25 July 2022 18:43:57 +0000 (0:00:00.051) 0:00:08.165 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.4bqedn87.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/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:8 Monday 25 July 2022 18:43:57 +0000 (0:00:00.482) 0:00:08.647 *********** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "checksum": "169e46a0442e2493edda7ef1d37dfc572d06525c", "dest": "/tmp/ansible.4bqedn87.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-1658774637.718936-128035-180937991949514/source", "state": "file", "uid": 0 } TASK [ensure python command exists for tests below] **************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:14 Monday 25 July 2022 18:43:58 +0000 (0:00:00.817) 0:00:09.465 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [diff expected vs actual content] ***************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:19 Monday 25 July 2022 18:43:59 +0000 (0:00:00.877) 0:00:10.343 *********** ok: [/cache/rhel-9.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.4bqedn87.kernel_settings /etc/tuned/kernel_settings/tuned.conf\n", "delta": "0:00:00.025846", "end": "2022-07-25 14:43:59.048550", "rc": 0, "start": "2022-07-25 14:43:59.022704" } TASK [verify expected content] ************************************************* task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:32 Monday 25 July 2022 18:43:59 +0000 (0:00:00.423) 0:00:10.766 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show diff - may not reflect actual ConfigObj differences] **************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:37 Monday 25 July 2022 18:43:59 +0000 (0:00:00.023) 0:00:10.790 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get active_profile file] ************************************************* task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:44 Monday 25 July 2022 18:43:59 +0000 (0:00:00.022) 0:00:10.813 *********** ok: [/cache/rhel-9.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/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:51 Monday 25 July 2022 18:44:00 +0000 (0:00:00.357) 0:00:11.170 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get profile_mode file] *************************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:58 Monday 25 July 2022 18:44:00 +0000 (0:00:00.034) 0:00:11.205 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "content": "bWFudWFsCg==", "encoding": "base64", "source": "/etc/tuned/profile_mode" } TASK [check that profile_mode is manual] *************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:65 Monday 25 July 2022 18:44:00 +0000 (0:00:00.389) 0:00:11.595 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get the bootloader specific config file] ********************************* task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:73 Monday 25 July 2022 18:44:00 +0000 (0:00:00.037) 0:00:11.632 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify bootloader settings value] **************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:84 Monday 25 July 2022 18:44:00 +0000 (0:00:00.031) 0:00:11.664 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check if kernel_settings_reboot_required is set if needed] *************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings.yml:44 Monday 25 July 2022 18:44:00 +0000 (0:00:00.029) 0:00:11.694 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert success] ********************************************************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings.yml:51 Monday 25 July 2022 18:44:00 +0000 (0:00:00.029) 0:00:11.723 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_simple_settings.yml:35 Monday 25 July 2022 18:44:00 +0000 (0:00:00.041) 0:00:11.765 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify that settings were applied correctly after reboot] **************** task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_simple_settings.yml:42 Monday 25 July 2022 18:44:00 +0000 (0:00:00.033) 0:00:11.799 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show contents of tuned.conf] ********************************************* task path: /tmp/tmps1jwcs1a/tests/kernel_settings/tests_simple_settings.yml:51 Monday 25 July 2022 18:44:00 +0000 (0:00:00.034) 0:00:11.833 *********** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002423", "end": "2022-07-25 14:44:00.475232", "rc": 0, "start": "2022-07-25 14:44:00.472809" } 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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:44:01 +0000 (0:00:00.357) 0:00:12.191 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:44:01 +0000 (0:00:00.030) 0:00:12.222 *********** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=26 changed=4 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Monday 25 July 2022 18:44:01 +0000 (0:00:00.040) 0:00:12.262 *********** =============================================================================== fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 1.61s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmps1jwcs1a/tests/kernel_settings/tests_simple_settings.yml:2 ------------ fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.99s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 ensure python command exists for tests below ---------------------------- 0.88s /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:14 put expected contents into temporary file ------------------------------- 0.82s /tmp/tmps1jwcs1a/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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.60s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.51s /tmp/tmpn3r4nkt1/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/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings --- 0.50s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 create temporary file for expected config ------------------------------- 0.48s /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:2 fedora.linux_system_roles.kernel_settings : Get current config ---------- 0.48s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 fedora.linux_system_roles.kernel_settings : check that settings are applied correctly --- 0.47s /tmp/tmpn3r4nkt1/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 diff expected vs actual content ----------------------------------------- 0.42s /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:19 get profile_mode file --------------------------------------------------- 0.39s /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:58 show contents of tuned.conf --------------------------------------------- 0.36s /tmp/tmps1jwcs1a/tests/kernel_settings/tests_simple_settings.yml:51 ----------- get active_profile file ------------------------------------------------- 0.36s /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:44 apply the settings - call the role -------------------------------------- 0.06s /tmp/tmps1jwcs1a/tests/kernel_settings/tests_simple_settings.yml:23 ----------- set platform independent vars used by this test ------------------------- 0.06s /tmp/tmps1jwcs1a/tests/kernel_settings/tests_simple_settings.yml:8 ------------ include_tasks ----------------------------------------------------------- 0.05s /tmp/tmps1jwcs1a/tests/kernel_settings/tasks/assert_kernel_settings.yml:41 ----