ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_bool_not_allowed.yml ******************************************* 1 plays in /tmp/tmp5r4_7pxt/tests/tests_bool_not_allowed.yml PLAY [test boolean values not allowed] ***************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5r4_7pxt/tests/tests_bool_not_allowed.yml:2 Thursday 05 May 2022 04:58:58 +0000 (0:00:00.022) 0:00:00.022 ********** [DEPRECATION WARNING]: Distribution fedora 34 on host /cache/fedora-34.qcow2 should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/fedora-34.qcow2] META: ran handlers TASK [try to pass a boolean value for bootloader cmdline] ********************** task path: /tmp/tmp5r4_7pxt/tests/tests_bool_not_allowed.yml:7 Thursday 05 May 2022 04:58:59 +0000 (0:00:01.049) 0:00:01.072 ********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Thursday 05 May 2022 04:58:59 +0000 (0:00:00.171) 0:00:01.243 ********** included: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Thursday 05 May 2022 04:58:59 +0000 (0:00:00.026) 0:00:01.269 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Thursday 05 May 2022 04:58:59 +0000 (0:00:00.523) 0:00:01.793 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp5r4_7pxt/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/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Thursday 05 May 2022 04:58:59 +0000 (0:00:00.055) 0:00:01.848 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: kernel-tools-5.17.4-100.fc34.x86_64", "Installed: hdparm-9.60-1.fc34.x86_64", "Installed: pciutils-libs-3.7.0-3.fc34.x86_64", "Installed: kernel-tools-libs-5.17.4-100.fc34.x86_64", "Installed: polkit-libs-0.117-3.fc34.3.x86_64", "Installed: tuned-2.18.0-3.20220317gite1045f2d.fc34.noarch", "Installed: dmidecode-1:3.2-9.fc34.x86_64", "Installed: gobject-introspection-1.68.0-4.fc34.x86_64", "Installed: python3-pyudev-0.22.0-4.fc34.noarch", "Installed: python3-linux-procfs-0.6.3-1.fc34.noarch", "Installed: polkit-pkla-compat-0.1-19.fc34.x86_64", "Installed: ethtool-2:5.17-1.fc34.x86_64", "Installed: numactl-libs-2.0.14-3.fc34.x86_64", "Installed: virt-what-1.21-1.fc34.x86_64", "Installed: mozjs78-78.15.0-1.fc34.x86_64", "Installed: python3-gobject-base-3.40.1-1.fc34.x86_64", "Installed: polkit-0.117-3.fc34.3.x86_64", "Installed: python3-perf-5.17.4-100.fc34.x86_64" ] } TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Thursday 05 May 2022 04:59:54 +0000 (0:00:54.934) 0:00:56.782 ********** changed: [/cache/fedora-34.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target network.target system.slice systemd-sysctl.service dbus.socket basic.target dbus-broker.service systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "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": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service power-profiles-daemon.service tlp.service auto-cpufreq.service shutdown.target", "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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "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": "7758", "LimitNPROCSoft": "7758", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7758", "LimitSIGPENDINGSoft": "7758", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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", "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 dbus.socket polkit.service sysinit.target 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", "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2327", "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": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Thursday 05 May 2022 04:59:56 +0000 (0:00:01.376) 0:00:58.158 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Thursday 05 May 2022 04:59:56 +0000 (0:00:00.557) 0:00:58.716 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "checksum": "e25dff1f7ee464fabbde746e6cf2ca10ab5675fe", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "a56753e9d08d42b7070c4a4c60411099", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 53, "src": "/root/.ansible/tmp/ansible-tmp-1651726796.79-239101-162916313868193/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Thursday 05 May 2022 04:59:57 +0000 (0:00:01.027) 0:00:59.744 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5PWtlcm5lbCBzZXR0aW5ncwo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Thursday 05 May 2022 04:59:58 +0000 (0:00:00.525) 0:01:00.269 ********** [WARNING]: Error: section [bootloader] item [somevalue] value [True] must not be a boolean - try quoting the value fatal: [/cache/fedora-34.qcow2]: FAILED! => { "changed": false, "message": "" } MSG: Invalid format for input parameters TASK [check for bootloader cmdline bool value error] *************************** task path: /tmp/tmp5r4_7pxt/tests/tests_bool_not_allowed.yml:20 Thursday 05 May 2022 04:59:58 +0000 (0:00:00.640) 0:01:00.909 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false } MSG: All assertions passed TASK [try to pass a boolean value for sysctl value] **************************** task path: /tmp/tmp5r4_7pxt/tests/tests_bool_not_allowed.yml:26 Thursday 05 May 2022 04:59:58 +0000 (0:00:00.044) 0:01:00.954 ********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Thursday 05 May 2022 04:59:58 +0000 (0:00:00.034) 0:01:00.988 ********** included: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Thursday 05 May 2022 04:59:59 +0000 (0:00:00.025) 0:01:01.014 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Thursday 05 May 2022 04:59:59 +0000 (0:00:00.514) 0:01:01.529 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp5r4_7pxt/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/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Thursday 05 May 2022 04:59:59 +0000 (0:00:00.051) 0:01:01.580 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Thursday 05 May 2022 05:00:01 +0000 (0:00:02.263) 0:01:03.843 ********** ok: [/cache/fedora-34.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-05-05 04:59:55 UTC", "ActiveEnterTimestampMonotonic": "66159553", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target network.target systemd-sysctl.service dbus-broker.service dbus.socket system.slice basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-05-05 04:59:55 UTC", "AssertTimestampMonotonic": "65875388", "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": "313278000", "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": "Thu 2022-05-05 04:59:55 UTC", "ConditionTimestampMonotonic": "65875386", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target auto-cpufreq.service cpupower.service tlp.service power-profiles-daemon.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": "4766", "ExecMainStartTimestamp": "Thu 2022-05-05 04:59:55 UTC", "ExecMainStartTimestampMonotonic": "65876957", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Thu 2022-05-05 04:59:55 UTC] ; stop_time=[n/a] ; pid=4766 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Thu 2022-05-05 04:59:55 UTC] ; stop_time=[n/a] ; pid=4766 ; 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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-05-05 04:59:55 UTC", "InactiveExitTimestampMonotonic": "65877462", "InvocationID": "450e002bdc404fcb9ce5097e5dda5dbf", "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": "7758", "LimitNPROCSoft": "7758", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7758", "LimitSIGPENDINGSoft": "7758", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "4766", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "13733888", "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", "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 system.slice dbus-broker.service dbus.socket polkit.service", "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": "Thu 2022-05-05 04:59:55 UTC", "StateChangeTimestampMonotonic": "66159553", "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": "2327", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Thursday 05 May 2022 05:00:02 +0000 (0:00:00.561) 0:01:04.405 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Thursday 05 May 2022 05:00:02 +0000 (0:00:00.421) 0:01:04.826 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-238913vR6QMM/tmpynkbmH/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Thursday 05 May 2022 05:00:03 +0000 (0:00:00.438) 0:01:05.265 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5PWtlcm5lbCBzZXR0aW5ncwo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Thursday 05 May 2022 05:00:03 +0000 (0:00:00.390) 0:01:05.655 ********** [WARNING]: Error: section [sysctl] item [somevalue] value [True] must not be a boolean - try quoting the value fatal: [/cache/fedora-34.qcow2]: FAILED! => { "changed": false, "message": "" } MSG: Invalid format for input parameters TASK [check for sysctl bool value error] *************************************** task path: /tmp/tmp5r4_7pxt/tests/tests_bool_not_allowed.yml:39 Thursday 05 May 2022 05:00:04 +0000 (0:00:00.500) 0:01:06.155 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2 : ok=19 changed=4 unreachable=0 failed=0 skipped=0 rescued=2 ignored=0 Thursday 05 May 2022 05:00:04 +0000 (0:00:00.042) 0:01:06.198 ********** =============================================================================== linux-system-roles.kernel_settings : Ensure required packages are installed -- 54.93s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Ensure required packages are installed --- 2.26s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 1.38s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp5r4_7pxt/tests/tests_bool_not_allowed.yml:2 --------------------------- linux-system-roles.kernel_settings : Generate a configuration for kernel settings --- 1.03s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.64s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 0.56s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.56s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 linux-system-roles.kernel_settings : Get current config ----------------- 0.53s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.52s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.52s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.50s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 linux-system-roles.kernel_settings : Generate a configuration for kernel settings --- 0.44s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.42s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 linux-system-roles.kernel_settings : Get current config ----------------- 0.39s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 try to pass a boolean value for bootloader cmdline ---------------------- 0.17s /tmp/tmp5r4_7pxt/tests/tests_bool_not_allowed.yml:7 --------------------------- linux-system-roles.kernel_settings : Set platform/version specific variables --- 0.06s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 linux-system-roles.kernel_settings : Set platform/version specific variables --- 0.05s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 check for bootloader cmdline bool value error --------------------------- 0.04s /tmp/tmp5r4_7pxt/tests/tests_bool_not_allowed.yml:20 -------------------------- check for sysctl bool value error --------------------------------------- 0.04s /tmp/tmp5r4_7pxt/tests/tests_bool_not_allowed.yml:39 -------------------------- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_change_settings.yml ******************************************** 1 plays in /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:1 Thursday 05 May 2022 05:00:16 +0000 (0:00:00.024) 0:00:00.024 ********** [DEPRECATION WARNING]: Distribution fedora 34 on host /cache/fedora-34.qcow2 should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/fedora-34.qcow2] META: ran handlers TASK [Ensure required packages are installed] ********************************** task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:6 Thursday 05 May 2022 05:00:17 +0000 (0:00:01.047) 0:00:01.072 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: kernel-tools-5.17.4-100.fc34.x86_64", "Installed: hdparm-9.60-1.fc34.x86_64", "Installed: pciutils-libs-3.7.0-3.fc34.x86_64", "Installed: kernel-tools-libs-5.17.4-100.fc34.x86_64", "Installed: polkit-libs-0.117-3.fc34.3.x86_64", "Installed: tuned-2.18.0-3.20220317gite1045f2d.fc34.noarch", "Installed: dmidecode-1:3.2-9.fc34.x86_64", "Installed: gobject-introspection-1.68.0-4.fc34.x86_64", "Installed: python3-pyudev-0.22.0-4.fc34.noarch", "Installed: python3-linux-procfs-0.6.3-1.fc34.noarch", "Installed: polkit-pkla-compat-0.1-19.fc34.x86_64", "Installed: ethtool-2:5.17-1.fc34.x86_64", "Installed: numactl-libs-2.0.14-3.fc34.x86_64", "Installed: virt-what-1.21-1.fc34.x86_64", "Installed: mozjs78-78.15.0-1.fc34.x86_64", "Installed: python3-gobject-base-3.40.1-1.fc34.x86_64", "Installed: polkit-0.117-3.fc34.3.x86_64", "Installed: python3-perf-5.17.4-100.fc34.x86_64" ] } TASK [Ensure kernel settings profile directory exists] ************************* task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:11 Thursday 05 May 2022 05:01:31 +0000 (0:01:13.971) 0:01:15.043 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Generate a configuration for kernel settings] **************************** task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:17 Thursday 05 May 2022 05:01:32 +0000 (0:00:00.526) 0:01:15.570 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "checksum": "13fdc203370e2b8e7e42c13d94b671b1ac621563", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "d5df32baf1a63528844555117ead6672", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 381, "src": "/root/.ansible/tmp/ansible-tmp-1651726892.08-239494-56618247113761/source", "state": "file", "uid": 0 } TASK [Ensure required services are enabled and started] ************************ task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:23 Thursday 05 May 2022 05:01:32 +0000 (0:00:00.943) 0:01:16.513 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket network.target systemd-sysctl.service system.slice dbus-broker.service dbus.socket sysinit.target basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "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": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service shutdown.target power-profiles-daemon.service auto-cpufreq.service cpupower.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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "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": "7758", "LimitNPROCSoft": "7758", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7758", "LimitSIGPENDINGSoft": "7758", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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", "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", "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2327", "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": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [apply kernel_settings] *************************************************** task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:29 Thursday 05 May 2022 05:01:34 +0000 (0:00:01.203) 0:01:17.717 ********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Thursday 05 May 2022 05:01:34 +0000 (0:00:00.188) 0:01:17.906 ********** included: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Thursday 05 May 2022 05:01:34 +0000 (0:00:00.027) 0:01:17.933 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Thursday 05 May 2022 05:01:34 +0000 (0:00:00.524) 0:01:18.458 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp5r4_7pxt/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/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Thursday 05 May 2022 05:01:34 +0000 (0:00:00.054) 0:01:18.512 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Thursday 05 May 2022 05:01:37 +0000 (0:00:02.052) 0:01:20.565 ********** ok: [/cache/fedora-34.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-05-05 05:01:33 UTC", "ActiveEnterTimestampMonotonic": "85959196", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target basic.target system.slice systemd-sysctl.service systemd-journald.socket dbus.socket dbus-broker.service network.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-05-05 05:01:33 UTC", "AssertTimestampMonotonic": "85712074", "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": "287970000", "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": "Thu 2022-05-05 05:01:33 UTC", "ConditionTimestampMonotonic": "85712073", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service shutdown.target cpupower.service auto-cpufreq.service tlp.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": "7835", "ExecMainStartTimestamp": "Thu 2022-05-05 05:01:33 UTC", "ExecMainStartTimestampMonotonic": "85713125", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Thu 2022-05-05 05:01:33 UTC] ; stop_time=[n/a] ; pid=7835 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Thu 2022-05-05 05:01:33 UTC] ; stop_time=[n/a] ; pid=7835 ; 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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-05-05 05:01:33 UTC", "InactiveExitTimestampMonotonic": "85713405", "InvocationID": "e13795cba5464e668a026cc04ccfcd60", "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": "7758", "LimitNPROCSoft": "7758", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7758", "LimitSIGPENDINGSoft": "7758", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7835", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "13750272", "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", "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 dbus.socket system.slice 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", "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": "Thu 2022-05-05 05:01:33 UTC", "StateChangeTimestampMonotonic": "85959196", "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": "2327", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Thursday 05 May 2022 05:01:37 +0000 (0:00:00.546) 0:01:21.112 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Thursday 05 May 2022 05:01:37 +0000 (0:00:00.408) 0:01:21.521 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-239284QtOgkb/tmpUK7Wdn/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Thursday 05 May 2022 05:01:38 +0000 (0:00:00.424) 0:01:21.946 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "content": "IyB0dW5lZCBjb25maWd1cmF0aW9uCiMKClttYWluXQpzdW1tYXJ5PWtlcm5lbCBzZXR0aW5ncwoKW3N5c2N0bF0KZnMuZXBvbGwubWF4X3VzZXJfd2F0Y2hlcz03ODU1OTIKZnMuZmlsZS1tYXg9Mzc5NzI0Cmtlcm5lbC50aHJlYWRzLW1heD0yOTk2OAp2bS5tYXhfbWFwX2NvdW50PTY1NTMwCgpbc3lzZnNdCi9zeXMvZnMvc2VsaW51eC9hdmMvY2FjaGVfdGhyZXNob2xkPTI1NgojIHNwZWN0cmUvbWVsdGRvd24gLSB0dXJuIG9mZiBmaXggZm9yIHBlcmZvcm1hbmNlIGJvb3N0Ci9zeXMva2VybmVsL2RlYnVnL3g4Ni9wdGlfZW5hYmxlZD0wCi9zeXMva2VybmVsL2RlYnVnL3g4Ni9yZXRwX2VuYWJsZWQ9MAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkPTAK", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Thursday 05 May 2022 05:01:38 +0000 (0:00:00.466) 0:01:22.412 ********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/fedora-34.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/fedora-34.qcow2 changed: [/cache/fedora-34.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400000", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [linux-system-roles.kernel_settings : tuned apply settings] *************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Thursday 05 May 2022 05:01:39 +0000 (0:00:00.703) 0:01:23.116 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.118860", "end": "2022-05-05 05:01:40.735732", "rc": 0, "start": "2022-05-05 05:01:39.616872" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Thursday 05 May 2022 05:01:41 +0000 (0:00:01.596) 0:01:24.713 ********** included: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Thursday 05 May 2022 05:01:41 +0000 (0:00:00.051) 0:01:24.765 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.098336", "end": "2022-05-05 05:01:41.240659", "rc": 0, "start": "2022-05-05 05:01:41.142323" } 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/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Thursday 05 May 2022 05:01:41 +0000 (0:00:00.457) 0:01:25.222 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Thursday 05 May 2022 05:01:41 +0000 (0:00:00.039) 0:01:25.262 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Thursday 05 May 2022 05:01:41 +0000 (0:00:00.039) 0:01:25.301 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Thursday 05 May 2022 05:01:41 +0000 (0:00:00.039) 0:01:25.340 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:42 Thursday 05 May 2022 05:01:41 +0000 (0:00:00.039) 0:01:25.379 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:01.004537", "end": "2022-05-05 05:01:42.770956", "rc": 0, "start": "2022-05-05 05:01:41.766419" } STDOUT: 65000 TASK [check sysctl after role runs] ******************************************** task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:46 Thursday 05 May 2022 05:01:43 +0000 (0:00:01.368) 0:01:26.748 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.005606", "end": "2022-05-05 05:01:43.146304", "rc": 0, "start": "2022-05-05 05:01:43.140698" } STDOUT: 400000 TASK [check sysctl after role runs] ******************************************** task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:52 Thursday 05 May 2022 05:01:43 +0000 (0:00:00.370) 0:01:27.119 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005054", "end": "2022-05-05 05:01:43.497873", "rc": 0, "start": "2022-05-05 05:01:43.492819" } TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:58 Thursday 05 May 2022 05:01:43 +0000 (0:00:00.351) 0:01:27.470 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "elapsed": 9, "rebooted": true } TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:62 Thursday 05 May 2022 05:01:54 +0000 (0:00:10.290) 0:01:37.761 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.005580", "end": "2022-05-05 05:01:53.770601", "rc": 0, "start": "2022-05-05 05:01:53.765021" } STDOUT: 400000 TASK [check sysfs after reboot] ************************************************ task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:68 Thursday 05 May 2022 05:01:54 +0000 (0:00:00.372) 0:01:38.133 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003142", "end": "2022-05-05 05:01:54.132122", "rc": 0, "start": "2022-05-05 05:01:54.128980" } STDOUT: 65000 TASK [show cmdline] ************************************************************ task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:72 Thursday 05 May 2022 05:01:54 +0000 (0:00:00.361) 0:01:38.495 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": [ "cat", "/proc/cmdline" ], "delta": "0:00:00.003256", "end": "2022-05-05 05:01:54.500627", "rc": 0, "start": "2022-05-05 05:01:54.497371" } STDOUT: BOOT_IMAGE=(hd0,msdos1)/boot/vmlinuz-5.17.4-100.fc34.x86_64 root=UUID=e0ec28ad-aa06-463a-93f2-6106e8f2d295 ro no_timer_check net.ifnames=0 console=tty1 console=ttyS0,115200n8 TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:76 Thursday 05 May 2022 05:01:55 +0000 (0:00:00.370) 0:01:38.866 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.006067", "end": "2022-05-05 05:01:54.891790", "rc": 0, "start": "2022-05-05 05:01:54.885723" } TASK [check with tuned verify] ************************************************* task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:82 Thursday 05 May 2022 05:01:55 +0000 (0:00:00.389) 0:01:39.256 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.099637", "end": "2022-05-05 05:01:55.354482", "rc": 0, "start": "2022-05-05 05:01:55.254845" } STDOUT: Verfication succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [apply role again and remove settings] ************************************ task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:86 Thursday 05 May 2022 05:01:56 +0000 (0:00:00.463) 0:01:39.719 ********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Thursday 05 May 2022 05:01:56 +0000 (0:00:00.050) 0:01:39.770 ********** included: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Thursday 05 May 2022 05:01:56 +0000 (0:00:00.026) 0:01:39.797 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Thursday 05 May 2022 05:01:56 +0000 (0:00:00.546) 0:01:40.344 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp5r4_7pxt/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/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Thursday 05 May 2022 05:01:56 +0000 (0:00:00.058) 0:01:40.402 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Thursday 05 May 2022 05:01:59 +0000 (0:00:02.257) 0:01:42.660 ********** ok: [/cache/fedora-34.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-05-05 05:01:51 UTC", "ActiveEnterTimestampMonotonic": "4254381", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus-broker.service systemd-journald.socket basic.target sysinit.target dbus.socket system.slice systemd-sysctl.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-05-05 05:01:50 UTC", "AssertTimestampMonotonic": "4049346", "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": "151799000", "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": "Thu 2022-05-05 05:01:50 UTC", "ConditionTimestampMonotonic": "4049341", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service cpupower.service shutdown.target power-profiles-daemon.service tlp.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": "622", "ExecMainStartTimestamp": "Thu 2022-05-05 05:01:50 UTC", "ExecMainStartTimestampMonotonic": "4050853", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Thu 2022-05-05 05:01:50 UTC] ; stop_time=[n/a] ; pid=622 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Thu 2022-05-05 05:01:50 UTC] ; stop_time=[n/a] ; pid=622 ; 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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-05-05 05:01:50 UTC", "InactiveExitTimestampMonotonic": "4051054", "InvocationID": "bb9c08a345c341de830ec85e0853a944", "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": "7758", "LimitNPROCSoft": "7758", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7758", "LimitSIGPENDINGSoft": "7758", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "622", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "17543168", "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", "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": "polkit.service sysinit.target dbus.socket system.slice 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", "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": "Thu 2022-05-05 05:01:51 UTC", "StateChangeTimestampMonotonic": "4254381", "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": "2327", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Thursday 05 May 2022 05:01:59 +0000 (0:00:00.540) 0:01:43.201 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Thursday 05 May 2022 05:02:00 +0000 (0:00:00.386) 0:01:43.587 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-239284QtOgkb/tmp36WvVo/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Thursday 05 May 2022 05:02:00 +0000 (0:00:00.411) 0:01:43.998 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKZnMuZmlsZS1tYXggPSA0MDAwMDAKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2NTAwMAo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Thursday 05 May 2022 05:02:00 +0000 (0:00:00.393) 0:01:44.392 ********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/fedora-34.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/fedora-34.qcow2 changed: [/cache/fedora-34.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [linux-system-roles.kernel_settings : tuned apply settings] *************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Thursday 05 May 2022 05:02:01 +0000 (0:00:00.491) 0:01:44.884 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.122616", "end": "2022-05-05 05:02:02.041852", "rc": 0, "start": "2022-05-05 05:02:00.919236" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Thursday 05 May 2022 05:02:02 +0000 (0:00:01.527) 0:01:46.411 ********** included: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Thursday 05 May 2022 05:02:02 +0000 (0:00:00.049) 0:01:46.461 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.097543", "end": "2022-05-05 05:02:02.539034", "rc": 0, "start": "2022-05-05 05:02:02.441491" } 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/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Thursday 05 May 2022 05:02:03 +0000 (0:00:00.444) 0:01:46.905 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Thursday 05 May 2022 05:02:03 +0000 (0:00:00.039) 0:01:46.945 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Thursday 05 May 2022 05:02:03 +0000 (0:00:00.040) 0:01:46.985 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Thursday 05 May 2022 05:02:03 +0000 (0:00:00.040) 0:01:47.025 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:96 Thursday 05 May 2022 05:02:03 +0000 (0:00:00.045) 0:01:47.071 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "elapsed": 9, "rebooted": true } TASK [check sysctl after reboot] *********************************************** task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:100 Thursday 05 May 2022 05:02:14 +0000 (0:00:10.802) 0:01:57.873 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lxvq 400000", "delta": "0:00:00.005052", "end": "2022-05-05 05:02:13.456656", "rc": 0, "start": "2022-05-05 05:02:13.451604" } TASK [apply kernel_settings for removing] ************************************** task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:106 Thursday 05 May 2022 05:02:14 +0000 (0:00:00.385) 0:01:58.259 ********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Thursday 05 May 2022 05:02:14 +0000 (0:00:00.055) 0:01:58.314 ********** included: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Thursday 05 May 2022 05:02:14 +0000 (0:00:00.028) 0:01:58.343 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Thursday 05 May 2022 05:02:15 +0000 (0:00:00.551) 0:01:58.894 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp5r4_7pxt/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/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Thursday 05 May 2022 05:02:15 +0000 (0:00:00.055) 0:01:58.949 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Thursday 05 May 2022 05:02:17 +0000 (0:00:02.298) 0:02:01.247 ********** ok: [/cache/fedora-34.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-05-05 05:02:09 UTC", "ActiveEnterTimestampMonotonic": "4208945", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket dbus.socket basic.target systemd-sysctl.service system.slice sysinit.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-05-05 05:02:09 UTC", "AssertTimestampMonotonic": "4015254", "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": "137066000", "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": "Thu 2022-05-05 05:02:09 UTC", "ConditionTimestampMonotonic": "4015252", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service shutdown.target tlp.service cpupower.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", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "623", "ExecMainStartTimestamp": "Thu 2022-05-05 05:02:09 UTC", "ExecMainStartTimestampMonotonic": "4016198", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Thu 2022-05-05 05:02:09 UTC] ; stop_time=[n/a] ; pid=623 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Thu 2022-05-05 05:02:09 UTC] ; stop_time=[n/a] ; pid=623 ; 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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-05-05 05:02:09 UTC", "InactiveExitTimestampMonotonic": "4016403", "InvocationID": "20d94637dac044cebb105ec844c9e2c2", "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": "7758", "LimitNPROCSoft": "7758", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7758", "LimitSIGPENDINGSoft": "7758", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "623", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "17510400", "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", "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 system.slice dbus-broker.service polkit.service dbus.socket", "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": "Thu 2022-05-05 05:02:09 UTC", "StateChangeTimestampMonotonic": "4208945", "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": "2327", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Thursday 05 May 2022 05:02:18 +0000 (0:00:00.537) 0:02:01.784 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Thursday 05 May 2022 05:02:18 +0000 (0:00:00.413) 0:02:02.197 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-239284QtOgkb/tmpK2XRy8/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Thursday 05 May 2022 05:02:19 +0000 (0:00:00.413) 0:02:02.611 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2NTAwMAo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Thursday 05 May 2022 05:02:19 +0000 (0:00:00.368) 0:02:02.980 ********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/fedora-34.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/fedora-34.qcow2 changed: [/cache/fedora-34.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400001", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "60666", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [linux-system-roles.kernel_settings : tuned apply settings] *************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Thursday 05 May 2022 05:02:19 +0000 (0:00:00.493) 0:02:03.473 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.114845", "end": "2022-05-05 05:02:20.172164", "rc": 0, "start": "2022-05-05 05:02:19.057319" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Thursday 05 May 2022 05:02:21 +0000 (0:00:01.509) 0:02:04.982 ********** included: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Thursday 05 May 2022 05:02:21 +0000 (0:00:00.059) 0:02:05.042 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.104177", "end": "2022-05-05 05:02:20.721124", "rc": 0, "start": "2022-05-05 05:02:20.616947" } 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/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Thursday 05 May 2022 05:02:21 +0000 (0:00:00.482) 0:02:05.525 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Thursday 05 May 2022 05:02:22 +0000 (0:00:00.041) 0:02:05.567 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Thursday 05 May 2022 05:02:22 +0000 (0:00:00.042) 0:02:05.609 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Thursday 05 May 2022 05:02:22 +0000 (0:00:00.040) 0:02:05.649 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check sysctl] ************************************************************ task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:117 Thursday 05 May 2022 05:02:22 +0000 (0:00:00.041) 0:02:05.690 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -qx 400001", "delta": "0:00:00.004911", "end": "2022-05-05 05:02:21.250709", "rc": 0, "start": "2022-05-05 05:02:21.245798" } TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:123 Thursday 05 May 2022 05:02:22 +0000 (0:00:00.361) 0:02:06.051 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": [ "grep", "-x", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:01.005477", "end": "2022-05-05 05:02:22.618363", "rc": 0, "start": "2022-05-05 05:02:21.612886" } STDOUT: 60666 TASK [apply kernel_settings for removing section] ****************************** task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:127 Thursday 05 May 2022 05:02:23 +0000 (0:00:01.373) 0:02:07.425 ********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Thursday 05 May 2022 05:02:23 +0000 (0:00:00.059) 0:02:07.484 ********** included: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Thursday 05 May 2022 05:02:23 +0000 (0:00:00.024) 0:02:07.508 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Thursday 05 May 2022 05:02:24 +0000 (0:00:00.507) 0:02:08.016 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp5r4_7pxt/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/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Thursday 05 May 2022 05:02:24 +0000 (0:00:00.057) 0:02:08.073 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Thursday 05 May 2022 05:02:26 +0000 (0:00:02.015) 0:02:10.089 ********** ok: [/cache/fedora-34.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-05-05 05:02:09 UTC", "ActiveEnterTimestampMonotonic": "4208945", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket dbus.socket basic.target systemd-sysctl.service system.slice sysinit.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-05-05 05:02:09 UTC", "AssertTimestampMonotonic": "4015254", "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": "170888000", "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": "Thu 2022-05-05 05:02:09 UTC", "ConditionTimestampMonotonic": "4015252", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service shutdown.target tlp.service cpupower.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", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "623", "ExecMainStartTimestamp": "Thu 2022-05-05 05:02:09 UTC", "ExecMainStartTimestampMonotonic": "4016198", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Thu 2022-05-05 05:02:09 UTC] ; stop_time=[n/a] ; pid=623 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Thu 2022-05-05 05:02:09 UTC] ; stop_time=[n/a] ; pid=623 ; 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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-05-05 05:02:09 UTC", "InactiveExitTimestampMonotonic": "4016403", "InvocationID": "20d94637dac044cebb105ec844c9e2c2", "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": "7758", "LimitNPROCSoft": "7758", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7758", "LimitSIGPENDINGSoft": "7758", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "623", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "17666048", "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", "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 system.slice dbus-broker.service polkit.service dbus.socket", "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": "Thu 2022-05-05 05:02:09 UTC", "StateChangeTimestampMonotonic": "4208945", "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": "2327", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Thursday 05 May 2022 05:02:27 +0000 (0:00:00.554) 0:02:10.643 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Thursday 05 May 2022 05:02:27 +0000 (0:00:00.372) 0:02:11.015 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-239284QtOgkb/tmp54Bx_B/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Thursday 05 May 2022 05:02:27 +0000 (0:00:00.436) 0:02:11.452 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCmZzLmZpbGUtbWF4ID0gNDAwMDAxCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2MDY2Ngo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Thursday 05 May 2022 05:02:28 +0000 (0:00:00.396) 0:02:11.848 ********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/fedora-34.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/fedora-34.qcow2 changed: [/cache/fedora-34.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": {}, "reboot_required": false } MSG: Kernel settings were updated. TASK [linux-system-roles.kernel_settings : tuned apply settings] *************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Thursday 05 May 2022 05:02:28 +0000 (0:00:00.495) 0:02:12.344 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.138172", "end": "2022-05-05 05:02:29.069287", "rc": 0, "start": "2022-05-05 05:02:27.931115" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Thursday 05 May 2022 05:02:30 +0000 (0:00:01.530) 0:02:13.875 ********** included: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Thursday 05 May 2022 05:02:30 +0000 (0:00:00.051) 0:02:13.927 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.100261", "end": "2022-05-05 05:02:29.595619", "rc": 0, "start": "2022-05-05 05:02:29.495358" } 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/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Thursday 05 May 2022 05:02:30 +0000 (0:00:00.474) 0:02:14.401 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Thursday 05 May 2022 05:02:30 +0000 (0:00:00.038) 0:02:14.440 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Thursday 05 May 2022 05:02:30 +0000 (0:00:00.037) 0:02:14.477 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Thursday 05 May 2022 05:02:30 +0000 (0:00:00.038) 0:02:14.516 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check sysctl] ************************************************************ task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:136 Thursday 05 May 2022 05:02:31 +0000 (0:00:00.042) 0:02:14.558 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lvxq 400001", "delta": "0:00:00.004686", "end": "2022-05-05 05:02:30.104353", "rc": 0, "start": "2022-05-05 05:02:30.099667" } TASK [check sysfs after role runs] ********************************************* task path: /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:142 Thursday 05 May 2022 05:02:31 +0000 (0:00:00.345) 0:02:14.903 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": [ "grep", "-Lxqv", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003119", "end": "2022-05-05 05:02:30.457127", "rc": 0, "start": "2022-05-05 05:02:30.454008" } RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Thursday 05 May 2022 05:02:31 +0000 (0:00:00.350) 0:02:15.254 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Thursday 05 May 2022 05:02:31 +0000 (0:00:00.040) 0:02:15.294 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Thursday 05 May 2022 05:02:31 +0000 (0:00:00.040) 0:02:15.334 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Thursday 05 May 2022 05:02:31 +0000 (0:00:00.037) 0:02:15.371 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Thursday 05 May 2022 05:02:31 +0000 (0:00:00.036) 0:02:15.408 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Thursday 05 May 2022 05:02:31 +0000 (0:00:00.037) 0:02:15.445 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Thursday 05 May 2022 05:02:31 +0000 (0:00:00.037) 0:02:15.482 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Thursday 05 May 2022 05:02:31 +0000 (0:00:00.034) 0:02:15.517 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2 : ok=68 changed=14 unreachable=0 failed=0 skipped=24 rescued=0 ignored=0 Thursday 05 May 2022 05:02:32 +0000 (0:00:00.036) 0:02:15.554 ********** =============================================================================== Ensure required packages are installed --------------------------------- 73.97s /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:6 ---------------------------- reboot the machine - see if settings persist after reboot -------------- 10.80s /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:96 --------------------------- reboot the machine - see if settings persist after reboot -------------- 10.29s /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:58 --------------------------- linux-system-roles.kernel_settings : Ensure required packages are installed --- 2.30s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Ensure required packages are installed --- 2.26s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Ensure required packages are installed --- 2.05s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Ensure required packages are installed --- 2.02s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : tuned apply settings --------------- 1.60s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : tuned apply settings --------------- 1.53s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : tuned apply settings --------------- 1.53s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : tuned apply settings --------------- 1.51s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 check sysfs after role runs --------------------------------------------- 1.37s /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:123 -------------------------- check sysfs after role runs --------------------------------------------- 1.37s /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:42 --------------------------- Ensure required services are enabled and started ------------------------ 1.20s /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:23 --------------------------- Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:1 ---------------------------- Generate a configuration for kernel settings ---------------------------- 0.94s /tmp/tmp5r4_7pxt/tests/tests_change_settings.yml:17 --------------------------- linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.70s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 0.55s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.55s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.55s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmp5r4_7pxt/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Thursday 05 May 2022 05:02:44 +0000 (0:00:00.026) 0:00:00.026 ********** included: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Thursday 05 May 2022 05:02:44 +0000 (0:00:00.017) 0:00:00.043 ********** [DEPRECATION WARNING]: Distribution fedora 34 on host /cache/fedora-34.qcow2 should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Thursday 05 May 2022 05:02:45 +0000 (0:00:00.813) 0:00:00.856 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp5r4_7pxt/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/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Thursday 05 May 2022 05:02:45 +0000 (0:00:00.045) 0:00:00.902 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: kernel-tools-5.17.4-100.fc34.x86_64", "Installed: hdparm-9.60-1.fc34.x86_64", "Installed: pciutils-libs-3.7.0-3.fc34.x86_64", "Installed: kernel-tools-libs-5.17.4-100.fc34.x86_64", "Installed: polkit-libs-0.117-3.fc34.3.x86_64", "Installed: tuned-2.18.0-3.20220317gite1045f2d.fc34.noarch", "Installed: dmidecode-1:3.2-9.fc34.x86_64", "Installed: gobject-introspection-1.68.0-4.fc34.x86_64", "Installed: python3-pyudev-0.22.0-4.fc34.noarch", "Installed: python3-linux-procfs-0.6.3-1.fc34.noarch", "Installed: polkit-pkla-compat-0.1-19.fc34.x86_64", "Installed: ethtool-2:5.17-1.fc34.x86_64", "Installed: numactl-libs-2.0.14-3.fc34.x86_64", "Installed: virt-what-1.21-1.fc34.x86_64", "Installed: mozjs78-78.15.0-1.fc34.x86_64", "Installed: python3-gobject-base-3.40.1-1.fc34.x86_64", "Installed: polkit-0.117-3.fc34.3.x86_64", "Installed: python3-perf-5.17.4-100.fc34.x86_64" ] } TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Thursday 05 May 2022 05:04:29 +0000 (0:01:44.299) 0:01:45.201 ********** changed: [/cache/fedora-34.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus-broker.service dbus.socket system.slice basic.target network.target systemd-journald.socket systemd-sysctl.service sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "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": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service shutdown.target power-profiles-daemon.service auto-cpufreq.service cpupower.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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "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": "7758", "LimitNPROCSoft": "7758", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7758", "LimitSIGPENDINGSoft": "7758", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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", "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 dbus.socket system.slice 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", "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2327", "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": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Thursday 05 May 2022 05:04:30 +0000 (0:00:01.254) 0:01:46.456 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Thursday 05 May 2022 05:04:31 +0000 (0:00:00.508) 0:01:46.965 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "checksum": "e25dff1f7ee464fabbde746e6cf2ca10ab5675fe", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "a56753e9d08d42b7070c4a4c60411099", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 53, "src": "/root/.ansible/tmp/ansible-tmp-1651727071.32-240703-177844786730404/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Thursday 05 May 2022 05:04:32 +0000 (0:00:00.950) 0:01:47.915 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5PWtlcm5lbCBzZXR0aW5ncwo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Thursday 05 May 2022 05:04:32 +0000 (0:00:00.494) 0:01:48.409 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : tuned apply settings] *************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Thursday 05 May 2022 05:04:32 +0000 (0:00:00.055) 0:01:48.465 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Thursday 05 May 2022 05:04:32 +0000 (0:00:00.035) 0:01:48.500 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Thursday 05 May 2022 05:04:32 +0000 (0:00:00.036) 0:01:48.537 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Thursday 05 May 2022 05:04:32 +0000 (0:00:00.036) 0:01:48.573 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2 : ok=8 changed=4 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Thursday 05 May 2022 05:04:32 +0000 (0:00:00.034) 0:01:48.608 ********** =============================================================================== linux-system-roles.kernel_settings : Ensure required packages are installed - 104.30s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 1.25s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 linux-system-roles.kernel_settings : Generate a configuration for kernel settings --- 0.95s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.81s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.51s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 linux-system-roles.kernel_settings : Get current config ----------------- 0.49s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.06s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 linux-system-roles.kernel_settings : Set platform/version specific variables --- 0.05s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes --- 0.04s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 linux-system-roles.kernel_settings : verify settings -------------------- 0.04s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 linux-system-roles.kernel_settings : tuned apply settings --------------- 0.04s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes --- 0.03s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 linux-system-roles.kernel_settings : Set version specific variables ----- 0.02s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /tmp/tmp5r4_7pxt/tests/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5r4_7pxt/tests/tests_include_vars_from_parent.yml:1 Thursday 05 May 2022 05:04:44 +0000 (0:00:00.022) 0:00:00.022 ********** [DEPRECATION WARNING]: Distribution fedora 34 on host /cache/fedora-34.qcow2 should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/fedora-34.qcow2] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmp5r4_7pxt/tests/tests_include_vars_from_parent.yml:3 Thursday 05 May 2022 05:04:45 +0000 (0:00:01.086) 0:00:01.108 ********** changed: [/cache/fedora-34.qcow2 -> localhost] => (item=Fedora-34) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp5r4_7pxt/tests/roles/caller/vars/Fedora-34.yml", "gid": 0, "group": "root", "item": "Fedora-34", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1651727085.82-240853-176390908888512/source", "state": "file", "uid": 0 } changed: [/cache/fedora-34.qcow2 -> localhost] => (item=Fedora_34) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp5r4_7pxt/tests/roles/caller/vars/Fedora_34.yml", "gid": 0, "group": "root", "item": "Fedora_34", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1651727086.43-240853-85521148643884/source", "state": "file", "uid": 0 } changed: [/cache/fedora-34.qcow2 -> localhost] => (item=Fedora) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp5r4_7pxt/tests/roles/caller/vars/Fedora.yml", "gid": 0, "group": "root", "item": "Fedora", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1651727086.69-240853-11643084023897/source", "state": "file", "uid": 0 } changed: [/cache/fedora-34.qcow2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp5r4_7pxt/tests/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1651727086.95-240853-169932750531002/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmp5r4_7pxt/tests/roles/caller/tasks/main.yml:4 Thursday 05 May 2022 05:04:47 +0000 (0:00:01.424) 0:00:02.533 ********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Thursday 05 May 2022 05:04:47 +0000 (0:00:00.179) 0:00:02.712 ********** included: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Thursday 05 May 2022 05:04:47 +0000 (0:00:00.029) 0:00:02.742 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Thursday 05 May 2022 05:04:47 +0000 (0:00:00.503) 0:00:03.246 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp5r4_7pxt/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/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Thursday 05 May 2022 05:04:47 +0000 (0:00:00.036) 0:00:03.282 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: kernel-tools-5.17.4-100.fc34.x86_64", "Installed: hdparm-9.60-1.fc34.x86_64", "Installed: pciutils-libs-3.7.0-3.fc34.x86_64", "Installed: kernel-tools-libs-5.17.4-100.fc34.x86_64", "Installed: polkit-libs-0.117-3.fc34.3.x86_64", "Installed: tuned-2.18.0-3.20220317gite1045f2d.fc34.noarch", "Installed: dmidecode-1:3.2-9.fc34.x86_64", "Installed: gobject-introspection-1.68.0-4.fc34.x86_64", "Installed: python3-pyudev-0.22.0-4.fc34.noarch", "Installed: python3-linux-procfs-0.6.3-1.fc34.noarch", "Installed: polkit-pkla-compat-0.1-19.fc34.x86_64", "Installed: ethtool-2:5.17-1.fc34.x86_64", "Installed: numactl-libs-2.0.14-3.fc34.x86_64", "Installed: virt-what-1.21-1.fc34.x86_64", "Installed: mozjs78-78.15.0-1.fc34.x86_64", "Installed: python3-gobject-base-3.40.1-1.fc34.x86_64", "Installed: polkit-0.117-3.fc34.3.x86_64", "Installed: python3-perf-5.17.4-100.fc34.x86_64" ] } TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Thursday 05 May 2022 05:06:02 +0000 (0:01:14.293) 0:01:17.576 ********** changed: [/cache/fedora-34.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.socket system.slice basic.target systemd-sysctl.service systemd-journald.socket sysinit.target network.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "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": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service tlp.service power-profiles-daemon.service shutdown.target auto-cpufreq.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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "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": "7758", "LimitNPROCSoft": "7758", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7758", "LimitSIGPENDINGSoft": "7758", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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", "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": "polkit.service dbus-broker.service dbus.socket system.slice 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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2327", "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": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Thursday 05 May 2022 05:06:03 +0000 (0:00:01.240) 0:01:18.816 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Thursday 05 May 2022 05:06:03 +0000 (0:00:00.486) 0:01:19.303 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "checksum": "e25dff1f7ee464fabbde746e6cf2ca10ab5675fe", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "a56753e9d08d42b7070c4a4c60411099", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 53, "src": "/root/.ansible/tmp/ansible-tmp-1651727164.03-241103-238896011564163/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Thursday 05 May 2022 05:06:04 +0000 (0:00:00.657) 0:01:19.960 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5PWtlcm5lbCBzZXR0aW5ncwo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Thursday 05 May 2022 05:06:05 +0000 (0:00:00.461) 0:01:20.422 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : tuned apply settings] *************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Thursday 05 May 2022 05:06:05 +0000 (0:00:00.039) 0:01:20.461 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Thursday 05 May 2022 05:06:05 +0000 (0:00:00.019) 0:01:20.480 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Thursday 05 May 2022 05:06:05 +0000 (0:00:00.020) 0:01:20.501 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Thursday 05 May 2022 05:06:05 +0000 (0:00:00.018) 0:01:20.520 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [caller : assert] ********************************************************* task path: /tmp/tmp5r4_7pxt/tests/roles/caller/tasks/main.yml:7 Thursday 05 May 2022 05:06:05 +0000 (0:00:00.018) 0:01:20.538 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2 : ok=11 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Thursday 05 May 2022 05:06:05 +0000 (0:00:00.018) 0:01:20.556 ********** =============================================================================== linux-system-roles.kernel_settings : Ensure required packages are installed -- 74.29s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 create var file in caller that can override the one in called role ------ 1.42s /tmp/tmp5r4_7pxt/tests/tests_include_vars_from_parent.yml:3 ------------------- linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 1.24s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmp5r4_7pxt/tests/tests_include_vars_from_parent.yml:1 ------------------- linux-system-roles.kernel_settings : Generate a configuration for kernel settings --- 0.66s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.50s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.49s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 linux-system-roles.kernel_settings : Get current config ----------------- 0.46s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 include_role : {{ roletoinclude }} -------------------------------------- 0.18s /tmp/tmp5r4_7pxt/tests/roles/caller/tasks/main.yml:4 -------------------------- linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.04s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 linux-system-roles.kernel_settings : Set platform/version specific variables --- 0.04s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 linux-system-roles.kernel_settings : Set version specific variables ----- 0.03s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 linux-system-roles.kernel_settings : verify settings -------------------- 0.02s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 linux-system-roles.kernel_settings : tuned apply settings --------------- 0.02s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes --- 0.02s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes --- 0.02s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 caller : assert --------------------------------------------------------- 0.02s /tmp/tmp5r4_7pxt/tests/roles/caller/tasks/main.yml:7 -------------------------- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_simple_settings.yml ******************************************** 1 plays in /tmp/tmp5r4_7pxt/tests/tests_simple_settings.yml PLAY [test simple kernel settings] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5r4_7pxt/tests/tests_simple_settings.yml:2 Thursday 05 May 2022 05:06:17 +0000 (0:00:00.024) 0:00:00.024 ********** [DEPRECATION WARNING]: Distribution fedora 34 on host /cache/fedora-34.qcow2 should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/fedora-34.qcow2] META: ran handlers TASK [set platform independent vars used by this test] ************************* task path: /tmp/tmp5r4_7pxt/tests/tests_simple_settings.yml:7 Thursday 05 May 2022 05:06:18 +0000 (0:00:01.037) 0:00:01.062 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__kernel_settings_profile_file": "# File managed by Ansible - DO NOT EDIT\n[main]\nsummary = kernel settings\n[sysctl]\nfs.epoll.max_user_watches = 785592\nfs.file-max = 379724\n[vm]\ntransparent_hugepages = madvise\n[sysfs]\n/sys/kernel/debug/x86/ibrs_enabled = 0\n/sys/kernel/debug/x86/pti_enabled = 0\n/sys/kernel/debug/x86/retp_enabled = 0\n{% if __kernel_settings_blcmdline_value | d() %}\n[bootloader]\ncmdline = {{ __kernel_settings_blcmdline_value }}\n{% endif %}\n", "kernel_settings_sysctl": [ { "name": "fs.epoll.max_user_watches", "value": 785592 }, { "name": "fs.file-max", "value": 379724 }, { "name": "no.such.param", "state": "absent" } ], "kernel_settings_sysfs": [ { "name": "/sys/kernel/debug/x86/pti_enabled", "value": 0 }, { "name": "/sys/kernel/debug/x86/retp_enabled", "value": 0 }, { "name": "/sys/kernel/debug/x86/ibrs_enabled", "value": 0 }, { "name": "/sys/not/found", "state": "absent" } ], "kernel_settings_systemd_cpu_affinity": { "state": "absent" }, "kernel_settings_transparent_hugepages": "madvise", "kernel_settings_transparent_hugepages_defrag": { "state": "absent" } }, "ansible_included_var_files": [ "/tmp/tmp5r4_7pxt/tests/vars/vars_simple_settings.yml" ], "changed": false } TASK [disable bootloader cmdline testing on Fedora] **************************** task path: /tmp/tmp5r4_7pxt/tests/tests_simple_settings.yml:11 Thursday 05 May 2022 05:06:18 +0000 (0:00:00.019) 0:00:01.082 ********** ok: [/cache/fedora-34.qcow2] => { "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/tmp5r4_7pxt/tests/tests_simple_settings.yml:22 Thursday 05 May 2022 05:06:18 +0000 (0:00:00.041) 0:00:01.124 ********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Thursday 05 May 2022 05:06:18 +0000 (0:00:00.172) 0:00:01.296 ********** included: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Thursday 05 May 2022 05:06:18 +0000 (0:00:00.025) 0:00:01.322 ********** ok: [/cache/fedora-34.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Thursday 05 May 2022 05:06:18 +0000 (0:00:00.498) 0:00:01.821 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp5r4_7pxt/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/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Thursday 05 May 2022 05:06:18 +0000 (0:00:00.052) 0:00:01.873 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: kernel-tools-5.17.4-100.fc34.x86_64", "Installed: hdparm-9.60-1.fc34.x86_64", "Installed: pciutils-libs-3.7.0-3.fc34.x86_64", "Installed: kernel-tools-libs-5.17.4-100.fc34.x86_64", "Installed: polkit-libs-0.117-3.fc34.3.x86_64", "Installed: tuned-2.18.0-3.20220317gite1045f2d.fc34.noarch", "Installed: dmidecode-1:3.2-9.fc34.x86_64", "Installed: gobject-introspection-1.68.0-4.fc34.x86_64", "Installed: python3-pyudev-0.22.0-4.fc34.noarch", "Installed: python3-linux-procfs-0.6.3-1.fc34.noarch", "Installed: polkit-pkla-compat-0.1-19.fc34.x86_64", "Installed: ethtool-2:5.17-1.fc34.x86_64", "Installed: numactl-libs-2.0.14-3.fc34.x86_64", "Installed: virt-what-1.21-1.fc34.x86_64", "Installed: mozjs78-78.15.0-1.fc34.x86_64", "Installed: python3-gobject-base-3.40.1-1.fc34.x86_64", "Installed: polkit-0.117-3.fc34.3.x86_64", "Installed: python3-perf-5.17.4-100.fc34.x86_64" ] } TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Thursday 05 May 2022 05:07:10 +0000 (0:00:51.370) 0:00:53.244 ********** changed: [/cache/fedora-34.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target system.slice dbus-broker.service dbus.socket systemd-sysctl.service basic.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "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": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service tlp.service auto-cpufreq.service power-profiles-daemon.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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "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": "7758", "LimitNPROCSoft": "7758", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7758", "LimitSIGPENDINGSoft": "7758", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "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", "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 polkit.service sysinit.target dbus-broker.service 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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2327", "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": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Thursday 05 May 2022 05:07:11 +0000 (0:00:01.220) 0:00:54.464 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Thursday 05 May 2022 05:07:12 +0000 (0:00:00.545) 0:00:55.010 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "checksum": "e25dff1f7ee464fabbde746e6cf2ca10ab5675fe", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "a56753e9d08d42b7070c4a4c60411099", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 53, "src": "/root/.ansible/tmp/ansible-tmp-1651727232.16-241382-70637934679619/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Thursday 05 May 2022 05:07:13 +0000 (0:00:00.961) 0:00:55.972 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5PWtlcm5lbCBzZXR0aW5ncwo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Thursday 05 May 2022 05:07:13 +0000 (0:00:00.476) 0:00:56.449 ********** NOTIFIED HANDLER linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes for /cache/fedora-34.qcow2 NOTIFIED HANDLER linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag for /cache/fedora-34.qcow2 changed: [/cache/fedora-34.qcow2] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "379724" }, "sysfs": { "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" }, "vm": { "transparent_hugepages": "madvise" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [linux-system-roles.kernel_settings : tuned apply settings] *************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Thursday 05 May 2022 05:07:14 +0000 (0:00:00.708) 0:00:57.157 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.120234", "end": "2022-05-05 05:07:14.475552", "rc": 0, "start": "2022-05-05 05:07:13.355318" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Thursday 05 May 2022 05:07:15 +0000 (0:00:01.608) 0:00:58.766 ********** included: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for /cache/fedora-34.qcow2 TASK [linux-system-roles.kernel_settings : check that settings are applied correctly] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Thursday 05 May 2022 05:07:15 +0000 (0:00:00.051) 0:00:58.818 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.100665", "end": "2022-05-05 05:07:14.974089", "rc": 0, "start": "2022-05-05 05:07:14.873424" } 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/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Thursday 05 May 2022 05:07:16 +0000 (0:00:00.448) 0:00:59.266 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : report errors that are not bootloader errors] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:24 Thursday 05 May 2022 05:07:16 +0000 (0:00:00.041) 0:00:59.308 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Thursday 05 May 2022 05:07:16 +0000 (0:00:00.042) 0:00:59.350 ********** skipping: [/cache/fedora-34.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Thursday 05 May 2022 05:07:16 +0000 (0:00:00.036) 0:00:59.387 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify that settings were applied correctly] ***************************** task path: /tmp/tmp5r4_7pxt/tests/tests_simple_settings.yml:27 Thursday 05 May 2022 05:07:16 +0000 (0:00:00.036) 0:00:59.424 ********** included: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings.yml for /cache/fedora-34.qcow2 TASK [Set version specific variables] ****************************************** task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings.yml:2 Thursday 05 May 2022 05:07:16 +0000 (0:00:00.029) 0:00:59.453 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__kernel_settings_test_python_cmd": "python", "__kernel_settings_test_python_pkgs": [ "python", "python-configobj" ] }, "ansible_included_var_files": [ "/tmp/tmp5r4_7pxt/tests/vars/tests_default.yml" ], "changed": false } TASK [reset settings success flag] ********************************************* task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings.yml:13 Thursday 05 May 2022 05:07:16 +0000 (0:00:00.045) 0:00:59.499 ********** ok: [/cache/fedora-34.qcow2] => { "ansible_facts": { "__kernel_settings_success": true }, "changed": false } TASK [check tuned-adm verify] ************************************************** task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings.yml:17 Thursday 05 May 2022 05:07:16 +0000 (0:00:00.017) 0:00:59.516 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check for verify errors] ************************************************* task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings.yml:23 Thursday 05 May 2022 05:07:16 +0000 (0:00:00.014) 0:00:59.530 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check /proc/cmdline] ***************************************************** task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings.yml:29 Thursday 05 May 2022 05:07:16 +0000 (0:00:00.037) 0:00:59.567 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set error flag based on verify] ****************************************** task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings.yml:35 Thursday 05 May 2022 05:07:16 +0000 (0:00:00.036) 0:00:59.604 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings.yml:42 Thursday 05 May 2022 05:07:16 +0000 (0:00:00.036) 0:00:59.640 ********** included: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml for /cache/fedora-34.qcow2 TASK [create temporary file for expected config] ******************************* task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:2 Thursday 05 May 2022 05:07:16 +0000 (0:00:00.056) 0:00:59.696 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.emqcfnea.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/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:8 Thursday 05 May 2022 05:07:17 +0000 (0:00:00.464) 0:01:00.160 ********** changed: [/cache/fedora-34.qcow2] => { "changed": true, "checksum": "169e46a0442e2493edda7ef1d37dfc572d06525c", "dest": "/tmp/ansible.emqcfnea.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-1651727237.3-241516-55907065304273/source", "state": "file", "uid": 0 } TASK [ensure python command exists for tests below] **************************** task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:14 Thursday 05 May 2022 05:07:17 +0000 (0:00:00.674) 0:01:00.835 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [diff expected vs actual content] ***************************************** task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:19 Thursday 05 May 2022 05:07:19 +0000 (0:00:02.056) 0:01:02.891 ********** ok: [/cache/fedora-34.qcow2] => { "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.emqcfnea.kernel_settings /etc/tuned/kernel_settings/tuned.conf\n", "delta": "0:00:00.026979", "end": "2022-05-05 05:07:18.998901", "rc": 0, "start": "2022-05-05 05:07:18.971922" } TASK [verify expected content] ************************************************* task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:32 Thursday 05 May 2022 05:07:20 +0000 (0:00:00.392) 0:01:03.283 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show diff - may not reflect actual ConfigObj differences] **************** task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:37 Thursday 05 May 2022 05:07:20 +0000 (0:00:00.041) 0:01:03.325 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get active_profile file] ************************************************* task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:44 Thursday 05 May 2022 05:07:20 +0000 (0:00:00.038) 0:01:03.363 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [check that active_profile ends with kernel_settings] ********************* task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:51 Thursday 05 May 2022 05:07:20 +0000 (0:00:00.336) 0:01:03.700 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get profile_mode file] *************************************************** task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:58 Thursday 05 May 2022 05:07:20 +0000 (0:00:00.041) 0:01:03.741 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "content": "bWFudWFsCg==", "encoding": "base64", "source": "/etc/tuned/profile_mode" } TASK [check that profile_mode is manual] *************************************** task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:65 Thursday 05 May 2022 05:07:21 +0000 (0:00:00.350) 0:01:04.092 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get the bootloader specific config file] ********************************* task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:73 Thursday 05 May 2022 05:07:21 +0000 (0:00:00.040) 0:01:04.132 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify bootloader settings value] **************************************** task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:84 Thursday 05 May 2022 05:07:21 +0000 (0:00:00.038) 0:01:04.171 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check if kernel_settings_reboot_required is set if needed] *************** task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings.yml:45 Thursday 05 May 2022 05:07:21 +0000 (0:00:00.039) 0:01:04.211 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert success] ********************************************************** task path: /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings.yml:52 Thursday 05 May 2022 05:07:21 +0000 (0:00:00.039) 0:01:04.250 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false } MSG: All assertions passed TASK [reboot the machine - see if settings persist after reboot] *************** task path: /tmp/tmp5r4_7pxt/tests/tests_simple_settings.yml:34 Thursday 05 May 2022 05:07:21 +0000 (0:00:00.042) 0:01:04.292 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify that settings were applied correctly after reboot] **************** task path: /tmp/tmp5r4_7pxt/tests/tests_simple_settings.yml:41 Thursday 05 May 2022 05:07:21 +0000 (0:00:00.037) 0:01:04.330 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show contents of tuned.conf] ********************************************* task path: /tmp/tmp5r4_7pxt/tests/tests_simple_settings.yml:50 Thursday 05 May 2022 05:07:21 +0000 (0:00:00.036) 0:01:04.367 ********** ok: [/cache/fedora-34.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002814", "end": "2022-05-05 05:07:20.426798", "rc": 0, "start": "2022-05-05 05:07:20.423984" } STDOUT: # # Ansible managed # [main] summary = kernel settings [sysctl] fs.epoll.max_user_watches = 785592 fs.file-max = 379724 [vm] transparent_hugepages = madvise [sysfs] /sys/kernel/debug/x86/pti_enabled = 0 /sys/kernel/debug/x86/retp_enabled = 0 /sys/kernel/debug/x86/ibrs_enabled = 0 RUNNING HANDLER [linux-system-roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Thursday 05 May 2022 05:07:21 +0000 (0:00:00.339) 0:01:04.706 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** task path: /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Thursday 05 May 2022 05:07:21 +0000 (0:00:00.040) 0:01:04.746 ********** skipping: [/cache/fedora-34.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2 : ok=27 changed=8 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 Thursday 05 May 2022 05:07:21 +0000 (0:00:00.038) 0:01:04.785 ********** =============================================================================== linux-system-roles.kernel_settings : Ensure required packages are installed -- 51.37s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 ensure python command exists for tests below ---------------------------- 2.06s /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:14 --------- linux-system-roles.kernel_settings : tuned apply settings --------------- 1.61s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 1.22s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmp5r4_7pxt/tests/tests_simple_settings.yml:2 ---------------------------- linux-system-roles.kernel_settings : Generate a configuration for kernel settings --- 0.96s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.71s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 put expected contents into temporary file ------------------------------- 0.67s /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:8 ---------- linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.55s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.50s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Get current config ----------------- 0.48s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 create temporary file for expected config ------------------------------- 0.46s /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:2 ---------- linux-system-roles.kernel_settings : check that settings are applied correctly --- 0.45s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 diff expected vs actual content ----------------------------------------- 0.39s /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:19 --------- get profile_mode file --------------------------------------------------- 0.35s /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:58 --------- show contents of tuned.conf --------------------------------------------- 0.34s /tmp/tmp5r4_7pxt/tests/tests_simple_settings.yml:50 --------------------------- get active_profile file ------------------------------------------------- 0.34s /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings_conf_files.yml:44 --------- apply the settings - call the role -------------------------------------- 0.17s /tmp/tmp5r4_7pxt/tests/tests_simple_settings.yml:22 --------------------------- include_tasks ----------------------------------------------------------- 0.06s /tmp/tmp5r4_7pxt/tests/tasks/assert_kernel_settings.yml:42 -------------------- linux-system-roles.kernel_settings : Set platform/version specific variables --- 0.05s /tmp/tmp5r4_7pxt/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9