# 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_include_vars_from_parent.yml *********************************** 1 plays in /WORKDIR/git-weekly-cilun5yo7r/tests/tests_include_vars_from_parent.yml PLAY [Test role variable override] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cilun5yo7r/tests/tests_include_vars_from_parent.yml:2 Saturday 17 February 2024 11:32:42 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-weekly-cilun5yo7r/tests/tests_include_vars_from_parent.yml:6 Saturday 17 February 2024 11:32:43 +0000 (0:00:00.718) 0:00:00.730 ***** changed: [sut -> localhost] => (item=CentOS-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cilun5yo7r/tests/roles/caller/vars/CentOS-7.9.yml", "gid": 1001, "group": "jenkins", "item": "CentOS-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708169563.6645567-2398-37481310970789/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cilun5yo7r/tests/roles/caller/vars/CentOS-7.yml", "gid": 1001, "group": "jenkins", "item": "CentOS-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708169564.0407484-2398-126785410529018/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cilun5yo7r/tests/roles/caller/vars/CentOS_7.9.yml", "gid": 1001, "group": "jenkins", "item": "CentOS_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708169564.2674234-2398-242982299030062/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cilun5yo7r/tests/roles/caller/vars/CentOS_7.yml", "gid": 1001, "group": "jenkins", "item": "CentOS_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708169564.4834342-2398-136140341217314/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cilun5yo7r/tests/roles/caller/vars/CentOS.yml", "gid": 1001, "group": "jenkins", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708169564.6998503-2398-271568773418153/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-cilun5yo7r/tests/roles/caller/vars/RedHat.yml", "gid": 1001, "group": "jenkins", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1708169564.9236736-2398-210272726942276/source", "state": "file", "uid": 1000090000 } TASK [Include test role] ******************************************************* task path: /WORKDIR/git-weekly-cilun5yo7r/tests/roles/caller/tasks/main.yml:4 Saturday 17 February 2024 11:32:45 +0000 (0:00:01.491) 0:00:02.222 ***** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Saturday 17 February 2024 11:32:45 +0000 (0:00:00.052) 0:00:02.275 ***** included: /WORKDIR/git-weekly-cilun5yo7r/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-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Saturday 17 February 2024 11:32:45 +0000 (0:00:00.015) 0:00:02.290 ***** 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-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:11 Saturday 17 February 2024 11:32:45 +0000 (0:00:00.009) 0:00:02.299 ***** 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-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:16 Saturday 17 February 2024 11:32:45 +0000 (0:00:00.115) 0:00:02.415 ***** ok: [sut] => { "ansible_facts": { "__kernel_settings_is_ostree": false }, "changed": false } TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:20 Saturday 17 February 2024 11:32:45 +0000 (0:00:00.011) 0:00:02.426 ***** ok: [sut] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [linux-system-roles.kernel_settings : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Saturday 17 February 2024 11:32:45 +0000 (0:00:00.016) 0:00:02.443 ***** 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 [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:12 Saturday 17 February 2024 11:32:45 +0000 (0:00:00.433) 0:00:02.877 ***** ok: [sut] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-02-17 08:28:17 UTC", "ActiveEnterTimestampMonotonic": "11673408", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-sysctl.service systemd-journald.socket system.slice basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-02-17 08:28:16 UTC", "AssertTimestampMonotonic": "10746105", "Before": "multi-user.target shutdown.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-17 08:28:16 UTC", "ConditionTimestampMonotonic": "10746104", "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": "851", "ExecMainStartTimestamp": "Sat 2024-02-17 08:28:16 UTC", "ExecMainStartTimestampMonotonic": "10746793", "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-17 08:28:16 UTC", "InactiveExitTimestampMonotonic": "10746840", "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": "851", "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": "basic.target system.slice polkit.service 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-17 08:28:17 UTC", "WatchdogTimestampMonotonic": "11673192", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:19 Saturday 17 February 2024 11:32:46 +0000 (0:00:00.319) 0:00:03.196 ***** 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": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:25 Saturday 17 February 2024 11:32:46 +0000 (0:00:00.201) 0:00:03.398 ***** ok: [sut] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/home/jenkins/.ansible/tmp/ansible-local-2372xwp802ks/tmp77vhsot2/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:32 Saturday 17 February 2024 11:32:46 +0000 (0:00:00.222) 0:00:03.621 ***** 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-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:38 Saturday 17 February 2024 11:32:46 +0000 (0:00:00.179) 0:00:03.801 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : Tuned apply settings] *************** task path: /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:94 Saturday 17 February 2024 11:32:46 +0000 (0:00:00.019) 0:00:03.820 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : Verify settings] ******************** task path: /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:100 Saturday 17 February 2024 11:32:46 +0000 (0:00:00.008) 0:00:03.829 ***** 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-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:104 Saturday 17 February 2024 11:32:46 +0000 (0:00:00.009) 0:00:03.838 ***** skipping: [sut] => {} TASK [linux-system-roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:113 Saturday 17 February 2024 11:32:46 +0000 (0:00:00.008) 0:00:03.847 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [caller : Assert variable not overridden] ********************************* task path: /WORKDIR/git-weekly-cilun5yo7r/tests/roles/caller/tasks/main.yml:8 Saturday 17 February 2024 11:32:46 +0000 (0:00:00.009) 0:00:03.857 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=12 changed=1 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Saturday 17 February 2024 11:32:46 +0000 (0:00:00.009) 0:00:03.866 ***** =============================================================================== Create var file in caller that can override the one in called role ------ 1.49s /WORKDIR/git-weekly-cilun5yo7r/tests/tests_include_vars_from_parent.yml:6 ----- Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-weekly-cilun5yo7r/tests/tests_include_vars_from_parent.yml:2 ----- linux-system-roles.kernel_settings : Ensure required packages are installed --- 0.43s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 0.32s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:12 linux-system-roles.kernel_settings : Generate a configuration for kernel settings --- 0.22s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:25 linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.20s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:19 linux-system-roles.kernel_settings : Get current config ----------------- 0.18s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:32 linux-system-roles.kernel_settings : Check if system is ostree ---------- 0.12s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:11 Include test role ------------------------------------------------------- 0.05s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/caller/tasks/main.yml:4 ------------ linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.02s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:38 linux-system-roles.kernel_settings : Set platform/version specific variables --- 0.02s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:20 linux-system-roles.kernel_settings : Set version specific variables ----- 0.02s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 linux-system-roles.kernel_settings : Set flag to indicate system is ostree --- 0.01s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:16 linux-system-roles.kernel_settings : Set the flag that reboot is needed to apply changes --- 0.01s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:113 linux-system-roles.kernel_settings : Verify settings -------------------- 0.01s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:100 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.01s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 caller : Assert variable not overridden --------------------------------- 0.01s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/caller/tasks/main.yml:8 ------------ linux-system-roles.kernel_settings : Tuned apply settings --------------- 0.01s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:94 linux-system-roles.kernel_settings : Notify user that reboot is needed to apply changes --- 0.01s /WORKDIR/git-weekly-cilun5yo7r/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:104 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---