+ cd /tmp/tmpk0gn9lt4/tests; TEST_SUBJECTS=/cache/rhel-guest-image-8.2-290.x86_64.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_tuned-3-e0132f5-rhel-8-4gqsgwa2/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpk0gn9lt4/_setup.yml /tmp/tmpk0gn9lt4/tests/tests_default.yml ansible-playbook 2.9.11 config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.8/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.8.5 (default, Aug 12 2020, 00:00:00) [GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] Using /etc/ansible/ansible.cfg as config file PLAYBOOK: _setup.yml *********************************************************** 2 plays in /tmp/tmpk0gn9lt4/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpk0gn9lt4/_setup.yml:5 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => { "groups": { "all": [ "/cache/rhel-guest-image-8.2-290.x86_64.qcow2" ], "localhost": [ "/cache/rhel-guest-image-8.2-290.x86_64.qcow2" ], "subjects": [ "/cache/rhel-guest-image-8.2-290.x86_64.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpk0gn9lt4/_setup.yml:7 skipping: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /tmp/tmpk0gn9lt4/_setup.yml:16 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-guest-image-8.2-290.x86_64.qcow2 : ok=2 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpk0gn9lt4/tests/tests_default.yml PLAY [Ensure the default profile is "balanced"] ******************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpk0gn9lt4/tests/tests_default.yml:2 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] META: ran handlers TASK [linux-system-roles.tuned : Install Tuned] ******************************** task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:2 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.tuned : Enable Tuned] ********************************* task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:5 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": false, "enabled": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 15:18:04 EDT", "ActiveEnterTimestampMonotonic": "5617581", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target systemd-sysctl.service dbus.service sysinit.target network.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 15:18:04 EDT", "AssertTimestampMonotonic": "5307015", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 15:18:04 EDT", "ConditionTimestampMonotonic": "5307014", "ConfigurationDirectoryMode": "0755", "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)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1152", "ExecMainStartTimestamp": "Sun 2020-08-30 15:18:04 EDT", "ExecMainStartTimestampMonotonic": "5307843", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 15:18:04 EDT] ; stop_time=[n/a] ; pid=1152 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sun 2020-08-30 15:18:04 EDT", "InactiveExitTimestampMonotonic": "5307883", "InvocationID": "0b7d39d325a5443a93f1c5ebb36dc5a6", "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": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "7141", "LimitNPROCSoft": "7141", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7141", "LimitSIGPENDINGSoft": "7141", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1152", "MemoryAccounting": "yes", "MemoryCurrent": "21811200", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket polkit.service sysinit.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sun 2020-08-30 15:18:04 EDT", "StateChangeTimestampMonotonic": "5617581", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11425", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sun 2020-08-30 15:18:04 EDT", "WatchdogTimestampMonotonic": "5617579", "WatchdogUSec": "0"}} TASK [linux-system-roles.tuned : Check for Tuned legacy] *********************** task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:8 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "cmd": "tuned --version &> /dev/null || echo -n \"legacy\"", "delta": "0:00:00.145444", "end": "2020-08-30 15:18:15.541945", "rc": 0, "start": "2020-08-30 15:18:15.396501", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:12 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"ansible_facts": {"tuned_legacy": false}, "changed": false} TASK [linux-system-roles.tuned : Generate tuned-main.conf file] **************** task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:15 NOTIFIED HANDLER linux-system-roles.tuned : restart tuned for /cache/rhel-guest-image-8.2-290.x86_64.qcow2 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "checksum": "ef5a704914d7241657dbc0813c7cb6d3a57b162f", "dest": "/etc/tuned/tuned-main.conf", "gid": 0, "group": "root", "md5sum": "3c6c8c5ef0ee8916f8110a90a9c20b50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 142, "src": "/root/.ansible/tmp/ansible-tmp-1598815095.8274-2340-151322810914843/source", "state": "file", "uid": 0} TASK [linux-system-roles.tuned : Get Tuned recommended profile] **************** task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:20 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "cmd": "tuned-adm recommend 2> /dev/null || echo -n \" *fail\"", "delta": "0:00:00.251087", "end": "2020-08-30 15:18:17.139152", "rc": 0, "start": "2020-08-30 15:18:16.888065", "stderr": "", "stderr_lines": [], "stdout": "virtual-guest", "stdout_lines": ["virtual-guest"]} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:24 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"ansible_facts": {"tuned_recommended_profile": "virtual-guest"}, "changed": false} TASK [linux-system-roles.tuned : Set Tuned legacy profile default] ************* task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:27 skipping: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.tuned : Set Tuned profile balanced] ******************* task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:31 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "profile", "balanced"], "delta": "0:00:01.150198", "end": "2020-08-30 15:18:18.737487", "rc": 0, "start": "2020-08-30 15:18:17.587289", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.tuned : Set recommended Tuned profile virtual-guest] *** task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:35 skipping: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get tuned version] ******************************************************* task path: /tmp/tmpk0gn9lt4/tests/tests_default.yml:9 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "--version"], "delta": "0:00:00.127359", "end": "2020-08-30 15:18:19.239707", "rc": 0, "start": "2020-08-30 15:18:19.112348", "stderr": "", "stderr_lines": [], "stdout": "tuned-adm 2.13.0", "stdout_lines": ["tuned-adm 2.13.0"]} TASK [Get active profile] ****************************************************** task path: /tmp/tmpk0gn9lt4/tests/tests_default.yml:14 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "active"], "delta": "0:00:00.148400", "end": "2020-08-30 15:18:19.719268", "rc": 0, "start": "2020-08-30 15:18:19.570868", "stderr": "", "stderr_lines": [], "stdout": "Current active profile: balanced", "stdout_lines": ["Current active profile: balanced"]} TASK [set_fact] **************************************************************** task path: /tmp/tmpk0gn9lt4/tests/tests_default.yml:18 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"ansible_facts": {"active_profile": "balanced"}, "changed": false} TASK [assert] ****************************************************************** task path: /tmp/tmpk0gn9lt4/tests/tests_default.yml:21 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => { "changed": false, "msg": "All assertions passed" } RUNNING HANDLER [linux-system-roles.tuned : restart tuned] ********************* task path: /tmp/tmpk0gn9lt4/handlers/main.yml:2 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 15:18:04 EDT", "ActiveEnterTimestampMonotonic": "5617581", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target systemd-sysctl.service dbus.service sysinit.target network.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 15:18:04 EDT", "AssertTimestampMonotonic": "5307015", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 15:18:04 EDT", "ConditionTimestampMonotonic": "5307014", "ConfigurationDirectoryMode": "0755", "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)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1152", "ExecMainStartTimestamp": "Sun 2020-08-30 15:18:04 EDT", "ExecMainStartTimestampMonotonic": "5307843", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 15:18:04 EDT] ; stop_time=[n/a] ; pid=1152 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sun 2020-08-30 15:18:04 EDT", "InactiveExitTimestampMonotonic": "5307883", "InvocationID": "0b7d39d325a5443a93f1c5ebb36dc5a6", "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": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "7141", "LimitNPROCSoft": "7141", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7141", "LimitSIGPENDINGSoft": "7141", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1152", "MemoryAccounting": "yes", "MemoryCurrent": "31236096", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket polkit.service sysinit.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sun 2020-08-30 15:18:04 EDT", "StateChangeTimestampMonotonic": "5617581", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11425", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sun 2020-08-30 15:18:04 EDT", "WatchdogTimestampMonotonic": "5617579", "WatchdogUSec": "0"}} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-guest-image-8.2-290.x86_64.qcow2 : ok=16 changed=8 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + cd /tmp/tmpk0gn9lt4/tests; TEST_SUBJECTS=/cache/rhel-guest-image-8.2-290.x86_64.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_tuned-3-e0132f5-rhel-8-4gqsgwa2/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpk0gn9lt4/_setup.yml /tmp/tmpk0gn9lt4/tests/tests_recommended.yml ansible-playbook 2.9.11 config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.8/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.8.5 (default, Aug 12 2020, 00:00:00) [GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] Using /etc/ansible/ansible.cfg as config file PLAYBOOK: _setup.yml *********************************************************** 2 plays in /tmp/tmpk0gn9lt4/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpk0gn9lt4/_setup.yml:5 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => { "groups": { "all": [ "/cache/rhel-guest-image-8.2-290.x86_64.qcow2" ], "localhost": [ "/cache/rhel-guest-image-8.2-290.x86_64.qcow2" ], "subjects": [ "/cache/rhel-guest-image-8.2-290.x86_64.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpk0gn9lt4/_setup.yml:7 skipping: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /tmp/tmpk0gn9lt4/_setup.yml:16 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-guest-image-8.2-290.x86_64.qcow2 : ok=2 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_recommended.yml ************************************************ 1 plays in /tmp/tmpk0gn9lt4/tests/tests_recommended.yml PLAY [Ensure that the recommended profile is set correctly] ******************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpk0gn9lt4/tests/tests_recommended.yml:2 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] META: ran handlers TASK [linux-system-roles.tuned : Install Tuned] ******************************** task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:2 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.tuned : Enable Tuned] ********************************* task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:5 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": false, "enabled": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 15:18:29 EDT", "ActiveEnterTimestampMonotonic": "5380518", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice sysinit.target dbus.service systemd-journald.socket systemd-sysctl.service dbus.socket network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 15:18:29 EDT", "AssertTimestampMonotonic": "5111191", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 15:18:29 EDT", "ConditionTimestampMonotonic": "5111190", "ConfigurationDirectoryMode": "0755", "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)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1159", "ExecMainStartTimestamp": "Sun 2020-08-30 15:18:29 EDT", "ExecMainStartTimestampMonotonic": "5112158", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 15:18:29 EDT] ; stop_time=[n/a] ; pid=1159 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sun 2020-08-30 15:18:29 EDT", "InactiveExitTimestampMonotonic": "5112195", "InvocationID": "02c648a6f96846c38ff026c239049d9c", "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": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "7141", "LimitNPROCSoft": "7141", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7141", "LimitSIGPENDINGSoft": "7141", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1159", "MemoryAccounting": "yes", "MemoryCurrent": "22118400", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.service sysinit.target dbus.socket polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sun 2020-08-30 15:18:29 EDT", "StateChangeTimestampMonotonic": "5380518", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11425", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sun 2020-08-30 15:18:29 EDT", "WatchdogTimestampMonotonic": "5380516", "WatchdogUSec": "0"}} TASK [linux-system-roles.tuned : Check for Tuned legacy] *********************** task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:8 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "cmd": "tuned --version &> /dev/null || echo -n \"legacy\"", "delta": "0:00:00.138637", "end": "2020-08-30 15:18:41.235137", "rc": 0, "start": "2020-08-30 15:18:41.096500", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:12 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"ansible_facts": {"tuned_legacy": false}, "changed": false} TASK [linux-system-roles.tuned : Generate tuned-main.conf file] **************** task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:15 NOTIFIED HANDLER linux-system-roles.tuned : restart tuned for /cache/rhel-guest-image-8.2-290.x86_64.qcow2 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "checksum": "ef5a704914d7241657dbc0813c7cb6d3a57b162f", "dest": "/etc/tuned/tuned-main.conf", "gid": 0, "group": "root", "md5sum": "3c6c8c5ef0ee8916f8110a90a9c20b50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 142, "src": "/root/.ansible/tmp/ansible-tmp-1598815122.125811-2703-120575077558707/source", "state": "file", "uid": 0} TASK [linux-system-roles.tuned : Get Tuned recommended profile] **************** task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:20 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "cmd": "tuned-adm recommend 2> /dev/null || echo -n \" *fail\"", "delta": "0:00:00.248365", "end": "2020-08-30 15:18:42.758658", "rc": 0, "start": "2020-08-30 15:18:42.510293", "stderr": "", "stderr_lines": [], "stdout": "virtual-guest", "stdout_lines": ["virtual-guest"]} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:24 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"ansible_facts": {"tuned_recommended_profile": "virtual-guest"}, "changed": false} TASK [linux-system-roles.tuned : Set Tuned legacy profile default] ************* task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:27 skipping: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.tuned : Set Tuned profile balanced] ******************* task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:31 skipping: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.tuned : Set recommended Tuned profile virtual-guest] *** task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:35 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "profile", "virtual-guest"], "delta": "0:00:01.145691", "end": "2020-08-30 15:18:44.345066", "rc": 0, "start": "2020-08-30 15:18:43.199375", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Get active profile] ****************************************************** task path: /tmp/tmpk0gn9lt4/tests/tests_recommended.yml:10 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "active"], "delta": "0:00:00.134563", "end": "2020-08-30 15:18:44.818420", "rc": 0, "start": "2020-08-30 15:18:44.683857", "stderr": "", "stderr_lines": [], "stdout": "Current active profile: virtual-guest", "stdout_lines": ["Current active profile: virtual-guest"]} TASK [set_fact] **************************************************************** task path: /tmp/tmpk0gn9lt4/tests/tests_recommended.yml:14 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"ansible_facts": {"active_profile": "virtual-guest"}, "changed": false} TASK [Get recommended profile] ************************************************* task path: /tmp/tmpk0gn9lt4/tests/tests_recommended.yml:17 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "recommend"], "delta": "0:00:00.211311", "end": "2020-08-30 15:18:45.386580", "rc": 0, "start": "2020-08-30 15:18:45.175269", "stderr": "", "stderr_lines": [], "stdout": "virtual-guest", "stdout_lines": ["virtual-guest"]} TASK [set_fact] **************************************************************** task path: /tmp/tmpk0gn9lt4/tests/tests_recommended.yml:23 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"ansible_facts": {"recommended_profile": "virtual-guest"}, "changed": false} TASK [assert] ****************************************************************** task path: /tmp/tmpk0gn9lt4/tests/tests_recommended.yml:26 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => { "changed": false, "msg": "All assertions passed" } RUNNING HANDLER [linux-system-roles.tuned : restart tuned] ********************* task path: /tmp/tmpk0gn9lt4/handlers/main.yml:2 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 15:18:29 EDT", "ActiveEnterTimestampMonotonic": "5380518", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice sysinit.target dbus.service systemd-journald.socket systemd-sysctl.service dbus.socket network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 15:18:29 EDT", "AssertTimestampMonotonic": "5111191", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 15:18:29 EDT", "ConditionTimestampMonotonic": "5111190", "ConfigurationDirectoryMode": "0755", "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)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1159", "ExecMainStartTimestamp": "Sun 2020-08-30 15:18:29 EDT", "ExecMainStartTimestampMonotonic": "5112158", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 15:18:29 EDT] ; stop_time=[n/a] ; pid=1159 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sun 2020-08-30 15:18:29 EDT", "InactiveExitTimestampMonotonic": "5112195", "InvocationID": "02c648a6f96846c38ff026c239049d9c", "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": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "7141", "LimitNPROCSoft": "7141", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7141", "LimitSIGPENDINGSoft": "7141", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1159", "MemoryAccounting": "yes", "MemoryCurrent": "31903744", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.service sysinit.target dbus.socket polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sun 2020-08-30 15:18:29 EDT", "StateChangeTimestampMonotonic": "5380518", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11425", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sun 2020-08-30 15:18:29 EDT", "WatchdogTimestampMonotonic": "5380516", "WatchdogUSec": "0"}} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-guest-image-8.2-290.x86_64.qcow2 : ok=17 changed=8 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + cd /tmp/tmpk0gn9lt4/tests; TEST_SUBJECTS=/cache/rhel-guest-image-8.2-290.x86_64.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_tuned-3-e0132f5-rhel-8-4gqsgwa2/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpk0gn9lt4/_setup.yml /tmp/tmpk0gn9lt4/tests/tests_set_profile.yml ansible-playbook 2.9.11 config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.8/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.8.5 (default, Aug 12 2020, 00:00:00) [GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] Using /etc/ansible/ansible.cfg as config file PLAYBOOK: _setup.yml *********************************************************** 2 plays in /tmp/tmpk0gn9lt4/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpk0gn9lt4/_setup.yml:5 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => { "groups": { "all": [ "/cache/rhel-guest-image-8.2-290.x86_64.qcow2" ], "localhost": [ "/cache/rhel-guest-image-8.2-290.x86_64.qcow2" ], "subjects": [ "/cache/rhel-guest-image-8.2-290.x86_64.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpk0gn9lt4/_setup.yml:7 skipping: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /tmp/tmpk0gn9lt4/_setup.yml:16 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-guest-image-8.2-290.x86_64.qcow2 : ok=2 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_set_profile.yml ************************************************ 1 plays in /tmp/tmpk0gn9lt4/tests/tests_set_profile.yml PLAY [Set a profile] *********************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpk0gn9lt4/tests/tests_set_profile.yml:2 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] META: ran handlers TASK [linux-system-roles.tuned : Install Tuned] ******************************** task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:2 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.tuned : Enable Tuned] ********************************* task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:5 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": false, "enabled": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 15:18:56 EDT", "ActiveEnterTimestampMonotonic": "5717711", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service network.target sysinit.target systemd-journald.socket systemd-sysctl.service dbus.socket basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 15:18:56 EDT", "AssertTimestampMonotonic": "5446348", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 15:18:56 EDT", "ConditionTimestampMonotonic": "5446348", "ConfigurationDirectoryMode": "0755", "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)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1160", "ExecMainStartTimestamp": "Sun 2020-08-30 15:18:56 EDT", "ExecMainStartTimestampMonotonic": "5447387", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 15:18:56 EDT] ; stop_time=[n/a] ; pid=1160 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sun 2020-08-30 15:18:56 EDT", "InactiveExitTimestampMonotonic": "5447434", "InvocationID": "721ae0c9b8144a5683579494d675ee2d", "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": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "7141", "LimitNPROCSoft": "7141", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7141", "LimitSIGPENDINGSoft": "7141", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1160", "MemoryAccounting": "yes", "MemoryCurrent": "21966848", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.service sysinit.target dbus.socket polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sun 2020-08-30 15:18:56 EDT", "StateChangeTimestampMonotonic": "5717711", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11425", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sun 2020-08-30 15:18:56 EDT", "WatchdogTimestampMonotonic": "5717709", "WatchdogUSec": "0"}} TASK [linux-system-roles.tuned : Check for Tuned legacy] *********************** task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:8 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "cmd": "tuned --version &> /dev/null || echo -n \"legacy\"", "delta": "0:00:00.139498", "end": "2020-08-30 15:19:07.918229", "rc": 0, "start": "2020-08-30 15:19:07.778731", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:12 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"ansible_facts": {"tuned_legacy": false}, "changed": false} TASK [linux-system-roles.tuned : Generate tuned-main.conf file] **************** task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:15 NOTIFIED HANDLER linux-system-roles.tuned : restart tuned for /cache/rhel-guest-image-8.2-290.x86_64.qcow2 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "checksum": "ef5a704914d7241657dbc0813c7cb6d3a57b162f", "dest": "/etc/tuned/tuned-main.conf", "gid": 0, "group": "root", "md5sum": "3c6c8c5ef0ee8916f8110a90a9c20b50", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 142, "src": "/root/.ansible/tmp/ansible-tmp-1598815148.1366546-3061-136180935095695/source", "state": "file", "uid": 0} TASK [linux-system-roles.tuned : Get Tuned recommended profile] **************** task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:20 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "cmd": "tuned-adm recommend 2> /dev/null || echo -n \" *fail\"", "delta": "0:00:00.252659", "end": "2020-08-30 15:19:09.427585", "rc": 0, "start": "2020-08-30 15:19:09.174926", "stderr": "", "stderr_lines": [], "stdout": "virtual-guest", "stdout_lines": ["virtual-guest"]} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:24 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"ansible_facts": {"tuned_recommended_profile": "virtual-guest"}, "changed": false} TASK [linux-system-roles.tuned : Set Tuned legacy profile default] ************* task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:27 skipping: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.tuned : Set Tuned profile balanced] ******************* task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:31 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "profile", "balanced"], "delta": "0:00:01.148755", "end": "2020-08-30 15:19:10.987835", "rc": 0, "start": "2020-08-30 15:19:09.839080", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.tuned : Set recommended Tuned profile virtual-guest] *** task path: /tmp/tmpk0gn9lt4/tasks/main.yaml:35 skipping: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get tuned version] ******************************************************* task path: /tmp/tmpk0gn9lt4/tests/tests_set_profile.yml:10 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "--version"], "delta": "0:00:00.127833", "end": "2020-08-30 15:19:11.473437", "rc": 0, "start": "2020-08-30 15:19:11.345604", "stderr": "", "stderr_lines": [], "stdout": "tuned-adm 2.13.0", "stdout_lines": ["tuned-adm 2.13.0"]} TASK [Get active profile] ****************************************************** task path: /tmp/tmpk0gn9lt4/tests/tests_set_profile.yml:15 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "active"], "delta": "0:00:00.129149", "end": "2020-08-30 15:19:11.947792", "rc": 0, "start": "2020-08-30 15:19:11.818643", "stderr": "", "stderr_lines": [], "stdout": "Current active profile: balanced", "stdout_lines": ["Current active profile: balanced"]} TASK [set_fact] **************************************************************** task path: /tmp/tmpk0gn9lt4/tests/tests_set_profile.yml:19 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"ansible_facts": {"active_profile": "balanced"}, "changed": false} TASK [assert] ****************************************************************** task path: /tmp/tmpk0gn9lt4/tests/tests_set_profile.yml:22 ok: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => { "changed": false, "msg": "All assertions passed" } RUNNING HANDLER [linux-system-roles.tuned : restart tuned] ********************* task path: /tmp/tmpk0gn9lt4/handlers/main.yml:2 changed: [/cache/rhel-guest-image-8.2-290.x86_64.qcow2] => {"changed": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 15:18:56 EDT", "ActiveEnterTimestampMonotonic": "5717711", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service network.target sysinit.target systemd-journald.socket systemd-sysctl.service dbus.socket basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 15:18:56 EDT", "AssertTimestampMonotonic": "5446348", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 15:18:56 EDT", "ConditionTimestampMonotonic": "5446348", "ConfigurationDirectoryMode": "0755", "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)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1160", "ExecMainStartTimestamp": "Sun 2020-08-30 15:18:56 EDT", "ExecMainStartTimestampMonotonic": "5447387", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 15:18:56 EDT] ; stop_time=[n/a] ; pid=1160 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sun 2020-08-30 15:18:56 EDT", "InactiveExitTimestampMonotonic": "5447434", "InvocationID": "721ae0c9b8144a5683579494d675ee2d", "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": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "7141", "LimitNPROCSoft": "7141", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7141", "LimitSIGPENDINGSoft": "7141", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1160", "MemoryAccounting": "yes", "MemoryCurrent": "30511104", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.service sysinit.target dbus.socket polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sun 2020-08-30 15:18:56 EDT", "StateChangeTimestampMonotonic": "5717711", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11425", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sun 2020-08-30 15:18:56 EDT", "WatchdogTimestampMonotonic": "5717709", "WatchdogUSec": "0"}} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-guest-image-8.2-290.x86_64.qcow2 : ok=16 changed=8 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0