Formatting '/cache/centos-6.qcow2c.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=8589934592 backing_file=/cache/centos-6.qcow2c backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp0kvc21tn executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-6_setup.yml *************************************************** 2 plays in /cache/centos-6_setup.yml PLAY [Change repos to use vault] *********************************************** META: ran handlers TASK [fix yum repos to use vault.centos.org] *********************************** task path: /cache/centos-6_setup.yml:5 Wednesday 06 July 2022 00:58:04 +0000 (0:00:00.018) 0:00:00.018 ******** changed: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/centos-6_setup.yml:11 Wednesday 06 July 2022 00:58:05 +0000 (0:00:00.538) 0:00:00.557 ******** [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [Create EPEL 6 repo] ****************************************************** task path: /cache/centos-6_setup.yml:15 Wednesday 06 July 2022 00:58:06 +0000 (0:00:00.991) 0:00:01.548 ******** skipping: [/cache/centos-6.qcow2c.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/centos-6_setup.yml:25 Wednesday 06 July 2022 00:58:06 +0000 (0:00:00.021) 0:00:01.570 ******** changed: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Create dnf cache] ******************************************************** task path: /cache/centos-6_setup.yml:31 Wednesday 06 July 2022 00:58:16 +0000 (0:00:10.518) 0:00:12.088 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Disable EPEL 7] ********************************************************** task path: /cache/centos-6_setup.yml:37 Wednesday 06 July 2022 00:58:16 +0000 (0:00:00.021) 0:00:12.109 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Disable EPEL 8] ********************************************************** task path: /cache/centos-6_setup.yml:45 Wednesday 06 July 2022 00:58:16 +0000 (0:00:00.021) 0:00:12.131 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=3 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Wednesday 06 July 2022 00:58:16 +0000 (0:00:00.037) 0:00:12.168 ******** =============================================================================== Create yum cache ------------------------------------------------------- 10.52s /cache/centos-6_setup.yml:25 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.99s /cache/centos-6_setup.yml:11 -------------------------------------------------- fix yum repos to use vault.centos.org ----------------------------------- 0.54s /cache/centos-6_setup.yml:5 --------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.04s /cache/centos-6_setup.yml:45 -------------------------------------------------- Create EPEL 6 repo ------------------------------------------------------ 0.02s /cache/centos-6_setup.yml:15 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-6_setup.yml:31 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/centos-6_setup.yml:37 -------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmpa1bgfogr/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa1bgfogr/tests/setup-snapshot.yml:1 Wednesday 06 July 2022 00:58:16 +0000 (0:00:00.014) 0:00:12.182 ******** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [Set platform/version specific variables] ********************************* task path: /tmp/tmpa1bgfogr/tests/setup-snapshot.yml:3 Wednesday 06 July 2022 00:58:17 +0000 (0:00:00.723) 0:00:12.906 ******** TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 Wednesday 06 July 2022 00:58:17 +0000 (0:00:00.037) 0:00:12.943 ******** ok: [/cache/centos-6.qcow2c.snap] META: role_complete for /cache/centos-6.qcow2c.snap TASK [Install test packages] *************************************************** task path: /tmp/tmpa1bgfogr/tests/setup-snapshot.yml:9 Wednesday 06 July 2022 00:58:18 +0000 (0:00:00.431) 0:00:13.375 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "kexec-tools-2.0.0-310.el6.x86_64 providing kexec-tools is already installed" ] } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=6 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Wednesday 06 July 2022 00:58:20 +0000 (0:00:02.486) 0:00:15.861 ******** =============================================================================== Create yum cache ------------------------------------------------------- 10.52s /cache/centos-6_setup.yml:25 -------------------------------------------------- Install test packages --------------------------------------------------- 2.49s /tmp/tmpa1bgfogr/tests/setup-snapshot.yml:9 ----------------------------------- Gathering Facts --------------------------------------------------------- 0.99s /cache/centos-6_setup.yml:11 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpa1bgfogr/tests/setup-snapshot.yml:1 ----------------------------------- fix yum repos to use vault.centos.org ----------------------------------- 0.54s /cache/centos-6_setup.yml:5 --------------------------------------------------- linux-system-roles.kdump : Ensure ansible_facts used by role ------------ 0.43s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 ---- Disable EPEL 8 ---------------------------------------------------------- 0.04s /cache/centos-6_setup.yml:45 -------------------------------------------------- Set platform/version specific variables --------------------------------- 0.04s /tmp/tmpa1bgfogr/tests/setup-snapshot.yml:3 ----------------------------------- Create EPEL 6 repo ------------------------------------------------------ 0.02s /cache/centos-6_setup.yml:15 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-6_setup.yml:31 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/centos-6_setup.yml:37 -------------------------------------------------- PLAYBOOK: centos-6_post_setup.yml ********************************************** 1 plays in /cache/centos-6_post_setup.yml PLAY [Post setup - these happen last] ****************************************** META: ran handlers TASK [force sync of filesystems - ensure setup changes are made to snapshot] *** task path: /cache/centos-6_post_setup.yml:5 Wednesday 06 July 2022 00:58:20 +0000 (0:00:00.021) 0:00:15.883 ******** changed: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [shutdown guest] ********************************************************** task path: /cache/centos-6_post_setup.yml:8 Wednesday 06 July 2022 00:58:20 +0000 (0:00:00.312) 0:00:16.196 ******** changed: [/cache/centos-6.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=8 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Wednesday 06 July 2022 00:58:21 +0000 (0:00:00.428) 0:00:16.625 ******** =============================================================================== Create yum cache ------------------------------------------------------- 10.52s /cache/centos-6_setup.yml:25 -------------------------------------------------- Install test packages --------------------------------------------------- 2.49s /tmp/tmpa1bgfogr/tests/setup-snapshot.yml:9 ----------------------------------- Gathering Facts --------------------------------------------------------- 0.99s /cache/centos-6_setup.yml:11 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmpa1bgfogr/tests/setup-snapshot.yml:1 ----------------------------------- fix yum repos to use vault.centos.org ----------------------------------- 0.54s /cache/centos-6_setup.yml:5 --------------------------------------------------- linux-system-roles.kdump : Ensure ansible_facts used by role ------------ 0.43s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 ---- shutdown guest ---------------------------------------------------------- 0.43s /cache/centos-6_post_setup.yml:8 ---------------------------------------------- force sync of filesystems - ensure setup changes are made to snapshot --- 0.31s /cache/centos-6_post_setup.yml:5 ---------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.04s /cache/centos-6_setup.yml:45 -------------------------------------------------- Set platform/version specific variables --------------------------------- 0.04s /tmp/tmpa1bgfogr/tests/setup-snapshot.yml:3 ----------------------------------- Create EPEL 6 repo ------------------------------------------------------ 0.02s /cache/centos-6_setup.yml:15 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-6_setup.yml:31 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/centos-6_setup.yml:37 -------------------------------------------------- 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/tmp0kvc21tn 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/tmpa1bgfogr/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/tmpa1bgfogr/tests/tests_default.yml:9 Wednesday 06 July 2022 00:59:08 +0000 (0:00:00.019) 0:00:00.019 ******** TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:2 Wednesday 06 July 2022 00:59:08 +0000 (0:00:00.032) 0:00:00.052 ******** included: /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml for /cache/centos-6.qcow2c.snap TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 Wednesday 06 July 2022 00:59:08 +0000 (0:00:00.024) 0:00:00.076 ******** [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/centos-6.qcow2c.snap] TASK [linux-system-roles.kdump : Install required packages] ******************** task path: /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 Wednesday 06 July 2022 00:59:09 +0000 (0:00:00.751) 0:00:00.828 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "kexec-tools-2.0.0-310.el6.x86_64 providing kexec-tools is already installed" ] } TASK [linux-system-roles.kdump : Ensure that kdump is enabled] ***************** task path: /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:10 Wednesday 06 July 2022 00:59:10 +0000 (0:00:00.807) 0:00:01.635 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "enabled": true, "name": "kdump" } TASK [linux-system-roles.kdump : Include SSH tasks] **************************** task path: /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:15 Wednesday 06 July 2022 00:59:10 +0000 (0:00:00.409) 0:00:02.045 ******** skipping: [/cache/centos-6.qcow2c.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/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:20 Wednesday 06 July 2022 00:59:10 +0000 (0:00:00.029) 0:00:02.074 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1657069070.953, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c1cb12e04aba32b789499371863c2672b8cde91c", "ctime": 1565267781.225, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1565267781.225, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 8120, "uid": 0, "version": "1666231372", "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/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:25 Wednesday 06 July 2022 00:59:10 +0000 (0:00:00.388) 0:00:02.463 ******** NOTIFIED HANDLER linux-system-roles.kdump : restart kdump for /cache/centos-6.qcow2c.snap changed: [/cache/centos-6.qcow2c.snap] => { "backup_file": "/etc/kdump.conf.1884.2022-07-06@00:59:11~", "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-1657069151.0293617-35841-22998079659325/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Get mode of /etc/sysconfig/kdump if it exists] *** task path: /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:33 Wednesday 06 July 2022 00:59:11 +0000 (0:00:00.709) 0:00:03.172 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1657069070.939, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b20f580311f505b642bfff2315be2595351514ac", "ctime": 1565267842.709, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1063, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1529424329.0, "nlink": 1, "path": "/etc/sysconfig/kdump", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1231, "uid": 0, "version": "1666231374", "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/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:38 Wednesday 06 July 2022 00:59:11 +0000 (0:00:00.273) 0:00:03.446 ******** changed: [/cache/centos-6.qcow2c.snap] => { "backup_file": "/etc/sysconfig/kdump.1993.2022-07-06@00:59:12~", "changed": true, "checksum": "06d7e217583d09d99fa3039bc8913bed9595abdf", "dest": "/etc/sysconfig/kdump", "gid": 0, "group": "root", "md5sum": "11d5afb7ca39dddf510a15d60aefc293", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 270, "src": "/root/.ansible/tmp/ansible-tmp-1657069152.0126114-35885-34463400073979/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:46 Wednesday 06 July 2022 00:59:12 +0000 (0:00:00.576) 0:00:04.022 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "content": "MTM1MjY2MzA0Cg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [linux-system-roles.kdump : Set the kdump_reboot_required fact] *********** task path: /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:51 Wednesday 06 July 2022 00:59:12 +0000 (0:00:00.385) 0:00:04.408 ******** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [linux-system-roles.kdump : Use kdumpctl reset-crashkernel if needed] ***** task path: /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:57 Wednesday 06 July 2022 00:59:12 +0000 (0:00:00.040) 0:00:04.449 ******** skipping: [/cache/centos-6.qcow2c.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/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:64 Wednesday 06 July 2022 00:59:12 +0000 (0:00:00.028) 0:00:04.477 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Reboot the managed node] ********************** task path: /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:73 Wednesday 06 July 2022 00:59:13 +0000 (0:00:00.029) 0:00:04.506 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Clear the kdump_reboot_required flag] ********* task path: /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:79 Wednesday 06 July 2022 00:59:13 +0000 (0:00:00.028) 0:00:04.534 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Ensure that kdump is started] ***************** task path: /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:89 Wednesday 06 July 2022 00:59:13 +0000 (0:00:00.028) 0:00:04.563 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "name": "kdump", "state": "started" } META: role_complete for /cache/centos-6.qcow2c.snap RUNNING HANDLER [linux-system-roles.kdump : restart kdump] ********************* task path: /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 Wednesday 06 July 2022 00:59:13 +0000 (0:00:00.403) 0:00:04.967 ******** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "name": "kdump", "state": "started" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=12 changed=3 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Wednesday 06 July 2022 00:59:21 +0000 (0:00:08.277) 0:00:13.245 ******** =============================================================================== linux-system-roles.kdump : restart kdump -------------------------------- 8.28s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 ----- linux-system-roles.kdump : Install required packages -------------------- 0.81s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 -------- linux-system-roles.kdump : Ensure ansible_facts used by role ------------ 0.75s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 ---- linux-system-roles.kdump : Generate /etc/kdump.conf --------------------- 0.71s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:25 ------- linux-system-roles.kdump : Generate /etc/sysconfig/kdump ---------------- 0.58s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:38 ------- linux-system-roles.kdump : Ensure that kdump is enabled ----------------- 0.41s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:10 ------- linux-system-roles.kdump : Ensure that kdump is started ----------------- 0.40s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:89 ------- linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists ----- 0.39s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:20 ------- linux-system-roles.kdump : Find out reserved memory for the crash kernel --- 0.39s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:46 ------- linux-system-roles.kdump : Get mode of /etc/sysconfig/kdump if it exists --- 0.27s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:33 ------- linux-system-roles.kdump : Set the kdump_reboot_required fact ----------- 0.04s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:51 ------- Run the role. If reboot is not required - the play succeeds. ------------ 0.03s /tmp/tmpa1bgfogr/tests/tests_default.yml:9 ------------------------------------ linux-system-roles.kdump : Fail if reboot is required and kdump_reboot_ok is false --- 0.03s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:64 ------- linux-system-roles.kdump : Include SSH tasks ---------------------------- 0.03s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:15 ------- linux-system-roles.kdump : Clear the kdump_reboot_required flag --------- 0.03s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:79 ------- linux-system-roles.kdump : Reboot the managed node ---------------------- 0.03s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:73 ------- linux-system-roles.kdump : Use kdumpctl reset-crashkernel if needed ----- 0.03s /tmp/tmpa1bgfogr/tests/roles/linux-system-roles.kdump/tasks/main.yml:57 ------- linux-system-roles.kdump : Ensure ansible_facts used by role ------------ 0.02s /tmp/tmpa1bgfogr/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/tmp0kvc21tn 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/tmprwp4cb3w/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/tmprwp4cb3w/tests/kdump/tests_default.yml:9 Wednesday 06 July 2022 01:00:09 +0000 (0:00:00.018) 0:00:00.018 ******** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Wednesday 06 July 2022 01:00:09 +0000 (0:00:00.037) 0:00:00.056 ******** included: /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Wednesday 06 July 2022 01:00:09 +0000 (0:00:00.026) 0:00:00.082 ******** [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/centos-6.qcow2c.snap] TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Wednesday 06 July 2022 01:00:10 +0000 (0:00:00.753) 0:00:00.836 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "kexec-tools-2.0.0-310.el6.x86_64 providing kexec-tools is already installed" ] } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:10 Wednesday 06 July 2022 01:00:11 +0000 (0:00:00.766) 0:00:01.602 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "enabled": true, "name": "kdump" } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:15 Wednesday 06 July 2022 01:00:11 +0000 (0:00:00.423) 0:00:02.026 ******** skipping: [/cache/centos-6.qcow2c.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/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:20 Wednesday 06 July 2022 01:00:11 +0000 (0:00:00.032) 0:00:02.058 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1657069070.953, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c1cb12e04aba32b789499371863c2672b8cde91c", "ctime": 1565267781.225, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1565267781.225, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 8120, "uid": 0, "version": "1666231372", "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/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:25 Wednesday 06 July 2022 01:00:11 +0000 (0:00:00.382) 0:00:02.440 ******** NOTIFIED HANDLER fedora.linux_system_roles.kdump : restart kdump for /cache/centos-6.qcow2c.snap changed: [/cache/centos-6.qcow2c.snap] => { "backup_file": "/etc/kdump.conf.1887.2022-07-06@01:00:11~", "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-1657069211.9770625-37107-3371032756263/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/sysconfig/kdump if it exists] *** task path: /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:33 Wednesday 06 July 2022 01:00:12 +0000 (0:00:00.741) 0:00:03.182 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "stat": { "atime": 1657069070.939, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b20f580311f505b642bfff2315be2595351514ac", "ctime": 1565267842.709, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1063, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1529424329.0, "nlink": 1, "path": "/etc/sysconfig/kdump", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1231, "uid": 0, "version": "1666231374", "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/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:38 Wednesday 06 July 2022 01:00:12 +0000 (0:00:00.293) 0:00:03.476 ******** changed: [/cache/centos-6.qcow2c.snap] => { "backup_file": "/etc/sysconfig/kdump.1996.2022-07-06@01:00:12~", "changed": true, "checksum": "06d7e217583d09d99fa3039bc8913bed9595abdf", "dest": "/etc/sysconfig/kdump", "gid": 0, "group": "root", "md5sum": "11d5afb7ca39dddf510a15d60aefc293", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 270, "src": "/root/.ansible/tmp/ansible-tmp-1657069213.0099247-37151-197746884645429/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:46 Wednesday 06 July 2022 01:00:13 +0000 (0:00:00.600) 0:00:04.076 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "content": "MTM1MjY2MzA0Cg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:51 Wednesday 06 July 2022 01:00:14 +0000 (0:00:00.493) 0:00:04.570 ******** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:55 Wednesday 06 July 2022 01:00:14 +0000 (0:00:00.041) 0:00:04.611 ******** skipping: [/cache/centos-6.qcow2c.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/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:62 Wednesday 06 July 2022 01:00:14 +0000 (0:00:00.029) 0:00:04.641 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:71 Wednesday 06 July 2022 01:00:14 +0000 (0:00:00.028) 0:00:04.669 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:77 Wednesday 06 July 2022 01:00:14 +0000 (0:00:00.032) 0:00:04.702 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:87 Wednesday 06 July 2022 01:00:14 +0000 (0:00:00.031) 0:00:04.733 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "name": "kdump", "state": "started" } META: role_complete for /cache/centos-6.qcow2c.snap RUNNING HANDLER [fedora.linux_system_roles.kdump : restart kdump] ************** task path: /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Wednesday 06 July 2022 01:00:14 +0000 (0:00:00.398) 0:00:05.131 ******** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "name": "kdump", "state": "started" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=12 changed=3 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Wednesday 06 July 2022 01:00:22 +0000 (0:00:08.273) 0:00:13.404 ******** =============================================================================== fedora.linux_system_roles.kdump : restart kdump ------------------------- 8.27s /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 fedora.linux_system_roles.kdump : Install required packages ------------- 0.77s /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Ensure ansible_facts used by role ----- 0.75s /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.74s /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:25 fedora.linux_system_roles.kdump : Generate /etc/sysconfig/kdump --------- 0.60s /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:38 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.49s /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:46 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.42s /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:10 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.40s /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:87 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.38s /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:20 fedora.linux_system_roles.kdump : Get mode of /etc/sysconfig/kdump if it exists --- 0.29s /tmp/tmp0kvc21tn/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/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:51 Run the role. If reboot is not required - the play succeeds. ------------ 0.04s /tmp/tmprwp4cb3w/tests/kdump/tests_default.yml:9 ------------------------------ fedora.linux_system_roles.kdump : Reboot the managed node --------------- 0.03s /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:71 fedora.linux_system_roles.kdump : Include SSH tasks --------------------- 0.03s /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:15 fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag --- 0.03s /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:77 fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed --- 0.03s /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:55 fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false --- 0.03s /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:62 fedora.linux_system_roles.kdump : Ensure ansible_facts used by role ----- 0.03s /tmp/tmp0kvc21tn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2