# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-ciuyhrxebi/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /WORKDIR/git-weekly-ciuyhrxebi/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 10 February 2024 08:58:41 +0000 (0:00:00.013) 0:00:00.013 ***** included: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 10 February 2024 08:58:41 +0000 (0:00:00.009) 0:00:00.023 ***** ok: [sut] TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 10 February 2024 08:58:42 +0000 (0:00:00.504) 0:00:00.528 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 10 February 2024 08:58:42 +0000 (0:00:00.179) 0:00:00.707 ***** ok: [sut] => { "ansible_facts": { "__kernel_settings_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:19 Saturday 10 February 2024 08:58:42 +0000 (0:00:00.013) 0:00:00.720 ***** ok: [sut] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Saturday 10 February 2024 08:58:42 +0000 (0:00:00.014) 0:00:00.735 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } lsrpackages: python-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:11 Saturday 10 February 2024 08:58:43 +0000 (0:00:00.885) 0:00:01.620 ***** ok: [sut] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-02-10 08:39:01 UTC", "ActiveEnterTimestampMonotonic": "16391040", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service systemd-sysctl.service system.slice basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-02-10 08:39:00 UTC", "AssertTimestampMonotonic": "15251459", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-02-10 08:39:00 UTC", "ConditionTimestampMonotonic": "15251457", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "846", "ExecMainStartTimestamp": "Sat 2024-02-10 08:39:00 UTC", "ExecMainStartTimestampMonotonic": "15252297", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-02-10 08:39:00 UTC", "InactiveExitTimestampMonotonic": "15252350", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "846", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-02-10 08:39:01 UTC", "WatchdogTimestampMonotonic": "16390948", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:18 Saturday 10 February 2024 08:58:43 +0000 (0:00:00.645) 0:00:02.266 ***** changed: [sut] => { "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 [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 10 February 2024 08:58:44 +0000 (0:00:00.201) 0:00:02.467 ***** changed: [sut] => { "changed": true, "checksum": "2276c6651921204ad4c4d1a0d303911e242d601a", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "c7520cb6fa6a0df3e7032ba9e1135fdf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 84, "src": "/root/.ansible/tmp/ansible-tmp-1707555524.0493104-2453-267061124295508/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:31 Saturday 10 February 2024 08:58:44 +0000 (0:00:00.443) 0:00:02.911 ***** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6a2VybmVsX3NldHRpbmdzCgpbbWFpbl0Kc3VtbWFyeT1rZXJuZWwgc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:37 Saturday 10 February 2024 08:58:44 +0000 (0:00:00.177) 0:00:03.088 ***** Notification for handler __kernel_settings_handler_modified has been saved. changed: [sut] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": {}, "reboot_required": false } MSG: Updated active profile and/or mode. TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:66 Saturday 10 February 2024 08:58:45 +0000 (0:00:00.685) 0:00:03.773 ***** changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.339662", "end": "2024-02-10 08:58:46.835481", "rc": 0, "start": "2024-02-10 08:58:45.495819" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:72 Saturday 10 February 2024 08:58:46 +0000 (0:00:01.522) 0:00:05.296 ***** included: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for sut TASK [fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly] *** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 10 February 2024 08:58:46 +0000 (0:00:00.012) 0:00:05.309 ***** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.095376", "end": "2024-02-10 08:58:47.067771", "rc": 0, "start": "2024-02-10 08:58:46.972395" } STDOUT: Verfication succeeded, current system settings match the preset profile. See tuned log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : Get last verify results from log] *** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 10 February 2024 08:58:47 +0000 (0:00:00.219) 0:00:05.528 ***** skipping: [sut] => { "changed": false, "false_condition": "__kernel_settings_register_verify_values is failed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 10 February 2024 08:58:47 +0000 (0:00:00.009) 0:00:05.538 ***** skipping: [sut] => { "changed": false, "false_condition": "__kernel_settings_register_verify_values is failed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:76 Saturday 10 February 2024 08:58:47 +0000 (0:00:00.009) 0:00:05.547 ***** skipping: [sut] => { "false_condition": "__kernel_settings_register_module.reboot_required | d(false)" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 10 February 2024 08:58:47 +0000 (0:00:00.016) 0:00:05.564 ***** skipping: [sut] => { "changed": false, "false_condition": "__kernel_settings_register_module.reboot_required | d(false)", "skip_reason": "Conditional result was False" } NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : Reboot the managed host to apply kernel_settings changes for sut NOTIFIED HANDLER fedora.linux_system_roles.kernel_settings : Clear the kernel_settings_reboot_required flag for sut RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Reboot the managed host to apply kernel_settings changes] *** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Saturday 10 February 2024 08:58:47 +0000 (0:00:00.018) 0:00:05.583 ***** skipping: [sut] => { "changed": false, "false_condition": "kernel_settings_reboot_required | d(false)", "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Clear the kernel_settings_reboot_required flag] *** task path: /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Saturday 10 February 2024 08:58:47 +0000 (0:00:00.016) 0:00:05.600 ***** skipping: [sut] => { "changed": false, "false_condition": "kernel_settings_reboot_required | d(false)", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=14 changed=4 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Saturday 10 February 2024 08:58:47 +0000 (0:00:00.018) 0:00:05.618 ***** =============================================================================== fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.52s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:66 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.89s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.69s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:37 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.65s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:11 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.50s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings --- 0.44s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly --- 0.22s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.20s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:18 fedora.linux_system_roles.kernel_settings : Check if system is ostree --- 0.18s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 fedora.linux_system_roles.kernel_settings : Get current config ---------- 0.18s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:31 fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes --- 0.02s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 fedora.linux_system_roles.kernel_settings : Clear the kernel_settings_reboot_required flag --- 0.02s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 fedora.linux_system_roles.kernel_settings : Reboot the managed host to apply kernel_settings changes --- 0.02s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes --- 0.02s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:76 fedora.linux_system_roles.kernel_settings : Set platform/version specific variables --- 0.01s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:19 fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree --- 0.01s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 fedora.linux_system_roles.kernel_settings : Verify settings ------------- 0.01s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:72 fedora.linux_system_roles.kernel_settings : Set version specific variables --- 0.01s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 fedora.linux_system_roles.kernel_settings : Get last verify results from log --- 0.01s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors --- 0.01s /WORKDIR/git-weekly-ciuyhrxebi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---