# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file 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 /WORKDIR/git-weekly-ciqc12sgtq/tests/tests_simple_settings.yml PLAY [Test simple kernel settings] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tests_simple_settings.yml:2 Saturday 03 August 2024 08:53:40 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Set platform independent vars used by this test] ************************* task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tests_simple_settings.yml:8 Saturday 03 August 2024 08:53:41 +0000 (0:00:00.650) 0:00:00.662 ******* ok: [sut] => { "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": [ "/WORKDIR/git-weekly-ciqc12sgtq/tests/vars/vars_simple_settings.yml" ], "changed": false } TASK [Disable bootloader cmdline testing on Fedora] **************************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tests_simple_settings.yml:12 Saturday 03 August 2024 08:53:41 +0000 (0:00:00.008) 0:00:00.671 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply the settings - call the role] ************************************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tests_simple_settings.yml:23 Saturday 03 August 2024 08:53:41 +0000 (0:00:00.015) 0:00:00.687 ******* TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Saturday 03 August 2024 08:53:41 +0000 (0:00:00.052) 0:00:00.739 ******* included: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for sut TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Saturday 03 August 2024 08:53:41 +0000 (0:00:00.013) 0:00:00.753 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : Check if system is ostree] ********** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:11 Saturday 03 August 2024 08:53:41 +0000 (0:00:00.017) 0:00:00.771 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:16 Saturday 03 August 2024 08:53:41 +0000 (0:00:00.233) 0:00:01.004 ******* ok: [sut] => { "ansible_facts": { "__kernel_settings_is_ostree": false }, "changed": false } TASK [linux-system-roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:23 Saturday 03 August 2024 08:53:41 +0000 (0:00:00.021) 0:00:01.025 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.kernel_settings : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:28 Saturday 03 August 2024 08:53:42 +0000 (0:00:00.169) 0:00:01.195 ******* ok: [sut] => { "ansible_facts": { "__kernel_settings_is_transactional": false }, "changed": false } TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:32 Saturday 03 August 2024 08:53:42 +0000 (0:00:00.019) 0:00:01.215 ******* ok: [sut] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ciqc12sgtq/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: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Saturday 03 August 2024 08:53:42 +0000 (0:00:00.023) 0:00:01.238 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-configobj tuned TASK [linux-system-roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:18 Saturday 03 August 2024 08:53:42 +0000 (0:00:00.876) 0:00:02.114 ******* skipping: [sut] => {} TASK [linux-system-roles.kernel_settings : Reboot transactional update systems] *** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Saturday 03 August 2024 08:53:43 +0000 (0:00:00.017) 0:00:02.132 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:28 Saturday 03 August 2024 08:53:43 +0000 (0:00:00.017) 0:00:02.150 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Saturday 03 August 2024 08:53:43 +0000 (0:00:00.017) 0:00:02.168 ******* ok: [sut] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-08-03 08:53:30 UTC", "ActiveEnterTimestampMonotonic": "437651056", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target systemd-journald.socket basic.target systemd-sysctl.service polkit.service dbus.socket system.slice network.target dbus-broker.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 08:53:30 UTC", "AssertTimestampMonotonic": "437246721", "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": "373650000", "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": "Sat 2024-08-03 08:53:30 UTC", "ConditionTimestampMonotonic": "437246717", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service tlp.service power-profiles-daemon.service shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlGroupId": "4265", "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": "11464", "ExecMainStartTimestamp": "Sat 2024-08-03 08:53:30 UTC", "ExecMainStartTimestampMonotonic": "437252109", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-08-03 08:53:30 UTC] ; stop_time=[n/a] ; pid=11464 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Sat 2024-08-03 08:53:30 UTC] ; stop_time=[n/a] ; pid=11464 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-08-03 08:53:30 UTC", "InactiveExitTimestampMonotonic": "437253111", "InvocationID": "2bb329324bf34524a65febe59e0da555", "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": "13964", "LimitNPROCSoft": "13964", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13964", "LimitSIGPENDINGSoft": "13964", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11464", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "19185664", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-08-03 08:53:30 UTC", "StateChangeTimestampMonotonic": "437651056", "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": "22342", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:43 Saturday 03 August 2024 08:53:43 +0000 (0:00:00.430) 0:00:02.598 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:49 Saturday 03 August 2024 08:53:43 +0000 (0:00:00.232) 0:00:02.831 ******* ok: [sut] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/home/jenkins/.ansible/tmp/ansible-local-258034e7bx_3/tmpql2qvns8/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:56 Saturday 03 August 2024 08:53:43 +0000 (0:00:00.261) 0:00:03.092 ******* ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6a2VybmVsX3NldHRpbmdzClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCg==", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:62 Saturday 03 August 2024 08:53:44 +0000 (0:00:00.229) 0:00:03.322 ******* NOTIFIED HANDLER linux-system-roles.kernel_settings : Reboot the managed host to apply kernel_settings changes for sut NOTIFIED HANDLER linux-system-roles.kernel_settings : Clear the kernel_settings_reboot_required flag for sut changed: [sut] => { "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: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:118 Saturday 03 August 2024 08:53:44 +0000 (0:00:00.322) 0:00:03.644 ******* changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.107441", "end": "2024-08-03 08:53:45.846733", "rc": 0, "start": "2024-08-03 08:53:44.739292" } TASK [linux-system-roles.kernel_settings : Verify settings] ******************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:124 Saturday 03 August 2024 08:53:45 +0000 (0:00:01.350) 0:00:04.995 ******* included: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml for sut TASK [linux-system-roles.kernel_settings : Check that settings are applied correctly] *** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 Saturday 03 August 2024 08:53:45 +0000 (0:00:00.023) 0:00:05.018 ******* ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.096136", "end": "2024-08-03 08:53:46.136214", "rc": 0, "start": "2024-08-03 08:53:46.040078" } STDOUT: Verification 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: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:12 Saturday 03 August 2024 08:53:46 +0000 (0:00:00.262) 0:00:05.281 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : Report errors that are not bootloader errors] *** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:23 Saturday 03 August 2024 08:53:46 +0000 (0:00:00.017) 0:00:05.298 ******* skipping: [sut] => { "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: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:128 Saturday 03 August 2024 08:53:46 +0000 (0:00:00.017) 0:00:05.316 ******* skipping: [sut] => {} TASK [linux-system-roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:137 Saturday 03 August 2024 08:53:46 +0000 (0:00:00.017) 0:00:05.333 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that settings were applied correctly] ***************************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tests_simple_settings.yml:28 Saturday 03 August 2024 08:53:46 +0000 (0:00:00.017) 0:00:05.350 ******* included: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings.yml for sut TASK [Set version specific variables] ****************************************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings.yml:2 Saturday 03 August 2024 08:53:46 +0000 (0:00:00.013) 0:00:05.363 ******* ok: [sut] => { "ansible_facts": { "__kernel_settings_test_python_cmd": "/usr/libexec/platform-python", "__kernel_settings_test_python_pkgs": [ "python3-configobj" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ciqc12sgtq/tests/vars/tests_default.yml" ], "changed": false } TASK [Reset settings success flag] ********************************************* task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings.yml:14 Saturday 03 August 2024 08:53:46 +0000 (0:00:00.020) 0:00:05.383 ******* ok: [sut] => { "ansible_facts": { "__kernel_settings_success": true }, "changed": false } TASK [Check tuned-adm verify] ************************************************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings.yml:18 Saturday 03 August 2024 08:53:46 +0000 (0:00:00.007) 0:00:05.391 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check for verify errors] ************************************************* task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings.yml:25 Saturday 03 August 2024 08:53:46 +0000 (0:00:00.005) 0:00:05.397 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check /proc/cmdline] ***************************************************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings.yml:32 Saturday 03 August 2024 08:53:46 +0000 (0:00:00.019) 0:00:05.416 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set error flag based on verify] ****************************************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings.yml:39 Saturday 03 August 2024 08:53:46 +0000 (0:00:00.019) 0:00:05.436 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check config files] ****************************************************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings.yml:46 Saturday 03 August 2024 08:53:46 +0000 (0:00:00.017) 0:00:05.453 ******* included: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml for sut TASK [Create temporary file for expected config] ******************************* task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:2 Saturday 03 August 2024 08:53:46 +0000 (0:00:00.023) 0:00:05.477 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.gdm09lsp.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: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:8 Saturday 03 August 2024 08:53:46 +0000 (0:00:00.221) 0:00:05.698 ******* changed: [sut] => { "changed": true, "checksum": "169e46a0442e2493edda7ef1d37dfc572d06525c", "dest": "/tmp/ansible.gdm09lsp.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-1722675226.6149116-2747-78677964858845/source", "state": "file", "uid": 0 } TASK [Ensure python command exists for tests below] **************************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:14 Saturday 03 August 2024 08:53:47 +0000 (0:00:00.537) 0:00:06.236 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-configobj TASK [Diff expected vs actual content] ***************************************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:21 Saturday 03 August 2024 08:53:47 +0000 (0:00:00.824) 0:00:07.060 ******* ok: [sut] => { "changed": false, "cmd": "/usr/libexec/platform-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.gdm09lsp.kernel_settings /etc/tuned/kernel_settings/tuned.conf\n", "delta": "0:00:00.027165", "end": "2024-08-03 08:53:48.113033", "rc": 0, "start": "2024-08-03 08:53:48.085868" } TASK [Verify expected content] ************************************************* task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:34 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.196) 0:00:07.256 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show diff - may not reflect actual ConfigObj differences] **************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:39 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.017) 0:00:07.273 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get active_profile file] ************************************************* task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:47 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.017) 0:00:07.290 ******* ok: [sut] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [Check that active_profile ends with kernel_settings] ********************* task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:54 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.158) 0:00:07.449 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile_mode file] *************************************************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:61 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.019) 0:00:07.469 ******* ok: [sut] => { "changed": false, "content": "bWFudWFsCg==", "encoding": "base64", "source": "/etc/tuned/profile_mode" } TASK [Check that profile_mode is manual] *************************************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:68 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.154) 0:00:07.624 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the bootloader specific config file] ********************************* task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:75 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.018) 0:00:07.642 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify bootloader settings value] **************************************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:86 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.016) 0:00:07.658 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if kernel_settings_reboot_required is set if needed] *************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings.yml:50 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.019) 0:00:07.677 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert success] ********************************************************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings.yml:57 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.017) 0:00:07.695 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check ansible_managed, fingerprint in generated files] ******************* task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tests_simple_settings.yml:33 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.018) 0:00:07.713 ******* included: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/check_header.yml for sut TASK [Get file] **************************************************************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/check_header.yml:3 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.013) 0:00:07.727 ******* ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6a2VybmVsX3NldHRpbmdzClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKZnMuZmlsZS1tYXggPSAzNzk3MjQKW3N5c2ZzXQovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcHRpX2VuYWJsZWQgPSAwCi9zeXMva2VybmVsL2RlYnVnL3g4Ni9yZXRwX2VuYWJsZWQgPSAwCi9zeXMva2VybmVsL2RlYnVnL3g4Ni9pYnJzX2VuYWJsZWQgPSAwClt2bV0KdHJhbnNwYXJlbnRfaHVnZXBhZ2VzID0gbWFkdmlzZQo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/check_header.yml:9 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.168) 0:00:07.895 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Reboot the machine - see if settings persist after reboot] *************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tests_simple_settings.yml:41 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.028) 0:00:07.924 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that settings were applied correctly after reboot] **************** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tests_simple_settings.yml:48 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.017) 0:00:07.941 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show contents of tuned.conf] ********************************************* task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/tests_simple_settings.yml:57 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.018) 0:00:07.960 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002740", "end": "2024-08-03 08:53:48.977637", "rc": 0, "start": "2024-08-03 08:53:48.974897" } STDOUT: # # Ansible managed # # system_role:kernel_settings [main] summary = kernel settings [sysctl] fs.epoll.max_user_watches = 785592 fs.file-max = 379724 [sysfs] /sys/kernel/debug/x86/pti_enabled = 0 /sys/kernel/debug/x86/retp_enabled = 0 /sys/kernel/debug/x86/ibrs_enabled = 0 [vm] transparent_hugepages = madvise RUNNING HANDLER [linux-system-roles.kernel_settings : Reboot the managed host to apply kernel_settings changes] *** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:2 Saturday 03 August 2024 08:53:48 +0000 (0:00:00.162) 0:00:08.122 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.kernel_settings : Clear the kernel_settings_reboot_required flag] *** task path: /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/handlers/main.yml:12 Saturday 03 August 2024 08:53:49 +0000 (0:00:00.018) 0:00:08.141 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=32 changed=4 unreachable=0 failed=0 skipped=24 rescued=0 ignored=0 Saturday 03 August 2024 08:53:49 +0000 (0:00:00.018) 0:00:08.160 ******* =============================================================================== linux-system-roles.kernel_settings : Tuned apply settings --------------- 1.35s /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:118 linux-system-roles.kernel_settings : Ensure required packages are installed --- 0.88s /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Ensure python command exists for tests below ---------------------------- 0.82s /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:14 Gathering Facts --------------------------------------------------------- 0.65s /WORKDIR/git-weekly-ciqc12sgtq/tests/tests_simple_settings.yml:2 -------------- Put expected contents into temporary file ------------------------------- 0.54s /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:8 linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 0.43s /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.32s /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:62 linux-system-roles.kernel_settings : Check that settings are applied correctly --- 0.26s /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/verify_settings.yml:2 linux-system-roles.kernel_settings : Generate a configuration for kernel settings --- 0.26s /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:49 linux-system-roles.kernel_settings : Check if system is ostree ---------- 0.23s /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:11 linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.23s /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:43 linux-system-roles.kernel_settings : Get current config ----------------- 0.23s /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:56 Create temporary file for expected config ------------------------------- 0.22s /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:2 Diff expected vs actual content ----------------------------------------- 0.20s /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:21 linux-system-roles.kernel_settings : Check if transactional-update exists in /sbin --- 0.17s /WORKDIR/git-weekly-ciqc12sgtq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:23 Get file ---------------------------------------------------------------- 0.17s /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/check_header.yml:3 ----------------- Show contents of tuned.conf --------------------------------------------- 0.16s /WORKDIR/git-weekly-ciqc12sgtq/tests/tests_simple_settings.yml:57 ------------- Get active_profile file ------------------------------------------------- 0.16s /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:47 Get profile_mode file --------------------------------------------------- 0.15s /WORKDIR/git-weekly-ciqc12sgtq/tests/tasks/assert_kernel_settings_conf_files.yml:61 Apply the settings - call the role -------------------------------------- 0.05s /WORKDIR/git-weekly-ciqc12sgtq/tests/tests_simple_settings.yml:23 ------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, 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. ---^---^---^---^---^---