# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_bool_not_allowed.yml ******************************************* 1 plays in /WORKDIR/git-support_transactional_updateiisfvceq/tests/tests_bool_not_allowed.yml PLAY [Test boolean values not allowed] ***************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/tests_bool_not_allowed.yml:2 Wednesday 31 July 2024 13:59:44 +0000 (0:00:00.016) 0:00:00.016 ******** ok: [sut] META: ran handlers TASK [Try to pass a boolean value for bootloader cmdline] ********************** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/tests_bool_not_allowed.yml:7 Wednesday 31 July 2024 13:59:44 +0000 (0:00:00.690) 0:00:00.707 ******** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Wednesday 31 July 2024 13:59:44 +0000 (0:00:00.058) 0:00:00.765 ******** included: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for sut TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Wednesday 31 July 2024 13:59:44 +0000 (0:00:00.029) 0:00:00.794 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : Check if system is ostree] ********** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:11 Wednesday 31 July 2024 13:59:44 +0000 (0:00:00.041) 0:00:00.835 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:16 Wednesday 31 July 2024 13:59:45 +0000 (0:00:00.250) 0:00:01.085 ******** ok: [sut] => { "ansible_facts": { "__kernel_settings_is_ostree": false }, "changed": false } TASK [linux-system-roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:23 Wednesday 31 July 2024 13:59:45 +0000 (0:00:00.019) 0:00:01.105 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.kernel_settings : Set flag if transactional-update exists] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:28 Wednesday 31 July 2024 13:59:45 +0000 (0:00:00.183) 0:00:01.289 ******** ok: [sut] => { "ansible_facts": { "__kernel_settings_is_transactional": false }, "changed": false } TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:32 Wednesday 31 July 2024 13:59:45 +0000 (0:00:00.020) 0:00:01.310 ******** ok: [sut] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/vars/default.yml" ], "changed": false } TASK [linux-system-roles.kernel_settings : Ensure required packages are installed] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Wednesday 31 July 2024 13:59:45 +0000 (0:00:00.024) 0:00:01.334 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-linux-procfs-0.7.3-1.el9.noarch", "Installed: polkit-pkla-compat-0.1-21.el9.x86_64", "Installed: python3-pyudev-0.22.0-6.el9.noarch", "Installed: python3-perf-5.14.0-480.el9.x86_64", "Installed: virt-what-1.25-5.el9.x86_64", "Installed: dmidecode-1:3.3-7.el9.x86_64", "Installed: libtraceevent-1.5.3-3.el9.x86_64", "Installed: polkit-0.117-13.el9.x86_64", "Installed: hdparm-9.62-2.el9.x86_64", "Installed: tuned-2.22.1-1.el9.noarch", "Installed: polkit-libs-0.117-13.el9.x86_64" ] } TASK [linux-system-roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:18 Wednesday 31 July 2024 13:59:51 +0000 (0:00:06.386) 0:00:07.721 ******** skipping: [sut] => {} TASK [linux-system-roles.kernel_settings : Reboot transactional update systems] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Wednesday 31 July 2024 13:59:51 +0000 (0:00:00.018) 0:00:07.739 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:28 Wednesday 31 July 2024 13:59:51 +0000 (0:00:00.017) 0:00:07.757 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Wednesday 31 July 2024 13:59:51 +0000 (0:00:00.017) 0:00:07.774 ******** changed: [sut] => (item=tuned) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-sysctl.service polkit.service dbus.socket systemd-journald.socket basic.target dbus-broker.service sysinit.target system.slice network.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service auto-cpufreq.service cpupower.service tlp.service shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "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 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13964", "LimitNPROCSoft": "13964", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13964", "LimitSIGPENDINGSoft": "13964", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus-broker.service dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "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": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22342", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:43 Wednesday 31 July 2024 13:59:53 +0000 (0:00:01.279) 0:00:09.054 ******** 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 [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:49 Wednesday 31 July 2024 13:59:53 +0000 (0:00:00.277) 0:00:09.331 ******** changed: [sut] => { "changed": true, "checksum": "2276c6651921204ad4c4d1a0d303911e242d601a", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "c7520cb6fa6a0df3e7032ba9e1135fdf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 84, "src": "/root/.ansible/tmp/ansible-tmp-1722434393.3760931-2506-118440781770518/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:56 Wednesday 31 July 2024 13:59:53 +0000 (0:00:00.579) 0:00:09.910 ******** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6a2VybmVsX3NldHRpbmdzCgpbbWFpbl0Kc3VtbWFyeT1rZXJuZWwgc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:62 Wednesday 31 July 2024 13:59:54 +0000 (0:00:00.244) 0:00:10.155 ******** fatal: [sut]: FAILED! => { "changed": false, "message": "" } MSG: Invalid format for input parameters TASK [Check for bootloader cmdline bool value error] *************************** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/tests_bool_not_allowed.yml:20 Wednesday 31 July 2024 13:59:54 +0000 (0:00:00.322) 0:00:10.478 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Try to pass a boolean value for sysctl value] **************************** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/tests_bool_not_allowed.yml:26 Wednesday 31 July 2024 13:59:54 +0000 (0:00:00.022) 0:00:10.500 ******** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Wednesday 31 July 2024 13:59:54 +0000 (0:00:00.015) 0:00:10.515 ******** included: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for sut TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Wednesday 31 July 2024 13:59:54 +0000 (0:00:00.011) 0:00:10.526 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : Check if system is ostree] ********** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:11 Wednesday 31 July 2024 13:59:54 +0000 (0:00:00.018) 0:00:10.544 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:16 Wednesday 31 July 2024 13:59:54 +0000 (0:00:00.016) 0:00:10.561 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:23 Wednesday 31 July 2024 13:59:54 +0000 (0:00:00.016) 0:00:10.578 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : Set flag if transactional-update exists] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:28 Wednesday 31 July 2024 13:59:54 +0000 (0:00:00.017) 0:00:10.596 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:32 Wednesday 31 July 2024 13:59:54 +0000 (0:00:00.016) 0:00:10.612 ******** ok: [sut] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/vars/default.yml" ], "changed": false } TASK [linux-system-roles.kernel_settings : Ensure required packages are installed] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Wednesday 31 July 2024 13:59:54 +0000 (0:00:00.022) 0:00:10.634 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:18 Wednesday 31 July 2024 13:59:55 +0000 (0:00:00.878) 0:00:11.513 ******** skipping: [sut] => {} TASK [linux-system-roles.kernel_settings : Reboot transactional update systems] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Wednesday 31 July 2024 13:59:55 +0000 (0:00:00.018) 0:00:11.531 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:28 Wednesday 31 July 2024 13:59:55 +0000 (0:00:00.017) 0:00:11.549 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Wednesday 31 July 2024 13:59:55 +0000 (0:00:00.016) 0:00:11.566 ******** ok: [sut] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Wed 2024-07-31 13:59:53 UTC", "ActiveEnterTimestampMonotonic": "1006365066", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service polkit.service dbus.socket systemd-journald.socket basic.target dbus-broker.service sysinit.target system.slice network.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-07-31 13:59:52 UTC", "AssertTimestampMonotonic": "1005696802", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "373472000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-07-31 13:59:52 UTC", "ConditionTimestampMonotonic": "1005696798", "ConfigurationDirectoryMode": "0755", "Conflicts": "power-profiles-daemon.service auto-cpufreq.service cpupower.service tlp.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlGroupId": "4879", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11355", "ExecMainStartTimestamp": "Wed 2024-07-31 13:59:52 UTC", "ExecMainStartTimestampMonotonic": "1005702168", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Wed 2024-07-31 13:59:52 UTC] ; stop_time=[n/a] ; pid=11355 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Wed 2024-07-31 13:59:52 UTC] ; stop_time=[n/a] ; pid=11355 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-07-31 13:59:52 UTC", "InactiveExitTimestampMonotonic": "1005702574", "InvocationID": "a8e92684c5b646d9b11d278de418fa0d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13964", "LimitNPROCSoft": "13964", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13964", "LimitSIGPENDINGSoft": "13964", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11355", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "16846848", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus-broker.service dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2024-07-31 13:59:53 UTC", "StateChangeTimestampMonotonic": "1006365066", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22342", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:43 Wednesday 31 July 2024 13:59:55 +0000 (0:00:00.323) 0:00:11.889 ******** ok: [sut] => { "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: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:49 Wednesday 31 July 2024 13:59:56 +0000 (0:00:00.192) 0:00:12.082 ******** ok: [sut] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/home/jenkins/.ansible/tmp/ansible-local-2359qumj234m/tmpw5n2hkqz/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:56 Wednesday 31 July 2024 13:59:56 +0000 (0:00:00.284) 0:00:12.366 ******** ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6a2VybmVsX3NldHRpbmdzCgpbbWFpbl0Kc3VtbWFyeT1rZXJuZWwgc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:62 Wednesday 31 July 2024 13:59:56 +0000 (0:00:00.180) 0:00:12.546 ******** fatal: [sut]: FAILED! => { "changed": false, "message": "" } MSG: Invalid format for input parameters TASK [Check for sysctl bool value error] *************************************** task path: /WORKDIR/git-support_transactional_updateiisfvceq/tests/tests_bool_not_allowed.yml:39 Wednesday 31 July 2024 13:59:56 +0000 (0:00:00.261) 0:00:12.807 ******** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=21 changed=4 unreachable=0 failed=0 skipped=12 rescued=2 ignored=0 Wednesday 31 July 2024 13:59:56 +0000 (0:00:00.016) 0:00:12.824 ******** =============================================================================== linux-system-roles.kernel_settings : Ensure required packages are installed --- 6.39s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 1.28s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 linux-system-roles.kernel_settings : Ensure required packages are installed --- 0.88s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-support_transactional_updateiisfvceq/tests/tests_bool_not_allowed.yml:2 linux-system-roles.kernel_settings : Generate a configuration for kernel settings --- 0.58s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:49 linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 0.32s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.32s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:62 linux-system-roles.kernel_settings : Generate a configuration for kernel settings --- 0.28s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:49 linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.28s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:43 linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.26s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:62 linux-system-roles.kernel_settings : Check if system is ostree ---------- 0.25s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:11 linux-system-roles.kernel_settings : Get current config ----------------- 0.24s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:56 linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.19s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:43 linux-system-roles.kernel_settings : Check if transactional-update exists in /sbin --- 0.18s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:23 linux-system-roles.kernel_settings : Get current config ----------------- 0.18s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:56 Try to pass a boolean value for bootloader cmdline ---------------------- 0.06s /WORKDIR/git-support_transactional_updateiisfvceq/tests/tests_bool_not_allowed.yml:7 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.04s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Set version specific variables ----- 0.03s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 linux-system-roles.kernel_settings : Set platform/version specific variables --- 0.02s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:32 linux-system-roles.kernel_settings : Set platform/version specific variables --- 0.02s /WORKDIR/git-support_transactional_updateiisfvceq/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:32 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Error: section [bootloader] item [somevalue] value [True] must not be a boolean - try quoting the value [WARNING]: Error: section [sysctl] item [somevalue] value [True] must not be a boolean - try quoting the value ---^---^---^---^---^---