Formatting '/cache/centos-7.qcow2c.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=8589934592 backing_file=/cache/centos-7.qcow2c backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmppjicmpqi executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-7_setup.yml *************************************************** 1 plays in /cache/centos-7_setup.yml PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/centos-7_setup.yml:1 Monday 25 July 2022 18:41:55 +0000 (0:00:00.012) 0:00:00.012 *********** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Create EPEL 7 repo] ****************************************************** task path: /cache/centos-7_setup.yml:5 Monday 25 July 2022 18:41:56 +0000 (0:00:01.067) 0:00:01.080 *********** changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Create yum cache] ******************************************************** task path: /cache/centos-7_setup.yml:15 Monday 25 July 2022 18:41:58 +0000 (0:00:02.335) 0:00:03.416 *********** changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Create dnf cache] ******************************************************** task path: /cache/centos-7_setup.yml:21 Monday 25 July 2022 18:42:23 +0000 (0:00:24.964) 0:00:28.380 *********** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Disable EPEL 7] ********************************************************** task path: /cache/centos-7_setup.yml:27 Monday 25 July 2022 18:42:23 +0000 (0:00:00.022) 0:00:28.403 *********** changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Disable EPEL 8] ********************************************************** task path: /cache/centos-7_setup.yml:35 Monday 25 July 2022 18:42:24 +0000 (0:00:00.507) 0:00:28.911 *********** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=4 changed=3 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Monday 25 July 2022 18:42:24 +0000 (0:00:00.031) 0:00:28.943 *********** =============================================================================== Create yum cache ------------------------------------------------------- 24.96s /cache/centos-7_setup.yml:15 -------------------------------------------------- Create EPEL 7 repo ------------------------------------------------------ 2.34s /cache/centos-7_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.07s /cache/centos-7_setup.yml:1 --------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.51s /cache/centos-7_setup.yml:27 -------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-7_setup.yml:35 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-7_setup.yml:21 -------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmp474t1zll/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp474t1zll/tests/setup-snapshot.yml:1 Monday 25 July 2022 18:42:24 +0000 (0:00:00.012) 0:00:28.955 *********** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Set platform/version specific variables] ********************************* task path: /tmp/tmp474t1zll/tests/setup-snapshot.yml:3 Monday 25 July 2022 18:42:25 +0000 (0:00:00.708) 0:00:29.664 *********** TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:42:25 +0000 (0:00:00.033) 0:00:29.697 *********** ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:42:25 +0000 (0:00:00.402) 0:00:30.100 *********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/vars/CentOS_7.yml" ], "changed": false } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Install test packages] *************************************************** task path: /tmp/tmp474t1zll/tests/setup-snapshot.yml:9 Monday 25 July 2022 18:42:25 +0000 (0:00:00.081) 0:00:30.181 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-11.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=8 changed=3 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Monday 25 July 2022 18:42:26 +0000 (0:00:00.693) 0:00:30.875 *********** =============================================================================== Create yum cache ------------------------------------------------------- 24.96s /cache/centos-7_setup.yml:15 -------------------------------------------------- Create EPEL 7 repo ------------------------------------------------------ 2.34s /cache/centos-7_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.07s /cache/centos-7_setup.yml:1 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.71s /tmp/tmp474t1zll/tests/setup-snapshot.yml:1 ----------------------------------- Install test packages --------------------------------------------------- 0.69s /tmp/tmp474t1zll/tests/setup-snapshot.yml:9 ----------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.51s /cache/centos-7_setup.yml:27 -------------------------------------------------- linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.40s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Set platform/version specific variables --- 0.08s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Set platform/version specific variables --------------------------------- 0.03s /tmp/tmp474t1zll/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-7_setup.yml:35 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-7_setup.yml:21 -------------------------------------------------- PLAYBOOK: centos-7_post_setup.yml ********************************************** 1 plays in /cache/centos-7_post_setup.yml PLAY [Post setup - these happen last] ****************************************** META: ran handlers TASK [force sync of filesystems - ensure setup changes are made to snapshot] *** task path: /cache/centos-7_post_setup.yml:5 Monday 25 July 2022 18:42:26 +0000 (0:00:00.019) 0:00:30.894 *********** changed: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [shutdown guest] ********************************************************** task path: /cache/centos-7_post_setup.yml:8 Monday 25 July 2022 18:42:26 +0000 (0:00:00.331) 0:00:31.225 *********** changed: [/cache/centos-7.qcow2c.snap] => { "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/centos-7.qcow2c.snap : ok=10 changed=5 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Monday 25 July 2022 18:42:27 +0000 (0:00:00.467) 0:00:31.693 *********** =============================================================================== Create yum cache ------------------------------------------------------- 24.96s /cache/centos-7_setup.yml:15 -------------------------------------------------- Create EPEL 7 repo ------------------------------------------------------ 2.34s /cache/centos-7_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.07s /cache/centos-7_setup.yml:1 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.71s /tmp/tmp474t1zll/tests/setup-snapshot.yml:1 ----------------------------------- Install test packages --------------------------------------------------- 0.69s /tmp/tmp474t1zll/tests/setup-snapshot.yml:9 ----------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.51s /cache/centos-7_setup.yml:27 -------------------------------------------------- shutdown guest ---------------------------------------------------------- 0.47s /cache/centos-7_post_setup.yml:8 ---------------------------------------------- linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.40s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 force sync of filesystems - ensure setup changes are made to snapshot --- 0.33s /cache/centos-7_post_setup.yml:5 ---------------------------------------------- linux-system-roles.kernel_settings : Set platform/version specific variables --- 0.08s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Set platform/version specific variables --------------------------------- 0.03s /tmp/tmp474t1zll/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-7_setup.yml:35 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-7_setup.yml:21 -------------------------------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmppjicmpqi executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_bool_not_allowed.yml ******************************************* 1 plays in /tmp/tmp474t1zll/tests/tests_bool_not_allowed.yml PLAY [test boolean values not allowed] ***************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp474t1zll/tests/tests_bool_not_allowed.yml:2 Monday 25 July 2022 18:43:11 +0000 (0:00:00.012) 0:00:00.012 *********** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [try to pass a boolean value for bootloader cmdline] ********************** task path: /tmp/tmp474t1zll/tests/tests_bool_not_allowed.yml:7 Monday 25 July 2022 18:43:12 +0000 (0:00:01.050) 0:00:01.063 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:43:12 +0000 (0:00:00.037) 0:00:01.100 *********** included: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:43:12 +0000 (0:00:00.030) 0:00:01.130 *********** ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:43:12 +0000 (0:00:00.416) 0:00:01.546 *********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [linux-system-roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:43:12 +0000 (0:00:00.038) 0:00:01.585 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-11.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:43:13 +0000 (0:00:00.778) 0:00:02.363 *********** ok: [/cache/centos-7.qcow2c.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:43:09 UTC", "ActiveEnterTimestampMonotonic": "7779991", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target systemd-sysctl.service basic.target dbus.service systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:43:09 UTC", "AssertTimestampMonotonic": "7593031", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 18:43:09 UTC", "ConditionTimestampMonotonic": "7593031", "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": "956", "ExecMainStartTimestamp": "Mon 2022-07-25 18:43:09 UTC", "ExecMainStartTimestampMonotonic": "7593625", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:43:09 UTC] ; stop_time=[n/a] ; pid=956 ; 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": "Mon 2022-07-25 18:43:09 UTC", "InactiveExitTimestampMonotonic": "7594048", "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": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "956", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice polkit.service dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 18:43:09 UTC", "WatchdogTimestampMonotonic": "7779943", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:43:14 +0000 (0:00:00.629) 0:00:02.993 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:43:14 +0000 (0:00:00.439) 0:00:03.432 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "checksum": "e25dff1f7ee464fabbde746e6cf2ca10ab5675fe", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "a56753e9d08d42b7070c4a4c60411099", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 53, "src": "/root/.ansible/tmp/ansible-tmp-1658774594.8680005-175768-90583698854024/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:43:15 +0000 (0:00:00.829) 0:00:04.262 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5PWtlcm5lbCBzZXR0aW5ncwo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:43:16 +0000 (0:00:00.416) 0:00:04.678 *********** [WARNING]: Error: section [bootloader] item [somevalue] value [True] must not be a boolean - try quoting the value fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "message": "" } MSG: Invalid format for input parameters TASK [check for bootloader cmdline bool value error] *************************** task path: /tmp/tmp474t1zll/tests/tests_bool_not_allowed.yml:20 Monday 25 July 2022 18:43:16 +0000 (0:00:00.532) 0:00:05.210 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [try to pass a boolean value for sysctl value] **************************** task path: /tmp/tmp474t1zll/tests/tests_bool_not_allowed.yml:26 Monday 25 July 2022 18:43:16 +0000 (0:00:00.030) 0:00:05.241 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:43:16 +0000 (0:00:00.032) 0:00:05.273 *********** included: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:43:16 +0000 (0:00:00.027) 0:00:05.300 *********** ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:43:17 +0000 (0:00:00.404) 0:00:05.705 *********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [linux-system-roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:43:17 +0000 (0:00:00.047) 0:00:05.753 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-11.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:43:17 +0000 (0:00:00.518) 0:00:06.271 *********** ok: [/cache/centos-7.qcow2c.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:43:09 UTC", "ActiveEnterTimestampMonotonic": "7779991", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target systemd-sysctl.service basic.target dbus.service systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:43:09 UTC", "AssertTimestampMonotonic": "7593031", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 18:43:09 UTC", "ConditionTimestampMonotonic": "7593031", "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": "956", "ExecMainStartTimestamp": "Mon 2022-07-25 18:43:09 UTC", "ExecMainStartTimestampMonotonic": "7593625", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:43:09 UTC] ; stop_time=[n/a] ; pid=956 ; 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": "Mon 2022-07-25 18:43:09 UTC", "InactiveExitTimestampMonotonic": "7594048", "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": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "956", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice polkit.service dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 18:43:09 UTC", "WatchdogTimestampMonotonic": "7779943", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:43:18 +0000 (0:00:00.391) 0:00:06.663 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:43:18 +0000 (0:00:00.310) 0:00:06.974 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-175616konqh1aj/tmp7imyw9ll/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:43:18 +0000 (0:00:00.331) 0:00:07.305 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5PWtlcm5lbCBzZXR0aW5ncwo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:43:18 +0000 (0:00:00.304) 0:00:07.610 *********** [WARNING]: Error: section [sysctl] item [somevalue] value [True] must not be a boolean - try quoting the value fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "message": "" } MSG: Invalid format for input parameters TASK [check for sysctl bool value error] *************************************** task path: /tmp/tmp474t1zll/tests/tests_bool_not_allowed.yml:39 Monday 25 July 2022 18:43:19 +0000 (0:00:00.430) 0:00:08.041 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=19 changed=2 unreachable=0 failed=0 skipped=0 rescued=2 ignored=0 Monday 25 July 2022 18:43:19 +0000 (0:00:00.041) 0:00:08.083 *********** =============================================================================== Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp474t1zll/tests/tests_bool_not_allowed.yml:2 --------------------------- linux-system-roles.kernel_settings : Generate a configuration for kernel settings --- 0.83s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 linux-system-roles.kernel_settings : Ensure required packages are installed --- 0.78s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 0.63s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.53s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 linux-system-roles.kernel_settings : Ensure required packages are installed --- 0.52s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.44s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.43s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.42s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Get current config ----------------- 0.42s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.40s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 0.39s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 linux-system-roles.kernel_settings : Generate a configuration for kernel settings --- 0.33s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.31s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 linux-system-roles.kernel_settings : Get current config ----------------- 0.31s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 linux-system-roles.kernel_settings : Set platform/version specific variables --- 0.05s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 check for sysctl bool value error --------------------------------------- 0.04s /tmp/tmp474t1zll/tests/tests_bool_not_allowed.yml:39 -------------------------- linux-system-roles.kernel_settings : Set platform/version specific variables --- 0.04s /tmp/tmp474t1zll/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 try to pass a boolean value for bootloader cmdline ---------------------- 0.04s /tmp/tmp474t1zll/tests/tests_bool_not_allowed.yml:7 --------------------------- try to pass a boolean value for sysctl value ---------------------------- 0.03s /tmp/tmp474t1zll/tests/tests_bool_not_allowed.yml:26 -------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmppjicmpqi executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_bool_not_allowed.yml ******************************************* 1 plays in /tmp/tmpteurda0g/tests/kernel_settings/tests_bool_not_allowed.yml PLAY [test boolean values not allowed] ***************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpteurda0g/tests/kernel_settings/tests_bool_not_allowed.yml:2 Monday 25 July 2022 18:44:43 +0000 (0:00:00.013) 0:00:00.013 *********** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [try to pass a boolean value for bootloader cmdline] ********************** task path: /tmp/tmpteurda0g/tests/kernel_settings/tests_bool_not_allowed.yml:7 Monday 25 July 2022 18:44:44 +0000 (0:00:01.094) 0:00:01.108 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:44:44 +0000 (0:00:00.043) 0:00:01.152 *********** included: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:44:44 +0000 (0:00:00.053) 0:00:01.205 *********** ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:44:45 +0000 (0:00:00.419) 0:00:01.624 *********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:44:45 +0000 (0:00:00.042) 0:00:01.667 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-11.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:44:46 +0000 (0:00:00.785) 0:00:02.453 *********** ok: [/cache/centos-7.qcow2c.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:44:42 UTC", "ActiveEnterTimestampMonotonic": "7882715", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target basic.target dbus.service system.slice systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:44:42 UTC", "AssertTimestampMonotonic": "7684797", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 18:44:42 UTC", "ConditionTimestampMonotonic": "7684797", "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": "960", "ExecMainStartTimestamp": "Mon 2022-07-25 18:44:42 UTC", "ExecMainStartTimestampMonotonic": "7685511", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:44:42 UTC] ; stop_time=[n/a] ; pid=960 ; 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": "Mon 2022-07-25 18:44:42 UTC", "InactiveExitTimestampMonotonic": "7685975", "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": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "960", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target 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": "Mon 2022-07-25 18:44:42 UTC", "WatchdogTimestampMonotonic": "7882669", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:44:46 +0000 (0:00:00.649) 0:00:03.102 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:44:47 +0000 (0:00:00.467) 0:00:03.570 *********** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "checksum": "e25dff1f7ee464fabbde746e6cf2ca10ab5675fe", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "a56753e9d08d42b7070c4a4c60411099", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 53, "src": "/root/.ansible/tmp/ansible-tmp-1658774687.2663393-177874-192324022593757/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:44:48 +0000 (0:00:00.852) 0:00:04.422 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5PWtlcm5lbCBzZXR0aW5ncwo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:44:48 +0000 (0:00:00.406) 0:00:04.828 *********** [WARNING]: Error: section [bootloader] item [somevalue] value [True] must not be a boolean - try quoting the value fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "message": "" } MSG: Invalid format for input parameters TASK [check for bootloader cmdline bool value error] *************************** task path: /tmp/tmpteurda0g/tests/kernel_settings/tests_bool_not_allowed.yml:20 Monday 25 July 2022 18:44:49 +0000 (0:00:00.526) 0:00:05.355 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [try to pass a boolean value for sysctl value] **************************** task path: /tmp/tmpteurda0g/tests/kernel_settings/tests_bool_not_allowed.yml:26 Monday 25 July 2022 18:44:49 +0000 (0:00:00.031) 0:00:05.387 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:44:49 +0000 (0:00:00.037) 0:00:05.425 *********** included: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:44:49 +0000 (0:00:00.029) 0:00:05.455 *********** ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:44:49 +0000 (0:00:00.416) 0:00:05.871 *********** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:44:49 +0000 (0:00:00.044) 0:00:05.916 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-11.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:44:50 +0000 (0:00:00.515) 0:00:06.432 *********** ok: [/cache/centos-7.qcow2c.snap] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 18:44:42 UTC", "ActiveEnterTimestampMonotonic": "7882715", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target basic.target dbus.service system.slice systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 18:44:42 UTC", "AssertTimestampMonotonic": "7684797", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 18:44:42 UTC", "ConditionTimestampMonotonic": "7684797", "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": "960", "ExecMainStartTimestamp": "Mon 2022-07-25 18:44:42 UTC", "ExecMainStartTimestampMonotonic": "7685511", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 18:44:42 UTC] ; stop_time=[n/a] ; pid=960 ; 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": "Mon 2022-07-25 18:44:42 UTC", "InactiveExitTimestampMonotonic": "7685975", "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": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "960", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target 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": "Mon 2022-07-25 18:44:42 UTC", "WatchdogTimestampMonotonic": "7882669", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:44:50 +0000 (0:00:00.398) 0:00:06.831 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:44:50 +0000 (0:00:00.318) 0:00:07.149 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-177721dgkzzi65/tmpy5v0hz4k/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:44:51 +0000 (0:00:00.339) 0:00:07.488 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5PWtlcm5lbCBzZXR0aW5ncwo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:44:51 +0000 (0:00:00.298) 0:00:07.787 *********** [WARNING]: Error: section [sysctl] item [somevalue] value [True] must not be a boolean - try quoting the value fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "message": "" } MSG: Invalid format for input parameters TASK [check for sysctl bool value error] *************************************** task path: /tmp/tmpteurda0g/tests/kernel_settings/tests_bool_not_allowed.yml:39 Monday 25 July 2022 18:44:51 +0000 (0:00:00.416) 0:00:08.203 *********** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=19 changed=2 unreachable=0 failed=0 skipped=0 rescued=2 ignored=0 Monday 25 July 2022 18:44:51 +0000 (0:00:00.042) 0:00:08.246 *********** =============================================================================== Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmpteurda0g/tests/kernel_settings/tests_bool_not_allowed.yml:2 ----------- fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings --- 0.85s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.79s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.65s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.53s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.52s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.47s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.42s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.42s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.42s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 fedora.linux_system_roles.kernel_settings : Get current config ---------- 0.41s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.40s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings --- 0.34s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.32s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 fedora.linux_system_roles.kernel_settings : Get current config ---------- 0.30s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 fedora.linux_system_roles.kernel_settings : Set version specific variables --- 0.05s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 fedora.linux_system_roles.kernel_settings : Set platform/version specific variables --- 0.04s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 try to pass a boolean value for bootloader cmdline ---------------------- 0.04s /tmp/tmpteurda0g/tests/kernel_settings/tests_bool_not_allowed.yml:7 ----------- fedora.linux_system_roles.kernel_settings : Set platform/version specific variables --- 0.04s /tmp/tmppjicmpqi/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 check for sysctl bool value error --------------------------------------- 0.04s /tmp/tmpteurda0g/tests/kernel_settings/tests_bool_not_allowed.yml:39 ----------