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/tmpxb2psbcw 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/tmpod0xpcfi/tests/tests_simple_settings.yml PLAY [test simple kernel settings] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpod0xpcfi/tests/tests_simple_settings.yml:2 Monday 25 July 2022 18:45:29 +0000 (0:00:00.013) 0:00:00.014 *********** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [set platform independent vars used by this test] ************************* task path: /tmp/tmpod0xpcfi/tests/tests_simple_settings.yml:8 Monday 25 July 2022 18:45:30 +0000 (0:00:01.125) 0:00:01.139 *********** ok: [/cache/fedora-35.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/tmpod0xpcfi/tests/vars/vars_simple_settings.yml" ], "changed": false } TASK [disable bootloader cmdline testing on Fedora] **************************** task path: /tmp/tmpod0xpcfi/tests/tests_simple_settings.yml:12 Monday 25 July 2022 18:45:30 +0000 (0:00:00.051) 0:00:01.191 *********** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__kernel_settings_blcmdline_value": null, "__kernel_settings_check_reboot": false, "kernel_settings_bootloader_cmdline": null }, "changed": false } TASK [apply the settings - call the role] ************************************** task path: /tmp/tmpod0xpcfi/tests/tests_simple_settings.yml:23 Monday 25 July 2022 18:45:30 +0000 (0:00:00.055) 0:00:01.246 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:45:30 +0000 (0:00:00.061) 0:00:01.308 *********** included: /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:45:30 +0000 (0:00:00.029) 0:00:01.338 *********** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:45:31 +0000 (0:00:00.528) 0:00:01.866 *********** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpod0xpcfi/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/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:45:31 +0000 (0:00:00.039) 0:00:01.906 *********** ok: [/cache/fedora-35.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/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:45:33 +0000 (0:00:02.021) 0:00:03.927 *********** ok: [/cache/fedora-35.qcow2.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:44:45 UTC", "ActiveEnterTimestampMonotonic": "4477452", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket dbus-broker.service sysinit.target dbus.socket system.slice basic.target systemd-sysctl.service network.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:44:44 UTC", "AssertTimestampMonotonic": "4300719", "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": "226604000", "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 18:44:44 UTC", "ConditionTimestampMonotonic": "4300718", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service cpupower.service shutdown.target power-profiles-daemon.service auto-cpufreq.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", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "736", "ExecMainStartTimestamp": "Mon 2022-07-25 18:44:44 UTC", "ExecMainStartTimestampMonotonic": "4301710", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:44:44 UTC] ; 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 18:44:44 UTC] ; stop_time=[n/a] ; pid=736 ; code=(null) ; status=0/0 }", "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", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 18:44:44 UTC", "InactiveExitTimestampMonotonic": "4301948", "InvocationID": "62964555b05440cbb3e5fd607930c806", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7730", "LimitNPROCSoft": "7730", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7730", "LimitSIGPENDINGSoft": "7730", "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": "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": "dbus.socket system.slice polkit.service dbus-broker.service sysinit.target", "Restart": "no", "RestartKillSignal": "15", "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", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 18:44:45 UTC", "StateChangeTimestampMonotonic": "4477452", "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": "2319", "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": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:45:34 +0000 (0:00:00.815) 0:00:04.743 *********** ok: [/cache/fedora-35.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": 20, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:45:34 +0000 (0:00:00.538) 0:00:05.282 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-1913358bhp3myz/tmpn18xn4iz/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:45:35 +0000 (0:00:00.541) 0:00:05.823 *********** ok: [/cache/fedora-35.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/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:45:35 +0000 (0:00:00.511) 0:00:06.334 *********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/fedora-35.qcow2.snap NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/fedora-35.qcow2.snap changed: [/cache/fedora-35.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/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:45:36 +0000 (0:00:00.602) 0:00:06.937 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.111167", "end": "2022-07-25 18:45:37.518848", "rc": 0, "start": "2022-07-25 18:45:36.407681" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:45:38 +0000 (0:00:01.636) 0:00:08.573 *********** included: /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:45:38 +0000 (0:00:00.044) 0:00:08.618 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.116503", "end": "2022-07-25 18:45:38.070285", "rc": 0, "start": "2022-07-25 18:45:37.953782" } 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/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:45:38 +0000 (0:00:00.506) 0:00:09.124 *********** skipping: [/cache/fedora-35.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/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:45:38 +0000 (0:00:00.030) 0:00:09.155 *********** skipping: [/cache/fedora-35.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/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:45:38 +0000 (0:00:00.032) 0:00:09.188 *********** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:45:38 +0000 (0:00:00.034) 0:00:09.223 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [verify that settings were applied correctly] ***************************** task path: /tmp/tmpod0xpcfi/tests/tests_simple_settings.yml:28 Monday 25 July 2022 18:45:38 +0000 (0:00:00.041) 0:00:09.264 *********** included: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings.yml for /cache/fedora-35.qcow2.snap TASK [Set version specific variables] ****************************************** task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings.yml:2 Monday 25 July 2022 18:45:38 +0000 (0:00:00.032) 0:00:09.297 *********** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__kernel_settings_test_python_cmd": "python", "__kernel_settings_test_python_pkgs": [ "python", "python-configobj" ] }, "ansible_included_var_files": [ "/tmp/tmpod0xpcfi/tests/vars/tests_default.yml" ], "changed": false } TASK [reset settings success flag] ********************************************* task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings.yml:13 Monday 25 July 2022 18:45:38 +0000 (0:00:00.037) 0:00:09.334 *********** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__kernel_settings_success": true }, "changed": false } TASK [check tuned-adm verify] ************************************************** task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings.yml:17 Monday 25 July 2022 18:45:38 +0000 (0:00:00.028) 0:00:09.363 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check for verify errors] ************************************************* task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings.yml:23 Monday 25 July 2022 18:45:38 +0000 (0:00:00.021) 0:00:09.384 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check /proc/cmdline] ***************************************************** task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings.yml:29 Monday 25 July 2022 18:45:38 +0000 (0:00:00.026) 0:00:09.411 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set error flag based on verify] ****************************************** task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings.yml:35 Monday 25 July 2022 18:45:39 +0000 (0:00:00.024) 0:00:09.435 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings.yml:42 Monday 25 July 2022 18:45:39 +0000 (0:00:00.023) 0:00:09.459 *********** included: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml for /cache/fedora-35.qcow2.snap TASK [create temporary file for expected config] ******************************* task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:2 Monday 25 July 2022 18:45:39 +0000 (0:00:00.051) 0:00:09.510 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.2lacygzr.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/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:8 Monday 25 July 2022 18:45:39 +0000 (0:00:00.509) 0:00:10.019 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "checksum": "169e46a0442e2493edda7ef1d37dfc572d06525c", "dest": "/tmp/ansible.2lacygzr.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-1658774739.7097583-191555-70457507291593/source", "state": "file", "uid": 0 } TASK [ensure python command exists for tests below] **************************** task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:14 Monday 25 July 2022 18:45:40 +0000 (0:00:00.852) 0:00:10.872 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [diff expected vs actual content] ***************************************** task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:19 Monday 25 July 2022 18:45:42 +0000 (0:00:02.093) 0:00:12.965 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "python -c 'import sys\nfrom configobj import ConfigObj\nc1 = ConfigObj(sys.argv[1])\nc2 = ConfigObj(sys.argv[2])\nsys.exit(not c1 == c2)' /tmp/ansible.2lacygzr.kernel_settings /etc/tuned/kernel_settings/tuned.conf\n", "delta": "0:00:00.028891", "end": "2022-07-25 18:45:42.341505", "rc": 0, "start": "2022-07-25 18:45:42.312614" } TASK [verify expected content] ************************************************* task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:32 Monday 25 July 2022 18:45:42 +0000 (0:00:00.422) 0:00:13.387 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show diff - may not reflect actual ConfigObj differences] **************** task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:37 Monday 25 July 2022 18:45:43 +0000 (0:00:00.025) 0:00:13.413 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get active_profile file] ************************************************* task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:44 Monday 25 July 2022 18:45:43 +0000 (0:00:00.027) 0:00:13.440 *********** ok: [/cache/fedora-35.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/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:51 Monday 25 July 2022 18:45:43 +0000 (0:00:00.380) 0:00:13.821 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get profile_mode file] *************************************************** task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:58 Monday 25 July 2022 18:45:43 +0000 (0:00:00.036) 0:00:13.857 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "content": "bWFudWFsCg==", "encoding": "base64", "source": "/etc/tuned/profile_mode" } TASK [check that profile_mode is manual] *************************************** task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:65 Monday 25 July 2022 18:45:43 +0000 (0:00:00.384) 0:00:14.242 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get the bootloader specific config file] ********************************* task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:73 Monday 25 July 2022 18:45:43 +0000 (0:00:00.037) 0:00:14.280 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify bootloader settings value] **************************************** task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:84 Monday 25 July 2022 18:45:43 +0000 (0:00:00.034) 0:00:14.315 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check if kernel_settings_reboot_required is set if needed] *************** task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings.yml:45 Monday 25 July 2022 18:45:43 +0000 (0:00:00.032) 0:00:14.347 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert success] ********************************************************** task path: /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings.yml:52 Monday 25 July 2022 18:45:43 +0000 (0:00:00.032) 0:00:14.379 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmpod0xpcfi/tests/tests_simple_settings.yml:35 Monday 25 July 2022 18:45:44 +0000 (0:00:00.042) 0:00:14.422 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify that settings were applied correctly after reboot] **************** task path: /tmp/tmpod0xpcfi/tests/tests_simple_settings.yml:42 Monday 25 July 2022 18:45:44 +0000 (0:00:00.031) 0:00:14.454 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show contents of tuned.conf] ********************************************* task path: /tmp/tmpod0xpcfi/tests/tests_simple_settings.yml:51 Monday 25 July 2022 18:45:44 +0000 (0:00:00.030) 0:00:14.484 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.003050", "end": "2022-07-25 18:45:43.826737", "rc": 0, "start": "2022-07-25 18:45:43.823687" } 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/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:45:44 +0000 (0:00:00.387) 0:00:14.872 *********** skipping: [/cache/fedora-35.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/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:45:44 +0000 (0:00:00.031) 0:00:14.904 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=27 changed=4 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 Monday 25 July 2022 18:45:44 +0000 (0:00:00.039) 0:00:14.944 *********** =============================================================================== ensure python command exists for tests below ---------------------------- 2.09s /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:14 --------- linux-system-roles.kernel_settings : Ensure required packages are installed --- 2.02s /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : tuned apply settings --------------- 1.64s /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Gathering Facts --------------------------------------------------------- 1.13s /tmp/tmpod0xpcfi/tests/tests_simple_settings.yml:2 ---------------------------- put expected contents into temporary file ------------------------------- 0.85s /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:8 ---------- linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 0.82s /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.60s /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 linux-system-roles.kernel_settings : Generate a configuration for kernel settings --- 0.54s /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.54s /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.53s /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Get current config ----------------- 0.51s /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 create temporary file for expected config ------------------------------- 0.51s /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:2 ---------- linux-system-roles.kernel_settings : check that settings are applied correctly --- 0.51s /tmp/tmpod0xpcfi/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 diff expected vs actual content ----------------------------------------- 0.42s /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:19 --------- show contents of tuned.conf --------------------------------------------- 0.39s /tmp/tmpod0xpcfi/tests/tests_simple_settings.yml:51 --------------------------- get profile_mode file --------------------------------------------------- 0.38s /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:58 --------- get active_profile file ------------------------------------------------- 0.38s /tmp/tmpod0xpcfi/tests/tasks/assert_kernel_settings_conf_files.yml:44 --------- apply the settings - call the role -------------------------------------- 0.06s /tmp/tmpod0xpcfi/tests/tests_simple_settings.yml:23 --------------------------- disable bootloader cmdline testing on Fedora ---------------------------- 0.06s /tmp/tmpod0xpcfi/tests/tests_simple_settings.yml:12 --------------------------- set platform independent vars used by this test ------------------------- 0.05s /tmp/tmpod0xpcfi/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/tmpxb2psbcw 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/tmpo1fnt0_i/tests/kernel_settings/tests_simple_settings.yml PLAY [test simple kernel settings] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tests_simple_settings.yml:2 Monday 25 July 2022 18:47:14 +0000 (0:00:00.013) 0:00:00.013 *********** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [set platform independent vars used by this test] ************************* task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tests_simple_settings.yml:8 Monday 25 July 2022 18:47:16 +0000 (0:00:01.126) 0:00:01.140 *********** ok: [/cache/fedora-35.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/tmpo1fnt0_i/tests/kernel_settings/vars/vars_simple_settings.yml" ], "changed": false } TASK [disable bootloader cmdline testing on Fedora] **************************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tests_simple_settings.yml:12 Monday 25 July 2022 18:47:16 +0000 (0:00:00.051) 0:00:01.191 *********** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__kernel_settings_blcmdline_value": null, "__kernel_settings_check_reboot": false, "kernel_settings_bootloader_cmdline": null }, "changed": false } TASK [apply the settings - call the role] ************************************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tests_simple_settings.yml:23 Monday 25 July 2022 18:47:16 +0000 (0:00:00.049) 0:00:01.241 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:47:16 +0000 (0:00:00.065) 0:00:01.306 *********** included: /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:47:16 +0000 (0:00:00.029) 0:00:01.336 *********** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:47:16 +0000 (0:00:00.515) 0:00:01.851 *********** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpxb2psbcw/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/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:47:16 +0000 (0:00:00.042) 0:00:01.894 *********** ok: [/cache/fedora-35.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/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:47:18 +0000 (0:00:01.942) 0:00:03.836 *********** ok: [/cache/fedora-35.qcow2.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:46:32 UTC", "ActiveEnterTimestampMonotonic": "4477156", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target systemd-sysctl.service dbus.socket system.slice basic.target systemd-journald.socket network.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:46:31 UTC", "AssertTimestampMonotonic": "4302304", "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": "230293000", "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 18:46:31 UTC", "ConditionTimestampMonotonic": "4302303", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service power-profiles-daemon.service tlp.service shutdown.target auto-cpufreq.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", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "735", "ExecMainStartTimestamp": "Mon 2022-07-25 18:46:31 UTC", "ExecMainStartTimestampMonotonic": "4304349", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:46:31 UTC] ; stop_time=[n/a] ; pid=735 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Mon 2022-07-25 18:46:31 UTC] ; stop_time=[n/a] ; pid=735 ; code=(null) ; status=0/0 }", "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", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 18:46:31 UTC", "InactiveExitTimestampMonotonic": "4304657", "InvocationID": "a5c507a880c642979fce4f1858f17a89", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7730", "LimitNPROCSoft": "7730", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7730", "LimitSIGPENDINGSoft": "7730", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "735", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18120704", "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": "dbus-broker.service polkit.service sysinit.target dbus.socket system.slice", "Restart": "no", "RestartKillSignal": "15", "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", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-07-25 18:46:32 UTC", "StateChangeTimestampMonotonic": "4477156", "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": "2319", "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": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:47:19 +0000 (0:00:00.820) 0:00:04.657 *********** ok: [/cache/fedora-35.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": 20, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:47:20 +0000 (0:00:00.534) 0:00:05.192 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-1934051ozx020c/tmp749mca2p/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:47:20 +0000 (0:00:00.538) 0:00:05.730 *********** ok: [/cache/fedora-35.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/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:47:21 +0000 (0:00:00.493) 0:00:06.224 *********** NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/fedora-35.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/fedora-35.qcow2.snap changed: [/cache/fedora-35.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/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:47:21 +0000 (0:00:00.622) 0:00:06.847 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.109725", "end": "2022-07-25 18:47:23.148009", "rc": 0, "start": "2022-07-25 18:47:22.038284" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:47:23 +0000 (0:00:01.638) 0:00:08.485 *********** included: /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 25 July 2022 18:47:23 +0000 (0:00:00.043) 0:00:08.528 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.089756", "end": "2022-07-25 18:47:23.670809", "rc": 0, "start": "2022-07-25 18:47:23.581053" } 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/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 25 July 2022 18:47:23 +0000 (0:00:00.469) 0:00:08.997 *********** skipping: [/cache/fedora-35.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/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:24 Monday 25 July 2022 18:47:23 +0000 (0:00:00.027) 0:00:09.025 *********** skipping: [/cache/fedora-35.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/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:47:23 +0000 (0:00:00.028) 0:00:09.054 *********** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:47:23 +0000 (0:00:00.034) 0:00:09.088 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [verify that settings were applied correctly] ***************************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tests_simple_settings.yml:28 Monday 25 July 2022 18:47:24 +0000 (0:00:00.042) 0:00:09.131 *********** included: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings.yml for /cache/fedora-35.qcow2.snap TASK [Set version specific variables] ****************************************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings.yml:2 Monday 25 July 2022 18:47:24 +0000 (0:00:00.034) 0:00:09.165 *********** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__kernel_settings_test_python_cmd": "python", "__kernel_settings_test_python_pkgs": [ "python", "python-configobj" ] }, "ansible_included_var_files": [ "/tmp/tmpo1fnt0_i/tests/kernel_settings/vars/tests_default.yml" ], "changed": false } TASK [reset settings success flag] ********************************************* task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings.yml:12 Monday 25 July 2022 18:47:24 +0000 (0:00:00.076) 0:00:09.241 *********** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__kernel_settings_success": true }, "changed": false } TASK [check tuned-adm verify] ************************************************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings.yml:16 Monday 25 July 2022 18:47:24 +0000 (0:00:00.054) 0:00:09.296 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check for verify errors] ************************************************* task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings.yml:22 Monday 25 July 2022 18:47:24 +0000 (0:00:00.023) 0:00:09.319 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check /proc/cmdline] ***************************************************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings.yml:28 Monday 25 July 2022 18:47:24 +0000 (0:00:00.025) 0:00:09.345 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set error flag based on verify] ****************************************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings.yml:34 Monday 25 July 2022 18:47:24 +0000 (0:00:00.025) 0:00:09.370 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings.yml:41 Monday 25 July 2022 18:47:24 +0000 (0:00:00.025) 0:00:09.396 *********** included: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml for /cache/fedora-35.qcow2.snap TASK [create temporary file for expected config] ******************************* task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:2 Monday 25 July 2022 18:47:24 +0000 (0:00:00.053) 0:00:09.449 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.faw3t2go.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/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:8 Monday 25 July 2022 18:47:24 +0000 (0:00:00.498) 0:00:09.948 *********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "checksum": "169e46a0442e2493edda7ef1d37dfc572d06525c", "dest": "/tmp/ansible.faw3t2go.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-1658774844.9160953-193625-272095398484966/source", "state": "file", "uid": 0 } TASK [ensure python command exists for tests below] **************************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:14 Monday 25 July 2022 18:47:25 +0000 (0:00:00.846) 0:00:10.794 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [diff expected vs actual content] ***************************************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:19 Monday 25 July 2022 18:47:27 +0000 (0:00:01.898) 0:00:12.692 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "python -c 'import sys\nfrom configobj import ConfigObj\nc1 = ConfigObj(sys.argv[1])\nc2 = ConfigObj(sys.argv[2])\nsys.exit(not c1 == c2)' /tmp/ansible.faw3t2go.kernel_settings /etc/tuned/kernel_settings/tuned.conf\n", "delta": "0:00:00.027689", "end": "2022-07-25 18:47:27.767421", "rc": 0, "start": "2022-07-25 18:47:27.739732" } TASK [verify expected content] ************************************************* task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:32 Monday 25 July 2022 18:47:27 +0000 (0:00:00.398) 0:00:13.091 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show diff - may not reflect actual ConfigObj differences] **************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:37 Monday 25 July 2022 18:47:27 +0000 (0:00:00.025) 0:00:13.117 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get active_profile file] ************************************************* task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:44 Monday 25 July 2022 18:47:28 +0000 (0:00:00.025) 0:00:13.143 *********** ok: [/cache/fedora-35.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/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:51 Monday 25 July 2022 18:47:28 +0000 (0:00:00.364) 0:00:13.507 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get profile_mode file] *************************************************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:58 Monday 25 July 2022 18:47:28 +0000 (0:00:00.037) 0:00:13.545 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "content": "bWFudWFsCg==", "encoding": "base64", "source": "/etc/tuned/profile_mode" } TASK [check that profile_mode is manual] *************************************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:65 Monday 25 July 2022 18:47:28 +0000 (0:00:00.367) 0:00:13.912 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get the bootloader specific config file] ********************************* task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:73 Monday 25 July 2022 18:47:28 +0000 (0:00:00.036) 0:00:13.949 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify bootloader settings value] **************************************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:84 Monday 25 July 2022 18:47:28 +0000 (0:00:00.033) 0:00:13.982 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check if kernel_settings_reboot_required is set if needed] *************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings.yml:44 Monday 25 July 2022 18:47:28 +0000 (0:00:00.033) 0:00:14.016 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert success] ********************************************************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings.yml:51 Monday 25 July 2022 18:47:28 +0000 (0:00:00.033) 0:00:14.050 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tests_simple_settings.yml:35 Monday 25 July 2022 18:47:28 +0000 (0:00:00.044) 0:00:14.094 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify that settings were applied correctly after reboot] **************** task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tests_simple_settings.yml:42 Monday 25 July 2022 18:47:28 +0000 (0:00:00.032) 0:00:14.126 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show contents of tuned.conf] ********************************************* task path: /tmp/tmpo1fnt0_i/tests/kernel_settings/tests_simple_settings.yml:51 Monday 25 July 2022 18:47:29 +0000 (0:00:00.032) 0:00:14.158 *********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002990", "end": "2022-07-25 18:47:29.215245", "rc": 0, "start": "2022-07-25 18:47:29.212255" } 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/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Monday 25 July 2022 18:47:29 +0000 (0:00:00.387) 0:00:14.546 *********** skipping: [/cache/fedora-35.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/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Monday 25 July 2022 18:47:29 +0000 (0:00:00.032) 0:00:14.578 *********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=27 changed=4 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 Monday 25 July 2022 18:47:29 +0000 (0:00:00.044) 0:00:14.622 *********** =============================================================================== fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 1.94s /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 ensure python command exists for tests below ---------------------------- 1.90s /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:14 fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 1.64s /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Gathering Facts --------------------------------------------------------- 1.13s /tmp/tmpo1fnt0_i/tests/kernel_settings/tests_simple_settings.yml:2 ------------ put expected contents into temporary file ------------------------------- 0.85s /tmp/tmpo1fnt0_i/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.82s /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.62s /tmp/tmpxb2psbcw/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.54s /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.53s /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.52s /tmp/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 create temporary file for expected config ------------------------------- 0.50s /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:2 fedora.linux_system_roles.kernel_settings : Get current config ---------- 0.49s /tmp/tmpxb2psbcw/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/tmpxb2psbcw/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 diff expected vs actual content ----------------------------------------- 0.40s /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:19 show contents of tuned.conf --------------------------------------------- 0.39s /tmp/tmpo1fnt0_i/tests/kernel_settings/tests_simple_settings.yml:51 ----------- get profile_mode file --------------------------------------------------- 0.37s /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:58 get active_profile file ------------------------------------------------- 0.36s /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:44 Set version specific variables ------------------------------------------ 0.08s /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings.yml:2 ----- apply the settings - call the role -------------------------------------- 0.07s /tmp/tmpo1fnt0_i/tests/kernel_settings/tests_simple_settings.yml:23 ----------- reset settings success flag --------------------------------------------- 0.05s /tmp/tmpo1fnt0_i/tests/kernel_settings/tasks/assert_kernel_settings.yml:12 ----