+ cd /tmp/tmpvd5nxi9c/tests; TEST_SUBJECTS=/cache/rhel-guest-image-7.8-41.x86_64.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_tuned-3-e0132f5-rhel-7-zmxjzmu9/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpvd5nxi9c/_setup.yml /tmp/tmpvd5nxi9c/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 *********************************************************** 2 plays in /tmp/tmpvd5nxi9c/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpvd5nxi9c/_setup.yml:5 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => { "groups": { "all": [ "/cache/rhel-guest-image-7.8-41.x86_64.qcow2" ], "localhost": [ "/cache/rhel-guest-image-7.8-41.x86_64.qcow2" ], "subjects": [ "/cache/rhel-guest-image-7.8-41.x86_64.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpvd5nxi9c/_setup.yml:7 skipping: [/cache/rhel-guest-image-7.8-41.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/tmpvd5nxi9c/_setup.yml:16 changed: [/cache/rhel-guest-image-7.8-41.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-7.8-41.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-7.8-41.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-7.8-41.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/tmpvd5nxi9c/tests/tests_default.yml PLAY [Ensure the default profile is "balanced"] ******************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpvd5nxi9c/tests/tests_default.yml:2 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] META: ran handlers TASK [linux-system-roles.tuned : Install Tuned] ******************************** task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:2 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": false, "msg": "", "rc": 0, "results": ["tuned-2.11.0-8.el7.noarch providing tuned is already installed"]} TASK [linux-system-roles.tuned : Enable Tuned] ********************************* task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:5 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": false, "enabled": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 15:36:04 EDT", "ActiveEnterTimestampMonotonic": "7439282", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-sysctl.service system.slice network.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 15:36:04 EDT", "AssertTimestampMonotonic": "7224456", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 15:36:04 EDT", "ConditionTimestampMonotonic": "7224456", "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": "1418", "ExecMainStartTimestamp": "Sun 2020-08-30 15:36:04 EDT", "ExecMainStartTimestampMonotonic": "7225127", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 15:36:04 EDT] ; stop_time=[n/a] ; pid=1418 ; 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 15:36:04 EDT", "InactiveExitTimestampMonotonic": "7225170", "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": "7135", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7135", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1418", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sun 2020-08-30 15:36:04 EDT", "WatchdogTimestampMonotonic": "7439228", "WatchdogUSec": "0"}} TASK [linux-system-roles.tuned : Check for Tuned legacy] *********************** task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:8 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "cmd": "tuned --version &> /dev/null || echo -n \"legacy\"", "delta": "0:00:00.118571", "end": "2020-08-30 15:36:13.796911", "rc": 0, "start": "2020-08-30 15:36:13.678340", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:12 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"ansible_facts": {"tuned_legacy": false}, "changed": false} TASK [linux-system-roles.tuned : Generate tuned-main.conf file] **************** task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:15 NOTIFIED HANDLER linux-system-roles.tuned : restart tuned for /cache/rhel-guest-image-7.8-41.x86_64.qcow2 changed: [/cache/rhel-guest-image-7.8-41.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-1598816173.602416-8316-149739542841528/source", "state": "file", "uid": 0} TASK [linux-system-roles.tuned : Get Tuned recommended profile] **************** task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:20 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "cmd": "tuned-adm recommend 2> /dev/null || echo -n \" *fail\"", "delta": "0:00:00.269337", "end": "2020-08-30 15:36:15.270575", "rc": 0, "start": "2020-08-30 15:36:15.001238", "stderr": "", "stderr_lines": [], "stdout": "virtual-guest", "stdout_lines": ["virtual-guest"]} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:24 ok: [/cache/rhel-guest-image-7.8-41.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/tmpvd5nxi9c/tasks/main.yaml:27 skipping: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.tuned : Set Tuned profile balanced] ******************* task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:31 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "profile", "balanced"], "delta": "0:00:01.247178", "end": "2020-08-30 15:36:16.905561", "rc": 0, "start": "2020-08-30 15:36:15.658383", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.tuned : Set recommended Tuned profile virtual-guest] *** task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:35 skipping: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get tuned version] ******************************************************* task path: /tmp/tmpvd5nxi9c/tests/tests_default.yml:9 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "--version"], "delta": "0:00:00.093699", "end": "2020-08-30 15:36:17.332300", "rc": 0, "start": "2020-08-30 15:36:17.238601", "stderr": "tuned-adm 2.11.0", "stderr_lines": ["tuned-adm 2.11.0"], "stdout": "", "stdout_lines": []} TASK [Get active profile] ****************************************************** task path: /tmp/tmpvd5nxi9c/tests/tests_default.yml:14 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "active"], "delta": "0:00:00.093527", "end": "2020-08-30 15:36:17.737385", "rc": 0, "start": "2020-08-30 15:36:17.643858", "stderr": "", "stderr_lines": [], "stdout": "Current active profile: balanced", "stdout_lines": ["Current active profile: balanced"]} TASK [set_fact] **************************************************************** task path: /tmp/tmpvd5nxi9c/tests/tests_default.yml:18 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"ansible_facts": {"active_profile": "balanced"}, "changed": false} TASK [assert] ****************************************************************** task path: /tmp/tmpvd5nxi9c/tests/tests_default.yml:21 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => { "changed": false, "msg": "All assertions passed" } RUNNING HANDLER [linux-system-roles.tuned : restart tuned] ********************* task path: /tmp/tmpvd5nxi9c/handlers/main.yml:2 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 15:36:04 EDT", "ActiveEnterTimestampMonotonic": "7439282", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-sysctl.service system.slice network.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 15:36:04 EDT", "AssertTimestampMonotonic": "7224456", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 15:36:04 EDT", "ConditionTimestampMonotonic": "7224456", "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": "1418", "ExecMainStartTimestamp": "Sun 2020-08-30 15:36:04 EDT", "ExecMainStartTimestampMonotonic": "7225127", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 15:36:04 EDT] ; stop_time=[n/a] ; pid=1418 ; 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 15:36:04 EDT", "InactiveExitTimestampMonotonic": "7225170", "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": "7135", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7135", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1418", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sun 2020-08-30 15:36:04 EDT", "WatchdogTimestampMonotonic": "7439228", "WatchdogUSec": "0"}} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-guest-image-7.8-41.x86_64.qcow2 : ok=16 changed=8 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + cd /tmp/tmpvd5nxi9c/tests; TEST_SUBJECTS=/cache/rhel-guest-image-7.8-41.x86_64.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_tuned-3-e0132f5-rhel-7-zmxjzmu9/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpvd5nxi9c/_setup.yml /tmp/tmpvd5nxi9c/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 *********************************************************** 2 plays in /tmp/tmpvd5nxi9c/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpvd5nxi9c/_setup.yml:5 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => { "groups": { "all": [ "/cache/rhel-guest-image-7.8-41.x86_64.qcow2" ], "localhost": [ "/cache/rhel-guest-image-7.8-41.x86_64.qcow2" ], "subjects": [ "/cache/rhel-guest-image-7.8-41.x86_64.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpvd5nxi9c/_setup.yml:7 skipping: [/cache/rhel-guest-image-7.8-41.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/tmpvd5nxi9c/_setup.yml:16 changed: [/cache/rhel-guest-image-7.8-41.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-7.8-41.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-7.8-41.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-7.8-41.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/tmpvd5nxi9c/tests/tests_recommended.yml PLAY [Ensure that the recommended profile is set correctly] ******************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpvd5nxi9c/tests/tests_recommended.yml:2 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] META: ran handlers TASK [linux-system-roles.tuned : Install Tuned] ******************************** task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:2 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": false, "msg": "", "rc": 0, "results": ["tuned-2.11.0-8.el7.noarch providing tuned is already installed"]} TASK [linux-system-roles.tuned : Enable Tuned] ********************************* task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:5 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": false, "enabled": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 15:36:29 EDT", "ActiveEnterTimestampMonotonic": "5782244", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service basic.target network.target systemd-journald.socket dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 15:36:28 EDT", "AssertTimestampMonotonic": "5568580", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 15:36:28 EDT", "ConditionTimestampMonotonic": "5568580", "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": "1417", "ExecMainStartTimestamp": "Sun 2020-08-30 15:36:28 EDT", "ExecMainStartTimestampMonotonic": "5569185", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 15:36:28 EDT] ; stop_time=[n/a] ; pid=1417 ; 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 15:36:28 EDT", "InactiveExitTimestampMonotonic": "5569224", "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": "7135", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7135", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1417", "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 system.slice polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sun 2020-08-30 15:36:29 EDT", "WatchdogTimestampMonotonic": "5782192", "WatchdogUSec": "0"}} TASK [linux-system-roles.tuned : Check for Tuned legacy] *********************** task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:8 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "cmd": "tuned --version &> /dev/null || echo -n \"legacy\"", "delta": "0:00:00.107298", "end": "2020-08-30 15:36:36.920173", "rc": 0, "start": "2020-08-30 15:36:36.812875", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:12 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"ansible_facts": {"tuned_legacy": false}, "changed": false} TASK [linux-system-roles.tuned : Generate tuned-main.conf file] **************** task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:15 NOTIFIED HANDLER linux-system-roles.tuned : restart tuned for /cache/rhel-guest-image-7.8-41.x86_64.qcow2 changed: [/cache/rhel-guest-image-7.8-41.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-1598816196.9982758-8691-243572295606716/source", "state": "file", "uid": 0} TASK [linux-system-roles.tuned : Get Tuned recommended profile] **************** task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:20 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "cmd": "tuned-adm recommend 2> /dev/null || echo -n \" *fail\"", "delta": "0:00:00.275804", "end": "2020-08-30 15:36:38.400401", "rc": 0, "start": "2020-08-30 15:36:38.124597", "stderr": "", "stderr_lines": [], "stdout": "virtual-guest", "stdout_lines": ["virtual-guest"]} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:24 ok: [/cache/rhel-guest-image-7.8-41.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/tmpvd5nxi9c/tasks/main.yaml:27 skipping: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.tuned : Set Tuned profile balanced] ******************* task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:31 skipping: [/cache/rhel-guest-image-7.8-41.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/tmpvd5nxi9c/tasks/main.yaml:35 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "profile", "virtual-guest"], "delta": "0:00:01.388507", "end": "2020-08-30 15:36:40.193821", "rc": 0, "start": "2020-08-30 15:36:38.805314", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Get active profile] ****************************************************** task path: /tmp/tmpvd5nxi9c/tests/tests_recommended.yml:10 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "active"], "delta": "0:00:00.096466", "end": "2020-08-30 15:36:40.613102", "rc": 0, "start": "2020-08-30 15:36:40.516636", "stderr": "", "stderr_lines": [], "stdout": "Current active profile: virtual-guest", "stdout_lines": ["Current active profile: virtual-guest"]} TASK [set_fact] **************************************************************** task path: /tmp/tmpvd5nxi9c/tests/tests_recommended.yml:14 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"ansible_facts": {"active_profile": "virtual-guest"}, "changed": false} TASK [Get recommended profile] ************************************************* task path: /tmp/tmpvd5nxi9c/tests/tests_recommended.yml:17 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "recommend"], "delta": "0:00:00.245566", "end": "2020-08-30 15:36:41.194862", "rc": 0, "start": "2020-08-30 15:36:40.949296", "stderr": "", "stderr_lines": [], "stdout": "virtual-guest", "stdout_lines": ["virtual-guest"]} TASK [set_fact] **************************************************************** task path: /tmp/tmpvd5nxi9c/tests/tests_recommended.yml:23 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"ansible_facts": {"recommended_profile": "virtual-guest"}, "changed": false} TASK [assert] ****************************************************************** task path: /tmp/tmpvd5nxi9c/tests/tests_recommended.yml:26 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => { "changed": false, "msg": "All assertions passed" } RUNNING HANDLER [linux-system-roles.tuned : restart tuned] ********************* task path: /tmp/tmpvd5nxi9c/handlers/main.yml:2 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 15:36:29 EDT", "ActiveEnterTimestampMonotonic": "5782244", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service basic.target network.target systemd-journald.socket dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 15:36:28 EDT", "AssertTimestampMonotonic": "5568580", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 15:36:28 EDT", "ConditionTimestampMonotonic": "5568580", "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": "1417", "ExecMainStartTimestamp": "Sun 2020-08-30 15:36:28 EDT", "ExecMainStartTimestampMonotonic": "5569185", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 15:36:28 EDT] ; stop_time=[n/a] ; pid=1417 ; 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 15:36:28 EDT", "InactiveExitTimestampMonotonic": "5569224", "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": "7135", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7135", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1417", "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 system.slice polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sun 2020-08-30 15:36:29 EDT", "WatchdogTimestampMonotonic": "5782192", "WatchdogUSec": "0"}} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-guest-image-7.8-41.x86_64.qcow2 : ok=17 changed=8 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + cd /tmp/tmpvd5nxi9c/tests; TEST_SUBJECTS=/cache/rhel-guest-image-7.8-41.x86_64.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_tuned-3-e0132f5-rhel-7-zmxjzmu9/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpvd5nxi9c/_setup.yml /tmp/tmpvd5nxi9c/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 *********************************************************** 2 plays in /tmp/tmpvd5nxi9c/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpvd5nxi9c/_setup.yml:5 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => { "groups": { "all": [ "/cache/rhel-guest-image-7.8-41.x86_64.qcow2" ], "localhost": [ "/cache/rhel-guest-image-7.8-41.x86_64.qcow2" ], "subjects": [ "/cache/rhel-guest-image-7.8-41.x86_64.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpvd5nxi9c/_setup.yml:7 skipping: [/cache/rhel-guest-image-7.8-41.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/tmpvd5nxi9c/_setup.yml:16 changed: [/cache/rhel-guest-image-7.8-41.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-7.8-41.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-7.8-41.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-7.8-41.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/tmpvd5nxi9c/tests/tests_set_profile.yml PLAY [Set a profile] *********************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpvd5nxi9c/tests/tests_set_profile.yml:2 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] META: ran handlers TASK [linux-system-roles.tuned : Install Tuned] ******************************** task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:2 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": false, "msg": "", "rc": 0, "results": ["tuned-2.11.0-8.el7.noarch providing tuned is already installed"]} TASK [linux-system-roles.tuned : Enable Tuned] ********************************* task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:5 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": false, "enabled": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 15:36:55 EDT", "ActiveEnterTimestampMonotonic": "8113477", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service systemd-journald.socket system.slice basic.target network.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 15:36:55 EDT", "AssertTimestampMonotonic": "7886959", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 15:36:55 EDT", "ConditionTimestampMonotonic": "7886959", "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": "1419", "ExecMainStartTimestamp": "Sun 2020-08-30 15:36:55 EDT", "ExecMainStartTimestampMonotonic": "7887702", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 15:36:55 EDT] ; stop_time=[n/a] ; pid=1419 ; 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 15:36:55 EDT", "InactiveExitTimestampMonotonic": "7887776", "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": "7135", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7135", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1419", "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": "system.slice 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", "WatchdogTimestamp": "Sun 2020-08-30 15:36:55 EDT", "WatchdogTimestampMonotonic": "8113307", "WatchdogUSec": "0"}} TASK [linux-system-roles.tuned : Check for Tuned legacy] *********************** task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:8 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "cmd": "tuned --version &> /dev/null || echo -n \"legacy\"", "delta": "0:00:00.109525", "end": "2020-08-30 15:37:07.435182", "rc": 0, "start": "2020-08-30 15:37:07.325657", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:12 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"ansible_facts": {"tuned_legacy": false}, "changed": false} TASK [linux-system-roles.tuned : Generate tuned-main.conf file] **************** task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:15 NOTIFIED HANDLER linux-system-roles.tuned : restart tuned for /cache/rhel-guest-image-7.8-41.x86_64.qcow2 changed: [/cache/rhel-guest-image-7.8-41.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-1598816227.230633-9051-25910155854403/source", "state": "file", "uid": 0} TASK [linux-system-roles.tuned : Get Tuned recommended profile] **************** task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:20 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "cmd": "tuned-adm recommend 2> /dev/null || echo -n \" *fail\"", "delta": "0:00:00.284782", "end": "2020-08-30 15:37:08.917492", "rc": 0, "start": "2020-08-30 15:37:08.632710", "stderr": "", "stderr_lines": [], "stdout": "virtual-guest", "stdout_lines": ["virtual-guest"]} TASK [linux-system-roles.tuned : set_fact] ************************************* task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:24 ok: [/cache/rhel-guest-image-7.8-41.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/tmpvd5nxi9c/tasks/main.yaml:27 skipping: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [linux-system-roles.tuned : Set Tuned profile balanced] ******************* task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:31 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "profile", "balanced"], "delta": "0:00:01.220770", "end": "2020-08-30 15:37:10.526727", "rc": 0, "start": "2020-08-30 15:37:09.305957", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [linux-system-roles.tuned : Set recommended Tuned profile virtual-guest] *** task path: /tmp/tmpvd5nxi9c/tasks/main.yaml:35 skipping: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Get tuned version] ******************************************************* task path: /tmp/tmpvd5nxi9c/tests/tests_set_profile.yml:10 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "--version"], "delta": "0:00:00.095678", "end": "2020-08-30 15:37:10.959017", "rc": 0, "start": "2020-08-30 15:37:10.863339", "stderr": "tuned-adm 2.11.0", "stderr_lines": ["tuned-adm 2.11.0"], "stdout": "", "stdout_lines": []} TASK [Get active profile] ****************************************************** task path: /tmp/tmpvd5nxi9c/tests/tests_set_profile.yml:15 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "cmd": ["tuned-adm", "active"], "delta": "0:00:00.107829", "end": "2020-08-30 15:37:11.403749", "rc": 0, "start": "2020-08-30 15:37:11.295920", "stderr": "", "stderr_lines": [], "stdout": "Current active profile: balanced", "stdout_lines": ["Current active profile: balanced"]} TASK [set_fact] **************************************************************** task path: /tmp/tmpvd5nxi9c/tests/tests_set_profile.yml:19 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"ansible_facts": {"active_profile": "balanced"}, "changed": false} TASK [assert] ****************************************************************** task path: /tmp/tmpvd5nxi9c/tests/tests_set_profile.yml:22 ok: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => { "changed": false, "msg": "All assertions passed" } RUNNING HANDLER [linux-system-roles.tuned : restart tuned] ********************* task path: /tmp/tmpvd5nxi9c/handlers/main.yml:2 changed: [/cache/rhel-guest-image-7.8-41.x86_64.qcow2] => {"changed": true, "name": "tuned", "state": "started", "status": {"ActiveEnterTimestamp": "Sun 2020-08-30 15:36:55 EDT", "ActiveEnterTimestampMonotonic": "8113477", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service systemd-journald.socket system.slice basic.target network.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sun 2020-08-30 15:36:55 EDT", "AssertTimestampMonotonic": "7886959", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Sun 2020-08-30 15:36:55 EDT", "ConditionTimestampMonotonic": "7886959", "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": "1419", "ExecMainStartTimestamp": "Sun 2020-08-30 15:36:55 EDT", "ExecMainStartTimestampMonotonic": "7887702", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sun 2020-08-30 15:36:55 EDT] ; stop_time=[n/a] ; pid=1419 ; 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 15:36:55 EDT", "InactiveExitTimestampMonotonic": "7887776", "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": "7135", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7135", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "1419", "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": "system.slice 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", "WatchdogTimestamp": "Sun 2020-08-30 15:36:55 EDT", "WatchdogTimestampMonotonic": "8113307", "WatchdogUSec": "0"}} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-guest-image-7.8-41.x86_64.qcow2 : ok=16 changed=8 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0