Formatting '/cache/fedora-35.qcow2.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=4294967296 backing_file=/cache/fedora-35.qcow2 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/tmpez7hiwwx 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: fedora-35_setup.yml ************************************************** 1 plays in /cache/fedora-35_setup.yml PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/fedora-35_setup.yml:1 Wednesday 06 July 2022 00:37:00 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [Create EPEL 35 repo] ***************************************************** task path: /cache/fedora-35_setup.yml:5 Wednesday 06 July 2022 00:37:01 +0000 (0:00:01.122) 0:00:01.135 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Create yum cache] ******************************************************** task path: /cache/fedora-35_setup.yml:15 Wednesday 06 July 2022 00:37:01 +0000 (0:00:00.018) 0:00:01.153 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Create dnf cache] ******************************************************** task path: /cache/fedora-35_setup.yml:21 Wednesday 06 July 2022 00:37:01 +0000 (0:00:00.017) 0:00:01.170 ******** changed: [/cache/fedora-35.qcow2.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 7] ********************************************************** task path: /cache/fedora-35_setup.yml:27 Wednesday 06 July 2022 00:37:41 +0000 (0:00:39.284) 0:00:40.454 ******** skipping: [/cache/fedora-35.qcow2.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 8] ********************************************************** task path: /cache/fedora-35_setup.yml:35 Wednesday 06 July 2022 00:37:41 +0000 (0:00:00.021) 0:00:40.475 ******** skipping: [/cache/fedora-35.qcow2.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/fedora-35.qcow2.snap : ok=2 changed=1 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Wednesday 06 July 2022 00:37:41 +0000 (0:00:00.026) 0:00:40.502 ******** =============================================================================== Create dnf cache ------------------------------------------------------- 39.28s /cache/fedora-35_setup.yml:21 ------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.12s /cache/fedora-35_setup.yml:1 -------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/fedora-35_setup.yml:35 ------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:27 ------------------------------------------------- Create EPEL 35 repo ----------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:5 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:15 ------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmp3b8xhfcb/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3b8xhfcb/tests/setup-snapshot.yml:1 Wednesday 06 July 2022 00:37:41 +0000 (0:00:00.012) 0:00:40.515 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [Set platform/version specific variables] ********************************* task path: /tmp/tmp3b8xhfcb/tests/setup-snapshot.yml:3 Wednesday 06 July 2022 00:37:42 +0000 (0:00:00.802) 0:00:41.317 ******** TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 Wednesday 06 July 2022 00:37:42 +0000 (0:00:00.031) 0:00:41.349 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [Install test packages] *************************************************** task path: /tmp/tmp3b8xhfcb/tests/setup-snapshot.yml:9 Wednesday 06 July 2022 00:37:42 +0000 (0:00:00.541) 0:00:41.891 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: snappy-1.1.9-3.fc35.x86_64", "Installed: squashfs-tools-4.5.1-1.fc35.x86_64", "Installed: kexec-tools-2.0.22-7.fc35.x86_64", "Installed: ethtool-2:5.17-1.fc35.x86_64", "Installed: dracut-network-055-6.fc35.x86_64", "Installed: dracut-squash-055-6.fc35.x86_64" ] } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=5 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Wednesday 06 July 2022 00:37:47 +0000 (0:00:04.459) 0:00:46.350 ******** =============================================================================== Create dnf cache ------------------------------------------------------- 39.28s /cache/fedora-35_setup.yml:21 ------------------------------------------------- Install test packages --------------------------------------------------- 4.46s /tmp/tmp3b8xhfcb/tests/setup-snapshot.yml:9 ----------------------------------- Gathering Facts --------------------------------------------------------- 1.12s /cache/fedora-35_setup.yml:1 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmp3b8xhfcb/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.kdump : Ensure ansible_facts used by role ------------ 0.54s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 ---- Set platform/version specific variables --------------------------------- 0.03s /tmp/tmp3b8xhfcb/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/fedora-35_setup.yml:35 ------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:27 ------------------------------------------------- Create EPEL 35 repo ----------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:5 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:15 ------------------------------------------------- PLAYBOOK: fedora-35_post_setup.yml ********************************************* 1 plays in /cache/fedora-35_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/fedora-35_post_setup.yml:5 Wednesday 06 July 2022 00:37:47 +0000 (0:00:00.018) 0:00:46.369 ******** changed: [/cache/fedora-35.qcow2.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/fedora-35_post_setup.yml:8 Wednesday 06 July 2022 00:37:47 +0000 (0:00:00.477) 0:00:46.847 ******** changed: [/cache/fedora-35.qcow2.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/fedora-35.qcow2.snap : ok=7 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Wednesday 06 July 2022 00:37:48 +0000 (0:00:00.538) 0:00:47.385 ******** =============================================================================== Create dnf cache ------------------------------------------------------- 39.28s /cache/fedora-35_setup.yml:21 ------------------------------------------------- Install test packages --------------------------------------------------- 4.46s /tmp/tmp3b8xhfcb/tests/setup-snapshot.yml:9 ----------------------------------- Gathering Facts --------------------------------------------------------- 1.12s /cache/fedora-35_setup.yml:1 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmp3b8xhfcb/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.kdump : Ensure ansible_facts used by role ------------ 0.54s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 ---- shutdown guest ---------------------------------------------------------- 0.54s /cache/fedora-35_post_setup.yml:8 --------------------------------------------- force sync of filesystems - ensure setup changes are made to snapshot --- 0.48s /cache/fedora-35_post_setup.yml:5 --------------------------------------------- Set platform/version specific variables --------------------------------- 0.03s /tmp/tmp3b8xhfcb/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/fedora-35_setup.yml:35 ------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:27 ------------------------------------------------- Create EPEL 35 repo ----------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:5 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/fedora-35_setup.yml:15 ------------------------------------------------- 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/tmpez7hiwwx 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_default.yml **************************************************** 1 plays in /tmp/tmp3b8xhfcb/tests/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** META: ran handlers TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /tmp/tmp3b8xhfcb/tests/tests_default.yml:9 Wednesday 06 July 2022 00:38:29 +0000 (0:00:00.018) 0:00:00.018 ******** TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:2 Wednesday 06 July 2022 00:38:29 +0000 (0:00:00.033) 0:00:00.051 ******** included: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 Wednesday 06 July 2022 00:38:29 +0000 (0:00:00.023) 0:00:00.075 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.kdump : Install required packages] ******************** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 Wednesday 06 July 2022 00:38:30 +0000 (0:00:00.914) 0:00:00.989 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.kdump : Ensure that kdump is enabled] ***************** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:10 Wednesday 06 July 2022 00:38:32 +0000 (0:00:02.366) 0:00:03.356 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "n/a", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target remote-fs.target basic.target system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestamp": "n/a", "AssertTimestampMonotonic": "0", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "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": "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestamp": "n/a", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestamp": "n/a", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/kdump.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": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "n/a", "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": "7730", "LimitNPROCSoft": "7730", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7730", "LimitSIGPENDINGSoft": "7730", "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": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "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", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartKillSignal": "15", "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", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "n/a", "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": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.kdump : Include SSH tasks] **************************** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:15 Wednesday 06 July 2022 00:38:33 +0000 (0:00:00.991) 0:00:04.347 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists] ***** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:20 Wednesday 06 July 2022 00:38:33 +0000 (0:00:00.031) 0:00:04.379 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657067866.34203, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 24, "charset": "us-ascii", "checksum": "e06d712a7ecd062b4348b213a422703866269a09", "ctime": 1657067866.19503, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 35174, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1657067866.19503, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 8559, "uid": 0, "version": "36", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.kdump : Generate /etc/kdump.conf] ********************* task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:25 Wednesday 06 July 2022 00:38:34 +0000 (0:00:00.516) 0:00:04.895 ******** NOTIFIED HANDLER linux-system-roles.kdump : restart kdump for /cache/fedora-35.qcow2.snap changed: [/cache/fedora-35.qcow2.snap] => { "backup_file": "/etc/kdump.conf.1497.2022-07-06@00:38:34~", "changed": true, "checksum": "322a59b94cd78e230298a24b3f5588067863d13c", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "5e27aee79dc98e90a4288384a8dc9dc7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 55, "src": "/root/.ansible/tmp/ansible-tmp-1657067914.3777206-13817-157315089432441/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Get mode of /etc/sysconfig/kdump if it exists] *** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:33 Wednesday 06 July 2022 00:38:35 +0000 (0:00:00.890) 0:00:05.786 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1630451797.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3e974752f607c3ea3bead0ac4927968fa5603f69", "ctime": 1657067866.16003, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 35178, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1630451797.0, "nlink": 1, "path": "/etc/sysconfig/kdump", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 2497, "uid": 0, "version": "36", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.kdump : Generate /etc/sysconfig/kdump] **************** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:38 Wednesday 06 July 2022 00:38:35 +0000 (0:00:00.393) 0:00:06.179 ******** changed: [/cache/fedora-35.qcow2.snap] => { "backup_file": "/etc/sysconfig/kdump.1785.2022-07-06@00:38:35~", "changed": true, "checksum": "f72fdd79ebc820e4c57c8ac11d104f2a7fea10e0", "dest": "/etc/sysconfig/kdump", "gid": 0, "group": "root", "md5sum": "ea1a0b5f83daa6e4cda906836f2d2405", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 377, "src": "/root/.ansible/tmp/ansible-tmp-1657067915.661578-13861-83721028716789/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:46 Wednesday 06 July 2022 00:38:36 +0000 (0:00:00.739) 0:00:06.919 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "content": "MAo=", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [linux-system-roles.kdump : Set the kdump_reboot_required fact] *********** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:51 Wednesday 06 July 2022 00:38:36 +0000 (0:00:00.487) 0:00:07.406 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "kdump_reboot_required": true }, "changed": false } TASK [linux-system-roles.kdump : Use kdumpctl reset-crashkernel if needed] ***** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:57 Wednesday 06 July 2022 00:38:36 +0000 (0:00:00.042) 0:00:07.448 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:64 Wednesday 06 July 2022 00:38:36 +0000 (0:00:00.032) 0:00:07.481 ******** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false } MSG: "Reboot is required to apply changes. Re-execute the role after boot to ensure that kdump is working." TASK [If reboot is required - assert the expected fail message] **************** task path: /tmp/tmp3b8xhfcb/tests/tests_default.yml:13 Wednesday 06 July 2022 00:38:36 +0000 (0:00:00.041) 0:00:07.522 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed RUNNING HANDLER [linux-system-roles.kdump : restart kdump] ********************* task path: /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 Wednesday 06 July 2022 00:38:36 +0000 (0:00:00.039) 0:00:07.562 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=11 changed=3 unreachable=0 failed=0 skipped=3 rescued=1 ignored=0 Wednesday 06 July 2022 00:38:37 +0000 (0:00:00.038) 0:00:07.601 ******** =============================================================================== linux-system-roles.kdump : Install required packages -------------------- 2.37s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 -------- linux-system-roles.kdump : Ensure that kdump is enabled ----------------- 0.99s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:10 ------- linux-system-roles.kdump : Ensure ansible_facts used by role ------------ 0.91s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 ---- linux-system-roles.kdump : Generate /etc/kdump.conf --------------------- 0.89s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:25 ------- linux-system-roles.kdump : Generate /etc/sysconfig/kdump ---------------- 0.74s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:38 ------- linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists ----- 0.52s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:20 ------- linux-system-roles.kdump : Find out reserved memory for the crash kernel --- 0.49s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:46 ------- linux-system-roles.kdump : Get mode of /etc/sysconfig/kdump if it exists --- 0.39s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:33 ------- linux-system-roles.kdump : Set the kdump_reboot_required fact ----------- 0.04s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:51 ------- linux-system-roles.kdump : Fail if reboot is required and kdump_reboot_ok is false --- 0.04s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:64 ------- If reboot is required - assert the expected fail message ---------------- 0.04s /tmp/tmp3b8xhfcb/tests/tests_default.yml:13 ----------------------------------- linux-system-roles.kdump : restart kdump -------------------------------- 0.04s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 ----- Run the role. If reboot is not required - the play succeeds. ------------ 0.03s /tmp/tmp3b8xhfcb/tests/tests_default.yml:9 ------------------------------------ linux-system-roles.kdump : Use kdumpctl reset-crashkernel if needed ----- 0.03s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:57 ------- linux-system-roles.kdump : Include SSH tasks ---------------------------- 0.03s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:15 ------- linux-system-roles.kdump : Ensure ansible_facts used by role ------------ 0.02s /tmp/tmp3b8xhfcb/tests/roles/linux-system-roles.kdump/tasks/main.yml:2 -------- 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/tmpez7hiwwx 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_default.yml **************************************************** 1 plays in /tmp/tmp86wcbtm1/tests/kdump/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** META: ran handlers TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /tmp/tmp86wcbtm1/tests/kdump/tests_default.yml:9 Wednesday 06 July 2022 00:40:33 +0000 (0:00:00.018) 0:00:00.018 ******** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Wednesday 06 July 2022 00:40:33 +0000 (0:00:00.037) 0:00:00.056 ******** included: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Wednesday 06 July 2022 00:40:33 +0000 (0:00:00.025) 0:00:00.082 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Wednesday 06 July 2022 00:40:34 +0000 (0:00:00.904) 0:00:00.986 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:10 Wednesday 06 July 2022 00:40:37 +0000 (0:00:02.340) 0:00:03.327 ******** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "n/a", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice network.target systemd-journald.socket network-online.target remote-fs.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestamp": "n/a", "AssertTimestampMonotonic": "0", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "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": "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestamp": "n/a", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestamp": "n/a", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/kdump.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": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "n/a", "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": "7730", "LimitNPROCSoft": "7730", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7730", "LimitSIGPENDINGSoft": "7730", "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": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "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", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartKillSignal": "15", "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", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "n/a", "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": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:15 Wednesday 06 July 2022 00:40:37 +0000 (0:00:00.971) 0:00:04.299 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:20 Wednesday 06 July 2022 00:40:38 +0000 (0:00:00.031) 0:00:04.330 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657067866.34203, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 24, "charset": "us-ascii", "checksum": "e06d712a7ecd062b4348b213a422703866269a09", "ctime": 1657067866.19503, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 35174, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1657067866.19503, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 8559, "uid": 0, "version": "36", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Generate /etc/kdump.conf] ************** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:25 Wednesday 06 July 2022 00:40:38 +0000 (0:00:00.508) 0:00:04.838 ******** NOTIFIED HANDLER fedora.linux_system_roles.kdump : restart kdump for /cache/fedora-35.qcow2.snap changed: [/cache/fedora-35.qcow2.snap] => { "backup_file": "/etc/kdump.conf.1501.2022-07-06@00:40:39~", "changed": true, "checksum": "322a59b94cd78e230298a24b3f5588067863d13c", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "5e27aee79dc98e90a4288384a8dc9dc7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 55, "src": "/root/.ansible/tmp/ansible-tmp-1657068038.6032481-16285-52950216053056/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/sysconfig/kdump if it exists] *** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:33 Wednesday 06 July 2022 00:40:39 +0000 (0:00:00.882) 0:00:05.721 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1630451797.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3e974752f607c3ea3bead0ac4927968fa5603f69", "ctime": 1657067866.16003, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 35178, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1630451797.0, "nlink": 1, "path": "/etc/sysconfig/kdump", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 2497, "uid": 0, "version": "36", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Generate /etc/sysconfig/kdump] ********* task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:38 Wednesday 06 July 2022 00:40:39 +0000 (0:00:00.390) 0:00:06.111 ******** changed: [/cache/fedora-35.qcow2.snap] => { "backup_file": "/etc/sysconfig/kdump.1789.2022-07-06@00:40:40~", "changed": true, "checksum": "f72fdd79ebc820e4c57c8ac11d104f2a7fea10e0", "dest": "/etc/sysconfig/kdump", "gid": 0, "group": "root", "md5sum": "ea1a0b5f83daa6e4cda906836f2d2405", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 377, "src": "/root/.ansible/tmp/ansible-tmp-1657068039.8758104-16329-45384695068102/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:46 Wednesday 06 July 2022 00:40:40 +0000 (0:00:00.735) 0:00:06.847 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "content": "MAo=", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:51 Wednesday 06 July 2022 00:40:41 +0000 (0:00:00.486) 0:00:07.333 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "kdump_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:55 Wednesday 06 July 2022 00:40:41 +0000 (0:00:00.042) 0:00:07.375 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:62 Wednesday 06 July 2022 00:40:41 +0000 (0:00:00.032) 0:00:07.408 ******** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false } MSG: "Reboot is required to apply changes. Re-execute the role after boot to ensure that kdump is working." TASK [If reboot is required - assert the expected fail message] **************** task path: /tmp/tmp86wcbtm1/tests/kdump/tests_default.yml:13 Wednesday 06 July 2022 00:40:41 +0000 (0:00:00.040) 0:00:07.449 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed RUNNING HANDLER [fedora.linux_system_roles.kdump : restart kdump] ************** task path: /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Wednesday 06 July 2022 00:40:41 +0000 (0:00:00.037) 0:00:07.486 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=11 changed=3 unreachable=0 failed=0 skipped=3 rescued=1 ignored=0 Wednesday 06 July 2022 00:40:41 +0000 (0:00:00.035) 0:00:07.521 ******** =============================================================================== fedora.linux_system_roles.kdump : Install required packages ------------- 2.34s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.97s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:10 fedora.linux_system_roles.kdump : Ensure ansible_facts used by role ----- 0.90s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.88s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:25 fedora.linux_system_roles.kdump : Generate /etc/sysconfig/kdump --------- 0.74s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:38 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.51s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:20 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.49s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:46 fedora.linux_system_roles.kdump : Get mode of /etc/sysconfig/kdump if it exists --- 0.39s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:33 fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact ---- 0.04s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:51 fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false --- 0.04s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:62 Run the role. If reboot is not required - the play succeeds. ------------ 0.04s /tmp/tmp86wcbtm1/tests/kdump/tests_default.yml:9 ------------------------------ If reboot is required - assert the expected fail message ---------------- 0.04s /tmp/tmp86wcbtm1/tests/kdump/tests_default.yml:13 ----------------------------- fedora.linux_system_roles.kdump : restart kdump ------------------------- 0.04s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed --- 0.03s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:55 fedora.linux_system_roles.kdump : Include SSH tasks --------------------- 0.03s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:15 fedora.linux_system_roles.kdump : Ensure ansible_facts used by role ----- 0.03s /tmp/tmpez7hiwwx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2