# 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-cic3jetfnf/.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-cic3jetfnf/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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Wednesday 24 July 2024 18:16:12 +0000 (0:00:00.014) 0:00:00.014 ******** included: /WORKDIR/git-weekly-cic3jetfnf/.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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Wednesday 24 July 2024 18:16:12 +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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Wednesday 24 July 2024 18:16:13 +0000 (0:00:00.666) 0:00:00.692 ******** 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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Wednesday 24 July 2024 18:16:13 +0000 (0:00:00.187) 0:00:00.879 ******** 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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:19 Wednesday 24 July 2024 18:16:13 +0000 (0:00:00.014) 0:00:00.893 ******** ok: [sut] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cic3jetfnf/.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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Wednesday 24 July 2024 18:16:13 +0000 (0:00:00.015) 0:00:00.909 ******** 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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:11 Wednesday 24 July 2024 18:16:14 +0000 (0:00:00.964) 0:00:01.873 ******** 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:53:34 UTC", "ActiveEnterTimestampMonotonic": "24755987", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target dbus.service system.slice systemd-sysctl.service systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-07-24 17:53:33 UTC", "AssertTimestampMonotonic": "23180832", "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:53:33 UTC", "ConditionTimestampMonotonic": "23180830", "Conflicts": "shutdown.target cpupower.service", "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": "850", "ExecMainStartTimestamp": "Wed 2024-07-24 17:53:33 UTC", "ExecMainStartTimestampMonotonic": "23186421", "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:53:33 UTC", "InactiveExitTimestampMonotonic": "23186481", "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": "850", "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 polkit.service system.slice basic.target", "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:53:34 UTC", "WatchdogTimestampMonotonic": "24755928", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /WORKDIR/git-weekly-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:18 Wednesday 24 July 2024 18:16:15 +0000 (0:00:00.741) 0:00:02.615 ******** 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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Wednesday 24 July 2024 18:16:15 +0000 (0:00:00.209) 0:00:02.824 ******** 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-1721844975.7621353-2560-83137327275249/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /WORKDIR/git-weekly-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:31 Wednesday 24 July 2024 18:16:16 +0000 (0:00:00.455) 0:00:03.279 ******** 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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:37 Wednesday 24 July 2024 18:16:16 +0000 (0:00:00.176) 0:00:03.456 ******** 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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:66 Wednesday 24 July 2024 18:16:16 +0000 (0:00:00.629) 0:00:04.085 ******** changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.207069", "end": "2024-07-24 18:16:19.374690", "rc": 0, "start": "2024-07-24 18:16:17.167621" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /WORKDIR/git-weekly-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:72 Wednesday 24 July 2024 18:16:19 +0000 (0:00:02.397) 0:00:06.482 ******** included: /WORKDIR/git-weekly-cic3jetfnf/.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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Wednesday 24 July 2024 18:16:19 +0000 (0:00:00.015) 0:00:06.498 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.091631", "end": "2024-07-24 18:16:19.606859", "rc": 0, "start": "2024-07-24 18:16:19.515228" } 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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Wednesday 24 July 2024 18:16:19 +0000 (0:00:00.219) 0:00:06.717 ******** 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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Wednesday 24 July 2024 18:16:19 +0000 (0:00:00.011) 0:00:06.728 ******** 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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:76 Wednesday 24 July 2024 18:16:19 +0000 (0:00:00.010) 0:00:06.739 ******** 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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Wednesday 24 July 2024 18:16:19 +0000 (0:00:00.016) 0:00:06.755 ******** 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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 Wednesday 24 July 2024 18:16:19 +0000 (0:00:00.018) 0:00:06.774 ******** 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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 Wednesday 24 July 2024 18:16:19 +0000 (0:00:00.015) 0:00:06.790 ******** 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:16:19 +0000 (0:00:00.017) 0:00:06.807 ******** =============================================================================== fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 2.40s /WORKDIR/git-weekly-cic3jetfnf/.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.96s /WORKDIR/git-weekly-cic3jetfnf/.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.74s /WORKDIR/git-weekly-cic3jetfnf/.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.67s /WORKDIR/git-weekly-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.63s /WORKDIR/git-weekly-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:37 fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings --- 0.46s /WORKDIR/git-weekly-cic3jetfnf/.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-cic3jetfnf/.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.21s /WORKDIR/git-weekly-cic3jetfnf/.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.19s /WORKDIR/git-weekly-cic3jetfnf/.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-cic3jetfnf/.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-cic3jetfnf/.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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:12 fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes --- 0.02s /WORKDIR/git-weekly-cic3jetfnf/.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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:19 fedora.linux_system_roles.kernel_settings : Reboot the managed host to apply kernel_settings changes --- 0.02s /WORKDIR/git-weekly-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/handlers/main.yml:2 fedora.linux_system_roles.kernel_settings : Verify settings ------------- 0.02s /WORKDIR/git-weekly-cic3jetfnf/.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-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 fedora.linux_system_roles.kernel_settings : Get last verify results from log --- 0.01s /WORKDIR/git-weekly-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 fedora.linux_system_roles.kernel_settings : Set version specific variables --- 0.01s /WORKDIR/git-weekly-cic3jetfnf/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors --- 0.01s /WORKDIR/git-weekly-cic3jetfnf/.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. ---^---^---^---^---^---