# 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-citczgj5z0/.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-citczgj5z0/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-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Wednesday 24 July 2024 18:07:07 +0000 (0:00:00.014) 0:00:00.014 ******** included: /WORKDIR/git-weekly-citczgj5z0/.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-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Wednesday 24 July 2024 18:07:07 +0000 (0:00:00.011) 0:00:00.026 ******** ok: [sut] TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /WORKDIR/git-weekly-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Wednesday 24 July 2024 18:07:07 +0000 (0:00:00.614) 0:00:00.640 ******** 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-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Wednesday 24 July 2024 18:07:08 +0000 (0:00:00.190) 0:00:00.831 ******** 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-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:19 Wednesday 24 July 2024 18:07:08 +0000 (0:00:00.014) 0:00:00.845 ******** ok: [sut] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-citczgj5z0/.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-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Wednesday 24 July 2024 18:07:08 +0000 (0:00:00.015) 0:00:00.861 ******** 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-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:11 Wednesday 24 July 2024 18:07:09 +0000 (0:00:00.993) 0:00:01.855 ******** ok: [sut] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-07-24 17:43:20 UTC", "ActiveEnterTimestampMonotonic": "18676367", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service systemd-journald.socket system.slice dbus.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-07-24 17:43:19 UTC", "AssertTimestampMonotonic": "17349038", "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": "Wed 2024-07-24 17:43:19 UTC", "ConditionTimestampMonotonic": "17349037", "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": "845", "ExecMainStartTimestamp": "Wed 2024-07-24 17:43:19 UTC", "ExecMainStartTimestampMonotonic": "17349766", "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": "Wed 2024-07-24 17:43:19 UTC", "InactiveExitTimestampMonotonic": "17349813", "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": "845", "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": "dbus.service system.slice basic.target polkit.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": "Wed 2024-07-24 17:43:20 UTC", "WatchdogTimestampMonotonic": "18676309", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /WORKDIR/git-weekly-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:18 Wednesday 24 July 2024 18:07:09 +0000 (0:00:00.683) 0:00:02.538 ******** 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-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Wednesday 24 July 2024 18:07:10 +0000 (0:00:00.245) 0:00:02.784 ******** 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-1721844430.1394308-2755-264139561260235/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /WORKDIR/git-weekly-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:31 Wednesday 24 July 2024 18:07:10 +0000 (0:00:00.526) 0:00:03.311 ******** 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-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:37 Wednesday 24 July 2024 18:07:10 +0000 (0:00:00.219) 0:00:03.530 ******** 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-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:66 Wednesday 24 July 2024 18:07:11 +0000 (0:00:00.671) 0:00:04.201 ******** changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.007672", "end": "2024-07-24 18:07:13.747888", "rc": 0, "start": "2024-07-24 18:07:11.740216" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /WORKDIR/git-weekly-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:72 Wednesday 24 July 2024 18:07:13 +0000 (0:00:02.238) 0:00:06.440 ******** included: /WORKDIR/git-weekly-citczgj5z0/.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-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Wednesday 24 July 2024 18:07:13 +0000 (0:00:00.014) 0:00:06.454 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.096797", "end": "2024-07-24 18:07:14.013396", "rc": 0, "start": "2024-07-24 18:07:13.916599" } 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-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Wednesday 24 July 2024 18:07:14 +0000 (0:00:00.248) 0:00:06.703 ******** 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-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Wednesday 24 July 2024 18:07:14 +0000 (0:00:00.010) 0:00:06.714 ******** 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-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:76 Wednesday 24 July 2024 18:07:14 +0000 (0:00:00.010) 0:00:06.725 ******** 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-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Wednesday 24 July 2024 18:07:14 +0000 (0:00:00.016) 0:00:06.741 ******** 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-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Wednesday 24 July 2024 18:07:14 +0000 (0:00:00.019) 0:00:06.760 ******** 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-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Wednesday 24 July 2024 18:07:14 +0000 (0:00:00.016) 0:00:06.777 ******** 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 Wednesday 24 July 2024 18:07:14 +0000 (0:00:00.017) 0:00:06.795 ******** =============================================================================== fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 2.24s /WORKDIR/git-weekly-citczgj5z0/.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.99s /WORKDIR/git-weekly-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.68s /WORKDIR/git-weekly-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:11 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.67s /WORKDIR/git-weekly-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:37 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.61s /WORKDIR/git-weekly-citczgj5z0/.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.53s /WORKDIR/git-weekly-citczgj5z0/.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.25s /WORKDIR/git-weekly-citczgj5z0/.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.25s /WORKDIR/git-weekly-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:18 fedora.linux_system_roles.kernel_settings : Get current config ---------- 0.22s /WORKDIR/git-weekly-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:31 fedora.linux_system_roles.kernel_settings : Check if system is ostree --- 0.19s /WORKDIR/git-weekly-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes --- 0.02s /WORKDIR/git-weekly-citczgj5z0/.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-citczgj5z0/.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-citczgj5z0/.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-citczgj5z0/.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.02s /WORKDIR/git-weekly-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:19 fedora.linux_system_roles.kernel_settings : Verify settings ------------- 0.01s /WORKDIR/git-weekly-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:72 fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree --- 0.01s /WORKDIR/git-weekly-citczgj5z0/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 fedora.linux_system_roles.kernel_settings : Set version specific variables --- 0.01s /WORKDIR/git-weekly-citczgj5z0/.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-citczgj5z0/.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-citczgj5z0/.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. ---^---^---^---^---^---