+ cd /tmp/tmpcfcgaaxl/tests; TEST_SUBJECTS=/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_tuned-3-e0132f5-centos-7-8vr5q8k8/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpcfcgaaxl/_setup.yml /tmp/tmpcfcgaaxl/tests/tests_default.yml ansible-playbook 2.9.11 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.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 *********************************************************** 1 plays in /tmp/tmpcfcgaaxl/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpcfcgaaxl/_setup.yml:5 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => { "groups": { "all": [ "/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c" ], "localhost": [ "/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c" ], "subjects": [ "/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpcfcgaaxl/_setup.yml:7 skipping: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpcfcgaaxl/tests/tests_default.yml PLAY [Ensure the default profile is "balanced"] ******************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcfcgaaxl/tests/tests_default.yml:2 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] META: ran handlers TASK [linux-system-roles.tuned : Install Tuned] ******************************** task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:2 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "msg": "", "rc": 0, "results": ["tuned-2.10.0-6.el7_6.4.noarch providing tuned is already installed"]} TASK [linux-system-roles.tuned : Enable Tuned] ********************************* task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:5 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "enabled": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 19:19:31 UTC", "ActiveEnterTimestampMonotonic": "7116659", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-journald.socket network.target basic.target system.slice systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 19:19:31 UTC", "AssertTimestampMonotonic": "6885348", "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", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 19:19:31 UTC", "ConditionTimestampMonotonic": "6885348", "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": "1468", "ExecMainStartTimestamp": "Sun 2020-08-30 19:19:31 UTC", "ExecMainStartTimestampMonotonic": "6886088", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 19:19:31 UTC] ; stop_time=[n/a] ; pid=1468 ; 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": "Sun 2020-08-30 19:19:31 UTC", "InactiveExitTimestampMonotonic": "6886536", "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": "7141", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7141", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1468", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "system.slice", "WatchdogTimestamp": "Sun 2020-08-30 19:19:31 UTC", "WatchdogTimestampMonotonic": "7116218", "WatchdogUSec": "0"}} TASK [linux-system-roles.tuned : Check for Tuned legacy] *********************** task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:8 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "cmd": "tuned --version &> /dev/null || echo -n \"legacy\"", "delta": "0:00:00.083794", "end": "2020-08-30 19:19:37.355051", "rc": 0, "start": "2020-08-30 19:19:37.271257", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:12 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"ansible_facts": {"tuned_legacy": false}, "changed": false} TASK [linux-system-roles.tuned : Generate tuned-main.conf file] **************** task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:15 NOTIFIED HANDLER linux-system-roles.tuned : restart tuned for /cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"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-1598815178.8169966-2360-233915747375801/source", "state": "file", "uid": 0} TASK [linux-system-roles.tuned : Get Tuned recommended profile] **************** task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:20 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "cmd": "tuned-adm recommend 2> /dev/null || echo -n \" *fail\"", "delta": "0:00:00.258423", "end": "2020-08-30 19:19:38.807176", "rc": 0, "start": "2020-08-30 19:19:38.548753", "stderr": "", "stderr_lines": [], "stdout": "virtual-guest", "stdout_lines": ["virtual-guest"]} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:24 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"ansible_facts": {"tuned_recommended_profile": "virtual-guest"}, "changed": false} TASK [linux-system-roles.tuned : Set Tuned legacy profile default] ************* task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:27 skipping: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.tuned : Set Tuned profile balanced] ******************* task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:31 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "cmd": ["tuned-adm", "profile", "balanced"], "delta": "0:00:01.396158", "end": "2020-08-30 19:19:40.622294", "rc": 0, "start": "2020-08-30 19:19:39.226136", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.tuned : Set recommended Tuned profile virtual-guest] *** task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:35 skipping: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get tuned version] ******************************************************* task path: /tmp/tmpcfcgaaxl/tests/tests_default.yml:9 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "cmd": ["tuned-adm", "--version"], "delta": "0:00:00.076179", "end": "2020-08-30 19:19:41.047484", "rc": 0, "start": "2020-08-30 19:19:40.971305", "stderr": "tuned-adm 2.10.0", "stderr_lines": ["tuned-adm 2.10.0"], "stdout": "", "stdout_lines": []} TASK [Get active profile] ****************************************************** task path: /tmp/tmpcfcgaaxl/tests/tests_default.yml:14 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "cmd": ["tuned-adm", "active"], "delta": "0:00:00.080712", "end": "2020-08-30 19:19:41.463115", "rc": 0, "start": "2020-08-30 19:19:41.382403", "stderr": "", "stderr_lines": [], "stdout": "Current active profile: balanced", "stdout_lines": ["Current active profile: balanced"]} TASK [set_fact] **************************************************************** task path: /tmp/tmpcfcgaaxl/tests/tests_default.yml:18 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"ansible_facts": {"active_profile": "balanced"}, "changed": false} TASK [assert] ****************************************************************** task path: /tmp/tmpcfcgaaxl/tests/tests_default.yml:21 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => { "changed": false, "msg": "All assertions passed" } RUNNING HANDLER [linux-system-roles.tuned : restart tuned] ********************* task path: /tmp/tmpcfcgaaxl/handlers/main.yml:2 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 19:19:31 UTC", "ActiveEnterTimestampMonotonic": "7116659", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-journald.socket network.target basic.target system.slice systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 19:19:31 UTC", "AssertTimestampMonotonic": "6885348", "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", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 19:19:31 UTC", "ConditionTimestampMonotonic": "6885348", "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": "1468", "ExecMainStartTimestamp": "Sun 2020-08-30 19:19:31 UTC", "ExecMainStartTimestampMonotonic": "6886088", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 19:19:31 UTC] ; stop_time=[n/a] ; pid=1468 ; 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": "Sun 2020-08-30 19:19:31 UTC", "InactiveExitTimestampMonotonic": "6886536", "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": "7141", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7141", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1468", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "system.slice", "WatchdogTimestamp": "Sun 2020-08-30 19:19:31 UTC", "WatchdogTimestampMonotonic": "7116218", "WatchdogUSec": "0"}} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c : ok=15 changed=7 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + cd /tmp/tmpcfcgaaxl/tests; TEST_SUBJECTS=/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_tuned-3-e0132f5-centos-7-8vr5q8k8/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpcfcgaaxl/_setup.yml /tmp/tmpcfcgaaxl/tests/tests_recommended.yml ansible-playbook 2.9.11 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.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 *********************************************************** 1 plays in /tmp/tmpcfcgaaxl/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpcfcgaaxl/_setup.yml:5 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => { "groups": { "all": [ "/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c" ], "localhost": [ "/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c" ], "subjects": [ "/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpcfcgaaxl/_setup.yml:7 skipping: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_recommended.yml ************************************************ 1 plays in /tmp/tmpcfcgaaxl/tests/tests_recommended.yml PLAY [Ensure that the recommended profile is set correctly] ******************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcfcgaaxl/tests/tests_recommended.yml:2 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] META: ran handlers TASK [linux-system-roles.tuned : Install Tuned] ******************************** task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:2 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "msg": "", "rc": 0, "results": ["tuned-2.10.0-6.el7_6.4.noarch providing tuned is already installed"]} TASK [linux-system-roles.tuned : Enable Tuned] ********************************* task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:5 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "enabled": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 19:19:55 UTC", "ActiveEnterTimestampMonotonic": "7554783", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service system.slice basic.target network.target dbus.service systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 19:19:54 UTC", "AssertTimestampMonotonic": "7317606", "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", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 19:19:54 UTC", "ConditionTimestampMonotonic": "7317605", "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": "1469", "ExecMainStartTimestamp": "Sun 2020-08-30 19:19:54 UTC", "ExecMainStartTimestampMonotonic": "7318188", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 19:19:54 UTC] ; stop_time=[n/a] ; pid=1469 ; 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": "Sun 2020-08-30 19:19:54 UTC", "InactiveExitTimestampMonotonic": "7318230", "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": "7141", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7141", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1469", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "system.slice", "WatchdogTimestamp": "Sun 2020-08-30 19:19:55 UTC", "WatchdogTimestampMonotonic": "7554661", "WatchdogUSec": "0"}} TASK [linux-system-roles.tuned : Check for Tuned legacy] *********************** task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:8 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "cmd": "tuned --version &> /dev/null || echo -n \"legacy\"", "delta": "0:00:00.080199", "end": "2020-08-30 19:20:00.050859", "rc": 0, "start": "2020-08-30 19:19:59.970660", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:12 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"ansible_facts": {"tuned_legacy": false}, "changed": false} TASK [linux-system-roles.tuned : Generate tuned-main.conf file] **************** task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:15 NOTIFIED HANDLER linux-system-roles.tuned : restart tuned for /cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"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-1598815201.3731456-2671-47137683429017/source", "state": "file", "uid": 0} TASK [linux-system-roles.tuned : Get Tuned recommended profile] **************** task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:20 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "cmd": "tuned-adm recommend 2> /dev/null || echo -n \" *fail\"", "delta": "0:00:00.252017", "end": "2020-08-30 19:20:01.587082", "rc": 0, "start": "2020-08-30 19:20:01.335065", "stderr": "", "stderr_lines": [], "stdout": "virtual-guest", "stdout_lines": ["virtual-guest"]} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:24 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"ansible_facts": {"tuned_recommended_profile": "virtual-guest"}, "changed": false} TASK [linux-system-roles.tuned : Set Tuned legacy profile default] ************* task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:27 skipping: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.tuned : Set Tuned profile balanced] ******************* task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:31 skipping: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.tuned : Set recommended Tuned profile virtual-guest] *** task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:35 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "cmd": ["tuned-adm", "profile", "virtual-guest"], "delta": "0:00:02.110488", "end": "2020-08-30 19:20:04.115809", "rc": 0, "start": "2020-08-30 19:20:02.005321", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Get active profile] ****************************************************** task path: /tmp/tmpcfcgaaxl/tests/tests_recommended.yml:10 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "cmd": ["tuned-adm", "active"], "delta": "0:00:00.076907", "end": "2020-08-30 19:20:04.527540", "rc": 0, "start": "2020-08-30 19:20:04.450633", "stderr": "", "stderr_lines": [], "stdout": "Current active profile: virtual-guest", "stdout_lines": ["Current active profile: virtual-guest"]} TASK [set_fact] **************************************************************** task path: /tmp/tmpcfcgaaxl/tests/tests_recommended.yml:14 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"ansible_facts": {"active_profile": "virtual-guest"}, "changed": false} TASK [Get recommended profile] ************************************************* task path: /tmp/tmpcfcgaaxl/tests/tests_recommended.yml:17 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "cmd": ["tuned-adm", "recommend"], "delta": "0:00:00.214892", "end": "2020-08-30 19:20:05.090019", "rc": 0, "start": "2020-08-30 19:20:04.875127", "stderr": "", "stderr_lines": [], "stdout": "virtual-guest", "stdout_lines": ["virtual-guest"]} TASK [set_fact] **************************************************************** task path: /tmp/tmpcfcgaaxl/tests/tests_recommended.yml:23 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"ansible_facts": {"recommended_profile": "virtual-guest"}, "changed": false} TASK [assert] ****************************************************************** task path: /tmp/tmpcfcgaaxl/tests/tests_recommended.yml:26 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => { "changed": false, "msg": "All assertions passed" } RUNNING HANDLER [linux-system-roles.tuned : restart tuned] ********************* task path: /tmp/tmpcfcgaaxl/handlers/main.yml:2 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 19:19:55 UTC", "ActiveEnterTimestampMonotonic": "7554783", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service system.slice basic.target network.target dbus.service systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 19:19:54 UTC", "AssertTimestampMonotonic": "7317606", "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", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 19:19:54 UTC", "ConditionTimestampMonotonic": "7317605", "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": "1469", "ExecMainStartTimestamp": "Sun 2020-08-30 19:19:54 UTC", "ExecMainStartTimestampMonotonic": "7318188", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 19:19:54 UTC] ; stop_time=[n/a] ; pid=1469 ; 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": "Sun 2020-08-30 19:19:54 UTC", "InactiveExitTimestampMonotonic": "7318230", "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": "7141", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7141", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1469", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "system.slice", "WatchdogTimestamp": "Sun 2020-08-30 19:19:55 UTC", "WatchdogTimestampMonotonic": "7554661", "WatchdogUSec": "0"}} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c : ok=16 changed=7 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + cd /tmp/tmpcfcgaaxl/tests; TEST_SUBJECTS=/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_tuned-3-e0132f5-centos-7-8vr5q8k8/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpcfcgaaxl/_setup.yml /tmp/tmpcfcgaaxl/tests/tests_set_profile.yml ansible-playbook 2.9.11 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.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 *********************************************************** 1 plays in /tmp/tmpcfcgaaxl/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpcfcgaaxl/_setup.yml:5 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => { "groups": { "all": [ "/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c" ], "localhost": [ "/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c" ], "subjects": [ "/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpcfcgaaxl/_setup.yml:7 skipping: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_set_profile.yml ************************************************ 1 plays in /tmp/tmpcfcgaaxl/tests/tests_set_profile.yml PLAY [Set a profile] *********************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcfcgaaxl/tests/tests_set_profile.yml:2 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] META: ran handlers TASK [linux-system-roles.tuned : Install Tuned] ******************************** task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:2 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "msg": "", "rc": 0, "results": ["tuned-2.10.0-6.el7_6.4.noarch providing tuned is already installed"]} TASK [linux-system-roles.tuned : Enable Tuned] ********************************* task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:5 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "enabled": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 19:20:19 UTC", "ActiveEnterTimestampMonotonic": "7325936", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.service systemd-sysctl.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 19:20:19 UTC", "AssertTimestampMonotonic": "7089111", "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", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 19:20:19 UTC", "ConditionTimestampMonotonic": "7089111", "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": "1471", "ExecMainStartTimestamp": "Sun 2020-08-30 19:20:19 UTC", "ExecMainStartTimestampMonotonic": "7089731", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 19:20:19 UTC] ; stop_time=[n/a] ; pid=1471 ; 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": "Sun 2020-08-30 19:20:19 UTC", "InactiveExitTimestampMonotonic": "7089765", "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": "7141", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7141", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1471", "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 dbus.service polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "system.slice", "WatchdogTimestamp": "Sun 2020-08-30 19:20:19 UTC", "WatchdogTimestampMonotonic": "7325405", "WatchdogUSec": "0"}} TASK [linux-system-roles.tuned : Check for Tuned legacy] *********************** task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:8 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "cmd": "tuned --version &> /dev/null || echo -n \"legacy\"", "delta": "0:00:00.082125", "end": "2020-08-30 19:20:24.811647", "rc": 0, "start": "2020-08-30 19:20:24.729522", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:12 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"ansible_facts": {"tuned_legacy": false}, "changed": false} TASK [linux-system-roles.tuned : Generate tuned-main.conf file] **************** task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:15 NOTIFIED HANDLER linux-system-roles.tuned : restart tuned for /cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"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-1598815224.7494667-2991-70915696908850/source", "state": "file", "uid": 0} TASK [linux-system-roles.tuned : Get Tuned recommended profile] **************** task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:20 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "cmd": "tuned-adm recommend 2> /dev/null || echo -n \" *fail\"", "delta": "0:00:00.255830", "end": "2020-08-30 19:20:26.269886", "rc": 0, "start": "2020-08-30 19:20:26.014056", "stderr": "", "stderr_lines": [], "stdout": "virtual-guest", "stdout_lines": ["virtual-guest"]} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:24 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"ansible_facts": {"tuned_recommended_profile": "virtual-guest"}, "changed": false} TASK [linux-system-roles.tuned : Set Tuned legacy profile default] ************* task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:27 skipping: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.tuned : Set Tuned profile balanced] ******************* task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:31 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "cmd": ["tuned-adm", "profile", "balanced"], "delta": "0:00:02.082720", "end": "2020-08-30 19:20:28.769390", "rc": 0, "start": "2020-08-30 19:20:26.686670", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.tuned : Set recommended Tuned profile virtual-guest] *** task path: /tmp/tmpcfcgaaxl/tasks/main.yaml:35 skipping: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get tuned version] ******************************************************* task path: /tmp/tmpcfcgaaxl/tests/tests_set_profile.yml:10 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "cmd": ["tuned-adm", "--version"], "delta": "0:00:00.077465", "end": "2020-08-30 19:20:29.198154", "rc": 0, "start": "2020-08-30 19:20:29.120689", "stderr": "tuned-adm 2.10.0", "stderr_lines": ["tuned-adm 2.10.0"], "stdout": "", "stdout_lines": []} TASK [Get active profile] ****************************************************** task path: /tmp/tmpcfcgaaxl/tests/tests_set_profile.yml:15 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "cmd": ["tuned-adm", "active"], "delta": "0:00:00.076967", "end": "2020-08-30 19:20:29.610410", "rc": 0, "start": "2020-08-30 19:20:29.533443", "stderr": "", "stderr_lines": [], "stdout": "Current active profile: balanced", "stdout_lines": ["Current active profile: balanced"]} TASK [set_fact] **************************************************************** task path: /tmp/tmpcfcgaaxl/tests/tests_set_profile.yml:19 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"ansible_facts": {"active_profile": "balanced"}, "changed": false} TASK [assert] ****************************************************************** task path: /tmp/tmpcfcgaaxl/tests/tests_set_profile.yml:22 ok: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => { "changed": false, "msg": "All assertions passed" } RUNNING HANDLER [linux-system-roles.tuned : restart tuned] ********************* task path: /tmp/tmpcfcgaaxl/handlers/main.yml:2 changed: [/cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c] => {"changed": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 19:20:19 UTC", "ActiveEnterTimestampMonotonic": "7325936", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.service systemd-sysctl.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 19:20:19 UTC", "AssertTimestampMonotonic": "7089111", "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", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 19:20:19 UTC", "ConditionTimestampMonotonic": "7089111", "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": "1471", "ExecMainStartTimestamp": "Sun 2020-08-30 19:20:19 UTC", "ExecMainStartTimestampMonotonic": "7089731", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 19:20:19 UTC] ; stop_time=[n/a] ; pid=1471 ; 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": "Sun 2020-08-30 19:20:19 UTC", "InactiveExitTimestampMonotonic": "7089765", "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": "7141", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7141", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1471", "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 dbus.service polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "system.slice", "WatchdogTimestamp": "Sun 2020-08-30 19:20:19 UTC", "WatchdogTimestampMonotonic": "7325405", "WatchdogUSec": "0"}} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/CentOS-7-x86_64-GenericCloud-1907.qcow2c : ok=15 changed=7 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0