# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* Tuesday 30 August 2022 16:14:12 +0000 (0:00:00.040) 0:00:00.040 ******** ok: [sut] => { "ansible_facts": { "my_secret_var": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n63326233303536663133383366636332383939653731623561336136303931376239666138373634\n3163666632373261626332343639623863326333653832620a626664623034363834363734643563\n63333935663733393030306439373134633039313633306236393734636439303733346536616363\n3462663533323333630a623332626366623263616463383263386363613564326165333731303833\n3431\n" } }, "ansible_included_var_files": [ "/WORKDIR/dist-git-kernel_settings-ci-testing-SWSmsr/tests/vars/vault-variables.yml" ], "changed": false } PLAY [test simple kernel settings] ********************************************* TASK [Gathering Facts] ********************************************************* Tuesday 30 August 2022 16:14:12 +0000 (0:00:00.066) 0:00:00.107 ******** ok: [sut] TASK [set platform independent vars used by this test] ************************* Tuesday 30 August 2022 16:14:17 +0000 (0:00:05.166) 0:00:05.273 ******** ok: [sut] => { "ansible_facts": { "__kernel_settings_profile_file": "# File managed by Ansible - DO NOT EDIT\n[main]\nsummary = kernel settings\n[sysctl]\nfs.epoll.max_user_watches = 785592\nfs.file-max = 379724\n[vm]\ntransparent_hugepages = madvise\n[sysfs]\n/sys/kernel/debug/x86/ibrs_enabled = 0\n/sys/kernel/debug/x86/pti_enabled = 0\n/sys/kernel/debug/x86/retp_enabled = 0\n{% if __kernel_settings_blcmdline_value | d() %}\n[bootloader]\ncmdline = {{ __kernel_settings_blcmdline_value }}\n{% endif %}\n", "kernel_settings_sysctl": [ { "name": "fs.epoll.max_user_watches", "value": 785592 }, { "name": "fs.file-max", "value": 379724 }, { "name": "no.such.param", "state": "absent" } ], "kernel_settings_sysfs": [ { "name": "/sys/kernel/debug/x86/pti_enabled", "value": 0 }, { "name": "/sys/kernel/debug/x86/retp_enabled", "value": 0 }, { "name": "/sys/kernel/debug/x86/ibrs_enabled", "value": 0 }, { "name": "/sys/not/found", "state": "absent" } ], "kernel_settings_systemd_cpu_affinity": { "state": "absent" }, "kernel_settings_transparent_hugepages": "madvise", "kernel_settings_transparent_hugepages_defrag": { "state": "absent" } }, "ansible_included_var_files": [ "/WORKDIR/dist-git-kernel_settings-ci-testing-SWSmsr/tests/vars/vars_simple_settings.yml" ], "changed": false } TASK [disable bootloader cmdline testing on Fedora] **************************** Tuesday 30 August 2022 16:14:17 +0000 (0:00:00.082) 0:00:05.356 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [apply the settings - call the role] ************************************** Tuesday 30 August 2022 16:14:17 +0000 (0:00:00.050) 0:00:05.406 ******** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** Tuesday 30 August 2022 16:14:17 +0000 (0:00:00.171) 0:00:05.578 ******** included: /WORKDIR/dist-git-kernel_settings-ci-testing-SWSmsr/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** Tuesday 30 August 2022 16:14:17 +0000 (0:00:00.101) 0:00:05.680 ******** ok: [sut] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** Tuesday 30 August 2022 16:14:22 +0000 (0:00:04.763) 0:00:10.444 ******** ok: [sut] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-kernel_settings-ci-testing-SWSmsr/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** Tuesday 30 August 2022 16:14:22 +0000 (0:00:00.061) 0:00:10.506 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Use firewall role] ******************************************************* Tuesday 30 August 2022 16:14:28 +0000 (0:00:05.708) 0:00:16.214 ******** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** Tuesday 30 August 2022 16:14:28 +0000 (0:00:00.051) 0:00:16.265 ******** included: /WORKDIR/dist-git-kernel_settings-ci-testing-SWSmsr/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** Tuesday 30 August 2022 16:14:28 +0000 (0:00:00.031) 0:00:16.297 ******** ok: [sut] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** Tuesday 30 August 2022 16:14:33 +0000 (0:00:04.793) 0:00:21.091 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ Tuesday 30 August 2022 16:14:38 +0000 (0:00:05.118) 0:00:26.210 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** Tuesday 30 August 2022 16:14:38 +0000 (0:00:00.023) 0:00:26.233 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** Tuesday 30 August 2022 16:14:44 +0000 (0:00:05.705) 0:00:31.939 ******** changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice polkit.service dbus.socket dbus.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service iptables.service ipset.service ebtables.service nftables.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14143", "LimitNPROCSoft": "14143", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14143", "LimitSIGPENDINGSoft": "14143", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22628", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** Tuesday 30 August 2022 16:14:49 +0000 (0:00:05.821) 0:00:37.761 ******** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python3" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** Tuesday 30 August 2022 16:14:49 +0000 (0:00:00.067) 0:00:37.829 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** Tuesday 30 August 2022 16:14:49 +0000 (0:00:00.032) 0:00:37.861 ******** changed: [sut] => (item={'port': '443/tcp', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "port": "443/tcp", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** Tuesday 30 August 2022 16:14:54 +0000 (0:00:04.557) 0:00:42.419 ******** skipping: [sut] => (item={'port': '443/tcp', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "port": "443/tcp", "state": "enabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* Tuesday 30 August 2022 16:14:54 +0000 (0:00:00.053) 0:00:42.473 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** Tuesday 30 August 2022 16:14:54 +0000 (0:00:00.038) 0:00:42.511 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* Tuesday 30 August 2022 16:14:54 +0000 (0:00:00.030) 0:00:42.542 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** Tuesday 30 August 2022 16:14:54 +0000 (0:00:00.030) 0:00:42.573 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* Tuesday 30 August 2022 16:14:54 +0000 (0:00:00.029) 0:00:42.603 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* Tuesday 30 August 2022 16:14:54 +0000 (0:00:00.029) 0:00:42.633 ******** skipping: [sut] => {} TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** Tuesday 30 August 2022 16:14:54 +0000 (0:00:00.038) 0:00:42.671 ******** ok: [sut] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-08-30 15:58:21 UTC", "ActiveEnterTimestampMonotonic": "9880290", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service system.slice systemd-journald.socket dbus.socket sysinit.target systemd-sysctl.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-08-30 15:58:20 UTC", "AssertTimestampMonotonic": "8706967", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-08-30 15:58:20 UTC", "ConditionTimestampMonotonic": "8706965", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service auto-cpufreq.service power-profiles-daemon.service shutdown.target tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "756", "ExecMainStartTimestamp": "Tue 2022-08-30 15:58:20 UTC", "ExecMainStartTimestampMonotonic": "8708418", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-08-30 15:58:20 UTC", "InactiveExitTimestampMonotonic": "8708490", "InvocationID": "08ad51fb82ff47c786371a60f5f04d22", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14143", "LimitNPROCSoft": "14143", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14143", "LimitSIGPENDINGSoft": "14143", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "756", "MemoryAccounting": "yes", "MemoryCurrent": "21032960", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.service polkit.service dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-08-30 15:58:21 UTC", "StateChangeTimestampMonotonic": "9880290", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "22628", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2022-08-30 15:58:21 UTC", "WatchdogTimestampMonotonic": "9880286", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** Tuesday 30 August 2022 16:14:59 +0000 (0:00:04.588) 0:00:47.260 ******** changed: [sut] => { "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] *** Tuesday 30 August 2022 16:15:03 +0000 (0:00:04.340) 0:00:51.600 ******** changed: [sut] => { "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-1661876104.157071-8987-154661891760116/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** Tuesday 30 August 2022 16:15:12 +0000 (0:00:08.353) 0:00:59.954 ******** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5PWtlcm5lbCBzZXR0aW5ncwo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* Tuesday 30 August 2022 16:15:15 +0000 (0:00:03.419) 0:01:03.373 ******** changed: [sut] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "379724" }, "sysfs": { "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" }, "vm": { "transparent_hugepages": "madvise" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [fedora.linux_system_roles.kernel_settings : tuned apply settings] ******** Tuesday 30 August 2022 16:15:19 +0000 (0:00:03.621) 0:01:06.995 ******** changed: [sut] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.207902", "end": "2022-08-30 16:15:25.106124", "rc": 0, "start": "2022-08-30 16:15:22.898222" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* Tuesday 30 August 2022 16:15:25 +0000 (0:00:06.455) 0:01:13.451 ******** included: /WORKDIR/dist-git-kernel_settings-ci-testing-SWSmsr/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for sut TASK [fedora.linux_system_roles.kernel_settings : check that settings are applied correctly] *** Tuesday 30 August 2022 16:15:25 +0000 (0:00:00.052) 0:01:13.504 ******** ok: [sut] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.142849", "end": "2022-08-30 16:15:29.418542", "rc": 0, "start": "2022-08-30 16:15:29.275693" } STDOUT: Verfication succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : get last verify results from log] *** Tuesday 30 August 2022 16:15:29 +0000 (0:00:04.252) 0:01:17.756 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : report errors that are not bootloader errors] *** Tuesday 30 August 2022 16:15:29 +0000 (0:00:00.030) 0:01:17.786 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : notify user that reboot is needed to apply changes] *** Tuesday 30 August 2022 16:15:29 +0000 (0:00:00.024) 0:01:17.811 ******** skipping: [sut] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** Tuesday 30 August 2022 16:15:29 +0000 (0:00:00.033) 0:01:17.844 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify that settings were applied correctly] ***************************** Tuesday 30 August 2022 16:15:30 +0000 (0:00:00.043) 0:01:17.888 ******** included: /WORKDIR/dist-git-kernel_settings-ci-testing-SWSmsr/tests/tasks/assert_kernel_settings.yml for sut TASK [Set version specific variables] ****************************************** Tuesday 30 August 2022 16:15:30 +0000 (0:00:00.034) 0:01:17.922 ******** ok: [sut] => { "ansible_facts": { "__kernel_settings_test_python_cmd": "python3", "__kernel_settings_test_python_pkgs": [ "python3", "python3-configobj" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-kernel_settings-ci-testing-SWSmsr/tests/vars/tests_RedHat_8.yml" ], "changed": false } TASK [reset settings success flag] ********************************************* Tuesday 30 August 2022 16:15:30 +0000 (0:00:00.041) 0:01:17.964 ******** ok: [sut] => { "ansible_facts": { "__kernel_settings_success": true }, "changed": false } TASK [check tuned-adm verify] ************************************************** Tuesday 30 August 2022 16:15:30 +0000 (0:00:00.032) 0:01:17.996 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check for verify errors] ************************************************* Tuesday 30 August 2022 16:15:30 +0000 (0:00:00.022) 0:01:18.019 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check /proc/cmdline] ***************************************************** Tuesday 30 August 2022 16:15:30 +0000 (0:00:00.029) 0:01:18.049 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set error flag based on verify] ****************************************** Tuesday 30 August 2022 16:15:30 +0000 (0:00:00.028) 0:01:18.078 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Tuesday 30 August 2022 16:15:30 +0000 (0:00:00.027) 0:01:18.105 ******** included: /WORKDIR/dist-git-kernel_settings-ci-testing-SWSmsr/tests/tasks/assert_kernel_settings_conf_files.yml for sut TASK [create temporary file for expected config] ******************************* Tuesday 30 August 2022 16:15:30 +0000 (0:00:00.063) 0:01:18.169 ******** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.ti2_1ah0.kernel_settings", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [put expected contents into temporary file] ******************************* Tuesday 30 August 2022 16:15:35 +0000 (0:00:04.783) 0:01:22.952 ******** changed: [sut] => { "changed": true, "checksum": "169e46a0442e2493edda7ef1d37dfc572d06525c", "dest": "/tmp/ansible.ti2_1ah0.kernel_settings", "gid": 0, "group": "root", "md5sum": "b82bbe3a22d81e7a442595a59b2d0944", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 299, "src": "/root/.ansible/tmp/ansible-tmp-1661876135.4248831-9074-246172502360854/source", "state": "file", "uid": 0 } TASK [ensure python command exists for tests below] **************************** Tuesday 30 August 2022 16:15:43 +0000 (0:00:08.444) 0:01:31.396 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [diff expected vs actual content] ***************************************** Tuesday 30 August 2022 16:15:49 +0000 (0:00:06.135) 0:01:37.532 ******** ok: [sut] => { "changed": false, "cmd": "python3 -c 'import sys\nfrom configobj import ConfigObj\nc1 = ConfigObj(sys.argv[1])\nc2 = ConfigObj(sys.argv[2])\nsys.exit(not c1 == c2)' /tmp/ansible.ti2_1ah0.kernel_settings /etc/tuned/kernel_settings/tuned.conf\n", "delta": "0:00:00.041990", "end": "2022-08-30 16:15:53.970367", "rc": 0, "start": "2022-08-30 16:15:53.928377" } TASK [verify expected content] ************************************************* Tuesday 30 August 2022 16:15:54 +0000 (0:00:04.783) 0:01:42.315 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show diff - may not reflect actual ConfigObj differences] **************** Tuesday 30 August 2022 16:15:54 +0000 (0:00:00.022) 0:01:42.337 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get active_profile file] ************************************************* Tuesday 30 August 2022 16:15:54 +0000 (0:00:00.020) 0:01:42.358 ******** ok: [sut] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [check that active_profile ends with kernel_settings] ********************* Tuesday 30 August 2022 16:15:58 +0000 (0:00:04.082) 0:01:46.440 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get profile_mode file] *************************************************** Tuesday 30 August 2022 16:15:58 +0000 (0:00:00.032) 0:01:46.473 ******** ok: [sut] => { "changed": false, "content": "bWFudWFsCg==", "encoding": "base64", "source": "/etc/tuned/profile_mode" } TASK [check that profile_mode is manual] *************************************** Tuesday 30 August 2022 16:16:02 +0000 (0:00:04.375) 0:01:50.848 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get the bootloader specific config file] ********************************* Tuesday 30 August 2022 16:16:03 +0000 (0:00:00.039) 0:01:50.887 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify bootloader settings value] **************************************** Tuesday 30 August 2022 16:16:03 +0000 (0:00:00.029) 0:01:50.917 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check if kernel_settings_reboot_required is set if needed] *************** Tuesday 30 August 2022 16:16:03 +0000 (0:00:00.037) 0:01:50.954 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert success] ********************************************************** Tuesday 30 August 2022 16:16:03 +0000 (0:00:00.034) 0:01:50.988 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [reboot the machine - see if settings persist after reboot] *************** Tuesday 30 August 2022 16:16:03 +0000 (0:00:00.039) 0:01:51.028 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [verify that settings were applied correctly after reboot] **************** Tuesday 30 August 2022 16:16:03 +0000 (0:00:00.031) 0:01:51.060 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [show contents of tuned.conf] ********************************************* Tuesday 30 August 2022 16:16:03 +0000 (0:00:00.031) 0:01:51.091 ******** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.003358", "end": "2022-08-30 16:16:06.553197", "rc": 0, "start": "2022-08-30 16:16:06.549839" } STDOUT: # # Ansible managed # [main] summary = kernel settings [sysctl] fs.epoll.max_user_watches = 785592 fs.file-max = 379724 [sysfs] /sys/kernel/debug/x86/pti_enabled = 0 /sys/kernel/debug/x86/retp_enabled = 0 /sys/kernel/debug/x86/ibrs_enabled = 0 [vm] transparent_hugepages = madvise RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : reboot the managed host to apply kernel_settings changes] *** Tuesday 30 August 2022 16:16:07 +0000 (0:00:03.922) 0:01:55.014 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : clear the kernel_settings_reboot_required flag] *** Tuesday 30 August 2022 16:16:07 +0000 (0:00:00.028) 0:01:55.042 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=34 changed=8 unreachable=0 failed=0 skipped=29 rescued=0 ignored=0 Tuesday 30 August 2022 16:16:07 +0000 (0:00:00.038) 0:01:55.081 ******** =============================================================================== put expected contents into temporary file ------------------------------- 8.44s fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings --- 8.35s fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 6.46s ensure python command exists for tests below ---------------------------- 6.14s fedora.linux_system_roles.firewall : Enable and start firewalld service --- 5.82s fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 5.71s fedora.linux_system_roles.firewall : Install python3-firewall ----------- 5.71s Gathering Facts --------------------------------------------------------- 5.17s fedora.linux_system_roles.firewall : Install firewalld ------------------ 5.12s fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 4.79s diff expected vs actual content ----------------------------------------- 4.78s create temporary file for expected config ------------------------------- 4.78s fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 4.76s fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 4.59s fedora.linux_system_roles.firewall : Configure firewall ----------------- 4.56s get profile_mode file --------------------------------------------------- 4.38s fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists --- 4.34s fedora.linux_system_roles.kernel_settings : check that settings are applied correctly --- 4.25s get active_profile file ------------------------------------------------- 4.08s show contents of tuned.conf --------------------------------------------- 3.92s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---