Formatting '/cache/fedora-34.qcow2.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=4294967296 backing_file=/cache/fedora-34.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16 ansible-playbook [core 2.12.5] 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/tmpi9z83b_b executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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-34_setup.yml ************************************************** 1 plays in /cache/fedora-34_setup.yml PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/fedora-34_setup.yml:1 Monday 16 May 2022 18:56:46 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Create EPEL 34 repo] ***************************************************** task path: /cache/fedora-34_setup.yml:5 Monday 16 May 2022 18:56:47 +0000 (0:00:01.176) 0:00:01.185 ************ skipping: [/cache/fedora-34.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-34_setup.yml:15 Monday 16 May 2022 18:56:47 +0000 (0:00:00.017) 0:00:01.202 ************ skipping: [/cache/fedora-34.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-34_setup.yml:21 Monday 16 May 2022 18:56:47 +0000 (0:00:00.014) 0:00:01.217 ************ changed: [/cache/fedora-34.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-34_setup.yml:27 Monday 16 May 2022 18:57:38 +0000 (0:00:50.718) 0:00:51.935 ************ skipping: [/cache/fedora-34.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-34_setup.yml:35 Monday 16 May 2022 18:57:38 +0000 (0:00:00.016) 0:00:51.952 ************ skipping: [/cache/fedora-34.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-34.qcow2.snap : ok=2 changed=1 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Monday 16 May 2022 18:57:38 +0000 (0:00:00.019) 0:00:51.972 ************ =============================================================================== Create dnf cache ------------------------------------------------------- 50.72s /cache/fedora-34_setup.yml:21 ------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.18s /cache/fedora-34_setup.yml:1 -------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:35 ------------------------------------------------- Create EPEL 34 repo ----------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:5 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:27 ------------------------------------------------- Create yum cache -------------------------------------------------------- 0.01s /cache/fedora-34_setup.yml:15 ------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmp76mse6z5/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp76mse6z5/tests/setup-snapshot.yml:1 Monday 16 May 2022 18:57:38 +0000 (0:00:00.009) 0:00:51.981 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Set platform/version specific variables] ********************************* task path: /tmp/tmp76mse6z5/tests/setup-snapshot.yml:3 Monday 16 May 2022 18:57:39 +0000 (0:00:00.775) 0:00:52.757 ************ TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 18:57:39 +0000 (0:00:00.024) 0:00:52.781 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 18:57:39 +0000 (0:00:00.504) 0:00:53.286 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Install test packages] *************************************************** task path: /tmp/tmp76mse6z5/tests/setup-snapshot.yml:9 Monday 16 May 2022 18:57:39 +0000 (0:00:00.033) 0:00:53.319 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: dracut-network-055-6.fc34.x86_64", "Installed: cryptsetup-2.3.7-1.fc34.x86_64", "Installed: clevis-18-2.fc34.x86_64", "Installed: clevis-dracut-18-2.fc34.x86_64", "Installed: clevis-luks-18-2.fc34.x86_64", "Installed: clevis-pin-tpm2-0.5.0-1.fc34.x86_64", "Installed: clevis-systemd-18-2.fc34.x86_64", "Installed: jose-11-1.fc34.x86_64", "Installed: jq-1.6-10.fc34.x86_64", "Installed: libjose-11-1.fc34.x86_64", "Installed: tpm2-tools-5.1.1-1.fc34.x86_64", "Installed: libluksmeta-9-10.fc34.x86_64", "Installed: luksmeta-9-10.fc34.x86_64", "Installed: oniguruma-6.9.7.1-1.fc34.x86_64" ] } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=6 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Monday 16 May 2022 18:57:45 +0000 (0:00:05.784) 0:00:59.104 ************ =============================================================================== Create dnf cache ------------------------------------------------------- 50.72s /cache/fedora-34_setup.yml:21 ------------------------------------------------- Install test packages --------------------------------------------------- 5.78s /tmp/tmp76mse6z5/tests/setup-snapshot.yml:9 ----------------------------------- Gathering Facts --------------------------------------------------------- 1.18s /cache/fedora-34_setup.yml:1 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.78s /tmp/tmp76mse6z5/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.nbde_client : Ensure ansible_facts used by role ------ 0.50s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 linux-system-roles.nbde_client : Set platform/version specific variables --- 0.03s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Set platform/version specific variables --------------------------------- 0.02s /tmp/tmp76mse6z5/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:35 ------------------------------------------------- Create EPEL 34 repo ----------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:5 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:27 ------------------------------------------------- Create yum cache -------------------------------------------------------- 0.01s /cache/fedora-34_setup.yml:15 ------------------------------------------------- PLAYBOOK: fedora-34_post_setup.yml ********************************************* 1 plays in /cache/fedora-34_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-34_post_setup.yml:5 Monday 16 May 2022 18:57:45 +0000 (0:00:00.011) 0:00:59.115 ************ changed: [/cache/fedora-34.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-34_post_setup.yml:8 Monday 16 May 2022 18:57:46 +0000 (0:00:00.404) 0:00:59.520 ************ changed: [/cache/fedora-34.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-34.qcow2.snap : ok=8 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Monday 16 May 2022 18:57:46 +0000 (0:00:00.533) 0:01:00.054 ************ =============================================================================== Create dnf cache ------------------------------------------------------- 50.72s /cache/fedora-34_setup.yml:21 ------------------------------------------------- Install test packages --------------------------------------------------- 5.78s /tmp/tmp76mse6z5/tests/setup-snapshot.yml:9 ----------------------------------- Gathering Facts --------------------------------------------------------- 1.18s /cache/fedora-34_setup.yml:1 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.78s /tmp/tmp76mse6z5/tests/setup-snapshot.yml:1 ----------------------------------- shutdown guest ---------------------------------------------------------- 0.53s /cache/fedora-34_post_setup.yml:8 --------------------------------------------- linux-system-roles.nbde_client : Ensure ansible_facts used by role ------ 0.50s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 force sync of filesystems - ensure setup changes are made to snapshot --- 0.40s /cache/fedora-34_post_setup.yml:5 --------------------------------------------- linux-system-roles.nbde_client : Set platform/version specific variables --- 0.03s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Set platform/version specific variables --------------------------------- 0.02s /tmp/tmp76mse6z5/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:35 ------------------------------------------------- Create EPEL 34 repo ----------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:5 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:27 ------------------------------------------------- Create yum cache -------------------------------------------------------- 0.01s /cache/fedora-34_setup.yml:15 ------------------------------------------------- ansible-playbook [core 2.12.5] 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/tmpi9z83b_b executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_bind_high_availability.yml ************************************* 1 plays in /tmp/tmp76mse6z5/tests/tests_bind_high_availability.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp76mse6z5/tests/tests_bind_high_availability.yml:2 Monday 16 May 2022 18:58:28 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmp76mse6z5/tests/tests_bind_high_availability.yml:13 Monday 16 May 2022 18:58:29 +0000 (0:00:01.108) 0:00:01.117 ************ included: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:2 Monday 16 May 2022 18:58:29 +0000 (0:00:00.024) 0:00:01.142 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_device": "/tmp/.nbde_client_dev_test", "nbde_client_test_encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "nbde_client_test_pass": "test-password-here", "nbde_client_test_roles_dir": "/tmp/.nbde_client_dev_roles" }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:5 Monday 16 May 2022 18:58:29 +0000 (0:00:00.016) 0:00:01.159 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:20 Monday 16 May 2022 18:58:29 +0000 (0:00:00.025) 0:00:01.185 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "all_ipv4_addresses": [ "10.0.2.15" ], "all_ipv6_addresses": [ "fec0::5054:ff:fe12:3456", "fe80::5054:ff:fe12:3456" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "04/01/2014", "bios_vendor": "SeaBIOS", "bios_version": "1.14.0-4.fc34", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "QEMU", "chassis_version": "pc-i440fx-5.2", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": "ttyS0,115200n8", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "date_time": { "date": "2022-05-16", "day": "16", "epoch": "1652727508", "epoch_int": "1652727508", "hour": "18", "iso8601": "2022-05-16T18:58:28Z", "iso8601_basic": "20220516T185828267317", "iso8601_basic_short": "20220516T185828", "iso8601_micro": "2022-05-16T18:58:28.267317Z", "minute": "58", "month": "05", "second": "28", "time": "18:58:28", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Monday", "weekday_number": "1", "weeknumber": "20", "year": "2022" }, "default_ipv4": { "address": "10.0.2.15", "alias": "eth0", "broadcast": "10.0.2.255", "gateway": "10.0.2.2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "netmask": "255.255.255.0", "network": "10.0.2.0", "type": "ether" }, "default_ipv6": { "address": "fec0::5054:ff:fe12:3456", "gateway": "fe80::2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "prefix": "64", "scope": "site", "type": "ether" }, "device_links": { "ids": { "sr0": [ "ata-QEMU_DVD-ROM_QM00003" ] }, "labels": { "sr0": [ "cidata" ], "vdb1": [ "yumcache" ], "vdc1": [ "yumvarlib" ] }, "masters": {}, "uuids": { "sr0": [ "2022-05-16-18-58-18-00" ], "vda1": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ], "vdb1": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ], "vdc1": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] } }, "devices": { "sr0": { "holders": [], "host": "", "links": { "ids": [ "ata-QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-05-16-18-58-18-00" ] }, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "bfq", "sectors": "728", "sectorsize": "2048", "size": "364.00 KB", "support_discard": "0", "vendor": "QEMU", "virtual": 1 }, "vda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ] }, "sectors": "8386560", "sectorsize": 512, "size": "4.00 GB", "start": "2048", "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "8388608", "sectorsize": "512", "size": "4.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdb": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdb1": { "holders": [], "links": { "ids": [], "labels": [ "yumcache" ], "masters": [], "uuids": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdc": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdc1": { "holders": [], "links": { "ids": [], "labels": [ "yumvarlib" ], "masters": [], "uuids": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python3", "distribution": "Fedora", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "34", "distribution_release": "", "distribution_version": "34", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "." ] }, "domain": "", "effective_group_id": 0, "effective_user_id": 0, "env": { "BASH_FUNC_which%%": "() { ( alias;\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot \"$@\"\n}", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "HOME": "/root", "LANG": "en_US.UTF-8", "LC_CTYPE": "C.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "MOTD_SHOWN": "pam", "PATH": "/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "1", "SSH_CLIENT": "10.0.2.2 42226 22", "SSH_CONNECTION": "10.0.2.2 42226 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "1", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3", "which_declare": "declare -f" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.0.2.15", "broadcast": "10.0.2.255", "netmask": "255.255.255.0", "network": "10.0.2.0" }, "ipv6": [ { "address": "fec0::5054:ff:fe12:3456", "prefix": "64", "scope": "site" }, { "address": "fe80::5054:ff:fe12:3456", "prefix": "64", "scope": "link" } ], "macaddress": "52:54:00:12:34:56", "module": "virtio_net", "mtu": 1500, "pciid": "virtio0", "promisc": false, "speed": -1, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "fedora", "gather_subset": [ "all" ], "hostname": "fedora", "hostnqn": "", "interfaces": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "5.17.6-100.fc34.x86_64", "kernel_version": "#1 SMP PREEMPT Mon May 9 14:41:31 UTC 2022", "lo": { "active": true, "device": "lo", "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "e91233b164be445ba9cbf9de45efbc14", "memfree_mb": 1623, "memory_mb": { "nocache": { "free": 1764, "used": 207 }, "real": { "free": 1623, "total": 1971, "used": 348 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 1971, "module_setup": true, "mounts": [ { "block_available": 789107, "block_size": 4096, "block_total": 1011384, "block_used": 222277, "device": "/dev/vda1", "fstype": "ext4", "inode_available": 235479, "inode_total": 262144, "inode_used": 26665, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 3232182272, "size_total": 4142628864, "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" }, { "block_available": 167387, "block_size": 4096, "block_total": 253035, "block_used": 85648, "device": "/dev/vdb1", "fstype": "ext4", "inode_available": 65455, "inode_total": 65536, "inode_used": 81, "mount": "/var/cache/dnf", "options": "rw,seclabel,relatime", "size_available": 685617152, "size_total": 1036431360, "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" }, { "block_available": 235647, "block_size": 4096, "block_total": 253035, "block_used": 17388, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 965210112, "size_total": 1036431360, "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } ], "nodename": "fedora", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": [ "tty1", "ttyS0,115200n8" ], "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "2", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "3", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz" ], "processor_cores": 1, "processor_count": 4, "processor_nproc": 4, "processor_threads_per_core": 1, "processor_vcpus": 4, "product_name": "Standard PC (i440FX + PIIX, 1996)", "product_serial": "NA", "product_uuid": "NA", "product_version": "pc-i440fx-5.2", "python": { "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 12, "minor": 9, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 9, 12, "final", 0 ] }, "python_version": "3.9.12", "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAPSRkLXxcDMdAGmIx2S6983l4JLs7QeoC+RpmIjhKbn6pnvHfbb/NI/SP2uiu8GI6S8/+sa5aXt8/i7A/KmNEL0+CSmkehrAwGBIjgdg7ftdfgntuizM0hOi665MSoANX3Hhxtubdsd4yUGzADFF1hPjfl4yvoRz0oHlBqY/w2HzAAAAFQCWTdcgqgfeqm/AmK0w1a9T5mCT/wAAAIBrqFXMWHzkzKfFm/XvXFsOTmFPq2AkwaquST86EjTrR0WS1088uftjGOlr5VeoOPiHkG47ZAziLhXKaxViVW2ywdkMPFGf8hb31doQaRVVd6EyFoUxEYGQIjmEP4KltEr1FwS9oQcAeiK3lzj9UcU0d152GMexPE5pcOqHF0DCtgAAAIEAtJXDzoSf1GaekmbgJ1zWO6W1mkn82uRftsi3THkGO/56UAGMHmfwOzZVuftZ0TEy8oDnCXN9KFv88vv6oy14b7FFHefVyoR2PswrhLcZqMQF5gacBWvVhfxpuywxTvzaaRqLsuywubc6ZHm0IRnr8ZbSl9ivaNH2s886O7MWn5w=", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKyrb8W9+iO5guoW4eQ512DI1Tg0oYamt+tzgd1WUG5R+KfH4OxccpAATQ2b5GWh7jJxwUcn5IHPquEZkvptOHo=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIKpxydxGAGEtBSa9Naj9jyiH4En9rEn7PzKI5hP/DnjR", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC3eRlGGURxHBBsYJsvzQZt3TSC79X5S5DRFHDZlJHFgrYJl+XaJFHWZMhvipxkvXROXRdrUI5dqxhcqngj7ry6DTv8nBGAFD/KG2Y0vJUu9XwivxbuIHcdI4nzc6RoTnsa//fVNmpkEibhTO4Xo8sgFU4dwWY8AuMDAxP2qW5H2HccWc2ag8n2bsSLMFW04efGC/bb1sb2bzMlchOVOyWvz6ray81XWsYJ2nZgYHRoKcBaVzwUtW42CJ7W2nCekUsGL3LlB6k1F5FoLiHU6Ml+9/7iBObvR8fppY7V4y49eyMRFvDP7QJQd5G32w0KjwMeXLi4Lyvc29vHP+AmXAg+K863ScWbtpORUPWgvwm7SHl1pedjy5wlIQZAaPiT6kIMPocVUa7xIE5o0gdjNnkVpmMn6thrwTleGjH/IU37zdHj4J6r+FzZ7vnygup6irQizlNHaDVgv1ho4EJkBSWOAphywiulOVUHPaiGxXmmNuL03WNukxW/Z6yIwz40phE=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "QEMU", "uptime_seconds": 7, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_tech_guest": [ "kvm" ], "virtualization_tech_host": [], "virtualization_type": "kvm" } } TASK [Install required packages for nbde_client tests] ************************* task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 Monday 16 May 2022 18:58:29 +0000 (0:00:00.056) 0:00:01.242 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:28 Monday 16 May 2022 18:58:31 +0000 (0:00:02.442) 0:00:03.684 ************ changed: [/cache/fedora-34.qcow2.snap -> localhost] => { "after": "158931d658cf73167b3c883e89def8a1ebdb8d18", "before": null, "changed": true } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:35 Monday 16 May 2022 18:58:32 +0000 (0:00:00.920) 0:00:04.605 ************ TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:6 Monday 16 May 2022 18:58:32 +0000 (0:00:00.027) 0:00:04.633 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Monday 16 May 2022 18:58:32 +0000 (0:00:00.021) 0:00:04.654 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Monday 16 May 2022 18:58:33 +0000 (0:00:00.500) 0:00:05.155 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:9 Monday 16 May 2022 18:58:33 +0000 (0:00:00.027) 0:00:05.183 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Monday 16 May 2022 18:58:33 +0000 (0:00:00.024) 0:00:05.207 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: http-parser-2.9.4-4.fc34.x86_64", "Installed: tang-11-1.fc34.x86_64" ] } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Monday 16 May 2022 18:58:37 +0000 (0:00:03.865) 0:00:09.072 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Monday 16 May 2022 18:58:37 +0000 (0:00:00.032) 0:00:09.105 ************ changed: [/cache/fedora-34.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Monday 16 May 2022 18:58:37 +0000 (0:00:00.536) 0:00:09.642 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Monday 16 May 2022 18:58:37 +0000 (0:00:00.029) 0:00:09.671 ************ changed: [/cache/fedora-34.qcow2.snap] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "4096", "Before": "sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "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]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "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", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "system.slice sysinit.target", "RestartKillSignal": "15", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "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", "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": "2324", "TimeoutCleanUSec": "infinity", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Timestamping": "off", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "Writable": "no" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Create device for testing] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:39 Monday 16 May 2022 18:58:38 +0000 (0:00:00.981) 0:00:10.652 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.015081", "end": "2022-05-16 18:58:38.595056", "rc": 0, "start": "2022-05-16 18:58:38.579975" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:43 Monday 16 May 2022 18:58:39 +0000 (0:00:00.502) 0:00:11.155 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail; echo -n test-password-here | cryptsetup luksFormat --pbkdf pbkdf2 --pbkdf-force-iterations 1000 --batch-mode --force-password /tmp/.nbde_client_dev_test", "delta": "0:00:00.096639", "end": "2022-05-16 18:58:39.039728", "rc": 0, "start": "2022-05-16 18:58:38.943089" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:51 Monday 16 May 2022 18:58:39 +0000 (0:00:00.447) 0:00:11.603 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.003955", "end": "2022-05-16 18:58:39.971817", "rc": 0, "start": "2022-05-16 18:58:39.967862" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmp76mse6z5/tests/tests_bind_high_availability.yml:18 Monday 16 May 2022 18:58:39 +0000 (0:00:00.193) 0:00:11.796 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 18:58:40 +0000 (0:00:00.023) 0:00:11.819 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 18:58:40 +0000 (0:00:00.019) 0:00:11.839 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 18:58:40 +0000 (0:00:00.507) 0:00:12.346 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 18:58:40 +0000 (0:00:00.027) 0:00:12.374 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 18:58:40 +0000 (0:00:00.025) 0:00:12.399 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 18:58:42 +0000 (0:00:02.121) 0:00:14.521 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestampMonotonic": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 18:58:43 +0000 (0:00:00.672) 0:00:15.193 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "md5sum": "8ac814b21125f3c41430b13965169aff", "mode": "0444", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "src": "/root/.ansible/tmp/ansible-tmp-1652727523.4421747-297405-158875047464803/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 18:58:44 +0000 (0:00:00.974) 0:00:16.167 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost", "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 18:58:45 +0000 (0:00:00.727) 0:00:16.895 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.kb3vyuovnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 18:58:45 +0000 (0:00:00.475) 0:00:17.371 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost", "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 18:58:45 +0000 (0:00:00.040) 0:00:17.411 ************ NOTIFIED HANDLER linux-system-roles.nbde_client : nbde_client update initramfs for /cache/fedora-34.qcow2.snap changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost", "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 18:58:53 +0000 (0:00:08.278) 0:00:25.690 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.kb3vyuovnbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 18:58:54 +0000 (0:00:00.535) 0:00:26.225 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "md5sum": "7947aade05c625cd8173078c3da0c37b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "src": "/root/.ansible/tmp/ansible-tmp-1652727534.4761336-297499-13687340714342/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 18:58:55 +0000 (0:00:00.677) 0:00:26.903 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "md5sum": "e3a3412ce904074cd7d0dce03ae5d40c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "src": "/root/.ansible/tmp/ansible-tmp-1652727535.148793-297527-1886223056586/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 18:58:55 +0000 (0:00:00.667) 0:00:27.570 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 18:58:56 +0000 (0:00:01.226) 0:00:28.797 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.036511", "end": "2022-05-16 18:58:56.623173", "rc": 0, "start": "2022-05-16 18:58:56.586662" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 18:58:57 +0000 (0:00:00.390) 0:00:29.187 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 18:58:58 +0000 (0:00:00.641) 0:00:29.828 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice sysinit.target basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "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": "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmp76mse6z5/tests/tests_bind_high_availability.yml:22 Monday 16 May 2022 18:58:58 +0000 (0:00:00.695) 0:00:30.524 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 18:58:58 +0000 (0:00:00.022) 0:00:30.546 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:04.430985", "end": "2022-05-16 18:59:02.786238", "rc": 0, "start": "2022-05-16 18:58:58.355253" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 18:59:03 +0000 (0:00:04.813) 0:00:35.359 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.031086", "end": "2022-05-16 18:59:03.209767", "rc": 0, "start": "2022-05-16 18:59:03.178681" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmp76mse6z5/tests/tests_bind_high_availability.yml:25 Monday 16 May 2022 18:59:03 +0000 (0:00:00.415) 0:00:35.774 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmp76mse6z5/tests/tests_bind_high_availability.yml:31 Monday 16 May 2022 18:59:03 +0000 (0:00:00.021) 0:00:35.796 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:2 Monday 16 May 2022 18:59:04 +0000 (0:00:00.021) 0:00:35.817 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 18:59:04 +0000 (0:00:00.021) 0:00:35.839 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 18:59:04 +0000 (0:00:00.020) 0:00:35.859 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 18:59:04 +0000 (0:00:00.531) 0:00:36.390 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 18:59:04 +0000 (0:00:00.029) 0:00:36.419 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 18:59:04 +0000 (0:00:00.028) 0:00:36.448 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 18:59:06 +0000 (0:00:02.126) 0:00:38.575 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestamp": "Mon 2022-05-16 18:58:57 UTC", "StateChangeTimestampMonotonic": "36572863", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "cryptsetup.target", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 18:59:07 +0000 (0:00:00.521) 0:00:39.097 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "mode": "0444", "owner": "root", "path": "/etc/dracut.conf.d/nbde_client.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 18:59:07 +0000 (0:00:00.644) 0:00:39.741 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost", "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 18:59:10 +0000 (0:00:03.009) 0:00:42.751 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 18:59:10 +0000 (0:00:00.021) 0:00:42.773 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost", "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 18:59:11 +0000 (0:00:00.034) 0:00:42.807 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 18:59:11 +0000 (0:00:00.023) 0:00:42.831 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 18:59:11 +0000 (0:00:00.022) 0:00:42.854 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/bin/nbde_client-network-flush", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 18:59:11 +0000 (0:00:00.623) 0:00:43.477 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/systemd/system/nbde_client-network-flush.service", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 18:59:12 +0000 (0:00:00.625) 0:00:44.103 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 18:59:13 +0000 (0:00:01.139) 0:00:45.242 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.033172", "end": "2022-05-16 18:59:13.075306", "rc": 0, "start": "2022-05-16 18:59:13.042134" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 18:59:13 +0000 (0:00:00.399) 0:00:45.641 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 18:59:14 +0000 (0:00:00.655) 0:00:46.297 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target basic.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target multi-user.target shutdown.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "sysinit.target 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": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-16 18:59:13 UTC", "StateChangeTimestampMonotonic": "53045590", "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:6 Monday 16 May 2022 18:59:15 +0000 (0:00:00.515) 0:00:46.813 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmp76mse6z5/tests/tests_bind_high_availability.yml:35 Monday 16 May 2022 18:59:15 +0000 (0:00:00.023) 0:00:46.836 ************ included: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:2 Monday 16 May 2022 18:59:15 +0000 (0:00:00.022) 0:00:46.859 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:7 Monday 16 May 2022 18:59:15 +0000 (0:00:00.378) 0:00:47.238 ************ changed: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } TASK [Clean up dummy key file on managed host] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:13 Monday 16 May 2022 18:59:15 +0000 (0:00:00.204) 0:00:47.443 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [linux-system-roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 Monday 16 May 2022 18:59:16 +0000 (0:00:00.377) 0:00:47.820 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.772612", "end": "2022-05-16 18:59:37.416164", "rc": 0, "start": "2022-05-16 18:59:15.643552" } STDERR: dracut: Executing: /usr/bin/dracut --kver=5.17.6-100.fc34.x86_64 -fv dracut: dracut module 'modsign' will not be installed, because command 'keyctl' could not be found! dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found! dracut: dracut module 'dbus-daemon' will not be installed, because command 'dbus-daemon' could not be found! dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found! dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found! dracut: 62bluetooth: Could not find any command of '/usr/lib/bluetooth/bluetoothd /usr/libexec/bluetooth/bluetoothd'! dracut: dracut module 'lvmmerge' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found! dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found! dracut: dracut module 'multipath' will not be installed, because command 'multipath' could not be found! dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found! dracut: dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found! dracut: 95nfs: Could not find any command of 'rpcbind portmap'! dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found! dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: systemd-sysusers *** dracut: *** Including module: dbus-broker *** dracut: *** Including module: dbus *** dracut: *** Including module: i18n *** dracut: *** Including module: network-manager *** dracut: *** Including module: network *** dracut: *** Including module: clevis *** dracut: *** Including module: clevis-pin-sss *** dracut: *** Including module: clevis-pin-tang *** dracut: *** Including module: clevis-pin-tpm2 *** dracut: *** Including module: nbde_client *** dracut: *** Including module: crypt *** dracut: *** Including module: dm *** dracut: Skipping udev rule: 64-device-mapper.rules dracut: Skipping udev rule: 60-persistent-storage-dm.rules dracut: Skipping udev rule: 55-dm.rules dracut: *** Including module: kernel-modules *** dracut: *** Including module: kernel-modules-extra *** dracut: *** Including module: kernel-network-modules *** dracut: *** Including module: nvdimm *** dracut: *** Including module: qemu *** dracut: *** Including module: qemu-net *** dracut: *** Including module: lunmask *** dracut: *** Including module: resume *** dracut: *** Including module: rootfs-block *** dracut: *** Including module: terminfo *** dracut: *** Including module: udev-rules *** dracut: Skipping udev rule: 40-redhat.rules dracut: Skipping udev rule: 50-firmware.rules dracut: Skipping udev rule: 50-udev.rules dracut: Skipping udev rule: 91-permissions.rules dracut: Skipping udev rule: 80-drivers-modprobe.rules dracut: *** Including module: virtfs *** dracut: *** Including module: dracut-systemd *** dracut: *** Including module: usrmount *** dracut: *** Including module: base *** dracut: *** Including module: fs-lib *** dracut: *** Including module: memstrack *** dracut: *** Including module: shutdown *** dracut: *** Including modules done *** dracut: *** Installing kernel module dependencies *** dracut: *** Installing kernel module dependencies done *** dracut: *** Resolving executable dependencies *** dracut: *** Resolving executable dependencies done *** dracut: *** Hardlinking files *** dracut: *** Hardlinking files done *** dracut: Could not find 'strip'. Not stripping the initramfs. dracut: *** Generating early-microcode cpio image *** dracut: *** Store current command line parameters *** dracut: *** Creating image file '/boot/initramfs-5.17.6-100.fc34.x86_64.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-5.17.6-100.fc34.x86_64.img' done *** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=59 changed=17 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 Monday 16 May 2022 18:59:38 +0000 (0:00:22.174) 0:01:09.994 ************ =============================================================================== linux-system-roles.nbde_client : nbde_client update initramfs ---------- 22.17s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 linux-system-roles.nbde_client : Perform clevis operations -------------- 8.28s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Verify we can unlock the device ----------------------------------------- 4.81s /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 ----------------------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 3.87s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 3.01s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Install required packages for nbde_client tests ------------------------- 2.44s /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 -------------------------------- linux-system-roles.nbde_client : Ensure required packages are installed --- 2.13s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Ensure required packages are installed --- 2.12s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.23s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.14s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmp76mse6z5/tests/tests_bind_high_availability.yml:2 --------------------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.98s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.97s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Clone nbde_server role for the tests ------------------------------------ 0.92s /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:28 -------------------------------- linux-system-roles.nbde_client : Check whether devices are at the desired state --- 0.73s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Enable network flushing service -------- 0.70s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 linux-system-roles.nbde_client : Deploy network flushing script --------- 0.68s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 linux-system-roles.nbde_client : Enable clevis askpass unit ------------- 0.67s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 linux-system-roles.nbde_client : Deploy network flushing service -------- 0.67s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 linux-system-roles.nbde_client : Reload systemd config ------------------ 0.66s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 ansible-playbook [core 2.12.5] 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/tmpi9z83b_b executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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/tmp76mse6z5/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 18:59:49 +0000 (0:00:00.012) 0:00:00.012 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 18:59:49 +0000 (0:00:00.017) 0:00:00.029 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 18:59:50 +0000 (0:00:00.855) 0:00:00.885 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 18:59:50 +0000 (0:00:00.024) 0:00:00.910 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 18:59:50 +0000 (0:00:00.022) 0:00:00.933 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 18:59:53 +0000 (0:00:02.643) 0:00:03.577 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestampMonotonic": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 18:59:54 +0000 (0:00:00.892) 0:00:04.469 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "md5sum": "8ac814b21125f3c41430b13965169aff", "mode": "0444", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "src": "/root/.ansible/tmp/ansible-tmp-1652727594.4674182-298119-12403192857530/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 18:59:55 +0000 (0:00:00.953) 0:00:05.423 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 18:59:55 +0000 (0:00:00.026) 0:00:05.450 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 18:59:55 +0000 (0:00:00.020) 0:00:05.470 ************ TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 18:59:55 +0000 (0:00:00.012) 0:00:05.482 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 18:59:55 +0000 (0:00:00.018) 0:00:05.500 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 18:59:55 +0000 (0:00:00.018) 0:00:05.519 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "md5sum": "7947aade05c625cd8173078c3da0c37b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "src": "/root/.ansible/tmp/ansible-tmp-1652727595.5179422-298157-211707168562554/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 18:59:56 +0000 (0:00:00.680) 0:00:06.199 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "md5sum": "e3a3412ce904074cd7d0dce03ae5d40c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "src": "/root/.ansible/tmp/ansible-tmp-1652727596.2007468-298185-74449261733120/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 18:59:56 +0000 (0:00:00.678) 0:00:06.878 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 18:59:58 +0000 (0:00:01.294) 0:00:08.172 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.039519", "end": "2022-05-16 18:59:57.670704", "rc": 0, "start": "2022-05-16 18:59:57.631185" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 18:59:58 +0000 (0:00:00.540) 0:00:08.712 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 18:59:59 +0000 (0:00:00.639) 0:00:09.352 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target sysinit.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "sysinit.target 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": "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=13 changed=6 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Monday 16 May 2022 19:00:00 +0000 (0:00:00.732) 0:00:10.084 ************ =============================================================================== linux-system-roles.nbde_client : Ensure required packages are installed --- 2.64s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.29s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.95s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 linux-system-roles.nbde_client : Enable clevis askpass unit ------------- 0.89s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 linux-system-roles.nbde_client : Ensure ansible_facts used by role ------ 0.86s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 linux-system-roles.nbde_client : Enable network flushing service -------- 0.73s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 linux-system-roles.nbde_client : Deploy network flushing script --------- 0.68s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 linux-system-roles.nbde_client : Deploy network flushing service -------- 0.68s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 linux-system-roles.nbde_client : Reload systemd config ------------------ 0.64s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority --- 0.54s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 0.03s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Set platform/version specific variables --- 0.02s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 linux-system-roles.nbde_client : Include the appropriate provider tasks --- 0.02s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 -- linux-system-roles.nbde_client : Create temporary directory to hold key files --- 0.02s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 linux-system-roles.nbde_client : Remove temporary directory used to hold key files --- 0.02s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 linux-system-roles.nbde_client : Perform clevis operations -------------- 0.02s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 linux-system-roles.nbde_client : Set version specific variables --------- 0.02s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 -- linux-system-roles.nbde_client : Ensure we transfer key files ----------- 0.01s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 ansible-playbook [core 2.12.5] 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/tmpi9z83b_b executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_vars.yml *********************************************** 1 plays in /tmp/tmp76mse6z5/tests/tests_default_vars.yml PLAY [Ensure that the role declares all parameters in defaults] **************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp76mse6z5/tests/tests_default_vars.yml:2 Monday 16 May 2022 19:00:10 +0000 (0:00:00.008) 0:00:00.008 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:00:11 +0000 (0:00:01.107) 0:00:01.116 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:00:11 +0000 (0:00:00.020) 0:00:01.136 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:00:12 +0000 (0:00:00.561) 0:00:01.698 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:00:12 +0000 (0:00:00.026) 0:00:01.725 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:00:12 +0000 (0:00:00.026) 0:00:01.752 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:00:14 +0000 (0:00:02.428) 0:00:04.180 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "cryptsetup-pre.target clevis-luks-askpass.service", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestampMonotonic": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:00:15 +0000 (0:00:00.944) 0:00:05.124 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "md5sum": "8ac814b21125f3c41430b13965169aff", "mode": "0444", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "src": "/root/.ansible/tmp/ansible-tmp-1652727615.802724-298481-131249844984217/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:00:16 +0000 (0:00:00.908) 0:00:06.033 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:00:16 +0000 (0:00:00.029) 0:00:06.063 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:00:16 +0000 (0:00:00.021) 0:00:06.084 ************ TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:00:16 +0000 (0:00:00.013) 0:00:06.098 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:00:16 +0000 (0:00:00.018) 0:00:06.117 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:00:16 +0000 (0:00:00.021) 0:00:06.138 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "md5sum": "7947aade05c625cd8173078c3da0c37b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "src": "/root/.ansible/tmp/ansible-tmp-1652727616.8161511-298519-275251262468477/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:00:17 +0000 (0:00:00.650) 0:00:06.789 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "md5sum": "e3a3412ce904074cd7d0dce03ae5d40c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "src": "/root/.ansible/tmp/ansible-tmp-1652727617.466378-298547-178085379081252/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:00:18 +0000 (0:00:00.659) 0:00:07.448 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:00:19 +0000 (0:00:01.209) 0:00:08.658 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.035223", "end": "2022-05-16 19:00:19.129767", "rc": 0, "start": "2022-05-16 19:00:19.094544" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:00:19 +0000 (0:00:00.515) 0:00:09.173 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:00:20 +0000 (0:00:00.646) 0:00:09.819 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target systemd-journald.socket system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "sysinit.target 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": "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Assert that the role declares all parameters in defaults] **************** task path: /tmp/tmp76mse6z5/tests/tests_default_vars.yml:9 Monday 16 May 2022 19:00:21 +0000 (0:00:00.672) 0:00:10.492 ************ ok: [/cache/fedora-34.qcow2.snap] => (item=nbde_client_provider) => { "ansible_loop_var": "item", "changed": false, "item": "nbde_client_provider" } MSG: All assertions passed ok: [/cache/fedora-34.qcow2.snap] => (item=nbde_client_bindings) => { "ansible_loop_var": "item", "changed": false, "item": "nbde_client_bindings" } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=15 changed=6 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Monday 16 May 2022 19:00:21 +0000 (0:00:00.036) 0:00:10.528 ************ =============================================================================== linux-system-roles.nbde_client : Ensure required packages are installed --- 2.43s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.21s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmp76mse6z5/tests/tests_default_vars.yml:2 ------------------------------- linux-system-roles.nbde_client : Enable clevis askpass unit ------------- 0.94s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.91s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 linux-system-roles.nbde_client : Enable network flushing service -------- 0.67s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 linux-system-roles.nbde_client : Deploy network flushing service -------- 0.66s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 linux-system-roles.nbde_client : Deploy network flushing script --------- 0.65s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 linux-system-roles.nbde_client : Reload systemd config ------------------ 0.65s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 linux-system-roles.nbde_client : Ensure ansible_facts used by role ------ 0.56s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority --- 0.52s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Assert that the role declares all parameters in defaults ---------------- 0.04s /tmp/tmp76mse6z5/tests/tests_default_vars.yml:9 ------------------------------- linux-system-roles.nbde_client : Check whether devices are at the desired state --- 0.03s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Include the appropriate provider tasks --- 0.03s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 -- linux-system-roles.nbde_client : Set platform/version specific variables --- 0.03s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 linux-system-roles.nbde_client : Create temporary directory to hold key files --- 0.02s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 linux-system-roles.nbde_client : Remove temporary directory used to hold key files --- 0.02s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 linux-system-roles.nbde_client : Set version specific variables --------- 0.02s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 -- linux-system-roles.nbde_client : Perform clevis operations -------------- 0.02s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 linux-system-roles.nbde_client : Ensure we transfer key files ----------- 0.01s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 ansible-playbook [core 2.12.5] 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/tmpi9z83b_b executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_include_vars_from_parent.yml *********************************** 1 plays in /tmp/tmp76mse6z5/tests/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp76mse6z5/tests/tests_include_vars_from_parent.yml:1 Monday 16 May 2022 19:00:32 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmp76mse6z5/tests/tests_include_vars_from_parent.yml:3 Monday 16 May 2022 19:00:33 +0000 (0:00:01.169) 0:00:01.178 ************ changed: [/cache/fedora-34.qcow2.snap -> localhost] => (item=Fedora-34) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp76mse6z5/tests/roles/caller/vars/Fedora-34.yml", "gid": 0, "group": "root", "item": "Fedora-34", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1652727633.3097827-298756-204005040066228/source", "state": "file", "uid": 0 } changed: [/cache/fedora-34.qcow2.snap -> localhost] => (item=Fedora_34) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp76mse6z5/tests/roles/caller/vars/Fedora_34.yml", "gid": 0, "group": "root", "item": "Fedora_34", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1652727633.8764074-298756-182754577677447/source", "state": "file", "uid": 0 } changed: [/cache/fedora-34.qcow2.snap -> localhost] => (item=Fedora) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp76mse6z5/tests/roles/caller/vars/Fedora.yml", "gid": 0, "group": "root", "item": "Fedora", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1652727634.2257648-298756-121613321656223/source", "state": "file", "uid": 0 } changed: [/cache/fedora-34.qcow2.snap -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp76mse6z5/tests/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1652727634.5670316-298756-158072875280504/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmp76mse6z5/tests/roles/caller/tasks/main.yml:4 Monday 16 May 2022 19:00:34 +0000 (0:00:01.693) 0:00:02.872 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:00:34 +0000 (0:00:00.024) 0:00:02.896 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:00:34 +0000 (0:00:00.021) 0:00:02.918 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:00:35 +0000 (0:00:00.489) 0:00:03.408 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:00:35 +0000 (0:00:00.028) 0:00:03.436 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:00:35 +0000 (0:00:00.030) 0:00:03.466 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:00:37 +0000 (0:00:02.398) 0:00:05.865 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "cryptsetup-pre.target clevis-luks-askpass.service", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestampMonotonic": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:00:38 +0000 (0:00:00.907) 0:00:06.773 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "md5sum": "8ac814b21125f3c41430b13965169aff", "mode": "0444", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "src": "/root/.ansible/tmp/ansible-tmp-1652727638.8781197-298894-120315318004222/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:00:39 +0000 (0:00:00.668) 0:00:07.441 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:00:39 +0000 (0:00:00.018) 0:00:07.460 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:00:39 +0000 (0:00:00.020) 0:00:07.481 ************ TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:00:39 +0000 (0:00:00.013) 0:00:07.495 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:00:39 +0000 (0:00:00.021) 0:00:07.517 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:00:39 +0000 (0:00:00.020) 0:00:07.538 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "md5sum": "7947aade05c625cd8173078c3da0c37b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "src": "/root/.ansible/tmp/ansible-tmp-1652727639.6451786-298932-277162219706087/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:00:40 +0000 (0:00:00.671) 0:00:08.209 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "md5sum": "e3a3412ce904074cd7d0dce03ae5d40c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "src": "/root/.ansible/tmp/ansible-tmp-1652727640.3177342-298960-66537435405823/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:00:40 +0000 (0:00:00.680) 0:00:08.890 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:00:42 +0000 (0:00:01.245) 0:00:10.135 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.041465", "end": "2022-05-16 19:00:41.909567", "rc": 0, "start": "2022-05-16 19:00:41.868102" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:00:42 +0000 (0:00:00.556) 0:00:10.691 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:00:43 +0000 (0:00:00.646) 0:00:11.338 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target sysinit.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "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": "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [caller : assert] ********************************************************* task path: /tmp/tmp76mse6z5/tests/roles/caller/tasks/main.yml:7 Monday 16 May 2022 19:00:44 +0000 (0:00:00.658) 0:00:11.996 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed META: role_complete for /cache/fedora-34.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=16 changed=7 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Monday 16 May 2022 19:00:44 +0000 (0:00:00.028) 0:00:12.024 ************ =============================================================================== linux-system-roles.nbde_client : Ensure required packages are installed --- 2.40s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 create var file in caller that can override the one in called role ------ 1.69s /tmp/tmp76mse6z5/tests/tests_include_vars_from_parent.yml:3 ------------------- linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.25s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.17s /tmp/tmp76mse6z5/tests/tests_include_vars_from_parent.yml:1 ------------------- linux-system-roles.nbde_client : Enable clevis askpass unit ------------- 0.91s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 linux-system-roles.nbde_client : Deploy network flushing service -------- 0.68s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 linux-system-roles.nbde_client : Deploy network flushing script --------- 0.67s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.67s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 linux-system-roles.nbde_client : Enable network flushing service -------- 0.66s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 linux-system-roles.nbde_client : Reload systemd config ------------------ 0.65s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority --- 0.56s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 linux-system-roles.nbde_client : Ensure ansible_facts used by role ------ 0.49s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 linux-system-roles.nbde_client : Include the appropriate provider tasks --- 0.03s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 -- caller : assert --------------------------------------------------------- 0.03s /tmp/tmp76mse6z5/tests/roles/caller/tasks/main.yml:7 -------------------------- linux-system-roles.nbde_client : Set platform/version specific variables --- 0.03s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 include_role : {{ roletoinclude }} -------------------------------------- 0.02s /tmp/tmp76mse6z5/tests/roles/caller/tasks/main.yml:4 -------------------------- linux-system-roles.nbde_client : Perform clevis operations -------------- 0.02s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 linux-system-roles.nbde_client : Set version specific variables --------- 0.02s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 -- linux-system-roles.nbde_client : Remove temporary directory used to hold key files --- 0.02s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 linux-system-roles.nbde_client : Create temporary directory to hold key files --- 0.02s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 ansible-playbook [core 2.12.5] 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/tmpi9z83b_b executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_key_rotation.yml *********************************************** 1 plays in /tmp/tmp76mse6z5/tests/tests_key_rotation.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp76mse6z5/tests/tests_key_rotation.yml:2 Monday 16 May 2022 19:00:54 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmp76mse6z5/tests/tests_key_rotation.yml:12 Monday 16 May 2022 19:00:56 +0000 (0:00:01.135) 0:00:01.144 ************ included: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:2 Monday 16 May 2022 19:00:56 +0000 (0:00:00.024) 0:00:01.168 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_device": "/tmp/.nbde_client_dev_test", "nbde_client_test_encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "nbde_client_test_pass": "test-password-here", "nbde_client_test_roles_dir": "/tmp/.nbde_client_dev_roles" }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:5 Monday 16 May 2022 19:00:56 +0000 (0:00:00.015) 0:00:01.184 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:20 Monday 16 May 2022 19:00:56 +0000 (0:00:00.025) 0:00:01.210 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "all_ipv4_addresses": [ "10.0.2.15" ], "all_ipv6_addresses": [ "fec0::5054:ff:fe12:3456", "fe80::5054:ff:fe12:3456" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "04/01/2014", "bios_vendor": "SeaBIOS", "bios_version": "1.14.0-4.fc34", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "QEMU", "chassis_version": "pc-i440fx-5.2", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": "ttyS0,115200n8", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "date_time": { "date": "2022-05-16", "day": "16", "epoch": "1652727655", "epoch_int": "1652727655", "hour": "19", "iso8601": "2022-05-16T19:00:55Z", "iso8601_basic": "20220516T190055062260", "iso8601_basic_short": "20220516T190055", "iso8601_micro": "2022-05-16T19:00:55.062260Z", "minute": "00", "month": "05", "second": "55", "time": "19:00:55", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Monday", "weekday_number": "1", "weeknumber": "20", "year": "2022" }, "default_ipv4": { "address": "10.0.2.15", "alias": "eth0", "broadcast": "10.0.2.255", "gateway": "10.0.2.2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "netmask": "255.255.255.0", "network": "10.0.2.0", "type": "ether" }, "default_ipv6": { "address": "fec0::5054:ff:fe12:3456", "gateway": "fe80::2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "prefix": "64", "scope": "site", "type": "ether" }, "device_links": { "ids": { "sr0": [ "ata-QEMU_DVD-ROM_QM00003" ] }, "labels": { "sr0": [ "cidata" ], "vdb1": [ "yumcache" ], "vdc1": [ "yumvarlib" ] }, "masters": {}, "uuids": { "sr0": [ "2022-05-16-19-00-45-00" ], "vda1": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ], "vdb1": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ], "vdc1": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] } }, "devices": { "sr0": { "holders": [], "host": "", "links": { "ids": [ "ata-QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-05-16-19-00-45-00" ] }, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "bfq", "sectors": "728", "sectorsize": "2048", "size": "364.00 KB", "support_discard": "0", "vendor": "QEMU", "virtual": 1 }, "vda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ] }, "sectors": "8386560", "sectorsize": 512, "size": "4.00 GB", "start": "2048", "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "8388608", "sectorsize": "512", "size": "4.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdb": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdb1": { "holders": [], "links": { "ids": [], "labels": [ "yumcache" ], "masters": [], "uuids": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdc": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdc1": { "holders": [], "links": { "ids": [], "labels": [ "yumvarlib" ], "masters": [], "uuids": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python3", "distribution": "Fedora", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "34", "distribution_release": "", "distribution_version": "34", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "." ] }, "domain": "", "effective_group_id": 0, "effective_user_id": 0, "env": { "BASH_FUNC_which%%": "() { ( alias;\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot \"$@\"\n}", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "HOME": "/root", "LANG": "en_US.UTF-8", "LC_CTYPE": "C.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "MOTD_SHOWN": "pam", "PATH": "/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "1", "SSH_CLIENT": "10.0.2.2 37252 22", "SSH_CONNECTION": "10.0.2.2 37252 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "1", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3", "which_declare": "declare -f" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.0.2.15", "broadcast": "10.0.2.255", "netmask": "255.255.255.0", "network": "10.0.2.0" }, "ipv6": [ { "address": "fec0::5054:ff:fe12:3456", "prefix": "64", "scope": "site" }, { "address": "fe80::5054:ff:fe12:3456", "prefix": "64", "scope": "link" } ], "macaddress": "52:54:00:12:34:56", "module": "virtio_net", "mtu": 1500, "pciid": "virtio0", "promisc": false, "speed": -1, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "fedora", "gather_subset": [ "all" ], "hostname": "fedora", "hostnqn": "", "interfaces": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "5.17.6-100.fc34.x86_64", "kernel_version": "#1 SMP PREEMPT Mon May 9 14:41:31 UTC 2022", "lo": { "active": true, "device": "lo", "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "e91233b164be445ba9cbf9de45efbc14", "memfree_mb": 1625, "memory_mb": { "nocache": { "free": 1767, "used": 204 }, "real": { "free": 1625, "total": 1971, "used": 346 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 1971, "module_setup": true, "mounts": [ { "block_available": 789107, "block_size": 4096, "block_total": 1011384, "block_used": 222277, "device": "/dev/vda1", "fstype": "ext4", "inode_available": 235479, "inode_total": 262144, "inode_used": 26665, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 3232182272, "size_total": 4142628864, "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" }, { "block_available": 167364, "block_size": 4096, "block_total": 253035, "block_used": 85671, "device": "/dev/vdb1", "fstype": "ext4", "inode_available": 65453, "inode_total": 65536, "inode_used": 83, "mount": "/var/cache/dnf", "options": "rw,seclabel,relatime", "size_available": 685522944, "size_total": 1036431360, "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" }, { "block_available": 235624, "block_size": 4096, "block_total": 253035, "block_used": 17411, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 965115904, "size_total": 1036431360, "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } ], "nodename": "fedora", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": [ "tty1", "ttyS0,115200n8" ], "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "2", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "3", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz" ], "processor_cores": 1, "processor_count": 4, "processor_nproc": 4, "processor_threads_per_core": 1, "processor_vcpus": 4, "product_name": "Standard PC (i440FX + PIIX, 1996)", "product_serial": "NA", "product_uuid": "NA", "product_version": "pc-i440fx-5.2", "python": { "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 12, "minor": 9, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 9, 12, "final", 0 ] }, "python_version": "3.9.12", "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAPSRkLXxcDMdAGmIx2S6983l4JLs7QeoC+RpmIjhKbn6pnvHfbb/NI/SP2uiu8GI6S8/+sa5aXt8/i7A/KmNEL0+CSmkehrAwGBIjgdg7ftdfgntuizM0hOi665MSoANX3Hhxtubdsd4yUGzADFF1hPjfl4yvoRz0oHlBqY/w2HzAAAAFQCWTdcgqgfeqm/AmK0w1a9T5mCT/wAAAIBrqFXMWHzkzKfFm/XvXFsOTmFPq2AkwaquST86EjTrR0WS1088uftjGOlr5VeoOPiHkG47ZAziLhXKaxViVW2ywdkMPFGf8hb31doQaRVVd6EyFoUxEYGQIjmEP4KltEr1FwS9oQcAeiK3lzj9UcU0d152GMexPE5pcOqHF0DCtgAAAIEAtJXDzoSf1GaekmbgJ1zWO6W1mkn82uRftsi3THkGO/56UAGMHmfwOzZVuftZ0TEy8oDnCXN9KFv88vv6oy14b7FFHefVyoR2PswrhLcZqMQF5gacBWvVhfxpuywxTvzaaRqLsuywubc6ZHm0IRnr8ZbSl9ivaNH2s886O7MWn5w=", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKyrb8W9+iO5guoW4eQ512DI1Tg0oYamt+tzgd1WUG5R+KfH4OxccpAATQ2b5GWh7jJxwUcn5IHPquEZkvptOHo=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIKpxydxGAGEtBSa9Naj9jyiH4En9rEn7PzKI5hP/DnjR", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC3eRlGGURxHBBsYJsvzQZt3TSC79X5S5DRFHDZlJHFgrYJl+XaJFHWZMhvipxkvXROXRdrUI5dqxhcqngj7ry6DTv8nBGAFD/KG2Y0vJUu9XwivxbuIHcdI4nzc6RoTnsa//fVNmpkEibhTO4Xo8sgFU4dwWY8AuMDAxP2qW5H2HccWc2ag8n2bsSLMFW04efGC/bb1sb2bzMlchOVOyWvz6ray81XWsYJ2nZgYHRoKcBaVzwUtW42CJ7W2nCekUsGL3LlB6k1F5FoLiHU6Ml+9/7iBObvR8fppY7V4y49eyMRFvDP7QJQd5G32w0KjwMeXLi4Lyvc29vHP+AmXAg+K863ScWbtpORUPWgvwm7SHl1pedjy5wlIQZAaPiT6kIMPocVUa7xIE5o0gdjNnkVpmMn6thrwTleGjH/IU37zdHj4J6r+FzZ7vnygup6irQizlNHaDVgv1ho4EJkBSWOAphywiulOVUHPaiGxXmmNuL03WNukxW/Z6yIwz40phE=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "QEMU", "uptime_seconds": 7, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_tech_guest": [ "kvm" ], "virtualization_tech_host": [], "virtualization_type": "kvm" } } TASK [Install required packages for nbde_client tests] ************************* task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 Monday 16 May 2022 19:00:56 +0000 (0:00:00.080) 0:00:01.290 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:28 Monday 16 May 2022 19:00:58 +0000 (0:00:02.529) 0:00:03.820 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "after": "158931d658cf73167b3c883e89def8a1ebdb8d18", "before": "158931d658cf73167b3c883e89def8a1ebdb8d18", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:35 Monday 16 May 2022 19:00:59 +0000 (0:00:00.531) 0:00:04.351 ************ TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:6 Monday 16 May 2022 19:00:59 +0000 (0:00:00.026) 0:00:04.378 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Monday 16 May 2022 19:00:59 +0000 (0:00:00.022) 0:00:04.400 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Monday 16 May 2022 19:00:59 +0000 (0:00:00.505) 0:00:04.905 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:9 Monday 16 May 2022 19:00:59 +0000 (0:00:00.028) 0:00:04.934 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Monday 16 May 2022 19:00:59 +0000 (0:00:00.026) 0:00:04.961 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: http-parser-2.9.4-4.fc34.x86_64", "Installed: tang-11-1.fc34.x86_64" ] } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Monday 16 May 2022 19:01:03 +0000 (0:00:03.174) 0:00:08.135 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Monday 16 May 2022 19:01:03 +0000 (0:00:00.027) 0:00:08.162 ************ changed: [/cache/fedora-34.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Monday 16 May 2022 19:01:03 +0000 (0:00:00.512) 0:00:08.675 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Monday 16 May 2022 19:01:03 +0000 (0:00:00.035) 0:00:08.710 ************ changed: [/cache/fedora-34.qcow2.snap] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "4096", "Before": "sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "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]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "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", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "sysinit.target system.slice", "RestartKillSignal": "15", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "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", "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": "2324", "TimeoutCleanUSec": "infinity", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Timestamping": "off", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "Writable": "no" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Create device for testing] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:39 Monday 16 May 2022 19:01:04 +0000 (0:00:00.967) 0:00:09.678 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.015095", "end": "2022-05-16 19:01:04.403096", "rc": 0, "start": "2022-05-16 19:01:04.388001" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:43 Monday 16 May 2022 19:01:05 +0000 (0:00:00.497) 0:00:10.175 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail; echo -n test-password-here | cryptsetup luksFormat --pbkdf pbkdf2 --pbkdf-force-iterations 1000 --batch-mode --force-password /tmp/.nbde_client_dev_test", "delta": "0:00:00.093405", "end": "2022-05-16 19:01:04.856888", "rc": 0, "start": "2022-05-16 19:01:04.763483" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:51 Monday 16 May 2022 19:01:05 +0000 (0:00:00.452) 0:00:10.628 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.003870", "end": "2022-05-16 19:01:05.780878", "rc": 0, "start": "2022-05-16 19:01:05.777008" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmp76mse6z5/tests/tests_key_rotation.yml:17 Monday 16 May 2022 19:01:05 +0000 (0:00:00.197) 0:00:10.826 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:01:05 +0000 (0:00:00.028) 0:00:10.854 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:01:05 +0000 (0:00:00.021) 0:00:10.876 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:01:06 +0000 (0:00:00.500) 0:00:11.376 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:01:06 +0000 (0:00:00.028) 0:00:11.405 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:01:06 +0000 (0:00:00.027) 0:00:11.432 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:01:08 +0000 (0:00:01.926) 0:00:13.359 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "cryptsetup-pre.target clevis-luks-askpass.service", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestampMonotonic": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:01:08 +0000 (0:00:00.650) 0:00:14.009 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "md5sum": "8ac814b21125f3c41430b13965169aff", "mode": "0444", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "src": "/root/.ansible/tmp/ansible-tmp-1652727669.038173-299446-260766294536460/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:01:09 +0000 (0:00:00.938) 0:00:14.947 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:01:10 +0000 (0:00:00.700) 0:00:15.647 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.jnjskgfgnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:01:11 +0000 (0:00:00.490) 0:00:16.138 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:01:11 +0000 (0:00:00.083) 0:00:16.221 ************ NOTIFIED HANDLER linux-system-roles.nbde_client : nbde_client update initramfs for /cache/fedora-34.qcow2.snap changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:01:16 +0000 (0:00:05.326) 0:00:21.548 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.jnjskgfgnbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:01:17 +0000 (0:00:00.510) 0:00:22.059 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "md5sum": "7947aade05c625cd8173078c3da0c37b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "src": "/root/.ansible/tmp/ansible-tmp-1652727677.0934236-299540-96110067293140/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:01:17 +0000 (0:00:00.664) 0:00:22.724 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "md5sum": "e3a3412ce904074cd7d0dce03ae5d40c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "src": "/root/.ansible/tmp/ansible-tmp-1652727677.7513587-299568-170648665860602/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:01:18 +0000 (0:00:00.656) 0:00:23.381 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:01:19 +0000 (0:00:01.163) 0:00:24.544 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.038051", "end": "2022-05-16 19:01:19.139674", "rc": 0, "start": "2022-05-16 19:01:19.101623" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:01:19 +0000 (0:00:00.371) 0:00:24.916 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:01:20 +0000 (0:00:00.603) 0:00:25.519 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "sysinit.target 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": "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmp76mse6z5/tests/tests_key_rotation.yml:21 Monday 16 May 2022 19:01:21 +0000 (0:00:00.666) 0:00:26.186 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:01:21 +0000 (0:00:00.020) 0:00:26.206 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:03.772695", "end": "2022-05-16 19:01:24.555429", "rc": 0, "start": "2022-05-16 19:01:20.782734" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:01:25 +0000 (0:00:04.124) 0:00:30.331 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.033751", "end": "2022-05-16 19:01:24.946855", "rc": 0, "start": "2022-05-16 19:01:24.913104" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmp76mse6z5/tests/tests_key_rotation.yml:24 Monday 16 May 2022 19:01:25 +0000 (0:00:00.387) 0:00:30.718 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmp76mse6z5/tests/tests_key_rotation.yml:30 Monday 16 May 2022 19:01:25 +0000 (0:00:00.022) 0:00:30.741 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:01:25 +0000 (0:00:00.022) 0:00:30.763 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:01:25 +0000 (0:00:00.022) 0:00:30.786 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:01:25 +0000 (0:00:00.019) 0:00:30.806 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:01:26 +0000 (0:00:00.511) 0:00:31.318 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:01:26 +0000 (0:00:00.027) 0:00:31.345 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:01:26 +0000 (0:00:00.025) 0:00:31.370 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:01:28 +0000 (0:00:01.969) 0:00:33.340 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "cryptsetup-pre.target clevis-luks-askpass.service", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestamp": "Mon 2022-05-16 19:01:19 UTC", "StateChangeTimestampMonotonic": "32026123", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "cryptsetup.target", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:01:28 +0000 (0:00:00.496) 0:00:33.837 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "mode": "0444", "owner": "root", "path": "/etc/dracut.conf.d/nbde_client.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:01:29 +0000 (0:00:00.624) 0:00:34.462 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:01:31 +0000 (0:00:02.372) 0:00:36.835 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:01:31 +0000 (0:00:00.020) 0:00:36.855 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:01:31 +0000 (0:00:00.035) 0:00:36.891 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:01:31 +0000 (0:00:00.022) 0:00:36.913 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:01:31 +0000 (0:00:00.022) 0:00:36.936 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/bin/nbde_client-network-flush", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:01:32 +0000 (0:00:00.614) 0:00:37.550 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/systemd/system/nbde_client-network-flush.service", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:01:33 +0000 (0:00:00.604) 0:00:38.155 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:01:34 +0000 (0:00:01.107) 0:00:39.262 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.030512", "end": "2022-05-16 19:01:33.881615", "rc": 0, "start": "2022-05-16 19:01:33.851103" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:01:34 +0000 (0:00:00.392) 0:00:39.655 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:01:35 +0000 (0:00:00.634) 0:00:40.289 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target systemd-journald.socket sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target network-pre.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "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": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-16 19:01:34 UTC", "StateChangeTimestampMonotonic": "46790561", "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:01:35 +0000 (0:00:00.513) 0:00:40.803 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Rotate keys] ************************************************************* task path: /tmp/tmp76mse6z5/tests/tests_key_rotation.yml:33 Monday 16 May 2022 19:01:35 +0000 (0:00:00.024) 0:00:40.828 ************ included: /tmp/tmp76mse6z5/tests/tasks/rotate_keys.yml for /cache/fedora-34.qcow2.snap TASK [Rotate NBDE keys for testing] ******************************************** task path: /tmp/tmp76mse6z5/tests/tasks/rotate_keys.yml:2 Monday 16 May 2022 19:01:35 +0000 (0:00:00.022) 0:00:40.850 ************ TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:6 Monday 16 May 2022 19:01:35 +0000 (0:00:00.022) 0:00:40.873 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Monday 16 May 2022 19:01:35 +0000 (0:00:00.020) 0:00:40.894 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Monday 16 May 2022 19:01:36 +0000 (0:00:00.543) 0:00:41.438 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:9 Monday 16 May 2022 19:01:36 +0000 (0:00:00.029) 0:00:41.467 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Monday 16 May 2022 19:01:36 +0000 (0:00:00.023) 0:00:41.491 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Monday 16 May 2022 19:01:38 +0000 (0:00:01.948) 0:00:43.439 ************ changed: [/cache/fedora-34.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-rotated", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-rotated" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Monday 16 May 2022 19:01:38 +0000 (0:00:00.372) 0:00:43.812 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Monday 16 May 2022 19:01:38 +0000 (0:00:00.030) 0:00:43.842 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Monday 16 May 2022 19:01:38 +0000 (0:00:00.027) 0:00:43.869 ************ ok: [/cache/fedora-34.qcow2.snap] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Mon 2022-05-16 19:01:03 UTC", "ActiveEnterTimestampMonotonic": "16185759", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-16 19:01:03 UTC", "AssertTimestampMonotonic": "16183613", "Backlog": "4096", "Before": "shutdown.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4772000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-05-16 19:01:03 UTC", "ConditionTimestampMonotonic": "16183612", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "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]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-05-16 19:01:03 UTC", "InactiveExitTimestampMonotonic": "16185759", "InvocationID": "cf8ebf3f0ce74dff831413cde5fc69d2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "8192", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "NAccepted": "6", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "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", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "system.slice sysinit.target", "RestartKillSignal": "15", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "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": "Mon 2022-05-16 19:01:03 UTC", "StateChangeTimestampMonotonic": "16185759", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "listening", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "2324", "TimeoutCleanUSec": "infinity", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Timestamping": "off", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "sockets.target", "WatchdogSignal": "6", "Writable": "no" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check - change expected] ************** task path: /tmp/tmp76mse6z5/tests/tests_key_rotation.yml:36 Monday 16 May 2022 19:01:39 +0000 (0:00:00.529) 0:00:44.399 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:01:39 +0000 (0:00:00.024) 0:00:44.423 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:01:39 +0000 (0:00:00.017) 0:00:44.441 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:01:39 +0000 (0:00:00.491) 0:00:44.933 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:01:39 +0000 (0:00:00.027) 0:00:44.960 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:01:39 +0000 (0:00:00.027) 0:00:44.987 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:01:41 +0000 (0:00:01.933) 0:00:46.921 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "cryptsetup-pre.target clevis-luks-askpass.service", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestamp": "Mon 2022-05-16 19:01:19 UTC", "StateChangeTimestampMonotonic": "32026123", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "cryptsetup.target", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:01:42 +0000 (0:00:00.488) 0:00:47.409 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "mode": "0444", "owner": "root", "path": "/etc/dracut.conf.d/nbde_client.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:01:43 +0000 (0:00:00.620) 0:00:48.030 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:01:45 +0000 (0:00:02.394) 0:00:50.425 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.nz30723enbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:01:45 +0000 (0:00:00.354) 0:00:50.779 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:01:45 +0000 (0:00:00.042) 0:00:50.821 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:01:54 +0000 (0:00:08.874) 0:00:59.696 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.nz30723enbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:01:55 +0000 (0:00:00.396) 0:01:00.093 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/bin/nbde_client-network-flush", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:01:55 +0000 (0:00:00.614) 0:01:00.707 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/systemd/system/nbde_client-network-flush.service", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:01:56 +0000 (0:00:00.619) 0:01:01.326 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:01:57 +0000 (0:00:01.111) 0:01:02.438 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.032545", "end": "2022-05-16 19:01:57.062068", "rc": 0, "start": "2022-05-16 19:01:57.029523" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:01:57 +0000 (0:00:00.399) 0:01:02.837 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:01:58 +0000 (0:00:00.627) 0:01:03.465 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket basic.target sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target multi-user.target network-pre.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "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": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-16 19:01:34 UTC", "StateChangeTimestampMonotonic": "46790561", "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Assert change happened after key rotation] ******************************* task path: /tmp/tmp76mse6z5/tests/tests_key_rotation.yml:40 Monday 16 May 2022 19:01:58 +0000 (0:00:00.489) 0:01:03.954 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency again - change not expected] ************************** task path: /tmp/tmp76mse6z5/tests/tests_key_rotation.yml:45 Monday 16 May 2022 19:01:58 +0000 (0:00:00.024) 0:01:03.979 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:01:58 +0000 (0:00:00.022) 0:01:04.002 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:01:59 +0000 (0:00:00.020) 0:01:04.022 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:01:59 +0000 (0:00:00.020) 0:01:04.043 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:01:59 +0000 (0:00:00.500) 0:01:04.543 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:01:59 +0000 (0:00:00.027) 0:01:04.570 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:01:59 +0000 (0:00:00.024) 0:01:04.595 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:02:01 +0000 (0:00:01.964) 0:01:06.560 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "cryptsetup-pre.target clevis-luks-askpass.service", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestamp": "Mon 2022-05-16 19:01:19 UTC", "StateChangeTimestampMonotonic": "32026123", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "cryptsetup.target", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:02:02 +0000 (0:00:00.501) 0:01:07.061 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "mode": "0444", "owner": "root", "path": "/etc/dracut.conf.d/nbde_client.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:02:02 +0000 (0:00:00.608) 0:01:07.670 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:02:05 +0000 (0:00:02.419) 0:01:10.089 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:02:05 +0000 (0:00:00.022) 0:01:10.112 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:02:05 +0000 (0:00:00.037) 0:01:10.149 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:02:05 +0000 (0:00:00.022) 0:01:10.172 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:02:05 +0000 (0:00:00.023) 0:01:10.195 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/bin/nbde_client-network-flush", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:02:05 +0000 (0:00:00.597) 0:01:10.793 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/systemd/system/nbde_client-network-flush.service", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:02:06 +0000 (0:00:00.603) 0:01:11.396 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:02:07 +0000 (0:00:01.130) 0:01:12.527 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.028826", "end": "2022-05-16 19:02:07.132087", "rc": 0, "start": "2022-05-16 19:02:07.103261" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:02:07 +0000 (0:00:00.383) 0:01:12.910 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:02:08 +0000 (0:00:00.603) 0:01:13.513 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target multi-user.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "sysinit.target 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": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-16 19:01:34 UTC", "StateChangeTimestampMonotonic": "46790561", "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:02:08 +0000 (0:00:00.497) 0:01:14.011 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmp76mse6z5/tests/tests_key_rotation.yml:49 Monday 16 May 2022 19:02:09 +0000 (0:00:00.023) 0:01:14.034 ************ included: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:02:09 +0000 (0:00:00.022) 0:01:14.057 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:02:09 +0000 (0:00:00.375) 0:01:14.432 ************ changed: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } TASK [Clean up dummy key file on managed host] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:02:09 +0000 (0:00:00.192) 0:01:14.625 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [linux-system-roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:02:09 +0000 (0:00:00.383) 0:01:15.008 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.205584", "end": "2022-05-16 19:02:30.816565", "rc": 0, "start": "2022-05-16 19:02:09.610981" } STDERR: dracut: Executing: /usr/bin/dracut --kver=5.17.6-100.fc34.x86_64 -fv dracut: dracut module 'modsign' will not be installed, because command 'keyctl' could not be found! dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found! dracut: dracut module 'dbus-daemon' will not be installed, because command 'dbus-daemon' could not be found! dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found! dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found! dracut: 62bluetooth: Could not find any command of '/usr/lib/bluetooth/bluetoothd /usr/libexec/bluetooth/bluetoothd'! dracut: dracut module 'lvmmerge' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found! dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found! dracut: dracut module 'multipath' will not be installed, because command 'multipath' could not be found! dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found! dracut: dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found! dracut: 95nfs: Could not find any command of 'rpcbind portmap'! dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found! dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: systemd-sysusers *** dracut: *** Including module: dbus-broker *** dracut: *** Including module: dbus *** dracut: *** Including module: i18n *** dracut: *** Including module: network-manager *** dracut: *** Including module: network *** dracut: *** Including module: clevis *** dracut: *** Including module: clevis-pin-sss *** dracut: *** Including module: clevis-pin-tang *** dracut: *** Including module: clevis-pin-tpm2 *** dracut: *** Including module: nbde_client *** dracut: *** Including module: crypt *** dracut: *** Including module: dm *** dracut: Skipping udev rule: 64-device-mapper.rules dracut: Skipping udev rule: 60-persistent-storage-dm.rules dracut: Skipping udev rule: 55-dm.rules dracut: *** Including module: kernel-modules *** dracut: *** Including module: kernel-modules-extra *** dracut: *** Including module: kernel-network-modules *** dracut: *** Including module: nvdimm *** dracut: *** Including module: qemu *** dracut: *** Including module: qemu-net *** dracut: *** Including module: lunmask *** dracut: *** Including module: resume *** dracut: *** Including module: rootfs-block *** dracut: *** Including module: terminfo *** dracut: *** Including module: udev-rules *** dracut: Skipping udev rule: 40-redhat.rules dracut: Skipping udev rule: 50-firmware.rules dracut: Skipping udev rule: 50-udev.rules dracut: Skipping udev rule: 91-permissions.rules dracut: Skipping udev rule: 80-drivers-modprobe.rules dracut: *** Including module: virtfs *** dracut: *** Including module: dracut-systemd *** dracut: *** Including module: usrmount *** dracut: *** Including module: base *** dracut: *** Including module: fs-lib *** dracut: *** Including module: memstrack *** dracut: *** Including module: shutdown *** dracut: *** Including modules done *** dracut: *** Installing kernel module dependencies *** dracut: *** Installing kernel module dependencies done *** dracut: *** Resolving executable dependencies *** dracut: *** Resolving executable dependencies done *** dracut: *** Hardlinking files *** dracut: *** Hardlinking files done *** dracut: Could not find 'strip'. Not stripping the initramfs. dracut: *** Generating early-microcode cpio image *** dracut: *** Store current command line parameters *** dracut: *** Creating image file '/boot/initramfs-5.17.6-100.fc34.x86_64.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-5.17.6-100.fc34.x86_64.img' done *** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=101 changed=21 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Monday 16 May 2022 19:02:31 +0000 (0:00:21.598) 0:01:36.606 ************ =============================================================================== linux-system-roles.nbde_client : nbde_client update initramfs ---------- 21.60s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 linux-system-roles.nbde_client : Perform clevis operations -------------- 8.87s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 linux-system-roles.nbde_client : Perform clevis operations -------------- 5.33s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Verify we can unlock the device ----------------------------------------- 4.12s /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 ----------------------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 3.17s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Install required packages for nbde_client tests ------------------------- 2.53s /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 -------------------------------- linux-system-roles.nbde_client : Check whether devices are at the desired state --- 2.42s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 2.39s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 2.37s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Ensure required packages are installed --- 1.97s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Ensure required packages are installed --- 1.96s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 1.95s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_client : Ensure required packages are installed --- 1.93s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Ensure required packages are installed --- 1.93s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.16s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.14s /tmp/tmp76mse6z5/tests/tests_key_rotation.yml:2 ------------------------------- linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.13s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.11s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.11s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.97s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 ansible-playbook [core 2.12.5] 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/tmpi9z83b_b executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_passphrase_temporary.yml *************************************** 1 plays in /tmp/tmp76mse6z5/tests/tests_passphrase_temporary.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary.yml:2 Monday 16 May 2022 19:02:42 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary.yml:16 Monday 16 May 2022 19:02:43 +0000 (0:00:01.119) 0:00:01.129 ************ included: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:2 Monday 16 May 2022 19:02:43 +0000 (0:00:00.023) 0:00:01.153 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_device": "/tmp/.nbde_client_dev_test", "nbde_client_test_encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "nbde_client_test_pass": "test-password-here", "nbde_client_test_roles_dir": "/tmp/.nbde_client_dev_roles" }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:5 Monday 16 May 2022 19:02:43 +0000 (0:00:00.016) 0:00:01.170 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:20 Monday 16 May 2022 19:02:43 +0000 (0:00:00.026) 0:00:01.196 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "all_ipv4_addresses": [ "10.0.2.15" ], "all_ipv6_addresses": [ "fec0::5054:ff:fe12:3456", "fe80::5054:ff:fe12:3456" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "04/01/2014", "bios_vendor": "SeaBIOS", "bios_version": "1.14.0-4.fc34", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "QEMU", "chassis_version": "pc-i440fx-5.2", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": "ttyS0,115200n8", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "date_time": { "date": "2022-05-16", "day": "16", "epoch": "1652727763", "epoch_int": "1652727763", "hour": "19", "iso8601": "2022-05-16T19:02:43Z", "iso8601_basic": "20220516T190243105531", "iso8601_basic_short": "20220516T190243", "iso8601_micro": "2022-05-16T19:02:43.105531Z", "minute": "02", "month": "05", "second": "43", "time": "19:02:43", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Monday", "weekday_number": "1", "weeknumber": "20", "year": "2022" }, "default_ipv4": { "address": "10.0.2.15", "alias": "eth0", "broadcast": "10.0.2.255", "gateway": "10.0.2.2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "netmask": "255.255.255.0", "network": "10.0.2.0", "type": "ether" }, "default_ipv6": { "address": "fe80::5054:ff:fe12:3456", "gateway": "fe80::2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "prefix": "64", "scope": "link", "type": "ether" }, "device_links": { "ids": { "sr0": [ "ata-QEMU_DVD-ROM_QM00003" ] }, "labels": { "sr0": [ "cidata" ], "vdb1": [ "yumcache" ], "vdc1": [ "yumvarlib" ] }, "masters": {}, "uuids": { "sr0": [ "2022-05-16-19-02-33-00" ], "vda1": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ], "vdb1": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ], "vdc1": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] } }, "devices": { "sr0": { "holders": [], "host": "", "links": { "ids": [ "ata-QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-05-16-19-02-33-00" ] }, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "bfq", "sectors": "728", "sectorsize": "2048", "size": "364.00 KB", "support_discard": "0", "vendor": "QEMU", "virtual": 1 }, "vda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ] }, "sectors": "8386560", "sectorsize": 512, "size": "4.00 GB", "start": "2048", "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "8388608", "sectorsize": "512", "size": "4.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdb": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdb1": { "holders": [], "links": { "ids": [], "labels": [ "yumcache" ], "masters": [], "uuids": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdc": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdc1": { "holders": [], "links": { "ids": [], "labels": [ "yumvarlib" ], "masters": [], "uuids": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python3", "distribution": "Fedora", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "34", "distribution_release": "", "distribution_version": "34", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "." ] }, "domain": "", "effective_group_id": 0, "effective_user_id": 0, "env": { "BASH_FUNC_which%%": "() { ( alias;\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot \"$@\"\n}", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "HOME": "/root", "LANG": "en_US.UTF-8", "LC_CTYPE": "C.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "MOTD_SHOWN": "pam", "PATH": "/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "1", "SSH_CLIENT": "10.0.2.2 39556 22", "SSH_CONNECTION": "10.0.2.2 39556 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "1", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3", "which_declare": "declare -f" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.0.2.15", "broadcast": "10.0.2.255", "netmask": "255.255.255.0", "network": "10.0.2.0" }, "ipv6": [ { "address": "fec0::5054:ff:fe12:3456", "prefix": "64", "scope": "site" }, { "address": "fe80::5054:ff:fe12:3456", "prefix": "64", "scope": "link" } ], "macaddress": "52:54:00:12:34:56", "module": "virtio_net", "mtu": 1500, "pciid": "virtio0", "promisc": false, "speed": -1, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "fedora", "gather_subset": [ "all" ], "hostname": "fedora", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "5.17.6-100.fc34.x86_64", "kernel_version": "#1 SMP PREEMPT Mon May 9 14:41:31 UTC 2022", "lo": { "active": true, "device": "lo", "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "e91233b164be445ba9cbf9de45efbc14", "memfree_mb": 1630, "memory_mb": { "nocache": { "free": 1772, "used": 199 }, "real": { "free": 1630, "total": 1971, "used": 341 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 1971, "module_setup": true, "mounts": [ { "block_available": 789107, "block_size": 4096, "block_total": 1011384, "block_used": 222277, "device": "/dev/vda1", "fstype": "ext4", "inode_available": 235479, "inode_total": 262144, "inode_used": 26665, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 3232182272, "size_total": 4142628864, "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" }, { "block_available": 167364, "block_size": 4096, "block_total": 253035, "block_used": 85671, "device": "/dev/vdb1", "fstype": "ext4", "inode_available": 65453, "inode_total": 65536, "inode_used": 83, "mount": "/var/cache/dnf", "options": "rw,seclabel,relatime", "size_available": 685522944, "size_total": 1036431360, "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" }, { "block_available": 235610, "block_size": 4096, "block_total": 253035, "block_used": 17425, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 965058560, "size_total": 1036431360, "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } ], "nodename": "fedora", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": [ "tty1", "ttyS0,115200n8" ], "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "2", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "3", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz" ], "processor_cores": 1, "processor_count": 4, "processor_nproc": 4, "processor_threads_per_core": 1, "processor_vcpus": 4, "product_name": "Standard PC (i440FX + PIIX, 1996)", "product_serial": "NA", "product_uuid": "NA", "product_version": "pc-i440fx-5.2", "python": { "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 12, "minor": 9, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 9, 12, "final", 0 ] }, "python_version": "3.9.12", "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAPSRkLXxcDMdAGmIx2S6983l4JLs7QeoC+RpmIjhKbn6pnvHfbb/NI/SP2uiu8GI6S8/+sa5aXt8/i7A/KmNEL0+CSmkehrAwGBIjgdg7ftdfgntuizM0hOi665MSoANX3Hhxtubdsd4yUGzADFF1hPjfl4yvoRz0oHlBqY/w2HzAAAAFQCWTdcgqgfeqm/AmK0w1a9T5mCT/wAAAIBrqFXMWHzkzKfFm/XvXFsOTmFPq2AkwaquST86EjTrR0WS1088uftjGOlr5VeoOPiHkG47ZAziLhXKaxViVW2ywdkMPFGf8hb31doQaRVVd6EyFoUxEYGQIjmEP4KltEr1FwS9oQcAeiK3lzj9UcU0d152GMexPE5pcOqHF0DCtgAAAIEAtJXDzoSf1GaekmbgJ1zWO6W1mkn82uRftsi3THkGO/56UAGMHmfwOzZVuftZ0TEy8oDnCXN9KFv88vv6oy14b7FFHefVyoR2PswrhLcZqMQF5gacBWvVhfxpuywxTvzaaRqLsuywubc6ZHm0IRnr8ZbSl9ivaNH2s886O7MWn5w=", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKyrb8W9+iO5guoW4eQ512DI1Tg0oYamt+tzgd1WUG5R+KfH4OxccpAATQ2b5GWh7jJxwUcn5IHPquEZkvptOHo=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIKpxydxGAGEtBSa9Naj9jyiH4En9rEn7PzKI5hP/DnjR", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC3eRlGGURxHBBsYJsvzQZt3TSC79X5S5DRFHDZlJHFgrYJl+XaJFHWZMhvipxkvXROXRdrUI5dqxhcqngj7ry6DTv8nBGAFD/KG2Y0vJUu9XwivxbuIHcdI4nzc6RoTnsa//fVNmpkEibhTO4Xo8sgFU4dwWY8AuMDAxP2qW5H2HccWc2ag8n2bsSLMFW04efGC/bb1sb2bzMlchOVOyWvz6ray81XWsYJ2nZgYHRoKcBaVzwUtW42CJ7W2nCekUsGL3LlB6k1F5FoLiHU6Ml+9/7iBObvR8fppY7V4y49eyMRFvDP7QJQd5G32w0KjwMeXLi4Lyvc29vHP+AmXAg+K863ScWbtpORUPWgvwm7SHl1pedjy5wlIQZAaPiT6kIMPocVUa7xIE5o0gdjNnkVpmMn6thrwTleGjH/IU37zdHj4J6r+FzZ7vnygup6irQizlNHaDVgv1ho4EJkBSWOAphywiulOVUHPaiGxXmmNuL03WNukxW/Z6yIwz40phE=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "QEMU", "uptime_seconds": 7, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_tech_guest": [ "kvm" ], "virtualization_tech_host": [], "virtualization_type": "kvm" } } TASK [Install required packages for nbde_client tests] ************************* task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 Monday 16 May 2022 19:02:43 +0000 (0:00:00.065) 0:00:01.262 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:28 Monday 16 May 2022 19:02:46 +0000 (0:00:02.578) 0:00:03.840 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "after": "158931d658cf73167b3c883e89def8a1ebdb8d18", "before": "158931d658cf73167b3c883e89def8a1ebdb8d18", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:35 Monday 16 May 2022 19:02:46 +0000 (0:00:00.562) 0:00:04.403 ************ TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:6 Monday 16 May 2022 19:02:46 +0000 (0:00:00.027) 0:00:04.430 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Monday 16 May 2022 19:02:46 +0000 (0:00:00.020) 0:00:04.451 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Monday 16 May 2022 19:02:47 +0000 (0:00:00.507) 0:00:04.958 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:9 Monday 16 May 2022 19:02:47 +0000 (0:00:00.030) 0:00:04.989 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Monday 16 May 2022 19:02:47 +0000 (0:00:00.025) 0:00:05.014 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: http-parser-2.9.4-4.fc34.x86_64", "Installed: tang-11-1.fc34.x86_64" ] } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Monday 16 May 2022 19:02:50 +0000 (0:00:03.138) 0:00:08.153 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Monday 16 May 2022 19:02:50 +0000 (0:00:00.027) 0:00:08.180 ************ changed: [/cache/fedora-34.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Monday 16 May 2022 19:02:51 +0000 (0:00:00.500) 0:00:08.681 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Monday 16 May 2022 19:02:51 +0000 (0:00:00.030) 0:00:08.711 ************ changed: [/cache/fedora-34.qcow2.snap] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "4096", "Before": "sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "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]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "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", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "system.slice sysinit.target", "RestartKillSignal": "15", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "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", "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": "2324", "TimeoutCleanUSec": "infinity", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Timestamping": "off", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "Writable": "no" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Create device for testing] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:39 Monday 16 May 2022 19:02:52 +0000 (0:00:00.959) 0:00:09.671 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.014413", "end": "2022-05-16 19:02:52.176464", "rc": 0, "start": "2022-05-16 19:02:52.162051" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:43 Monday 16 May 2022 19:02:52 +0000 (0:00:00.485) 0:00:10.156 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail; echo -n test-password-here | cryptsetup luksFormat --pbkdf pbkdf2 --pbkdf-force-iterations 1000 --batch-mode --force-password /tmp/.nbde_client_dev_test", "delta": "0:00:00.097867", "end": "2022-05-16 19:02:52.623847", "rc": 0, "start": "2022-05-16 19:02:52.525980" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:51 Monday 16 May 2022 19:02:53 +0000 (0:00:00.451) 0:00:10.607 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.004713", "end": "2022-05-16 19:02:53.197446", "rc": 0, "start": "2022-05-16 19:02:53.192733" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary.yml:21 Monday 16 May 2022 19:02:53 +0000 (0:00:00.214) 0:00:10.822 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:02:53 +0000 (0:00:00.024) 0:00:10.846 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:02:53 +0000 (0:00:00.019) 0:00:10.865 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:02:53 +0000 (0:00:00.492) 0:00:11.358 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:02:53 +0000 (0:00:00.027) 0:00:11.385 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:02:53 +0000 (0:00:00.028) 0:00:11.413 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:02:55 +0000 (0:00:02.076) 0:00:13.490 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "cryptsetup-pre.target clevis-luks-askpass.service", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestampMonotonic": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:02:56 +0000 (0:00:00.701) 0:00:14.191 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "md5sum": "8ac814b21125f3c41430b13965169aff", "mode": "0444", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "src": "/root/.ansible/tmp/ansible-tmp-1652727776.641347-300966-186489666091791/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:02:57 +0000 (0:00:00.977) 0:00:15.168 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:02:58 +0000 (0:00:00.729) 0:00:15.898 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.w48psex5nbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:02:58 +0000 (0:00:00.523) 0:00:16.421 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:02:58 +0000 (0:00:00.050) 0:00:16.472 ************ NOTIFIED HANDLER linux-system-roles.nbde_client : nbde_client update initramfs for /cache/fedora-34.qcow2.snap changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:03:06 +0000 (0:00:07.504) 0:00:23.976 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.w48psex5nbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:03:06 +0000 (0:00:00.537) 0:00:24.514 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "md5sum": "7947aade05c625cd8173078c3da0c37b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "src": "/root/.ansible/tmp/ansible-tmp-1652727786.9711092-301060-159865363014529/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:03:07 +0000 (0:00:00.708) 0:00:25.222 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "md5sum": "e3a3412ce904074cd7d0dce03ae5d40c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "src": "/root/.ansible/tmp/ansible-tmp-1652727787.6756804-301088-112026485121720/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:03:08 +0000 (0:00:00.689) 0:00:25.912 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:03:09 +0000 (0:00:01.248) 0:00:27.160 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.046214", "end": "2022-05-16 19:03:09.567765", "rc": 0, "start": "2022-05-16 19:03:09.521551" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:03:09 +0000 (0:00:00.391) 0:00:27.552 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:03:10 +0000 (0:00:00.632) 0:00:28.185 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice basic.target sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "sysinit.target 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": "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary.yml:25 Monday 16 May 2022 19:03:11 +0000 (0:00:00.685) 0:00:28.870 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:03:11 +0000 (0:00:00.020) 0:00:28.890 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:04.100915", "end": "2022-05-16 19:03:15.363770", "rc": 0, "start": "2022-05-16 19:03:11.262855" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:03:15 +0000 (0:00:04.456) 0:00:33.347 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.043239", "end": "2022-05-16 19:03:15.770195", "rc": 0, "start": "2022-05-16 19:03:15.726956" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary.yml:28 Monday 16 May 2022 19:03:16 +0000 (0:00:00.404) 0:00:33.752 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Attempt to check whether default passphrase works] *********************** task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary.yml:34 Monday 16 May 2022 19:03:16 +0000 (0:00:00.019) 0:00:33.772 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_default_passphrase.yml for /cache/fedora-34.qcow2.snap TASK [Verify the default passphrase works] ************************************* task path: /tmp/tmp76mse6z5/tests/tasks/verify_default_passphrase.yml:2 Monday 16 May 2022 19:03:16 +0000 (0:00:00.018) 0:00:33.791 ************ fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "cmd": "echo -n \"test-password-here\" | cryptsetup open --test-passphrase \"/tmp/.nbde_client_dev_test\"\n", "delta": "0:00:01.664963", "end": "2022-05-16 19:03:17.824538", "rc": 2, "start": "2022-05-16 19:03:16.159575" } STDERR: No key available with this passphrase. MSG: non-zero return code ...ignoring TASK [Make sure the default passphrase did not work] *************************** task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary.yml:37 Monday 16 May 2022 19:03:18 +0000 (0:00:02.016) 0:00:35.807 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary.yml:42 Monday 16 May 2022 19:03:18 +0000 (0:00:00.023) 0:00:35.830 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:03:18 +0000 (0:00:00.021) 0:00:35.852 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:03:18 +0000 (0:00:00.019) 0:00:35.872 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:03:18 +0000 (0:00:00.021) 0:00:35.893 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:03:18 +0000 (0:00:00.503) 0:00:36.397 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:03:18 +0000 (0:00:00.029) 0:00:36.426 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:03:18 +0000 (0:00:00.027) 0:00:36.454 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:03:20 +0000 (0:00:02.076) 0:00:38.530 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestamp": "Mon 2022-05-16 19:03:10 UTC", "StateChangeTimestampMonotonic": "34539537", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "cryptsetup.target", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:03:21 +0000 (0:00:00.493) 0:00:39.023 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "mode": "0444", "owner": "root", "path": "/etc/dracut.conf.d/nbde_client.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:03:22 +0000 (0:00:00.643) 0:00:39.667 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:03:26 +0000 (0:00:04.242) 0:00:43.910 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:03:26 +0000 (0:00:00.022) 0:00:43.933 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": true, "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:03:26 +0000 (0:00:00.040) 0:00:43.974 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:03:26 +0000 (0:00:00.021) 0:00:43.995 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:03:26 +0000 (0:00:00.021) 0:00:44.016 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/bin/nbde_client-network-flush", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:03:27 +0000 (0:00:00.658) 0:00:44.674 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/systemd/system/nbde_client-network-flush.service", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:03:27 +0000 (0:00:00.637) 0:00:45.312 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:03:28 +0000 (0:00:01.175) 0:00:46.488 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.035529", "end": "2022-05-16 19:03:28.920029", "rc": 0, "start": "2022-05-16 19:03:28.884500" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:03:29 +0000 (0:00:00.425) 0:00:46.913 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:03:29 +0000 (0:00:00.663) 0:00:47.577 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target multi-user.target shutdown.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "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": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-16 19:03:29 UTC", "StateChangeTimestampMonotonic": "53914331", "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:03:30 +0000 (0:00:00.537) 0:00:48.114 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary.yml:46 Monday 16 May 2022 19:03:30 +0000 (0:00:00.024) 0:00:48.139 ************ included: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:03:30 +0000 (0:00:00.024) 0:00:48.163 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:03:30 +0000 (0:00:00.382) 0:00:48.545 ************ changed: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } TASK [Clean up dummy key file on managed host] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:03:31 +0000 (0:00:00.201) 0:00:48.746 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [linux-system-roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:03:31 +0000 (0:00:00.380) 0:00:49.126 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.581287", "end": "2022-05-16 19:03:53.108794", "rc": 0, "start": "2022-05-16 19:03:31.527507" } STDERR: dracut: Executing: /usr/bin/dracut --kver=5.17.6-100.fc34.x86_64 -fv dracut: dracut module 'modsign' will not be installed, because command 'keyctl' could not be found! dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found! dracut: dracut module 'dbus-daemon' will not be installed, because command 'dbus-daemon' could not be found! dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found! dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found! dracut: 62bluetooth: Could not find any command of '/usr/lib/bluetooth/bluetoothd /usr/libexec/bluetooth/bluetoothd'! dracut: dracut module 'lvmmerge' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found! dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found! dracut: dracut module 'multipath' will not be installed, because command 'multipath' could not be found! dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found! dracut: dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found! dracut: 95nfs: Could not find any command of 'rpcbind portmap'! dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found! dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: systemd-sysusers *** dracut: *** Including module: dbus-broker *** dracut: *** Including module: dbus *** dracut: *** Including module: i18n *** dracut: *** Including module: network-manager *** dracut: *** Including module: network *** dracut: *** Including module: clevis *** dracut: *** Including module: clevis-pin-sss *** dracut: *** Including module: clevis-pin-tang *** dracut: *** Including module: clevis-pin-tpm2 *** dracut: *** Including module: nbde_client *** dracut: *** Including module: crypt *** dracut: *** Including module: dm *** dracut: Skipping udev rule: 64-device-mapper.rules dracut: Skipping udev rule: 60-persistent-storage-dm.rules dracut: Skipping udev rule: 55-dm.rules dracut: *** Including module: kernel-modules *** dracut: *** Including module: kernel-modules-extra *** dracut: *** Including module: kernel-network-modules *** dracut: *** Including module: nvdimm *** dracut: *** Including module: qemu *** dracut: *** Including module: qemu-net *** dracut: *** Including module: lunmask *** dracut: *** Including module: resume *** dracut: *** Including module: rootfs-block *** dracut: *** Including module: terminfo *** dracut: *** Including module: udev-rules *** dracut: Skipping udev rule: 40-redhat.rules dracut: Skipping udev rule: 50-firmware.rules dracut: Skipping udev rule: 50-udev.rules dracut: Skipping udev rule: 91-permissions.rules dracut: Skipping udev rule: 80-drivers-modprobe.rules dracut: *** Including module: virtfs *** dracut: *** Including module: dracut-systemd *** dracut: *** Including module: usrmount *** dracut: *** Including module: base *** dracut: *** Including module: fs-lib *** dracut: *** Including module: memstrack *** dracut: *** Including module: shutdown *** dracut: *** Including modules done *** dracut: *** Installing kernel module dependencies *** dracut: *** Installing kernel module dependencies done *** dracut: *** Resolving executable dependencies *** dracut: *** Resolving executable dependencies done *** dracut: *** Hardlinking files *** dracut: *** Hardlinking files done *** dracut: Could not find 'strip'. Not stripping the initramfs. dracut: *** Generating early-microcode cpio image *** dracut: *** Store current command line parameters *** dracut: *** Creating image file '/boot/initramfs-5.17.6-100.fc34.x86_64.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-5.17.6-100.fc34.x86_64.img' done *** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=62 changed=16 unreachable=0 failed=0 skipped=7 rescued=0 ignored=1 Monday 16 May 2022 19:03:53 +0000 (0:00:21.979) 0:01:11.106 ************ =============================================================================== linux-system-roles.nbde_client : nbde_client update initramfs ---------- 21.98s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 linux-system-roles.nbde_client : Perform clevis operations -------------- 7.50s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Verify we can unlock the device ----------------------------------------- 4.46s /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 ----------------------- linux-system-roles.nbde_client : Check whether devices are at the desired state --- 4.24s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 3.14s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Install required packages for nbde_client tests ------------------------- 2.58s /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 -------------------------------- linux-system-roles.nbde_client : Ensure required packages are installed --- 2.08s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Ensure required packages are installed --- 2.08s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Verify the default passphrase works ------------------------------------- 2.02s /tmp/tmp76mse6z5/tests/tasks/verify_default_passphrase.yml:2 ------------------ linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.25s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.18s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.12s /tmp/tmp76mse6z5/tests/tests_passphrase_temporary.yml:2 ----------------------- linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.98s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.96s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 0.73s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Deploy network flushing script --------- 0.71s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 linux-system-roles.nbde_client : Enable clevis askpass unit ------------- 0.70s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 linux-system-roles.nbde_client : Deploy network flushing service -------- 0.69s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 linux-system-roles.nbde_client : Enable network flushing service -------- 0.69s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 linux-system-roles.nbde_client : Reload systemd config ------------------ 0.66s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 ansible-playbook [core 2.12.5] 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/tmpi9z83b_b executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_passphrase_temporary_keyfile.yml ******************************* 1 plays in /tmp/tmp76mse6z5/tests/tests_passphrase_temporary_keyfile.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary_keyfile.yml:2 Monday 16 May 2022 19:04:04 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary_keyfile.yml:16 Monday 16 May 2022 19:04:05 +0000 (0:00:01.092) 0:00:01.101 ************ included: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:2 Monday 16 May 2022 19:04:05 +0000 (0:00:00.024) 0:00:01.125 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_device": "/tmp/.nbde_client_dev_test", "nbde_client_test_encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "nbde_client_test_pass": "test-password-here", "nbde_client_test_roles_dir": "/tmp/.nbde_client_dev_roles" }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:5 Monday 16 May 2022 19:04:05 +0000 (0:00:00.015) 0:00:01.141 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:20 Monday 16 May 2022 19:04:05 +0000 (0:00:00.025) 0:00:01.167 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "all_ipv4_addresses": [ "10.0.2.15" ], "all_ipv6_addresses": [ "fec0::5054:ff:fe12:3456", "fe80::5054:ff:fe12:3456" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "04/01/2014", "bios_vendor": "SeaBIOS", "bios_version": "1.14.0-4.fc34", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "QEMU", "chassis_version": "pc-i440fx-5.2", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": "ttyS0,115200n8", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "date_time": { "date": "2022-05-16", "day": "16", "epoch": "1652727845", "epoch_int": "1652727845", "hour": "19", "iso8601": "2022-05-16T19:04:05Z", "iso8601_basic": "20220516T190405000129", "iso8601_basic_short": "20220516T190405", "iso8601_micro": "2022-05-16T19:04:05.000129Z", "minute": "04", "month": "05", "second": "05", "time": "19:04:05", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Monday", "weekday_number": "1", "weeknumber": "20", "year": "2022" }, "default_ipv4": { "address": "10.0.2.15", "alias": "eth0", "broadcast": "10.0.2.255", "gateway": "10.0.2.2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "netmask": "255.255.255.0", "network": "10.0.2.0", "type": "ether" }, "default_ipv6": { "address": "fec0::5054:ff:fe12:3456", "gateway": "fe80::2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "prefix": "64", "scope": "site", "type": "ether" }, "device_links": { "ids": { "sr0": [ "ata-QEMU_DVD-ROM_QM00003" ] }, "labels": { "sr0": [ "cidata" ], "vdb1": [ "yumcache" ], "vdc1": [ "yumvarlib" ] }, "masters": {}, "uuids": { "sr0": [ "2022-05-16-19-03-55-00" ], "vda1": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ], "vdb1": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ], "vdc1": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] } }, "devices": { "sr0": { "holders": [], "host": "", "links": { "ids": [ "ata-QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-05-16-19-03-55-00" ] }, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "bfq", "sectors": "728", "sectorsize": "2048", "size": "364.00 KB", "support_discard": "0", "vendor": "QEMU", "virtual": 1 }, "vda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ] }, "sectors": "8386560", "sectorsize": 512, "size": "4.00 GB", "start": "2048", "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "8388608", "sectorsize": "512", "size": "4.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdb": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdb1": { "holders": [], "links": { "ids": [], "labels": [ "yumcache" ], "masters": [], "uuids": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdc": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdc1": { "holders": [], "links": { "ids": [], "labels": [ "yumvarlib" ], "masters": [], "uuids": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python3", "distribution": "Fedora", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "34", "distribution_release": "", "distribution_version": "34", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "." ] }, "domain": "", "effective_group_id": 0, "effective_user_id": 0, "env": { "BASH_FUNC_which%%": "() { ( alias;\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot \"$@\"\n}", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "HOME": "/root", "LANG": "en_US.UTF-8", "LC_CTYPE": "C.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "MOTD_SHOWN": "pam", "PATH": "/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "1", "SSH_CLIENT": "10.0.2.2 49012 22", "SSH_CONNECTION": "10.0.2.2 49012 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "1", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3", "which_declare": "declare -f" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.0.2.15", "broadcast": "10.0.2.255", "netmask": "255.255.255.0", "network": "10.0.2.0" }, "ipv6": [ { "address": "fec0::5054:ff:fe12:3456", "prefix": "64", "scope": "site" }, { "address": "fe80::5054:ff:fe12:3456", "prefix": "64", "scope": "link" } ], "macaddress": "52:54:00:12:34:56", "module": "virtio_net", "mtu": 1500, "pciid": "virtio0", "promisc": false, "speed": -1, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "fedora", "gather_subset": [ "all" ], "hostname": "fedora", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "5.17.6-100.fc34.x86_64", "kernel_version": "#1 SMP PREEMPT Mon May 9 14:41:31 UTC 2022", "lo": { "active": true, "device": "lo", "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "e91233b164be445ba9cbf9de45efbc14", "memfree_mb": 1626, "memory_mb": { "nocache": { "free": 1768, "used": 203 }, "real": { "free": 1626, "total": 1971, "used": 345 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 1971, "module_setup": true, "mounts": [ { "block_available": 789107, "block_size": 4096, "block_total": 1011384, "block_used": 222277, "device": "/dev/vda1", "fstype": "ext4", "inode_available": 235479, "inode_total": 262144, "inode_used": 26665, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 3232182272, "size_total": 4142628864, "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" }, { "block_available": 167364, "block_size": 4096, "block_total": 253035, "block_used": 85671, "device": "/dev/vdb1", "fstype": "ext4", "inode_available": 65453, "inode_total": 65536, "inode_used": 83, "mount": "/var/cache/dnf", "options": "rw,seclabel,relatime", "size_available": 685522944, "size_total": 1036431360, "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" }, { "block_available": 235597, "block_size": 4096, "block_total": 253035, "block_used": 17438, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 965005312, "size_total": 1036431360, "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } ], "nodename": "fedora", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": [ "tty1", "ttyS0,115200n8" ], "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "2", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "3", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz" ], "processor_cores": 1, "processor_count": 4, "processor_nproc": 4, "processor_threads_per_core": 1, "processor_vcpus": 4, "product_name": "Standard PC (i440FX + PIIX, 1996)", "product_serial": "NA", "product_uuid": "NA", "product_version": "pc-i440fx-5.2", "python": { "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 12, "minor": 9, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 9, 12, "final", 0 ] }, "python_version": "3.9.12", "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAPSRkLXxcDMdAGmIx2S6983l4JLs7QeoC+RpmIjhKbn6pnvHfbb/NI/SP2uiu8GI6S8/+sa5aXt8/i7A/KmNEL0+CSmkehrAwGBIjgdg7ftdfgntuizM0hOi665MSoANX3Hhxtubdsd4yUGzADFF1hPjfl4yvoRz0oHlBqY/w2HzAAAAFQCWTdcgqgfeqm/AmK0w1a9T5mCT/wAAAIBrqFXMWHzkzKfFm/XvXFsOTmFPq2AkwaquST86EjTrR0WS1088uftjGOlr5VeoOPiHkG47ZAziLhXKaxViVW2ywdkMPFGf8hb31doQaRVVd6EyFoUxEYGQIjmEP4KltEr1FwS9oQcAeiK3lzj9UcU0d152GMexPE5pcOqHF0DCtgAAAIEAtJXDzoSf1GaekmbgJ1zWO6W1mkn82uRftsi3THkGO/56UAGMHmfwOzZVuftZ0TEy8oDnCXN9KFv88vv6oy14b7FFHefVyoR2PswrhLcZqMQF5gacBWvVhfxpuywxTvzaaRqLsuywubc6ZHm0IRnr8ZbSl9ivaNH2s886O7MWn5w=", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKyrb8W9+iO5guoW4eQ512DI1Tg0oYamt+tzgd1WUG5R+KfH4OxccpAATQ2b5GWh7jJxwUcn5IHPquEZkvptOHo=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIKpxydxGAGEtBSa9Naj9jyiH4En9rEn7PzKI5hP/DnjR", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC3eRlGGURxHBBsYJsvzQZt3TSC79X5S5DRFHDZlJHFgrYJl+XaJFHWZMhvipxkvXROXRdrUI5dqxhcqngj7ry6DTv8nBGAFD/KG2Y0vJUu9XwivxbuIHcdI4nzc6RoTnsa//fVNmpkEibhTO4Xo8sgFU4dwWY8AuMDAxP2qW5H2HccWc2ag8n2bsSLMFW04efGC/bb1sb2bzMlchOVOyWvz6ray81XWsYJ2nZgYHRoKcBaVzwUtW42CJ7W2nCekUsGL3LlB6k1F5FoLiHU6Ml+9/7iBObvR8fppY7V4y49eyMRFvDP7QJQd5G32w0KjwMeXLi4Lyvc29vHP+AmXAg+K863ScWbtpORUPWgvwm7SHl1pedjy5wlIQZAaPiT6kIMPocVUa7xIE5o0gdjNnkVpmMn6thrwTleGjH/IU37zdHj4J6r+FzZ7vnygup6irQizlNHaDVgv1ho4EJkBSWOAphywiulOVUHPaiGxXmmNuL03WNukxW/Z6yIwz40phE=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "QEMU", "uptime_seconds": 7, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_tech_guest": [ "kvm" ], "virtualization_tech_host": [], "virtualization_type": "kvm" } } TASK [Install required packages for nbde_client tests] ************************* task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 Monday 16 May 2022 19:04:05 +0000 (0:00:00.031) 0:00:01.198 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:28 Monday 16 May 2022 19:04:08 +0000 (0:00:02.428) 0:00:03.626 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "after": "158931d658cf73167b3c883e89def8a1ebdb8d18", "before": "158931d658cf73167b3c883e89def8a1ebdb8d18", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:35 Monday 16 May 2022 19:04:08 +0000 (0:00:00.751) 0:00:04.377 ************ TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:6 Monday 16 May 2022 19:04:08 +0000 (0:00:00.028) 0:00:04.406 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Monday 16 May 2022 19:04:08 +0000 (0:00:00.020) 0:00:04.426 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Monday 16 May 2022 19:04:09 +0000 (0:00:00.527) 0:00:04.954 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:9 Monday 16 May 2022 19:04:09 +0000 (0:00:00.029) 0:00:04.984 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Monday 16 May 2022 19:04:09 +0000 (0:00:00.025) 0:00:05.010 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: http-parser-2.9.4-4.fc34.x86_64", "Installed: tang-11-1.fc34.x86_64" ] } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Monday 16 May 2022 19:04:12 +0000 (0:00:03.259) 0:00:08.269 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Monday 16 May 2022 19:04:12 +0000 (0:00:00.031) 0:00:08.300 ************ changed: [/cache/fedora-34.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Monday 16 May 2022 19:04:13 +0000 (0:00:00.550) 0:00:08.851 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Monday 16 May 2022 19:04:13 +0000 (0:00:00.032) 0:00:08.884 ************ changed: [/cache/fedora-34.qcow2.snap] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "4096", "Before": "shutdown.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "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]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "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", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "system.slice sysinit.target", "RestartKillSignal": "15", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "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", "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": "2324", "TimeoutCleanUSec": "infinity", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Timestamping": "off", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "Writable": "no" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Create device for testing] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:39 Monday 16 May 2022 19:04:14 +0000 (0:00:01.014) 0:00:09.898 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.014945", "end": "2022-05-16 19:04:14.584187", "rc": 0, "start": "2022-05-16 19:04:14.569242" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:43 Monday 16 May 2022 19:04:14 +0000 (0:00:00.504) 0:00:10.403 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail; echo -n test-password-here | cryptsetup luksFormat --pbkdf pbkdf2 --pbkdf-force-iterations 1000 --batch-mode --force-password /tmp/.nbde_client_dev_test", "delta": "0:00:00.096663", "end": "2022-05-16 19:04:15.041889", "rc": 0, "start": "2022-05-16 19:04:14.945226" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:51 Monday 16 May 2022 19:04:15 +0000 (0:00:00.459) 0:00:10.862 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.004297", "end": "2022-05-16 19:04:15.413341", "rc": 0, "start": "2022-05-16 19:04:15.409044" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary_keyfile.yml:21 Monday 16 May 2022 19:04:15 +0000 (0:00:00.202) 0:00:11.064 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:04:15 +0000 (0:00:00.026) 0:00:11.091 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:04:15 +0000 (0:00:00.021) 0:00:11.113 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:04:16 +0000 (0:00:00.507) 0:00:11.620 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:04:16 +0000 (0:00:00.030) 0:00:11.650 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:04:16 +0000 (0:00:00.030) 0:00:11.680 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:04:18 +0000 (0:00:02.069) 0:00:13.750 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestampMonotonic": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:04:18 +0000 (0:00:00.655) 0:00:14.406 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "md5sum": "8ac814b21125f3c41430b13965169aff", "mode": "0444", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "src": "/root/.ansible/tmp/ansible-tmp-1652727858.8375793-301904-68532736301814/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:04:19 +0000 (0:00:00.962) 0:00:15.369 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": true, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:04:20 +0000 (0:00:00.746) 0:00:16.115 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.zw4loeeknbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:04:20 +0000 (0:00:00.493) 0:00:16.609 ************ changed: [/cache/fedora-34.qcow2.snap] => (item=/tmp/.nbde_client_dev_encryption_key) => { "ansible_loop_var": "item", "changed": true, "checksum": "ddcbbd80371add8b55e5288b1278a7ead06c422e", "dest": "/tmp/ansible.zw4loeeknbde_client_encryption_keys/.nbde_client_dev_encryption_key", "gid": 0, "group": "root", "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": true, "servers": [ "http://localhost" ] }, "md5sum": "7e9df3be3334c1e2e9aa64d831cdb03d", "mode": "0400", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 18, "src": "/root/.ansible/tmp/ansible-tmp-1652727861.0613234-301964-145026814304444/source", "state": "file", "uid": 0 } skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:04:21 +0000 (0:00:00.695) 0:00:17.304 ************ NOTIFIED HANDLER linux-system-roles.nbde_client : nbde_client update initramfs for /cache/fedora-34.qcow2.snap changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_key": "/tmp/ansible.zw4loeeknbde_client_encryption_keys/.nbde_client_dev_encryption_key", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": true, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:04:27 +0000 (0:00:06.274) 0:00:23.579 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.zw4loeeknbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:04:28 +0000 (0:00:00.522) 0:00:24.102 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "md5sum": "7947aade05c625cd8173078c3da0c37b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "src": "/root/.ansible/tmp/ansible-tmp-1652727868.5345986-302024-256657364480231/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:04:29 +0000 (0:00:00.702) 0:00:24.804 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "md5sum": "e3a3412ce904074cd7d0dce03ae5d40c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "src": "/root/.ansible/tmp/ansible-tmp-1652727869.2357216-302052-4844289682100/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:04:29 +0000 (0:00:00.685) 0:00:25.490 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:04:31 +0000 (0:00:01.254) 0:00:26.745 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.045283", "end": "2022-05-16 19:04:31.341669", "rc": 0, "start": "2022-05-16 19:04:31.296386" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:04:31 +0000 (0:00:00.420) 0:00:27.166 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:04:32 +0000 (0:00:00.670) 0:00:27.837 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "sysinit.target 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": "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary_keyfile.yml:25 Monday 16 May 2022 19:04:32 +0000 (0:00:00.674) 0:00:28.511 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:04:32 +0000 (0:00:00.019) 0:00:28.531 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:05.832572", "end": "2022-05-16 19:04:38.896096", "rc": 0, "start": "2022-05-16 19:04:33.063524" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:04:39 +0000 (0:00:06.190) 0:00:34.721 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.030880", "end": "2022-05-16 19:04:39.298518", "rc": 0, "start": "2022-05-16 19:04:39.267638" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary_keyfile.yml:28 Monday 16 May 2022 19:04:39 +0000 (0:00:00.397) 0:00:35.119 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [copy the key file to the managed host] *********************************** task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary_keyfile.yml:34 Monday 16 May 2022 19:04:39 +0000 (0:00:00.020) 0:00:35.139 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "ddcbbd80371add8b55e5288b1278a7ead06c422e", "dest": "/tmp/.nbde_client_dev_encryption_key", "gid": 0, "group": "root", "md5sum": "7e9df3be3334c1e2e9aa64d831cdb03d", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 18, "src": "/root/.ansible/tmp/ansible-tmp-1652727879.5671282-302211-70764123364985/source", "state": "file", "uid": 0 } TASK [Attempt to check whether default key file works] ************************* task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary_keyfile.yml:40 Monday 16 May 2022 19:04:40 +0000 (0:00:00.695) 0:00:35.835 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_default_key_file.yml for /cache/fedora-34.qcow2.snap TASK [Verify the default key file works] *************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_default_key_file.yml:2 Monday 16 May 2022 19:04:40 +0000 (0:00:00.020) 0:00:35.855 ************ fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "cryptsetup", "open", "--test-passphrase", "/tmp/.nbde_client_dev_test", "--key-file", "/tmp/.nbde_client_dev_encryption_key" ], "delta": "0:00:01.943920", "end": "2022-05-16 19:04:42.343429", "rc": 2, "start": "2022-05-16 19:04:40.399509" } STDERR: No key available with this passphrase. MSG: non-zero return code ...ignoring TASK [Make sure the default key file did not work] ***************************** task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary_keyfile.yml:43 Monday 16 May 2022 19:04:42 +0000 (0:00:02.311) 0:00:38.167 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary_keyfile.yml:50 Monday 16 May 2022 19:04:42 +0000 (0:00:00.023) 0:00:38.190 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:04:42 +0000 (0:00:00.019) 0:00:38.210 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:04:42 +0000 (0:00:00.019) 0:00:38.229 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:04:42 +0000 (0:00:00.020) 0:00:38.250 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:04:43 +0000 (0:00:00.518) 0:00:38.768 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:04:43 +0000 (0:00:00.030) 0:00:38.798 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:04:43 +0000 (0:00:00.027) 0:00:38.826 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:04:45 +0000 (0:00:02.133) 0:00:40.960 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestamp": "Mon 2022-05-16 19:04:31 UTC", "StateChangeTimestampMonotonic": "34296653", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "cryptsetup.target", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:04:45 +0000 (0:00:00.533) 0:00:41.493 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "mode": "0444", "owner": "root", "path": "/etc/dracut.conf.d/nbde_client.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:04:46 +0000 (0:00:00.643) 0:00:42.137 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": true, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:04:51 +0000 (0:00:04.607) 0:00:46.744 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:04:51 +0000 (0:00:00.021) 0:00:46.766 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=/tmp/.nbde_client_dev_encryption_key) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": true, "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:04:51 +0000 (0:00:00.039) 0:00:46.806 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:04:51 +0000 (0:00:00.021) 0:00:46.827 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:04:51 +0000 (0:00:00.021) 0:00:46.848 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/bin/nbde_client-network-flush", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:04:51 +0000 (0:00:00.607) 0:00:47.456 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/systemd/system/nbde_client-network-flush.service", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:04:52 +0000 (0:00:00.610) 0:00:48.067 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:04:53 +0000 (0:00:01.122) 0:00:49.189 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.034889", "end": "2022-05-16 19:04:53.762401", "rc": 0, "start": "2022-05-16 19:04:53.727512" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:04:53 +0000 (0:00:00.397) 0:00:49.587 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:04:54 +0000 (0:00:00.634) 0:00:50.221 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket sysinit.target basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target multi-user.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "sysinit.target 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": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-16 19:04:54 UTC", "StateChangeTimestampMonotonic": "56676829", "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:04:55 +0000 (0:00:00.527) 0:00:50.749 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmp76mse6z5/tests/tests_passphrase_temporary_keyfile.yml:54 Monday 16 May 2022 19:04:55 +0000 (0:00:00.024) 0:00:50.773 ************ included: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:04:55 +0000 (0:00:00.021) 0:00:50.795 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:04:55 +0000 (0:00:00.378) 0:00:51.174 ************ changed: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } TASK [Clean up dummy key file on managed host] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:04:55 +0000 (0:00:00.217) 0:00:51.391 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [linux-system-roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:04:56 +0000 (0:00:00.353) 0:00:51.745 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.167535", "end": "2022-05-16 19:05:17.472076", "rc": 0, "start": "2022-05-16 19:04:56.304541" } STDERR: dracut: Executing: /usr/bin/dracut --kver=5.17.6-100.fc34.x86_64 -fv dracut: dracut module 'modsign' will not be installed, because command 'keyctl' could not be found! dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found! dracut: dracut module 'dbus-daemon' will not be installed, because command 'dbus-daemon' could not be found! dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found! dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found! dracut: 62bluetooth: Could not find any command of '/usr/lib/bluetooth/bluetoothd /usr/libexec/bluetooth/bluetoothd'! dracut: dracut module 'lvmmerge' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found! dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found! dracut: dracut module 'multipath' will not be installed, because command 'multipath' could not be found! dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found! dracut: dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found! dracut: 95nfs: Could not find any command of 'rpcbind portmap'! dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found! dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: systemd-sysusers *** dracut: *** Including module: dbus-broker *** dracut: *** Including module: dbus *** dracut: *** Including module: i18n *** dracut: *** Including module: network-manager *** dracut: *** Including module: network *** dracut: *** Including module: clevis *** dracut: *** Including module: clevis-pin-sss *** dracut: *** Including module: clevis-pin-tang *** dracut: *** Including module: clevis-pin-tpm2 *** dracut: *** Including module: nbde_client *** dracut: *** Including module: crypt *** dracut: *** Including module: dm *** dracut: Skipping udev rule: 64-device-mapper.rules dracut: Skipping udev rule: 60-persistent-storage-dm.rules dracut: Skipping udev rule: 55-dm.rules dracut: *** Including module: kernel-modules *** dracut: *** Including module: kernel-modules-extra *** dracut: *** Including module: kernel-network-modules *** dracut: *** Including module: nvdimm *** dracut: *** Including module: qemu *** dracut: *** Including module: qemu-net *** dracut: *** Including module: lunmask *** dracut: *** Including module: resume *** dracut: *** Including module: rootfs-block *** dracut: *** Including module: terminfo *** dracut: *** Including module: udev-rules *** dracut: Skipping udev rule: 40-redhat.rules dracut: Skipping udev rule: 50-firmware.rules dracut: Skipping udev rule: 50-udev.rules dracut: Skipping udev rule: 91-permissions.rules dracut: Skipping udev rule: 80-drivers-modprobe.rules dracut: *** Including module: virtfs *** dracut: *** Including module: dracut-systemd *** dracut: *** Including module: usrmount *** dracut: *** Including module: base *** dracut: *** Including module: fs-lib *** dracut: *** Including module: memstrack *** dracut: *** Including module: shutdown *** dracut: *** Including modules done *** dracut: *** Installing kernel module dependencies *** dracut: *** Installing kernel module dependencies done *** dracut: *** Resolving executable dependencies *** dracut: *** Resolving executable dependencies done *** dracut: *** Hardlinking files *** dracut: *** Hardlinking files done *** dracut: Could not find 'strip'. Not stripping the initramfs. dracut: *** Generating early-microcode cpio image *** dracut: *** Store current command line parameters *** dracut: *** Creating image file '/boot/initramfs-5.17.6-100.fc34.x86_64.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-5.17.6-100.fc34.x86_64.img' done *** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=64 changed=19 unreachable=0 failed=0 skipped=6 rescued=0 ignored=1 Monday 16 May 2022 19:05:17 +0000 (0:00:21.565) 0:01:13.310 ************ =============================================================================== linux-system-roles.nbde_client : nbde_client update initramfs ---------- 21.57s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 linux-system-roles.nbde_client : Perform clevis operations -------------- 6.27s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Verify we can unlock the device ----------------------------------------- 6.19s /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 ----------------------- linux-system-roles.nbde_client : Check whether devices are at the desired state --- 4.61s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 3.26s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Install required packages for nbde_client tests ------------------------- 2.43s /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 -------------------------------- Verify the default key file works --------------------------------------- 2.31s /tmp/tmp76mse6z5/tests/tasks/verify_default_key_file.yml:2 -------------------- linux-system-roles.nbde_client : Ensure required packages are installed --- 2.13s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Ensure required packages are installed --- 2.07s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.26s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.12s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmp76mse6z5/tests/tests_passphrase_temporary_keyfile.yml:2 --------------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 1.01s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.96s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Clone nbde_server role for the tests ------------------------------------ 0.75s /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:28 -------------------------------- linux-system-roles.nbde_client : Check whether devices are at the desired state --- 0.75s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Deploy network flushing script --------- 0.70s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 linux-system-roles.nbde_client : Ensure we transfer key files ----------- 0.70s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 copy the key file to the managed host ----------------------------------- 0.70s /tmp/tmp76mse6z5/tests/tests_passphrase_temporary_keyfile.yml:34 -------------- linux-system-roles.nbde_client : Deploy network flushing service -------- 0.69s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 ansible-playbook [core 2.12.5] 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/tmpi9z83b_b executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_simple_bind.yml ************************************************ 1 plays in /tmp/tmp76mse6z5/tests/tests_simple_bind.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp76mse6z5/tests/tests_simple_bind.yml:2 Monday 16 May 2022 19:05:27 +0000 (0:00:00.010) 0:00:00.010 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmp76mse6z5/tests/tests_simple_bind.yml:12 Monday 16 May 2022 19:05:28 +0000 (0:00:01.096) 0:00:01.106 ************ included: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:2 Monday 16 May 2022 19:05:28 +0000 (0:00:00.023) 0:00:01.130 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_device": "/tmp/.nbde_client_dev_test", "nbde_client_test_encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "nbde_client_test_pass": "test-password-here", "nbde_client_test_roles_dir": "/tmp/.nbde_client_dev_roles" }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:5 Monday 16 May 2022 19:05:28 +0000 (0:00:00.016) 0:00:01.147 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:20 Monday 16 May 2022 19:05:28 +0000 (0:00:00.027) 0:00:01.175 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "all_ipv4_addresses": [ "10.0.2.15" ], "all_ipv6_addresses": [ "fec0::5054:ff:fe12:3456", "fe80::5054:ff:fe12:3456" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "04/01/2014", "bios_vendor": "SeaBIOS", "bios_version": "1.14.0-4.fc34", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "QEMU", "chassis_version": "pc-i440fx-5.2", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": "ttyS0,115200n8", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "date_time": { "date": "2022-05-16", "day": "16", "epoch": "1652727928", "epoch_int": "1652727928", "hour": "19", "iso8601": "2022-05-16T19:05:28Z", "iso8601_basic": "20220516T190528003102", "iso8601_basic_short": "20220516T190528", "iso8601_micro": "2022-05-16T19:05:28.003102Z", "minute": "05", "month": "05", "second": "28", "time": "19:05:28", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Monday", "weekday_number": "1", "weeknumber": "20", "year": "2022" }, "default_ipv4": { "address": "10.0.2.15", "alias": "eth0", "broadcast": "10.0.2.255", "gateway": "10.0.2.2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "netmask": "255.255.255.0", "network": "10.0.2.0", "type": "ether" }, "default_ipv6": { "address": "fe80::5054:ff:fe12:3456", "gateway": "fe80::2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "prefix": "64", "scope": "link", "type": "ether" }, "device_links": { "ids": { "sr0": [ "ata-QEMU_DVD-ROM_QM00003" ] }, "labels": { "sr0": [ "cidata" ], "vdb1": [ "yumcache" ], "vdc1": [ "yumvarlib" ] }, "masters": {}, "uuids": { "sr0": [ "2022-05-16-19-05-19-00" ], "vda1": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ], "vdb1": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ], "vdc1": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] } }, "devices": { "sr0": { "holders": [], "host": "", "links": { "ids": [ "ata-QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-05-16-19-05-19-00" ] }, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "bfq", "sectors": "728", "sectorsize": "2048", "size": "364.00 KB", "support_discard": "0", "vendor": "QEMU", "virtual": 1 }, "vda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ] }, "sectors": "8386560", "sectorsize": 512, "size": "4.00 GB", "start": "2048", "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "8388608", "sectorsize": "512", "size": "4.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdb": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdb1": { "holders": [], "links": { "ids": [], "labels": [ "yumcache" ], "masters": [], "uuids": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdc": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdc1": { "holders": [], "links": { "ids": [], "labels": [ "yumvarlib" ], "masters": [], "uuids": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python3", "distribution": "Fedora", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "34", "distribution_release": "", "distribution_version": "34", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "." ] }, "domain": "", "effective_group_id": 0, "effective_user_id": 0, "env": { "BASH_FUNC_which%%": "() { ( alias;\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot \"$@\"\n}", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "HOME": "/root", "LANG": "en_US.UTF-8", "LC_CTYPE": "C.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "MOTD_SHOWN": "pam", "PATH": "/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "1", "SSH_CLIENT": "10.0.2.2 35946 22", "SSH_CONNECTION": "10.0.2.2 35946 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "1", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3", "which_declare": "declare -f" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.0.2.15", "broadcast": "10.0.2.255", "netmask": "255.255.255.0", "network": "10.0.2.0" }, "ipv6": [ { "address": "fec0::5054:ff:fe12:3456", "prefix": "64", "scope": "site" }, { "address": "fe80::5054:ff:fe12:3456", "prefix": "64", "scope": "link" } ], "macaddress": "52:54:00:12:34:56", "module": "virtio_net", "mtu": 1500, "pciid": "virtio0", "promisc": false, "speed": -1, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "fedora", "gather_subset": [ "all" ], "hostname": "fedora", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "5.17.6-100.fc34.x86_64", "kernel_version": "#1 SMP PREEMPT Mon May 9 14:41:31 UTC 2022", "lo": { "active": true, "device": "lo", "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "e91233b164be445ba9cbf9de45efbc14", "memfree_mb": 1621, "memory_mb": { "nocache": { "free": 1761, "used": 210 }, "real": { "free": 1621, "total": 1971, "used": 350 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 1971, "module_setup": true, "mounts": [ { "block_available": 789137, "block_size": 4096, "block_total": 1011384, "block_used": 222247, "device": "/dev/vda1", "fstype": "ext4", "inode_available": 235498, "inode_total": 262144, "inode_used": 26646, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 3232305152, "size_total": 4142628864, "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" }, { "block_available": 235584, "block_size": 4096, "block_total": 253035, "block_used": 17451, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 964952064, "size_total": 1036431360, "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" }, { "block_available": 167364, "block_size": 4096, "block_total": 253035, "block_used": 85671, "device": "/dev/vdb1", "fstype": "ext4", "inode_available": 65453, "inode_total": 65536, "inode_used": 83, "mount": "/var/cache/dnf", "options": "rw,seclabel,relatime", "size_available": 685522944, "size_total": 1036431360, "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" } ], "nodename": "fedora", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": [ "tty1", "ttyS0,115200n8" ], "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "2", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "3", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz" ], "processor_cores": 1, "processor_count": 4, "processor_nproc": 4, "processor_threads_per_core": 1, "processor_vcpus": 4, "product_name": "Standard PC (i440FX + PIIX, 1996)", "product_serial": "NA", "product_uuid": "NA", "product_version": "pc-i440fx-5.2", "python": { "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 12, "minor": 9, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 9, 12, "final", 0 ] }, "python_version": "3.9.12", "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAPSRkLXxcDMdAGmIx2S6983l4JLs7QeoC+RpmIjhKbn6pnvHfbb/NI/SP2uiu8GI6S8/+sa5aXt8/i7A/KmNEL0+CSmkehrAwGBIjgdg7ftdfgntuizM0hOi665MSoANX3Hhxtubdsd4yUGzADFF1hPjfl4yvoRz0oHlBqY/w2HzAAAAFQCWTdcgqgfeqm/AmK0w1a9T5mCT/wAAAIBrqFXMWHzkzKfFm/XvXFsOTmFPq2AkwaquST86EjTrR0WS1088uftjGOlr5VeoOPiHkG47ZAziLhXKaxViVW2ywdkMPFGf8hb31doQaRVVd6EyFoUxEYGQIjmEP4KltEr1FwS9oQcAeiK3lzj9UcU0d152GMexPE5pcOqHF0DCtgAAAIEAtJXDzoSf1GaekmbgJ1zWO6W1mkn82uRftsi3THkGO/56UAGMHmfwOzZVuftZ0TEy8oDnCXN9KFv88vv6oy14b7FFHefVyoR2PswrhLcZqMQF5gacBWvVhfxpuywxTvzaaRqLsuywubc6ZHm0IRnr8ZbSl9ivaNH2s886O7MWn5w=", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKyrb8W9+iO5guoW4eQ512DI1Tg0oYamt+tzgd1WUG5R+KfH4OxccpAATQ2b5GWh7jJxwUcn5IHPquEZkvptOHo=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIKpxydxGAGEtBSa9Naj9jyiH4En9rEn7PzKI5hP/DnjR", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC3eRlGGURxHBBsYJsvzQZt3TSC79X5S5DRFHDZlJHFgrYJl+XaJFHWZMhvipxkvXROXRdrUI5dqxhcqngj7ry6DTv8nBGAFD/KG2Y0vJUu9XwivxbuIHcdI4nzc6RoTnsa//fVNmpkEibhTO4Xo8sgFU4dwWY8AuMDAxP2qW5H2HccWc2ag8n2bsSLMFW04efGC/bb1sb2bzMlchOVOyWvz6ray81XWsYJ2nZgYHRoKcBaVzwUtW42CJ7W2nCekUsGL3LlB6k1F5FoLiHU6Ml+9/7iBObvR8fppY7V4y49eyMRFvDP7QJQd5G32w0KjwMeXLi4Lyvc29vHP+AmXAg+K863ScWbtpORUPWgvwm7SHl1pedjy5wlIQZAaPiT6kIMPocVUa7xIE5o0gdjNnkVpmMn6thrwTleGjH/IU37zdHj4J6r+FzZ7vnygup6irQizlNHaDVgv1ho4EJkBSWOAphywiulOVUHPaiGxXmmNuL03WNukxW/Z6yIwz40phE=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "QEMU", "uptime_seconds": 6, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_tech_guest": [ "kvm" ], "virtualization_tech_host": [], "virtualization_type": "kvm" } } TASK [Install required packages for nbde_client tests] ************************* task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 Monday 16 May 2022 19:05:28 +0000 (0:00:00.032) 0:00:01.207 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:28 Monday 16 May 2022 19:05:31 +0000 (0:00:02.610) 0:00:03.818 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "after": "158931d658cf73167b3c883e89def8a1ebdb8d18", "before": "158931d658cf73167b3c883e89def8a1ebdb8d18", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:35 Monday 16 May 2022 19:05:31 +0000 (0:00:00.527) 0:00:04.346 ************ TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:6 Monday 16 May 2022 19:05:31 +0000 (0:00:00.026) 0:00:04.372 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Monday 16 May 2022 19:05:31 +0000 (0:00:00.019) 0:00:04.392 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Monday 16 May 2022 19:05:32 +0000 (0:00:00.500) 0:00:04.893 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:9 Monday 16 May 2022 19:05:32 +0000 (0:00:00.026) 0:00:04.920 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Monday 16 May 2022 19:05:32 +0000 (0:00:00.024) 0:00:04.944 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: http-parser-2.9.4-4.fc34.x86_64", "Installed: tang-11-1.fc34.x86_64" ] } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Monday 16 May 2022 19:05:35 +0000 (0:00:03.107) 0:00:08.052 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Monday 16 May 2022 19:05:35 +0000 (0:00:00.028) 0:00:08.080 ************ changed: [/cache/fedora-34.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Monday 16 May 2022 19:05:36 +0000 (0:00:00.512) 0:00:08.593 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Monday 16 May 2022 19:05:36 +0000 (0:00:00.040) 0:00:08.634 ************ changed: [/cache/fedora-34.qcow2.snap] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "4096", "Before": "sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "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]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "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", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "sysinit.target system.slice", "RestartKillSignal": "15", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "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", "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": "2324", "TimeoutCleanUSec": "infinity", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Timestamping": "off", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "Writable": "no" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Create device for testing] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:39 Monday 16 May 2022 19:05:37 +0000 (0:00:00.933) 0:00:09.567 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.014483", "end": "2022-05-16 19:05:36.983775", "rc": 0, "start": "2022-05-16 19:05:36.969292" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:43 Monday 16 May 2022 19:05:37 +0000 (0:00:00.496) 0:00:10.064 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail; echo -n test-password-here | cryptsetup luksFormat --pbkdf pbkdf2 --pbkdf-force-iterations 1000 --batch-mode --force-password /tmp/.nbde_client_dev_test", "delta": "0:00:00.091114", "end": "2022-05-16 19:05:37.426586", "rc": 0, "start": "2022-05-16 19:05:37.335472" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:51 Monday 16 May 2022 19:05:38 +0000 (0:00:00.449) 0:00:10.514 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.004343", "end": "2022-05-16 19:05:38.182502", "rc": 0, "start": "2022-05-16 19:05:38.178159" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmp76mse6z5/tests/tests_simple_bind.yml:17 Monday 16 May 2022 19:05:38 +0000 (0:00:00.198) 0:00:10.713 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:05:38 +0000 (0:00:00.025) 0:00:10.738 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:05:38 +0000 (0:00:00.022) 0:00:10.761 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:05:38 +0000 (0:00:00.502) 0:00:11.263 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:05:38 +0000 (0:00:00.029) 0:00:11.292 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:05:38 +0000 (0:00:00.027) 0:00:11.320 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:05:40 +0000 (0:00:01.984) 0:00:13.304 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestampMonotonic": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:05:41 +0000 (0:00:00.642) 0:00:13.947 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "md5sum": "8ac814b21125f3c41430b13965169aff", "mode": "0444", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "src": "/root/.ansible/tmp/ansible-tmp-1652727941.49249-302899-71315587524665/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:05:42 +0000 (0:00:00.923) 0:00:14.870 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:05:43 +0000 (0:00:00.678) 0:00:15.548 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.ynwzoz7nnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:05:43 +0000 (0:00:00.494) 0:00:16.043 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:05:43 +0000 (0:00:00.043) 0:00:16.087 ************ NOTIFIED HANDLER linux-system-roles.nbde_client : nbde_client update initramfs for /cache/fedora-34.qcow2.snap changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:05:51 +0000 (0:00:07.760) 0:00:23.847 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.ynwzoz7nnbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:05:51 +0000 (0:00:00.527) 0:00:24.374 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "md5sum": "7947aade05c625cd8173078c3da0c37b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "src": "/root/.ansible/tmp/ansible-tmp-1652727951.9183521-302993-31128081518982/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:05:52 +0000 (0:00:00.659) 0:00:25.034 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "md5sum": "e3a3412ce904074cd7d0dce03ae5d40c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "src": "/root/.ansible/tmp/ansible-tmp-1652727952.576795-303021-96308862564566/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:05:53 +0000 (0:00:00.633) 0:00:25.667 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:05:54 +0000 (0:00:01.200) 0:00:26.868 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.039510", "end": "2022-05-16 19:05:54.182466", "rc": 0, "start": "2022-05-16 19:05:54.142956" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:05:54 +0000 (0:00:00.402) 0:00:27.270 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:05:55 +0000 (0:00:00.645) 0:00:27.916 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "sysinit.target 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": "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmp76mse6z5/tests/tests_simple_bind.yml:21 Monday 16 May 2022 19:05:56 +0000 (0:00:00.655) 0:00:28.572 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:05:56 +0000 (0:00:00.018) 0:00:28.591 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:03.557199", "end": "2022-05-16 19:05:59.421820", "rc": 0, "start": "2022-05-16 19:05:55.864621" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:06:00 +0000 (0:00:03.918) 0:00:32.509 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.029441", "end": "2022-05-16 19:05:59.809443", "rc": 0, "start": "2022-05-16 19:05:59.780002" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmp76mse6z5/tests/tests_simple_bind.yml:24 Monday 16 May 2022 19:06:00 +0000 (0:00:00.382) 0:00:32.892 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmp76mse6z5/tests/tests_simple_bind.yml:30 Monday 16 May 2022 19:06:00 +0000 (0:00:00.019) 0:00:32.911 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:06:00 +0000 (0:00:00.018) 0:00:32.930 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:06:00 +0000 (0:00:00.017) 0:00:32.948 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:06:00 +0000 (0:00:00.019) 0:00:32.967 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:06:00 +0000 (0:00:00.503) 0:00:33.471 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:06:00 +0000 (0:00:00.028) 0:00:33.499 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:06:01 +0000 (0:00:00.026) 0:00:33.526 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:06:03 +0000 (0:00:02.113) 0:00:35.640 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestamp": "Mon 2022-05-16 19:05:54 UTC", "StateChangeTimestampMonotonic": "33155429", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "cryptsetup.target", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:06:03 +0000 (0:00:00.492) 0:00:36.132 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "mode": "0444", "owner": "root", "path": "/etc/dracut.conf.d/nbde_client.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:06:04 +0000 (0:00:00.635) 0:00:36.768 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:06:06 +0000 (0:00:02.474) 0:00:39.242 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:06:06 +0000 (0:00:00.022) 0:00:39.265 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:06:06 +0000 (0:00:00.036) 0:00:39.301 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:06:06 +0000 (0:00:00.021) 0:00:39.323 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:06:06 +0000 (0:00:00.019) 0:00:39.342 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/bin/nbde_client-network-flush", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:06:07 +0000 (0:00:00.628) 0:00:39.971 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/systemd/system/nbde_client-network-flush.service", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:06:08 +0000 (0:00:00.629) 0:00:40.600 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:06:09 +0000 (0:00:01.146) 0:00:41.747 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.028992", "end": "2022-05-16 19:06:09.042441", "rc": 0, "start": "2022-05-16 19:06:09.013449" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:06:09 +0000 (0:00:00.383) 0:00:42.130 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:06:10 +0000 (0:00:00.618) 0:00:42.749 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target multi-user.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "sysinit.target 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": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-16 19:06:09 UTC", "StateChangeTimestampMonotonic": "47988786", "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:06:10 +0000 (0:00:00.551) 0:00:43.300 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmp76mse6z5/tests/tests_simple_bind.yml:34 Monday 16 May 2022 19:06:10 +0000 (0:00:00.021) 0:00:43.322 ************ included: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:06:10 +0000 (0:00:00.020) 0:00:43.343 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:06:11 +0000 (0:00:00.381) 0:00:43.724 ************ changed: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } TASK [Clean up dummy key file on managed host] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:06:11 +0000 (0:00:00.215) 0:00:43.940 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [linux-system-roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:06:11 +0000 (0:00:00.359) 0:00:44.299 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.227917", "end": "2022-05-16 19:06:32.818424", "rc": 0, "start": "2022-05-16 19:06:11.590507" } STDERR: dracut: Executing: /usr/bin/dracut --kver=5.17.6-100.fc34.x86_64 -fv dracut: dracut module 'modsign' will not be installed, because command 'keyctl' could not be found! dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found! dracut: dracut module 'dbus-daemon' will not be installed, because command 'dbus-daemon' could not be found! dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found! dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found! dracut: 62bluetooth: Could not find any command of '/usr/lib/bluetooth/bluetoothd /usr/libexec/bluetooth/bluetoothd'! dracut: dracut module 'lvmmerge' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found! dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found! dracut: dracut module 'multipath' will not be installed, because command 'multipath' could not be found! dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found! dracut: dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found! dracut: 95nfs: Could not find any command of 'rpcbind portmap'! dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found! dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: systemd-sysusers *** dracut: *** Including module: dbus-broker *** dracut: *** Including module: dbus *** dracut: *** Including module: i18n *** dracut: *** Including module: network-manager *** dracut: *** Including module: network *** dracut: *** Including module: clevis *** dracut: *** Including module: clevis-pin-sss *** dracut: *** Including module: clevis-pin-tang *** dracut: *** Including module: clevis-pin-tpm2 *** dracut: *** Including module: nbde_client *** dracut: *** Including module: crypt *** dracut: *** Including module: dm *** dracut: Skipping udev rule: 64-device-mapper.rules dracut: Skipping udev rule: 60-persistent-storage-dm.rules dracut: Skipping udev rule: 55-dm.rules dracut: *** Including module: kernel-modules *** dracut: *** Including module: kernel-modules-extra *** dracut: *** Including module: kernel-network-modules *** dracut: *** Including module: nvdimm *** dracut: *** Including module: qemu *** dracut: *** Including module: qemu-net *** dracut: *** Including module: lunmask *** dracut: *** Including module: resume *** dracut: *** Including module: rootfs-block *** dracut: *** Including module: terminfo *** dracut: *** Including module: udev-rules *** dracut: Skipping udev rule: 40-redhat.rules dracut: Skipping udev rule: 50-firmware.rules dracut: Skipping udev rule: 50-udev.rules dracut: Skipping udev rule: 91-permissions.rules dracut: Skipping udev rule: 80-drivers-modprobe.rules dracut: *** Including module: virtfs *** dracut: *** Including module: dracut-systemd *** dracut: *** Including module: usrmount *** dracut: *** Including module: base *** dracut: *** Including module: fs-lib *** dracut: *** Including module: memstrack *** dracut: *** Including module: shutdown *** dracut: *** Including modules done *** dracut: *** Installing kernel module dependencies *** dracut: *** Installing kernel module dependencies done *** dracut: *** Resolving executable dependencies *** dracut: *** Resolving executable dependencies done *** dracut: *** Hardlinking files *** dracut: *** Hardlinking files done *** dracut: Could not find 'strip'. Not stripping the initramfs. dracut: *** Generating early-microcode cpio image *** dracut: *** Store current command line parameters *** dracut: *** Creating image file '/boot/initramfs-5.17.6-100.fc34.x86_64.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-5.17.6-100.fc34.x86_64.img' done *** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=59 changed=16 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 Monday 16 May 2022 19:06:33 +0000 (0:00:21.617) 0:01:05.917 ************ =============================================================================== linux-system-roles.nbde_client : nbde_client update initramfs ---------- 21.62s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 linux-system-roles.nbde_client : Perform clevis operations -------------- 7.76s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Verify we can unlock the device ----------------------------------------- 3.92s /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 ----------------------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 3.11s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Install required packages for nbde_client tests ------------------------- 2.61s /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 -------------------------------- linux-system-roles.nbde_client : Check whether devices are at the desired state --- 2.47s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Ensure required packages are installed --- 2.11s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Ensure required packages are installed --- 1.98s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.20s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.15s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmp76mse6z5/tests/tests_simple_bind.yml:2 -------------------------------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.93s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.92s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 0.68s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Deploy network flushing script --------- 0.66s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 linux-system-roles.nbde_client : Enable network flushing service -------- 0.66s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 linux-system-roles.nbde_client : Reload systemd config ------------------ 0.65s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 linux-system-roles.nbde_client : Enable clevis askpass unit ------------- 0.64s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.64s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 linux-system-roles.nbde_client : Deploy network flushing service -------- 0.63s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 ansible-playbook [core 2.12.5] 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/tmpi9z83b_b executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_simple_bind_keyfile.yml **************************************** 1 plays in /tmp/tmp76mse6z5/tests/tests_simple_bind_keyfile.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_keyfile.yml:2 Monday 16 May 2022 19:06:45 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_keyfile.yml:12 Monday 16 May 2022 19:06:46 +0000 (0:00:01.100) 0:00:01.110 ************ included: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:2 Monday 16 May 2022 19:06:46 +0000 (0:00:00.023) 0:00:01.133 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_device": "/tmp/.nbde_client_dev_test", "nbde_client_test_encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "nbde_client_test_pass": "test-password-here", "nbde_client_test_roles_dir": "/tmp/.nbde_client_dev_roles" }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:5 Monday 16 May 2022 19:06:46 +0000 (0:00:00.017) 0:00:01.151 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:20 Monday 16 May 2022 19:06:46 +0000 (0:00:00.027) 0:00:01.178 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "all_ipv4_addresses": [ "10.0.2.15" ], "all_ipv6_addresses": [ "fec0::5054:ff:fe12:3456", "fe80::5054:ff:fe12:3456" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "04/01/2014", "bios_vendor": "SeaBIOS", "bios_version": "1.14.0-4.fc34", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "QEMU", "chassis_version": "pc-i440fx-5.2", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": "ttyS0,115200n8", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "date_time": { "date": "2022-05-16", "day": "16", "epoch": "1652728005", "epoch_int": "1652728005", "hour": "19", "iso8601": "2022-05-16T19:06:45Z", "iso8601_basic": "20220516T190645783132", "iso8601_basic_short": "20220516T190645", "iso8601_micro": "2022-05-16T19:06:45.783132Z", "minute": "06", "month": "05", "second": "45", "time": "19:06:45", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Monday", "weekday_number": "1", "weeknumber": "20", "year": "2022" }, "default_ipv4": { "address": "10.0.2.15", "alias": "eth0", "broadcast": "10.0.2.255", "gateway": "10.0.2.2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "netmask": "255.255.255.0", "network": "10.0.2.0", "type": "ether" }, "default_ipv6": { "address": "fe80::5054:ff:fe12:3456", "gateway": "fe80::2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "prefix": "64", "scope": "link", "type": "ether" }, "device_links": { "ids": { "sr0": [ "ata-QEMU_DVD-ROM_QM00003" ] }, "labels": { "sr0": [ "cidata" ], "vdb1": [ "yumcache" ], "vdc1": [ "yumvarlib" ] }, "masters": {}, "uuids": { "sr0": [ "2022-05-16-19-06-35-00" ], "vda1": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ], "vdb1": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ], "vdc1": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] } }, "devices": { "sr0": { "holders": [], "host": "", "links": { "ids": [ "ata-QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-05-16-19-06-35-00" ] }, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "bfq", "sectors": "728", "sectorsize": "2048", "size": "364.00 KB", "support_discard": "0", "vendor": "QEMU", "virtual": 1 }, "vda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ] }, "sectors": "8386560", "sectorsize": 512, "size": "4.00 GB", "start": "2048", "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "8388608", "sectorsize": "512", "size": "4.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdb": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdb1": { "holders": [], "links": { "ids": [], "labels": [ "yumcache" ], "masters": [], "uuids": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdc": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdc1": { "holders": [], "links": { "ids": [], "labels": [ "yumvarlib" ], "masters": [], "uuids": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python3", "distribution": "Fedora", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "34", "distribution_release": "", "distribution_version": "34", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "." ] }, "domain": "", "effective_group_id": 0, "effective_user_id": 0, "env": { "BASH_FUNC_which%%": "() { ( alias;\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot \"$@\"\n}", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "HOME": "/root", "LANG": "en_US.UTF-8", "LC_CTYPE": "C.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "MOTD_SHOWN": "pam", "PATH": "/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "1", "SSH_CLIENT": "10.0.2.2 36764 22", "SSH_CONNECTION": "10.0.2.2 36764 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "1", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3", "which_declare": "declare -f" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.0.2.15", "broadcast": "10.0.2.255", "netmask": "255.255.255.0", "network": "10.0.2.0" }, "ipv6": [ { "address": "fec0::5054:ff:fe12:3456", "prefix": "64", "scope": "site" }, { "address": "fe80::5054:ff:fe12:3456", "prefix": "64", "scope": "link" } ], "macaddress": "52:54:00:12:34:56", "module": "virtio_net", "mtu": 1500, "pciid": "virtio0", "promisc": false, "speed": -1, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "fedora", "gather_subset": [ "all" ], "hostname": "fedora", "hostnqn": "", "interfaces": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "5.17.6-100.fc34.x86_64", "kernel_version": "#1 SMP PREEMPT Mon May 9 14:41:31 UTC 2022", "lo": { "active": true, "device": "lo", "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "e91233b164be445ba9cbf9de45efbc14", "memfree_mb": 1624, "memory_mb": { "nocache": { "free": 1765, "used": 206 }, "real": { "free": 1624, "total": 1971, "used": 347 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 1971, "module_setup": true, "mounts": [ { "block_available": 789107, "block_size": 4096, "block_total": 1011384, "block_used": 222277, "device": "/dev/vda1", "fstype": "ext4", "inode_available": 235479, "inode_total": 262144, "inode_used": 26665, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 3232182272, "size_total": 4142628864, "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" }, { "block_available": 167364, "block_size": 4096, "block_total": 253035, "block_used": 85671, "device": "/dev/vdb1", "fstype": "ext4", "inode_available": 65453, "inode_total": 65536, "inode_used": 83, "mount": "/var/cache/dnf", "options": "rw,seclabel,relatime", "size_available": 685522944, "size_total": 1036431360, "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" }, { "block_available": 235571, "block_size": 4096, "block_total": 253035, "block_used": 17464, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 964898816, "size_total": 1036431360, "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } ], "nodename": "fedora", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": [ "tty1", "ttyS0,115200n8" ], "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "2", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "3", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz" ], "processor_cores": 1, "processor_count": 4, "processor_nproc": 4, "processor_threads_per_core": 1, "processor_vcpus": 4, "product_name": "Standard PC (i440FX + PIIX, 1996)", "product_serial": "NA", "product_uuid": "NA", "product_version": "pc-i440fx-5.2", "python": { "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 12, "minor": 9, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 9, 12, "final", 0 ] }, "python_version": "3.9.12", "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAPSRkLXxcDMdAGmIx2S6983l4JLs7QeoC+RpmIjhKbn6pnvHfbb/NI/SP2uiu8GI6S8/+sa5aXt8/i7A/KmNEL0+CSmkehrAwGBIjgdg7ftdfgntuizM0hOi665MSoANX3Hhxtubdsd4yUGzADFF1hPjfl4yvoRz0oHlBqY/w2HzAAAAFQCWTdcgqgfeqm/AmK0w1a9T5mCT/wAAAIBrqFXMWHzkzKfFm/XvXFsOTmFPq2AkwaquST86EjTrR0WS1088uftjGOlr5VeoOPiHkG47ZAziLhXKaxViVW2ywdkMPFGf8hb31doQaRVVd6EyFoUxEYGQIjmEP4KltEr1FwS9oQcAeiK3lzj9UcU0d152GMexPE5pcOqHF0DCtgAAAIEAtJXDzoSf1GaekmbgJ1zWO6W1mkn82uRftsi3THkGO/56UAGMHmfwOzZVuftZ0TEy8oDnCXN9KFv88vv6oy14b7FFHefVyoR2PswrhLcZqMQF5gacBWvVhfxpuywxTvzaaRqLsuywubc6ZHm0IRnr8ZbSl9ivaNH2s886O7MWn5w=", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKyrb8W9+iO5guoW4eQ512DI1Tg0oYamt+tzgd1WUG5R+KfH4OxccpAATQ2b5GWh7jJxwUcn5IHPquEZkvptOHo=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIKpxydxGAGEtBSa9Naj9jyiH4En9rEn7PzKI5hP/DnjR", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC3eRlGGURxHBBsYJsvzQZt3TSC79X5S5DRFHDZlJHFgrYJl+XaJFHWZMhvipxkvXROXRdrUI5dqxhcqngj7ry6DTv8nBGAFD/KG2Y0vJUu9XwivxbuIHcdI4nzc6RoTnsa//fVNmpkEibhTO4Xo8sgFU4dwWY8AuMDAxP2qW5H2HccWc2ag8n2bsSLMFW04efGC/bb1sb2bzMlchOVOyWvz6ray81XWsYJ2nZgYHRoKcBaVzwUtW42CJ7W2nCekUsGL3LlB6k1F5FoLiHU6Ml+9/7iBObvR8fppY7V4y49eyMRFvDP7QJQd5G32w0KjwMeXLi4Lyvc29vHP+AmXAg+K863ScWbtpORUPWgvwm7SHl1pedjy5wlIQZAaPiT6kIMPocVUa7xIE5o0gdjNnkVpmMn6thrwTleGjH/IU37zdHj4J6r+FzZ7vnygup6irQizlNHaDVgv1ho4EJkBSWOAphywiulOVUHPaiGxXmmNuL03WNukxW/Z6yIwz40phE=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "QEMU", "uptime_seconds": 7, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_tech_guest": [ "kvm" ], "virtualization_tech_host": [], "virtualization_type": "kvm" } } TASK [Install required packages for nbde_client tests] ************************* task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 Monday 16 May 2022 19:06:46 +0000 (0:00:00.030) 0:00:01.209 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:28 Monday 16 May 2022 19:06:48 +0000 (0:00:02.571) 0:00:03.780 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "after": "158931d658cf73167b3c883e89def8a1ebdb8d18", "before": "158931d658cf73167b3c883e89def8a1ebdb8d18", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:35 Monday 16 May 2022 19:06:49 +0000 (0:00:00.552) 0:00:04.333 ************ TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:6 Monday 16 May 2022 19:06:49 +0000 (0:00:00.028) 0:00:04.361 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Monday 16 May 2022 19:06:49 +0000 (0:00:00.020) 0:00:04.381 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Monday 16 May 2022 19:06:50 +0000 (0:00:00.490) 0:00:04.872 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:9 Monday 16 May 2022 19:06:50 +0000 (0:00:00.027) 0:00:04.900 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Monday 16 May 2022 19:06:50 +0000 (0:00:00.023) 0:00:04.923 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: http-parser-2.9.4-4.fc34.x86_64", "Installed: tang-11-1.fc34.x86_64" ] } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Monday 16 May 2022 19:06:53 +0000 (0:00:03.179) 0:00:08.103 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Monday 16 May 2022 19:06:53 +0000 (0:00:00.034) 0:00:08.138 ************ changed: [/cache/fedora-34.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Monday 16 May 2022 19:06:53 +0000 (0:00:00.541) 0:00:08.679 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Monday 16 May 2022 19:06:53 +0000 (0:00:00.031) 0:00:08.710 ************ changed: [/cache/fedora-34.qcow2.snap] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "4096", "Before": "shutdown.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "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]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "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", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "sysinit.target system.slice", "RestartKillSignal": "15", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "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", "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": "2324", "TimeoutCleanUSec": "infinity", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Timestamping": "off", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "Writable": "no" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Create device for testing] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:39 Monday 16 May 2022 19:06:54 +0000 (0:00:00.976) 0:00:09.687 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.015003", "end": "2022-05-16 19:06:55.136157", "rc": 0, "start": "2022-05-16 19:06:55.121154" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:43 Monday 16 May 2022 19:06:55 +0000 (0:00:00.498) 0:00:10.185 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail; echo -n test-password-here | cryptsetup luksFormat --pbkdf pbkdf2 --pbkdf-force-iterations 1000 --batch-mode --force-password /tmp/.nbde_client_dev_test", "delta": "0:00:00.095618", "end": "2022-05-16 19:06:55.586964", "rc": 0, "start": "2022-05-16 19:06:55.491346" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:51 Monday 16 May 2022 19:06:55 +0000 (0:00:00.450) 0:00:10.635 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.004061", "end": "2022-05-16 19:06:55.975426", "rc": 0, "start": "2022-05-16 19:06:55.971365" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_keyfile.yml:17 Monday 16 May 2022 19:06:56 +0000 (0:00:00.203) 0:00:10.839 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:06:56 +0000 (0:00:00.025) 0:00:10.865 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:06:56 +0000 (0:00:00.022) 0:00:10.887 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:06:56 +0000 (0:00:00.505) 0:00:11.392 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:06:56 +0000 (0:00:00.027) 0:00:11.420 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:06:56 +0000 (0:00:00.026) 0:00:11.447 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:06:58 +0000 (0:00:02.051) 0:00:13.498 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestampMonotonic": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:06:59 +0000 (0:00:00.658) 0:00:14.157 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "md5sum": "8ac814b21125f3c41430b13965169aff", "mode": "0444", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "src": "/root/.ansible/tmp/ansible-tmp-1652728019.3678558-303836-131356258487605/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:07:00 +0000 (0:00:00.944) 0:00:15.102 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:07:00 +0000 (0:00:00.695) 0:00:15.797 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.plmf4i99nbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:07:01 +0000 (0:00:00.491) 0:00:16.288 ************ changed: [/cache/fedora-34.qcow2.snap] => (item=/tmp/.nbde_client_dev_encryption_key) => { "ansible_loop_var": "item", "changed": true, "checksum": "ddcbbd80371add8b55e5288b1278a7ead06c422e", "dest": "/tmp/ansible.plmf4i99nbde_client_encryption_keys/.nbde_client_dev_encryption_key", "gid": 0, "group": "root", "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "servers": [ "http://localhost" ] }, "md5sum": "7e9df3be3334c1e2e9aa64d831cdb03d", "mode": "0400", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 18, "src": "/root/.ansible/tmp/ansible-tmp-1652728021.5316253-303896-78358677693826/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:07:02 +0000 (0:00:00.700) 0:00:16.988 ************ NOTIFIED HANDLER linux-system-roles.nbde_client : nbde_client update initramfs for /cache/fedora-34.qcow2.snap changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_key": "/tmp/ansible.plmf4i99nbde_client_encryption_keys/.nbde_client_dev_encryption_key", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:07:10 +0000 (0:00:08.274) 0:00:25.263 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.plmf4i99nbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:07:10 +0000 (0:00:00.521) 0:00:25.784 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "md5sum": "7947aade05c625cd8173078c3da0c37b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "src": "/root/.ansible/tmp/ansible-tmp-1652728030.9983757-303956-76404217290197/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:07:11 +0000 (0:00:00.715) 0:00:26.500 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "md5sum": "e3a3412ce904074cd7d0dce03ae5d40c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "src": "/root/.ansible/tmp/ansible-tmp-1652728031.7129982-303984-20529517894312/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:07:12 +0000 (0:00:00.682) 0:00:27.182 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:07:13 +0000 (0:00:01.269) 0:00:28.452 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.051710", "end": "2022-05-16 19:07:13.810841", "rc": 0, "start": "2022-05-16 19:07:13.759131" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:07:14 +0000 (0:00:00.410) 0:00:28.862 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:07:14 +0000 (0:00:00.646) 0:00:29.508 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "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": "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_keyfile.yml:21 Monday 16 May 2022 19:07:15 +0000 (0:00:00.692) 0:00:30.200 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:07:15 +0000 (0:00:00.019) 0:00:30.220 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:04.118294", "end": "2022-05-16 19:07:19.667128", "rc": 0, "start": "2022-05-16 19:07:15.548834" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:07:19 +0000 (0:00:04.497) 0:00:34.718 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.035171", "end": "2022-05-16 19:07:20.078168", "rc": 0, "start": "2022-05-16 19:07:20.042997" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_keyfile.yml:24 Monday 16 May 2022 19:07:20 +0000 (0:00:00.408) 0:00:35.126 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_keyfile.yml:30 Monday 16 May 2022 19:07:20 +0000 (0:00:00.022) 0:00:35.148 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:07:20 +0000 (0:00:00.021) 0:00:35.170 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:07:20 +0000 (0:00:00.020) 0:00:35.191 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:07:20 +0000 (0:00:00.019) 0:00:35.211 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:07:20 +0000 (0:00:00.536) 0:00:35.747 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:07:20 +0000 (0:00:00.029) 0:00:35.777 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:07:20 +0000 (0:00:00.029) 0:00:35.807 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:07:23 +0000 (0:00:02.102) 0:00:37.909 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "cryptsetup-pre.target clevis-luks-askpass.service", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestamp": "Mon 2022-05-16 19:07:14 UTC", "StateChangeTimestampMonotonic": "35788554", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "cryptsetup.target", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:07:23 +0000 (0:00:00.536) 0:00:38.445 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "mode": "0444", "owner": "root", "path": "/etc/dracut.conf.d/nbde_client.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:07:24 +0000 (0:00:00.659) 0:00:39.105 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:07:26 +0000 (0:00:02.608) 0:00:41.714 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:07:26 +0000 (0:00:00.022) 0:00:41.737 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=/tmp/.nbde_client_dev_encryption_key) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:07:26 +0000 (0:00:00.046) 0:00:41.783 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:07:26 +0000 (0:00:00.026) 0:00:41.810 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:07:26 +0000 (0:00:00.021) 0:00:41.832 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/bin/nbde_client-network-flush", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:07:27 +0000 (0:00:00.650) 0:00:42.482 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/systemd/system/nbde_client-network-flush.service", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:07:28 +0000 (0:00:00.679) 0:00:43.162 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:07:29 +0000 (0:00:01.148) 0:00:44.311 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.037689", "end": "2022-05-16 19:07:29.671352", "rc": 0, "start": "2022-05-16 19:07:29.633663" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:07:29 +0000 (0:00:00.443) 0:00:44.754 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:07:30 +0000 (0:00:00.662) 0:00:45.416 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target basic.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target multi-user.target shutdown.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "sysinit.target 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": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-16 19:07:30 UTC", "StateChangeTimestampMonotonic": "51694064", "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:07:31 +0000 (0:00:00.523) 0:00:45.939 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_keyfile.yml:34 Monday 16 May 2022 19:07:31 +0000 (0:00:00.023) 0:00:45.963 ************ included: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:07:31 +0000 (0:00:00.021) 0:00:45.985 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:07:31 +0000 (0:00:00.426) 0:00:46.412 ************ changed: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } TASK [Clean up dummy key file on managed host] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:07:31 +0000 (0:00:00.200) 0:00:46.613 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [linux-system-roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:07:32 +0000 (0:00:00.386) 0:00:47.000 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.832991", "end": "2022-05-16 19:07:54.174923", "rc": 0, "start": "2022-05-16 19:07:32.341932" } STDERR: dracut: Executing: /usr/bin/dracut --kver=5.17.6-100.fc34.x86_64 -fv dracut: dracut module 'modsign' will not be installed, because command 'keyctl' could not be found! dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found! dracut: dracut module 'dbus-daemon' will not be installed, because command 'dbus-daemon' could not be found! dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found! dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found! dracut: 62bluetooth: Could not find any command of '/usr/lib/bluetooth/bluetoothd /usr/libexec/bluetooth/bluetoothd'! dracut: dracut module 'lvmmerge' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found! dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found! dracut: dracut module 'multipath' will not be installed, because command 'multipath' could not be found! dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found! dracut: dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found! dracut: 95nfs: Could not find any command of 'rpcbind portmap'! dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found! dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: systemd-sysusers *** dracut: *** Including module: dbus-broker *** dracut: *** Including module: dbus *** dracut: *** Including module: i18n *** dracut: *** Including module: network-manager *** dracut: *** Including module: network *** dracut: *** Including module: clevis *** dracut: *** Including module: clevis-pin-sss *** dracut: *** Including module: clevis-pin-tang *** dracut: *** Including module: clevis-pin-tpm2 *** dracut: *** Including module: nbde_client *** dracut: *** Including module: crypt *** dracut: *** Including module: dm *** dracut: Skipping udev rule: 64-device-mapper.rules dracut: Skipping udev rule: 60-persistent-storage-dm.rules dracut: Skipping udev rule: 55-dm.rules dracut: *** Including module: kernel-modules *** dracut: *** Including module: kernel-modules-extra *** dracut: *** Including module: kernel-network-modules *** dracut: *** Including module: nvdimm *** dracut: *** Including module: qemu *** dracut: *** Including module: qemu-net *** dracut: *** Including module: lunmask *** dracut: *** Including module: resume *** dracut: *** Including module: rootfs-block *** dracut: *** Including module: terminfo *** dracut: *** Including module: udev-rules *** dracut: Skipping udev rule: 40-redhat.rules dracut: Skipping udev rule: 50-firmware.rules dracut: Skipping udev rule: 50-udev.rules dracut: Skipping udev rule: 91-permissions.rules dracut: Skipping udev rule: 80-drivers-modprobe.rules dracut: *** Including module: virtfs *** dracut: *** Including module: dracut-systemd *** dracut: *** Including module: usrmount *** dracut: *** Including module: base *** dracut: *** Including module: fs-lib *** dracut: *** Including module: memstrack *** dracut: *** Including module: shutdown *** dracut: *** Including modules done *** dracut: *** Installing kernel module dependencies *** dracut: *** Installing kernel module dependencies done *** dracut: *** Resolving executable dependencies *** dracut: *** Resolving executable dependencies done *** dracut: *** Hardlinking files *** dracut: *** Hardlinking files done *** dracut: Could not find 'strip'. Not stripping the initramfs. dracut: *** Generating early-microcode cpio image *** dracut: *** Store current command line parameters *** dracut: *** Creating image file '/boot/initramfs-5.17.6-100.fc34.x86_64.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-5.17.6-100.fc34.x86_64.img' done *** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=60 changed=17 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Monday 16 May 2022 19:07:54 +0000 (0:00:22.235) 0:01:09.235 ************ =============================================================================== linux-system-roles.nbde_client : nbde_client update initramfs ---------- 22.24s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 linux-system-roles.nbde_client : Perform clevis operations -------------- 8.27s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Verify we can unlock the device ----------------------------------------- 4.50s /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 ----------------------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 3.18s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 2.61s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Install required packages for nbde_client tests ------------------------- 2.57s /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 -------------------------------- linux-system-roles.nbde_client : Ensure required packages are installed --- 2.10s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Ensure required packages are installed --- 2.05s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.27s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.15s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmp76mse6z5/tests/tests_simple_bind_keyfile.yml:2 ------------------------ /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.98s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.94s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 linux-system-roles.nbde_client : Deploy network flushing script --------- 0.72s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 linux-system-roles.nbde_client : Ensure we transfer key files ----------- 0.70s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 0.70s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Enable network flushing service -------- 0.69s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 linux-system-roles.nbde_client : Deploy network flushing service -------- 0.68s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 linux-system-roles.nbde_client : Deploy network flushing service -------- 0.68s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 linux-system-roles.nbde_client : Reload systemd config ------------------ 0.66s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 ansible-playbook [core 2.12.5] 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/tmpi9z83b_b executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_simple_bind_unbind.yml ***************************************** 1 plays in /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind.yml:2 Monday 16 May 2022 19:08:05 +0000 (0:00:00.008) 0:00:00.008 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind.yml:15 Monday 16 May 2022 19:08:06 +0000 (0:00:01.114) 0:00:01.123 ************ included: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:2 Monday 16 May 2022 19:08:06 +0000 (0:00:00.022) 0:00:01.145 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_device": "/tmp/.nbde_client_dev_test", "nbde_client_test_encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "nbde_client_test_pass": "test-password-here", "nbde_client_test_roles_dir": "/tmp/.nbde_client_dev_roles" }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:5 Monday 16 May 2022 19:08:06 +0000 (0:00:00.015) 0:00:01.160 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:20 Monday 16 May 2022 19:08:06 +0000 (0:00:00.024) 0:00:01.185 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "all_ipv4_addresses": [ "10.0.2.15" ], "all_ipv6_addresses": [ "fec0::5054:ff:fe12:3456", "fe80::5054:ff:fe12:3456" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "04/01/2014", "bios_vendor": "SeaBIOS", "bios_version": "1.14.0-4.fc34", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "QEMU", "chassis_version": "pc-i440fx-5.2", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": "ttyS0,115200n8", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "date_time": { "date": "2022-05-16", "day": "16", "epoch": "1652728085", "epoch_int": "1652728085", "hour": "19", "iso8601": "2022-05-16T19:08:05Z", "iso8601_basic": "20220516T190805811195", "iso8601_basic_short": "20220516T190805", "iso8601_micro": "2022-05-16T19:08:05.811195Z", "minute": "08", "month": "05", "second": "05", "time": "19:08:05", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Monday", "weekday_number": "1", "weeknumber": "20", "year": "2022" }, "default_ipv4": { "address": "10.0.2.15", "alias": "eth0", "broadcast": "10.0.2.255", "gateway": "10.0.2.2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "netmask": "255.255.255.0", "network": "10.0.2.0", "type": "ether" }, "default_ipv6": { "address": "fec0::5054:ff:fe12:3456", "gateway": "fe80::2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "prefix": "64", "scope": "site", "type": "ether" }, "device_links": { "ids": { "sr0": [ "ata-QEMU_DVD-ROM_QM00003" ] }, "labels": { "sr0": [ "cidata" ], "vdb1": [ "yumcache" ], "vdc1": [ "yumvarlib" ] }, "masters": {}, "uuids": { "sr0": [ "2022-05-16-19-07-55-00" ], "vda1": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ], "vdb1": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ], "vdc1": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] } }, "devices": { "sr0": { "holders": [], "host": "", "links": { "ids": [ "ata-QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-05-16-19-07-55-00" ] }, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "bfq", "sectors": "728", "sectorsize": "2048", "size": "364.00 KB", "support_discard": "0", "vendor": "QEMU", "virtual": 1 }, "vda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ] }, "sectors": "8386560", "sectorsize": 512, "size": "4.00 GB", "start": "2048", "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "8388608", "sectorsize": "512", "size": "4.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdb": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdb1": { "holders": [], "links": { "ids": [], "labels": [ "yumcache" ], "masters": [], "uuids": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdc": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdc1": { "holders": [], "links": { "ids": [], "labels": [ "yumvarlib" ], "masters": [], "uuids": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python3", "distribution": "Fedora", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "34", "distribution_release": "", "distribution_version": "34", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "." ] }, "domain": "", "effective_group_id": 0, "effective_user_id": 0, "env": { "BASH_FUNC_which%%": "() { ( alias;\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot \"$@\"\n}", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "HOME": "/root", "LANG": "en_US.UTF-8", "LC_CTYPE": "C.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "MOTD_SHOWN": "pam", "PATH": "/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "1", "SSH_CLIENT": "10.0.2.2 48036 22", "SSH_CONNECTION": "10.0.2.2 48036 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "1", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3", "which_declare": "declare -f" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.0.2.15", "broadcast": "10.0.2.255", "netmask": "255.255.255.0", "network": "10.0.2.0" }, "ipv6": [ { "address": "fec0::5054:ff:fe12:3456", "prefix": "64", "scope": "site" }, { "address": "fe80::5054:ff:fe12:3456", "prefix": "64", "scope": "link" } ], "macaddress": "52:54:00:12:34:56", "module": "virtio_net", "mtu": 1500, "pciid": "virtio0", "promisc": false, "speed": -1, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "fedora", "gather_subset": [ "all" ], "hostname": "fedora", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "5.17.6-100.fc34.x86_64", "kernel_version": "#1 SMP PREEMPT Mon May 9 14:41:31 UTC 2022", "lo": { "active": true, "device": "lo", "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "e91233b164be445ba9cbf9de45efbc14", "memfree_mb": 1629, "memory_mb": { "nocache": { "free": 1770, "used": 201 }, "real": { "free": 1629, "total": 1971, "used": 342 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 1971, "module_setup": true, "mounts": [ { "block_available": 789107, "block_size": 4096, "block_total": 1011384, "block_used": 222277, "device": "/dev/vda1", "fstype": "ext4", "inode_available": 235479, "inode_total": 262144, "inode_used": 26665, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 3232182272, "size_total": 4142628864, "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" }, { "block_available": 167364, "block_size": 4096, "block_total": 253035, "block_used": 85671, "device": "/dev/vdb1", "fstype": "ext4", "inode_available": 65453, "inode_total": 65536, "inode_used": 83, "mount": "/var/cache/dnf", "options": "rw,seclabel,relatime", "size_available": 685522944, "size_total": 1036431360, "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" }, { "block_available": 235558, "block_size": 4096, "block_total": 253035, "block_used": 17477, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 964845568, "size_total": 1036431360, "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } ], "nodename": "fedora", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": [ "tty1", "ttyS0,115200n8" ], "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "2", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "3", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz" ], "processor_cores": 1, "processor_count": 4, "processor_nproc": 4, "processor_threads_per_core": 1, "processor_vcpus": 4, "product_name": "Standard PC (i440FX + PIIX, 1996)", "product_serial": "NA", "product_uuid": "NA", "product_version": "pc-i440fx-5.2", "python": { "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 12, "minor": 9, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 9, 12, "final", 0 ] }, "python_version": "3.9.12", "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAPSRkLXxcDMdAGmIx2S6983l4JLs7QeoC+RpmIjhKbn6pnvHfbb/NI/SP2uiu8GI6S8/+sa5aXt8/i7A/KmNEL0+CSmkehrAwGBIjgdg7ftdfgntuizM0hOi665MSoANX3Hhxtubdsd4yUGzADFF1hPjfl4yvoRz0oHlBqY/w2HzAAAAFQCWTdcgqgfeqm/AmK0w1a9T5mCT/wAAAIBrqFXMWHzkzKfFm/XvXFsOTmFPq2AkwaquST86EjTrR0WS1088uftjGOlr5VeoOPiHkG47ZAziLhXKaxViVW2ywdkMPFGf8hb31doQaRVVd6EyFoUxEYGQIjmEP4KltEr1FwS9oQcAeiK3lzj9UcU0d152GMexPE5pcOqHF0DCtgAAAIEAtJXDzoSf1GaekmbgJ1zWO6W1mkn82uRftsi3THkGO/56UAGMHmfwOzZVuftZ0TEy8oDnCXN9KFv88vv6oy14b7FFHefVyoR2PswrhLcZqMQF5gacBWvVhfxpuywxTvzaaRqLsuywubc6ZHm0IRnr8ZbSl9ivaNH2s886O7MWn5w=", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKyrb8W9+iO5guoW4eQ512DI1Tg0oYamt+tzgd1WUG5R+KfH4OxccpAATQ2b5GWh7jJxwUcn5IHPquEZkvptOHo=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIKpxydxGAGEtBSa9Naj9jyiH4En9rEn7PzKI5hP/DnjR", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC3eRlGGURxHBBsYJsvzQZt3TSC79X5S5DRFHDZlJHFgrYJl+XaJFHWZMhvipxkvXROXRdrUI5dqxhcqngj7ry6DTv8nBGAFD/KG2Y0vJUu9XwivxbuIHcdI4nzc6RoTnsa//fVNmpkEibhTO4Xo8sgFU4dwWY8AuMDAxP2qW5H2HccWc2ag8n2bsSLMFW04efGC/bb1sb2bzMlchOVOyWvz6ray81XWsYJ2nZgYHRoKcBaVzwUtW42CJ7W2nCekUsGL3LlB6k1F5FoLiHU6Ml+9/7iBObvR8fppY7V4y49eyMRFvDP7QJQd5G32w0KjwMeXLi4Lyvc29vHP+AmXAg+K863ScWbtpORUPWgvwm7SHl1pedjy5wlIQZAaPiT6kIMPocVUa7xIE5o0gdjNnkVpmMn6thrwTleGjH/IU37zdHj4J6r+FzZ7vnygup6irQizlNHaDVgv1ho4EJkBSWOAphywiulOVUHPaiGxXmmNuL03WNukxW/Z6yIwz40phE=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "QEMU", "uptime_seconds": 7, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_tech_guest": [ "kvm" ], "virtualization_tech_host": [], "virtualization_type": "kvm" } } TASK [Install required packages for nbde_client tests] ************************* task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 Monday 16 May 2022 19:08:06 +0000 (0:00:00.052) 0:00:01.238 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:28 Monday 16 May 2022 19:08:08 +0000 (0:00:02.465) 0:00:03.704 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "after": "158931d658cf73167b3c883e89def8a1ebdb8d18", "before": "158931d658cf73167b3c883e89def8a1ebdb8d18", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:35 Monday 16 May 2022 19:08:09 +0000 (0:00:00.547) 0:00:04.251 ************ TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:6 Monday 16 May 2022 19:08:09 +0000 (0:00:00.027) 0:00:04.279 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Monday 16 May 2022 19:08:09 +0000 (0:00:00.021) 0:00:04.300 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Monday 16 May 2022 19:08:10 +0000 (0:00:00.496) 0:00:04.797 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:9 Monday 16 May 2022 19:08:10 +0000 (0:00:00.028) 0:00:04.825 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Monday 16 May 2022 19:08:10 +0000 (0:00:00.024) 0:00:04.850 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: http-parser-2.9.4-4.fc34.x86_64", "Installed: tang-11-1.fc34.x86_64" ] } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Monday 16 May 2022 19:08:13 +0000 (0:00:03.310) 0:00:08.160 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Monday 16 May 2022 19:08:13 +0000 (0:00:00.028) 0:00:08.189 ************ changed: [/cache/fedora-34.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Monday 16 May 2022 19:08:13 +0000 (0:00:00.515) 0:00:08.704 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Monday 16 May 2022 19:08:13 +0000 (0:00:00.033) 0:00:08.738 ************ changed: [/cache/fedora-34.qcow2.snap] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "4096", "Before": "sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "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]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "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", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "system.slice sysinit.target", "RestartKillSignal": "15", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "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", "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": "2324", "TimeoutCleanUSec": "infinity", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Timestamping": "off", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "Writable": "no" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Create device for testing] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:39 Monday 16 May 2022 19:08:14 +0000 (0:00:00.976) 0:00:09.714 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.014974", "end": "2022-05-16 19:08:15.224578", "rc": 0, "start": "2022-05-16 19:08:15.209604" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:43 Monday 16 May 2022 19:08:15 +0000 (0:00:00.526) 0:00:10.241 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail; echo -n test-password-here | cryptsetup luksFormat --pbkdf pbkdf2 --pbkdf-force-iterations 1000 --batch-mode --force-password /tmp/.nbde_client_dev_test", "delta": "0:00:00.098821", "end": "2022-05-16 19:08:15.673328", "rc": 0, "start": "2022-05-16 19:08:15.574507" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:51 Monday 16 May 2022 19:08:15 +0000 (0:00:00.450) 0:00:10.692 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.004479", "end": "2022-05-16 19:08:16.087847", "rc": 0, "start": "2022-05-16 19:08:16.083368" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind.yml:20 Monday 16 May 2022 19:08:16 +0000 (0:00:00.190) 0:00:10.882 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:08:16 +0000 (0:00:00.022) 0:00:10.905 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:08:16 +0000 (0:00:00.019) 0:00:10.924 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:08:16 +0000 (0:00:00.511) 0:00:11.436 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:08:16 +0000 (0:00:00.026) 0:00:11.463 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:08:16 +0000 (0:00:00.025) 0:00:11.488 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:08:18 +0000 (0:00:02.099) 0:00:13.588 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestampMonotonic": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:08:19 +0000 (0:00:00.677) 0:00:14.266 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "md5sum": "8ac814b21125f3c41430b13965169aff", "mode": "0444", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "src": "/root/.ansible/tmp/ansible-tmp-1652728099.54501-304791-121093810224755/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:08:20 +0000 (0:00:00.970) 0:00:15.236 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [], "slot": 1, "state": "absent", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:08:21 +0000 (0:00:00.701) 0:00:15.938 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.m7eli62bnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:08:21 +0000 (0:00:00.482) 0:00:16.420 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:08:21 +0000 (0:00:00.072) 0:00:16.493 ************ NOTIFIED HANDLER linux-system-roles.nbde_client : nbde_client update initramfs for /cache/fedora-34.qcow2.snap changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [], "slot": 1, "state": "absent", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:08:32 +0000 (0:00:10.391) 0:00:26.884 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.m7eli62bnbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:08:32 +0000 (0:00:00.512) 0:00:27.397 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "md5sum": "7947aade05c625cd8173078c3da0c37b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "src": "/root/.ansible/tmp/ansible-tmp-1652728112.678881-304885-141363863562842/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:08:33 +0000 (0:00:00.687) 0:00:28.084 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "md5sum": "e3a3412ce904074cd7d0dce03ae5d40c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "src": "/root/.ansible/tmp/ansible-tmp-1652728113.3663337-304913-78363549309432/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:08:33 +0000 (0:00:00.680) 0:00:28.764 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:08:35 +0000 (0:00:01.229) 0:00:29.993 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.040899", "end": "2022-05-16 19:08:35.379738", "rc": 0, "start": "2022-05-16 19:08:35.338839" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:08:35 +0000 (0:00:00.408) 0:00:30.402 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:08:36 +0000 (0:00:00.649) 0:00:31.051 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "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": "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind.yml:24 Monday 16 May 2022 19:08:36 +0000 (0:00:00.698) 0:00:31.750 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:08:37 +0000 (0:00:00.019) 0:00:31.770 ************ fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:00.046123", "end": "2022-05-16 19:08:37.161556", "rc": 1, "start": "2022-05-16 19:08:37.115433" } STDERR: /tmp/.nbde_client_dev_test could not be opened. MSG: non-zero return code ...ignoring TASK [Close unlocked device] *************************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:08:37 +0000 (0:00:00.409) 0:00:32.180 ************ fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.011260", "end": "2022-05-16 19:08:37.552196", "rc": 4, "start": "2022-05-16 19:08:37.540936" } STDERR: Device nbde_client_unlocked is not active. MSG: non-zero return code ...ignoring TASK [Make sure the attempt to unlock failed] ********************************** task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind.yml:27 Monday 16 May 2022 19:08:37 +0000 (0:00:00.389) 0:00:32.570 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency when trying to only unbind] *************************** task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind.yml:33 Monday 16 May 2022 19:08:37 +0000 (0:00:00.021) 0:00:32.591 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:08:37 +0000 (0:00:00.019) 0:00:32.610 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:08:37 +0000 (0:00:00.018) 0:00:32.629 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:08:37 +0000 (0:00:00.020) 0:00:32.650 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:08:38 +0000 (0:00:00.522) 0:00:33.172 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:08:38 +0000 (0:00:00.028) 0:00:33.201 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:08:38 +0000 (0:00:00.028) 0:00:33.229 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:08:40 +0000 (0:00:02.046) 0:00:35.276 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "cryptsetup-pre.target clevis-luks-askpass.service", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestamp": "Mon 2022-05-16 19:08:36 UTC", "StateChangeTimestampMonotonic": "37361422", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "cryptsetup.target", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:08:41 +0000 (0:00:00.505) 0:00:35.781 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "mode": "0444", "owner": "root", "path": "/etc/dracut.conf.d/nbde_client.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:08:41 +0000 (0:00:00.646) 0:00:36.428 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [], "slot": 1, "state": "absent", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:08:42 +0000 (0:00:00.535) 0:00:36.964 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:08:42 +0000 (0:00:00.022) 0:00:36.987 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:08:42 +0000 (0:00:00.038) 0:00:37.025 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:08:42 +0000 (0:00:00.020) 0:00:37.045 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:08:42 +0000 (0:00:00.020) 0:00:37.066 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/bin/nbde_client-network-flush", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:08:42 +0000 (0:00:00.634) 0:00:37.701 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/systemd/system/nbde_client-network-flush.service", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:08:43 +0000 (0:00:00.632) 0:00:38.333 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:08:44 +0000 (0:00:01.141) 0:00:39.475 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.035156", "end": "2022-05-16 19:08:44.852772", "rc": 0, "start": "2022-05-16 19:08:44.817616" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:08:45 +0000 (0:00:00.397) 0:00:39.872 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:08:45 +0000 (0:00:00.622) 0:00:40.495 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice sysinit.target basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target network-pre.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "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": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-16 19:08:45 UTC", "StateChangeTimestampMonotonic": "46816466", "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:08:46 +0000 (0:00:00.487) 0:00:40.982 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind.yml:42 Monday 16 May 2022 19:08:46 +0000 (0:00:00.026) 0:00:41.008 ************ included: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:08:46 +0000 (0:00:00.035) 0:00:41.044 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:08:46 +0000 (0:00:00.369) 0:00:41.413 ************ changed: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } TASK [Clean up dummy key file on managed host] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:08:46 +0000 (0:00:00.195) 0:00:41.609 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [linux-system-roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:08:47 +0000 (0:00:00.385) 0:00:41.994 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.720096", "end": "2022-05-16 19:09:09.070967", "rc": 0, "start": "2022-05-16 19:08:47.350871" } STDERR: dracut: Executing: /usr/bin/dracut --kver=5.17.6-100.fc34.x86_64 -fv dracut: dracut module 'modsign' will not be installed, because command 'keyctl' could not be found! dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found! dracut: dracut module 'dbus-daemon' will not be installed, because command 'dbus-daemon' could not be found! dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found! dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found! dracut: 62bluetooth: Could not find any command of '/usr/lib/bluetooth/bluetoothd /usr/libexec/bluetooth/bluetoothd'! dracut: dracut module 'lvmmerge' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found! dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found! dracut: dracut module 'multipath' will not be installed, because command 'multipath' could not be found! dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found! dracut: dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found! dracut: 95nfs: Could not find any command of 'rpcbind portmap'! dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found! dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: systemd-sysusers *** dracut: *** Including module: dbus-broker *** dracut: *** Including module: dbus *** dracut: *** Including module: i18n *** dracut: *** Including module: network-manager *** dracut: *** Including module: network *** dracut: *** Including module: clevis *** dracut: *** Including module: clevis-pin-sss *** dracut: *** Including module: clevis-pin-tang *** dracut: *** Including module: clevis-pin-tpm2 *** dracut: *** Including module: nbde_client *** dracut: *** Including module: crypt *** dracut: *** Including module: dm *** dracut: Skipping udev rule: 64-device-mapper.rules dracut: Skipping udev rule: 60-persistent-storage-dm.rules dracut: Skipping udev rule: 55-dm.rules dracut: *** Including module: kernel-modules *** dracut: *** Including module: kernel-modules-extra *** dracut: *** Including module: kernel-network-modules *** dracut: *** Including module: nvdimm *** dracut: *** Including module: qemu *** dracut: *** Including module: qemu-net *** dracut: *** Including module: lunmask *** dracut: *** Including module: resume *** dracut: *** Including module: rootfs-block *** dracut: *** Including module: terminfo *** dracut: *** Including module: udev-rules *** dracut: Skipping udev rule: 40-redhat.rules dracut: Skipping udev rule: 50-firmware.rules dracut: Skipping udev rule: 50-udev.rules dracut: Skipping udev rule: 91-permissions.rules dracut: Skipping udev rule: 80-drivers-modprobe.rules dracut: *** Including module: virtfs *** dracut: *** Including module: dracut-systemd *** dracut: *** Including module: usrmount *** dracut: *** Including module: base *** dracut: *** Including module: fs-lib *** dracut: *** Including module: memstrack *** dracut: *** Including module: shutdown *** dracut: *** Including modules done *** dracut: *** Installing kernel module dependencies *** dracut: *** Installing kernel module dependencies done *** dracut: *** Resolving executable dependencies *** dracut: *** Resolving executable dependencies done *** dracut: *** Hardlinking files *** dracut: *** Hardlinking files done *** dracut: Could not find 'strip'. Not stripping the initramfs. dracut: *** Generating early-microcode cpio image *** dracut: *** Store current command line parameters *** dracut: *** Creating image file '/boot/initramfs-5.17.6-100.fc34.x86_64.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-5.17.6-100.fc34.x86_64.img' done *** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=59 changed=16 unreachable=0 failed=0 skipped=7 rescued=0 ignored=2 Monday 16 May 2022 19:09:09 +0000 (0:00:22.108) 0:01:04.102 ************ =============================================================================== linux-system-roles.nbde_client : nbde_client update initramfs ---------- 22.11s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 linux-system-roles.nbde_client : Perform clevis operations ------------- 10.39s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 3.31s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Install required packages for nbde_client tests ------------------------- 2.47s /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 -------------------------------- linux-system-roles.nbde_client : Ensure required packages are installed --- 2.10s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Ensure required packages are installed --- 2.05s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.23s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.14s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind.yml:2 ------------------------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.98s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.97s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 0.70s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Enable network flushing service -------- 0.70s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 linux-system-roles.nbde_client : Deploy network flushing script --------- 0.69s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 linux-system-roles.nbde_client : Deploy network flushing service -------- 0.68s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 linux-system-roles.nbde_client : Enable clevis askpass unit ------------- 0.68s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 linux-system-roles.nbde_client : Reload systemd config ------------------ 0.65s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.65s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 linux-system-roles.nbde_client : Deploy network flushing script --------- 0.63s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 linux-system-roles.nbde_client : Deploy network flushing service -------- 0.63s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 ansible-playbook [core 2.12.5] 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/tmpi9z83b_b executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_simple_bind_unbind_keyfile.yml ********************************* 1 plays in /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind_keyfile.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind_keyfile.yml:2 Monday 16 May 2022 19:09:21 +0000 (0:00:00.008) 0:00:00.008 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind_keyfile.yml:15 Monday 16 May 2022 19:09:22 +0000 (0:00:01.091) 0:00:01.100 ************ included: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:2 Monday 16 May 2022 19:09:22 +0000 (0:00:00.023) 0:00:01.124 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_device": "/tmp/.nbde_client_dev_test", "nbde_client_test_encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "nbde_client_test_pass": "test-password-here", "nbde_client_test_roles_dir": "/tmp/.nbde_client_dev_roles" }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:5 Monday 16 May 2022 19:09:22 +0000 (0:00:00.017) 0:00:01.141 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:20 Monday 16 May 2022 19:09:22 +0000 (0:00:00.028) 0:00:01.170 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "all_ipv4_addresses": [ "10.0.2.15" ], "all_ipv6_addresses": [ "fec0::5054:ff:fe12:3456", "fe80::5054:ff:fe12:3456" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "04/01/2014", "bios_vendor": "SeaBIOS", "bios_version": "1.14.0-4.fc34", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "QEMU", "chassis_version": "pc-i440fx-5.2", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": "ttyS0,115200n8", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "date_time": { "date": "2022-05-16", "day": "16", "epoch": "1652728161", "epoch_int": "1652728161", "hour": "19", "iso8601": "2022-05-16T19:09:21Z", "iso8601_basic": "20220516T190921005485", "iso8601_basic_short": "20220516T190921", "iso8601_micro": "2022-05-16T19:09:21.005485Z", "minute": "09", "month": "05", "second": "21", "time": "19:09:21", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Monday", "weekday_number": "1", "weeknumber": "20", "year": "2022" }, "default_ipv4": { "address": "10.0.2.15", "alias": "eth0", "broadcast": "10.0.2.255", "gateway": "10.0.2.2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "netmask": "255.255.255.0", "network": "10.0.2.0", "type": "ether" }, "default_ipv6": { "address": "fec0::5054:ff:fe12:3456", "gateway": "fe80::2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "prefix": "64", "scope": "site", "type": "ether" }, "device_links": { "ids": { "sr0": [ "ata-QEMU_DVD-ROM_QM00003" ] }, "labels": { "sr0": [ "cidata" ], "vdb1": [ "yumcache" ], "vdc1": [ "yumvarlib" ] }, "masters": {}, "uuids": { "sr0": [ "2022-05-16-19-09-11-00" ], "vda1": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ], "vdb1": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ], "vdc1": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] } }, "devices": { "sr0": { "holders": [], "host": "", "links": { "ids": [ "ata-QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-05-16-19-09-11-00" ] }, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "bfq", "sectors": "728", "sectorsize": "2048", "size": "364.00 KB", "support_discard": "0", "vendor": "QEMU", "virtual": 1 }, "vda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ] }, "sectors": "8386560", "sectorsize": 512, "size": "4.00 GB", "start": "2048", "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "8388608", "sectorsize": "512", "size": "4.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdb": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdb1": { "holders": [], "links": { "ids": [], "labels": [ "yumcache" ], "masters": [], "uuids": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdc": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdc1": { "holders": [], "links": { "ids": [], "labels": [ "yumvarlib" ], "masters": [], "uuids": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python3", "distribution": "Fedora", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "34", "distribution_release": "", "distribution_version": "34", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "." ] }, "domain": "", "effective_group_id": 0, "effective_user_id": 0, "env": { "BASH_FUNC_which%%": "() { ( alias;\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot \"$@\"\n}", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "HOME": "/root", "LANG": "en_US.UTF-8", "LC_CTYPE": "C.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "MOTD_SHOWN": "pam", "PATH": "/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "1", "SSH_CLIENT": "10.0.2.2 46588 22", "SSH_CONNECTION": "10.0.2.2 46588 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "1", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3", "which_declare": "declare -f" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.0.2.15", "broadcast": "10.0.2.255", "netmask": "255.255.255.0", "network": "10.0.2.0" }, "ipv6": [ { "address": "fec0::5054:ff:fe12:3456", "prefix": "64", "scope": "site" }, { "address": "fe80::5054:ff:fe12:3456", "prefix": "64", "scope": "link" } ], "macaddress": "52:54:00:12:34:56", "module": "virtio_net", "mtu": 1500, "pciid": "virtio0", "promisc": false, "speed": -1, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "fedora", "gather_subset": [ "all" ], "hostname": "fedora", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "5.17.6-100.fc34.x86_64", "kernel_version": "#1 SMP PREEMPT Mon May 9 14:41:31 UTC 2022", "lo": { "active": true, "device": "lo", "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "e91233b164be445ba9cbf9de45efbc14", "memfree_mb": 1633, "memory_mb": { "nocache": { "free": 1774, "used": 197 }, "real": { "free": 1633, "total": 1971, "used": 338 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 1971, "module_setup": true, "mounts": [ { "block_available": 789107, "block_size": 4096, "block_total": 1011384, "block_used": 222277, "device": "/dev/vda1", "fstype": "ext4", "inode_available": 235479, "inode_total": 262144, "inode_used": 26665, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 3232182272, "size_total": 4142628864, "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" }, { "block_available": 235545, "block_size": 4096, "block_total": 253035, "block_used": 17490, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 964792320, "size_total": 1036431360, "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" }, { "block_available": 167364, "block_size": 4096, "block_total": 253035, "block_used": 85671, "device": "/dev/vdb1", "fstype": "ext4", "inode_available": 65453, "inode_total": 65536, "inode_used": 83, "mount": "/var/cache/dnf", "options": "rw,seclabel,relatime", "size_available": 685522944, "size_total": 1036431360, "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" } ], "nodename": "fedora", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": [ "tty1", "ttyS0,115200n8" ], "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "2", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "3", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz" ], "processor_cores": 1, "processor_count": 4, "processor_nproc": 4, "processor_threads_per_core": 1, "processor_vcpus": 4, "product_name": "Standard PC (i440FX + PIIX, 1996)", "product_serial": "NA", "product_uuid": "NA", "product_version": "pc-i440fx-5.2", "python": { "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 12, "minor": 9, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 9, 12, "final", 0 ] }, "python_version": "3.9.12", "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAPSRkLXxcDMdAGmIx2S6983l4JLs7QeoC+RpmIjhKbn6pnvHfbb/NI/SP2uiu8GI6S8/+sa5aXt8/i7A/KmNEL0+CSmkehrAwGBIjgdg7ftdfgntuizM0hOi665MSoANX3Hhxtubdsd4yUGzADFF1hPjfl4yvoRz0oHlBqY/w2HzAAAAFQCWTdcgqgfeqm/AmK0w1a9T5mCT/wAAAIBrqFXMWHzkzKfFm/XvXFsOTmFPq2AkwaquST86EjTrR0WS1088uftjGOlr5VeoOPiHkG47ZAziLhXKaxViVW2ywdkMPFGf8hb31doQaRVVd6EyFoUxEYGQIjmEP4KltEr1FwS9oQcAeiK3lzj9UcU0d152GMexPE5pcOqHF0DCtgAAAIEAtJXDzoSf1GaekmbgJ1zWO6W1mkn82uRftsi3THkGO/56UAGMHmfwOzZVuftZ0TEy8oDnCXN9KFv88vv6oy14b7FFHefVyoR2PswrhLcZqMQF5gacBWvVhfxpuywxTvzaaRqLsuywubc6ZHm0IRnr8ZbSl9ivaNH2s886O7MWn5w=", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKyrb8W9+iO5guoW4eQ512DI1Tg0oYamt+tzgd1WUG5R+KfH4OxccpAATQ2b5GWh7jJxwUcn5IHPquEZkvptOHo=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIKpxydxGAGEtBSa9Naj9jyiH4En9rEn7PzKI5hP/DnjR", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC3eRlGGURxHBBsYJsvzQZt3TSC79X5S5DRFHDZlJHFgrYJl+XaJFHWZMhvipxkvXROXRdrUI5dqxhcqngj7ry6DTv8nBGAFD/KG2Y0vJUu9XwivxbuIHcdI4nzc6RoTnsa//fVNmpkEibhTO4Xo8sgFU4dwWY8AuMDAxP2qW5H2HccWc2ag8n2bsSLMFW04efGC/bb1sb2bzMlchOVOyWvz6ray81XWsYJ2nZgYHRoKcBaVzwUtW42CJ7W2nCekUsGL3LlB6k1F5FoLiHU6Ml+9/7iBObvR8fppY7V4y49eyMRFvDP7QJQd5G32w0KjwMeXLi4Lyvc29vHP+AmXAg+K863ScWbtpORUPWgvwm7SHl1pedjy5wlIQZAaPiT6kIMPocVUa7xIE5o0gdjNnkVpmMn6thrwTleGjH/IU37zdHj4J6r+FzZ7vnygup6irQizlNHaDVgv1ho4EJkBSWOAphywiulOVUHPaiGxXmmNuL03WNukxW/Z6yIwz40phE=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "QEMU", "uptime_seconds": 7, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_tech_guest": [ "kvm" ], "virtualization_tech_host": [], "virtualization_type": "kvm" } } TASK [Install required packages for nbde_client tests] ************************* task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 Monday 16 May 2022 19:09:22 +0000 (0:00:00.032) 0:00:01.202 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:28 Monday 16 May 2022 19:09:25 +0000 (0:00:02.588) 0:00:03.790 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "after": "158931d658cf73167b3c883e89def8a1ebdb8d18", "before": "158931d658cf73167b3c883e89def8a1ebdb8d18", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:35 Monday 16 May 2022 19:09:25 +0000 (0:00:00.520) 0:00:04.311 ************ TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:6 Monday 16 May 2022 19:09:25 +0000 (0:00:00.028) 0:00:04.339 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Monday 16 May 2022 19:09:25 +0000 (0:00:00.022) 0:00:04.362 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Monday 16 May 2022 19:09:26 +0000 (0:00:00.501) 0:00:04.863 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:9 Monday 16 May 2022 19:09:26 +0000 (0:00:00.028) 0:00:04.891 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Monday 16 May 2022 19:09:26 +0000 (0:00:00.021) 0:00:04.913 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: http-parser-2.9.4-4.fc34.x86_64", "Installed: tang-11-1.fc34.x86_64" ] } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Monday 16 May 2022 19:09:29 +0000 (0:00:03.098) 0:00:08.011 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Monday 16 May 2022 19:09:29 +0000 (0:00:00.029) 0:00:08.041 ************ changed: [/cache/fedora-34.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Monday 16 May 2022 19:09:29 +0000 (0:00:00.512) 0:00:08.554 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Monday 16 May 2022 19:09:29 +0000 (0:00:00.028) 0:00:08.582 ************ changed: [/cache/fedora-34.qcow2.snap] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "4096", "Before": "shutdown.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "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]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "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", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "sysinit.target system.slice", "RestartKillSignal": "15", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "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", "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": "2324", "TimeoutCleanUSec": "infinity", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Timestamping": "off", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "Writable": "no" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Create device for testing] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:39 Monday 16 May 2022 19:09:30 +0000 (0:00:01.008) 0:00:09.590 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.015653", "end": "2022-05-16 19:09:30.343318", "rc": 0, "start": "2022-05-16 19:09:30.327665" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:43 Monday 16 May 2022 19:09:31 +0000 (0:00:00.583) 0:00:10.174 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail; echo -n test-password-here | cryptsetup luksFormat --pbkdf pbkdf2 --pbkdf-force-iterations 1000 --batch-mode --force-password /tmp/.nbde_client_dev_test", "delta": "0:00:00.094283", "end": "2022-05-16 19:09:30.810939", "rc": 0, "start": "2022-05-16 19:09:30.716656" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:51 Monday 16 May 2022 19:09:31 +0000 (0:00:00.456) 0:00:10.630 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.004485", "end": "2022-05-16 19:09:32.044457", "rc": 0, "start": "2022-05-16 19:09:32.039972" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind_keyfile.yml:20 Monday 16 May 2022 19:09:32 +0000 (0:00:00.201) 0:00:10.832 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:09:32 +0000 (0:00:00.026) 0:00:10.858 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:09:32 +0000 (0:00:00.022) 0:00:10.881 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:09:32 +0000 (0:00:00.531) 0:00:11.412 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:09:32 +0000 (0:00:00.028) 0:00:11.441 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:09:32 +0000 (0:00:00.028) 0:00:11.469 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:09:34 +0000 (0:00:02.010) 0:00:13.480 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestampMonotonic": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:09:35 +0000 (0:00:00.687) 0:00:14.167 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "md5sum": "8ac814b21125f3c41430b13965169aff", "mode": "0444", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "src": "/root/.ansible/tmp/ansible-tmp-1652728175.4547749-305764-42980365249911/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:09:36 +0000 (0:00:00.956) 0:00:15.124 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": false, "servers": [], "slot": 1, "state": "absent", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:09:37 +0000 (0:00:00.744) 0:00:15.868 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.mc1k1d8_nbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:09:37 +0000 (0:00:00.533) 0:00:16.401 ************ changed: [/cache/fedora-34.qcow2.snap] => (item=/tmp/.nbde_client_dev_encryption_key) => { "ansible_loop_var": "item", "changed": true, "checksum": "ddcbbd80371add8b55e5288b1278a7ead06c422e", "dest": "/tmp/ansible.mc1k1d8_nbde_client_encryption_keys/.nbde_client_dev_encryption_key", "gid": 0, "group": "root", "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "servers": [ "http://localhost" ] }, "md5sum": "7e9df3be3334c1e2e9aa64d831cdb03d", "mode": "0400", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 18, "src": "/root/.ansible/tmp/ansible-tmp-1652728177.71054-305824-168406181028961/source", "state": "file", "uid": 0 } ok: [/cache/fedora-34.qcow2.snap] => (item=/tmp/.nbde_client_dev_encryption_key) => { "ansible_loop_var": "item", "changed": false, "checksum": "ddcbbd80371add8b55e5288b1278a7ead06c422e", "dest": "/tmp/ansible.mc1k1d8_nbde_client_encryption_keys/.nbde_client_dev_encryption_key", "gid": 0, "group": "root", "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" }, "mode": "0400", "owner": "root", "path": "/tmp/ansible.mc1k1d8_nbde_client_encryption_keys/.nbde_client_dev_encryption_key", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 18, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:09:39 +0000 (0:00:01.439) 0:00:17.841 ************ NOTIFIED HANDLER linux-system-roles.nbde_client : nbde_client update initramfs for /cache/fedora-34.qcow2.snap changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_key": "/tmp/ansible.mc1k1d8_nbde_client_encryption_keys/.nbde_client_dev_encryption_key", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 }, { "device": "/tmp/.nbde_client_dev_test", "encryption_key": "/tmp/ansible.mc1k1d8_nbde_client_encryption_keys/.nbde_client_dev_encryption_key", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": false, "servers": [], "slot": 1, "state": "absent", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:09:46 +0000 (0:00:07.515) 0:00:25.357 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.mc1k1d8_nbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:09:46 +0000 (0:00:00.381) 0:00:25.738 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "md5sum": "7947aade05c625cd8173078c3da0c37b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "src": "/root/.ansible/tmp/ansible-tmp-1652728187.0291684-305904-230146646243588/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:09:47 +0000 (0:00:00.682) 0:00:26.421 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "md5sum": "e3a3412ce904074cd7d0dce03ae5d40c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "src": "/root/.ansible/tmp/ansible-tmp-1652728187.706744-305932-258922238719926/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:09:48 +0000 (0:00:00.675) 0:00:27.096 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:09:49 +0000 (0:00:01.256) 0:00:28.353 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.038527", "end": "2022-05-16 19:09:48.930482", "rc": 0, "start": "2022-05-16 19:09:48.891955" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:09:49 +0000 (0:00:00.401) 0:00:28.754 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:09:50 +0000 (0:00:00.657) 0:00:29.412 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket sysinit.target basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "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": "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind_keyfile.yml:24 Monday 16 May 2022 19:09:51 +0000 (0:00:00.686) 0:00:30.098 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:09:51 +0000 (0:00:00.021) 0:00:30.120 ************ fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:00.044995", "end": "2022-05-16 19:09:50.707455", "rc": 1, "start": "2022-05-16 19:09:50.662460" } STDERR: /tmp/.nbde_client_dev_test could not be opened. MSG: non-zero return code ...ignoring TASK [Close unlocked device] *************************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:09:51 +0000 (0:00:00.405) 0:00:30.526 ************ fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.009926", "end": "2022-05-16 19:09:51.072853", "rc": 4, "start": "2022-05-16 19:09:51.062927" } STDERR: Device nbde_client_unlocked is not active. MSG: non-zero return code ...ignoring TASK [Make sure the attempt to unlock failed] ********************************** task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind_keyfile.yml:27 Monday 16 May 2022 19:09:52 +0000 (0:00:00.365) 0:00:30.891 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency when trying to only unbind] *************************** task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind_keyfile.yml:33 Monday 16 May 2022 19:09:52 +0000 (0:00:00.021) 0:00:30.912 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:09:52 +0000 (0:00:00.019) 0:00:30.932 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:09:52 +0000 (0:00:00.020) 0:00:30.952 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:09:52 +0000 (0:00:00.020) 0:00:30.973 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:09:52 +0000 (0:00:00.506) 0:00:31.479 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:09:52 +0000 (0:00:00.027) 0:00:31.507 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:09:52 +0000 (0:00:00.028) 0:00:31.536 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:09:54 +0000 (0:00:02.074) 0:00:33.610 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestamp": "Mon 2022-05-16 19:09:49 UTC", "StateChangeTimestampMonotonic": "35898484", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "cryptsetup.target", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:09:55 +0000 (0:00:00.507) 0:00:34.118 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "mode": "0444", "owner": "root", "path": "/etc/dracut.conf.d/nbde_client.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:09:55 +0000 (0:00:00.621) 0:00:34.740 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "password_temporary": false, "servers": [], "slot": 1, "state": "absent", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:09:56 +0000 (0:00:00.523) 0:00:35.264 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:09:56 +0000 (0:00:00.022) 0:00:35.286 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=/tmp/.nbde_client_dev_encryption_key) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:09:56 +0000 (0:00:00.038) 0:00:35.325 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:09:56 +0000 (0:00:00.022) 0:00:35.348 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:09:56 +0000 (0:00:00.023) 0:00:35.371 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/bin/nbde_client-network-flush", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:09:57 +0000 (0:00:00.611) 0:00:35.983 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/systemd/system/nbde_client-network-flush.service", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:09:57 +0000 (0:00:00.618) 0:00:36.601 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:09:58 +0000 (0:00:01.148) 0:00:37.749 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.028027", "end": "2022-05-16 19:09:58.318001", "rc": 0, "start": "2022-05-16 19:09:58.289974" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:09:59 +0000 (0:00:00.391) 0:00:38.141 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:10:00 +0000 (0:00:00.636) 0:00:38.778 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target multi-user.target shutdown.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "sysinit.target 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": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-16 19:09:58 UTC", "StateChangeTimestampMonotonic": "45259363", "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:10:00 +0000 (0:00:00.518) 0:00:39.297 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind_keyfile.yml:42 Monday 16 May 2022 19:10:00 +0000 (0:00:00.023) 0:00:39.321 ************ included: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:10:00 +0000 (0:00:00.044) 0:00:39.365 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:10:00 +0000 (0:00:00.371) 0:00:39.736 ************ changed: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } TASK [Clean up dummy key file on managed host] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:10:01 +0000 (0:00:00.203) 0:00:39.939 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [linux-system-roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:10:01 +0000 (0:00:00.382) 0:00:40.322 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.389076", "end": "2022-05-16 19:10:22.270961", "rc": 0, "start": "2022-05-16 19:10:00.881885" } STDERR: dracut: Executing: /usr/bin/dracut --kver=5.17.6-100.fc34.x86_64 -fv dracut: dracut module 'modsign' will not be installed, because command 'keyctl' could not be found! dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found! dracut: dracut module 'dbus-daemon' will not be installed, because command 'dbus-daemon' could not be found! dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found! dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found! dracut: 62bluetooth: Could not find any command of '/usr/lib/bluetooth/bluetoothd /usr/libexec/bluetooth/bluetoothd'! dracut: dracut module 'lvmmerge' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found! dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found! dracut: dracut module 'multipath' will not be installed, because command 'multipath' could not be found! dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found! dracut: dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found! dracut: 95nfs: Could not find any command of 'rpcbind portmap'! dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found! dracut: *** Including module: bash *** dracut: *** Including module: systemd *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: systemd-sysusers *** dracut: *** Including module: dbus-broker *** dracut: *** Including module: dbus *** dracut: *** Including module: i18n *** dracut: *** Including module: network-manager *** dracut: *** Including module: network *** dracut: *** Including module: clevis *** dracut: *** Including module: clevis-pin-sss *** dracut: *** Including module: clevis-pin-tang *** dracut: *** Including module: clevis-pin-tpm2 *** dracut: *** Including module: nbde_client *** dracut: *** Including module: crypt *** dracut: *** Including module: dm *** dracut: Skipping udev rule: 64-device-mapper.rules dracut: Skipping udev rule: 60-persistent-storage-dm.rules dracut: Skipping udev rule: 55-dm.rules dracut: *** Including module: kernel-modules *** dracut: *** Including module: kernel-modules-extra *** dracut: *** Including module: kernel-network-modules *** dracut: *** Including module: nvdimm *** dracut: *** Including module: qemu *** dracut: *** Including module: qemu-net *** dracut: *** Including module: lunmask *** dracut: *** Including module: resume *** dracut: *** Including module: rootfs-block *** dracut: *** Including module: terminfo *** dracut: *** Including module: udev-rules *** dracut: Skipping udev rule: 40-redhat.rules dracut: Skipping udev rule: 50-firmware.rules dracut: Skipping udev rule: 50-udev.rules dracut: Skipping udev rule: 91-permissions.rules dracut: Skipping udev rule: 80-drivers-modprobe.rules dracut: *** Including module: virtfs *** dracut: *** Including module: dracut-systemd *** dracut: *** Including module: usrmount *** dracut: *** Including module: base *** dracut: *** Including module: fs-lib *** dracut: *** Including module: memstrack *** dracut: *** Including module: shutdown *** dracut: *** Including modules done *** dracut: *** Installing kernel module dependencies *** dracut: *** Installing kernel module dependencies done *** dracut: *** Resolving executable dependencies *** dracut: *** Resolving executable dependencies done *** dracut: *** Hardlinking files *** dracut: *** Hardlinking files done *** dracut: Could not find 'strip'. Not stripping the initramfs. dracut: *** Generating early-microcode cpio image *** dracut: *** Store current command line parameters *** dracut: *** Creating image file '/boot/initramfs-5.17.6-100.fc34.x86_64.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-5.17.6-100.fc34.x86_64.img' done *** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=60 changed=17 unreachable=0 failed=0 skipped=6 rescued=0 ignored=2 Monday 16 May 2022 19:10:23 +0000 (0:00:21.780) 0:01:02.103 ************ =============================================================================== linux-system-roles.nbde_client : nbde_client update initramfs ---------- 21.78s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 linux-system-roles.nbde_client : Perform clevis operations -------------- 7.52s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 3.10s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Install required packages for nbde_client tests ------------------------- 2.59s /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 -------------------------------- linux-system-roles.nbde_client : Ensure required packages are installed --- 2.07s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Ensure required packages are installed --- 2.01s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Ensure we transfer key files ----------- 1.44s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.26s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.15s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmp76mse6z5/tests/tests_simple_bind_unbind_keyfile.yml:2 ----------------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 1.01s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.96s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 0.74s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Enable clevis askpass unit ------------- 0.69s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 linux-system-roles.nbde_client : Enable network flushing service -------- 0.69s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 linux-system-roles.nbde_client : Deploy network flushing script --------- 0.68s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 linux-system-roles.nbde_client : Deploy network flushing service -------- 0.68s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 linux-system-roles.nbde_client : Reload systemd config ------------------ 0.66s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 linux-system-roles.nbde_client : Reload systemd config ------------------ 0.64s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.62s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 ansible-playbook [core 2.12.5] 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/tmpi9z83b_b executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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_use_existing_binding.yml *************************************** 1 plays in /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:2 Monday 16 May 2022 19:10:33 +0000 (0:00:00.010) 0:00:00.010 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:7 Monday 16 May 2022 19:10:34 +0000 (0:00:01.065) 0:00:01.075 ************ included: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:2 Monday 16 May 2022 19:10:34 +0000 (0:00:00.021) 0:00:01.097 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_device": "/tmp/.nbde_client_dev_test", "nbde_client_test_encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "nbde_client_test_pass": "test-password-here", "nbde_client_test_roles_dir": "/tmp/.nbde_client_dev_roles" }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:5 Monday 16 May 2022 19:10:34 +0000 (0:00:00.016) 0:00:01.113 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:20 Monday 16 May 2022 19:10:35 +0000 (0:00:00.025) 0:00:01.139 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "all_ipv4_addresses": [ "10.0.2.15" ], "all_ipv6_addresses": [ "fec0::5054:ff:fe12:3456", "fe80::5054:ff:fe12:3456" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "04/01/2014", "bios_vendor": "SeaBIOS", "bios_version": "1.14.0-4.fc34", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "QEMU", "chassis_version": "pc-i440fx-5.2", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": "ttyS0,115200n8", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "date_time": { "date": "2022-05-16", "day": "16", "epoch": "1652728233", "epoch_int": "1652728233", "hour": "19", "iso8601": "2022-05-16T19:10:33Z", "iso8601_basic": "20220516T191033744951", "iso8601_basic_short": "20220516T191033", "iso8601_micro": "2022-05-16T19:10:33.744951Z", "minute": "10", "month": "05", "second": "33", "time": "19:10:33", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Monday", "weekday_number": "1", "weeknumber": "20", "year": "2022" }, "default_ipv4": { "address": "10.0.2.15", "alias": "eth0", "broadcast": "10.0.2.255", "gateway": "10.0.2.2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "netmask": "255.255.255.0", "network": "10.0.2.0", "type": "ether" }, "default_ipv6": { "address": "fec0::5054:ff:fe12:3456", "gateway": "fe80::2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "prefix": "64", "scope": "site", "type": "ether" }, "device_links": { "ids": { "sr0": [ "ata-QEMU_DVD-ROM_QM00003" ] }, "labels": { "sr0": [ "cidata" ], "vdb1": [ "yumcache" ], "vdc1": [ "yumvarlib" ] }, "masters": {}, "uuids": { "sr0": [ "2022-05-16-19-10-24-00" ], "vda1": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ], "vdb1": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ], "vdc1": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] } }, "devices": { "sr0": { "holders": [], "host": "", "links": { "ids": [ "ata-QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-05-16-19-10-24-00" ] }, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "bfq", "sectors": "728", "sectorsize": "2048", "size": "364.00 KB", "support_discard": "0", "vendor": "QEMU", "virtual": 1 }, "vda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ] }, "sectors": "8386560", "sectorsize": 512, "size": "4.00 GB", "start": "2048", "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "8388608", "sectorsize": "512", "size": "4.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdb": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdb1": { "holders": [], "links": { "ids": [], "labels": [ "yumcache" ], "masters": [], "uuids": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdc": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdc1": { "holders": [], "links": { "ids": [], "labels": [ "yumvarlib" ], "masters": [], "uuids": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python3", "distribution": "Fedora", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "34", "distribution_release": "", "distribution_version": "34", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "." ] }, "domain": "", "effective_group_id": 0, "effective_user_id": 0, "env": { "BASH_FUNC_which%%": "() { ( alias;\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot \"$@\"\n}", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "HOME": "/root", "LANG": "en_US.UTF-8", "LC_CTYPE": "C.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "MOTD_SHOWN": "pam", "PATH": "/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "1", "SSH_CLIENT": "10.0.2.2 41062 22", "SSH_CONNECTION": "10.0.2.2 41062 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "1", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3", "which_declare": "declare -f" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.0.2.15", "broadcast": "10.0.2.255", "netmask": "255.255.255.0", "network": "10.0.2.0" }, "ipv6": [ { "address": "fec0::5054:ff:fe12:3456", "prefix": "64", "scope": "site" }, { "address": "fe80::5054:ff:fe12:3456", "prefix": "64", "scope": "link" } ], "macaddress": "52:54:00:12:34:56", "module": "virtio_net", "mtu": 1500, "pciid": "virtio0", "promisc": false, "speed": -1, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "fedora", "gather_subset": [ "all" ], "hostname": "fedora", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "5.17.6-100.fc34.x86_64", "kernel_version": "#1 SMP PREEMPT Mon May 9 14:41:31 UTC 2022", "lo": { "active": true, "device": "lo", "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "e91233b164be445ba9cbf9de45efbc14", "memfree_mb": 1631, "memory_mb": { "nocache": { "free": 1772, "used": 199 }, "real": { "free": 1631, "total": 1971, "used": 340 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 1971, "module_setup": true, "mounts": [ { "block_available": 789107, "block_size": 4096, "block_total": 1011384, "block_used": 222277, "device": "/dev/vda1", "fstype": "ext4", "inode_available": 235479, "inode_total": 262144, "inode_used": 26665, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 3232182272, "size_total": 4142628864, "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" }, { "block_available": 167364, "block_size": 4096, "block_total": 253035, "block_used": 85671, "device": "/dev/vdb1", "fstype": "ext4", "inode_available": 65453, "inode_total": 65536, "inode_used": 83, "mount": "/var/cache/dnf", "options": "rw,seclabel,relatime", "size_available": 685522944, "size_total": 1036431360, "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" }, { "block_available": 235532, "block_size": 4096, "block_total": 253035, "block_used": 17503, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 964739072, "size_total": 1036431360, "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } ], "nodename": "fedora", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": [ "tty1", "ttyS0,115200n8" ], "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "2", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "3", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz" ], "processor_cores": 1, "processor_count": 4, "processor_nproc": 4, "processor_threads_per_core": 1, "processor_vcpus": 4, "product_name": "Standard PC (i440FX + PIIX, 1996)", "product_serial": "NA", "product_uuid": "NA", "product_version": "pc-i440fx-5.2", "python": { "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 12, "minor": 9, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 9, 12, "final", 0 ] }, "python_version": "3.9.12", "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAPSRkLXxcDMdAGmIx2S6983l4JLs7QeoC+RpmIjhKbn6pnvHfbb/NI/SP2uiu8GI6S8/+sa5aXt8/i7A/KmNEL0+CSmkehrAwGBIjgdg7ftdfgntuizM0hOi665MSoANX3Hhxtubdsd4yUGzADFF1hPjfl4yvoRz0oHlBqY/w2HzAAAAFQCWTdcgqgfeqm/AmK0w1a9T5mCT/wAAAIBrqFXMWHzkzKfFm/XvXFsOTmFPq2AkwaquST86EjTrR0WS1088uftjGOlr5VeoOPiHkG47ZAziLhXKaxViVW2ywdkMPFGf8hb31doQaRVVd6EyFoUxEYGQIjmEP4KltEr1FwS9oQcAeiK3lzj9UcU0d152GMexPE5pcOqHF0DCtgAAAIEAtJXDzoSf1GaekmbgJ1zWO6W1mkn82uRftsi3THkGO/56UAGMHmfwOzZVuftZ0TEy8oDnCXN9KFv88vv6oy14b7FFHefVyoR2PswrhLcZqMQF5gacBWvVhfxpuywxTvzaaRqLsuywubc6ZHm0IRnr8ZbSl9ivaNH2s886O7MWn5w=", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKyrb8W9+iO5guoW4eQ512DI1Tg0oYamt+tzgd1WUG5R+KfH4OxccpAATQ2b5GWh7jJxwUcn5IHPquEZkvptOHo=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIKpxydxGAGEtBSa9Naj9jyiH4En9rEn7PzKI5hP/DnjR", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC3eRlGGURxHBBsYJsvzQZt3TSC79X5S5DRFHDZlJHFgrYJl+XaJFHWZMhvipxkvXROXRdrUI5dqxhcqngj7ry6DTv8nBGAFD/KG2Y0vJUu9XwivxbuIHcdI4nzc6RoTnsa//fVNmpkEibhTO4Xo8sgFU4dwWY8AuMDAxP2qW5H2HccWc2ag8n2bsSLMFW04efGC/bb1sb2bzMlchOVOyWvz6ray81XWsYJ2nZgYHRoKcBaVzwUtW42CJ7W2nCekUsGL3LlB6k1F5FoLiHU6Ml+9/7iBObvR8fppY7V4y49eyMRFvDP7QJQd5G32w0KjwMeXLi4Lyvc29vHP+AmXAg+K863ScWbtpORUPWgvwm7SHl1pedjy5wlIQZAaPiT6kIMPocVUa7xIE5o0gdjNnkVpmMn6thrwTleGjH/IU37zdHj4J6r+FzZ7vnygup6irQizlNHaDVgv1ho4EJkBSWOAphywiulOVUHPaiGxXmmNuL03WNukxW/Z6yIwz40phE=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "QEMU", "uptime_seconds": 7, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_tech_guest": [ "kvm" ], "virtualization_tech_host": [], "virtualization_type": "kvm" } } TASK [Install required packages for nbde_client tests] ************************* task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 Monday 16 May 2022 19:10:35 +0000 (0:00:00.049) 0:00:01.189 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:28 Monday 16 May 2022 19:10:37 +0000 (0:00:02.334) 0:00:03.524 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "after": "158931d658cf73167b3c883e89def8a1ebdb8d18", "before": "158931d658cf73167b3c883e89def8a1ebdb8d18", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:35 Monday 16 May 2022 19:10:37 +0000 (0:00:00.548) 0:00:04.072 ************ TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:6 Monday 16 May 2022 19:10:37 +0000 (0:00:00.027) 0:00:04.099 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Monday 16 May 2022 19:10:37 +0000 (0:00:00.022) 0:00:04.122 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Monday 16 May 2022 19:10:38 +0000 (0:00:00.499) 0:00:04.621 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:9 Monday 16 May 2022 19:10:38 +0000 (0:00:00.027) 0:00:04.649 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Monday 16 May 2022 19:10:38 +0000 (0:00:00.024) 0:00:04.674 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: http-parser-2.9.4-4.fc34.x86_64", "Installed: tang-11-1.fc34.x86_64" ] } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Monday 16 May 2022 19:10:41 +0000 (0:00:02.987) 0:00:07.661 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Monday 16 May 2022 19:10:41 +0000 (0:00:00.029) 0:00:07.690 ************ changed: [/cache/fedora-34.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Monday 16 May 2022 19:10:42 +0000 (0:00:00.540) 0:00:08.231 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Monday 16 May 2022 19:10:42 +0000 (0:00:00.029) 0:00:08.260 ************ changed: [/cache/fedora-34.qcow2.snap] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "4096", "Before": "shutdown.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "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": "no", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "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]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "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", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "system.slice sysinit.target", "RestartKillSignal": "15", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "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", "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": "2324", "TimeoutCleanUSec": "infinity", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Timestamping": "off", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "Writable": "no" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Create device for testing] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:39 Monday 16 May 2022 19:10:43 +0000 (0:00:00.957) 0:00:09.217 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.015265", "end": "2022-05-16 19:10:42.669772", "rc": 0, "start": "2022-05-16 19:10:42.654507" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:43 Monday 16 May 2022 19:10:43 +0000 (0:00:00.508) 0:00:09.726 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail; echo -n test-password-here | cryptsetup luksFormat --pbkdf pbkdf2 --pbkdf-force-iterations 1000 --batch-mode --force-password /tmp/.nbde_client_dev_test", "delta": "0:00:00.091389", "end": "2022-05-16 19:10:43.113637", "rc": 0, "start": "2022-05-16 19:10:43.022248" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:51 Monday 16 May 2022 19:10:44 +0000 (0:00:00.445) 0:00:10.171 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.004147", "end": "2022-05-16 19:10:44.208161", "rc": 0, "start": "2022-05-16 19:10:44.204014" } TASK [Add binding to slot 1] *************************************************** task path: /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:10 Monday 16 May 2022 19:10:44 +0000 (0:00:00.198) 0:00:10.370 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:10:44 +0000 (0:00:00.026) 0:00:10.397 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:10:44 +0000 (0:00:00.021) 0:00:10.418 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:10:44 +0000 (0:00:00.491) 0:00:10.910 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:10:44 +0000 (0:00:00.027) 0:00:10.937 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:10:44 +0000 (0:00:00.029) 0:00:10.966 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:10:46 +0000 (0:00:01.878) 0:00:12.845 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestampMonotonic": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:10:47 +0000 (0:00:00.662) 0:00:13.507 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "md5sum": "8ac814b21125f3c41430b13965169aff", "mode": "0444", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "src": "/root/.ansible/tmp/ansible-tmp-1652728247.4155052-306756-103889183794473/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:10:48 +0000 (0:00:00.945) 0:00:14.453 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:10:49 +0000 (0:00:00.701) 0:00:15.154 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.luc2gpqenbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:10:49 +0000 (0:00:00.488) 0:00:15.643 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost" ], "slot": 1 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:10:49 +0000 (0:00:00.041) 0:00:15.685 ************ NOTIFIED HANDLER linux-system-roles.nbde_client : nbde_client update initramfs for /cache/fedora-34.qcow2.snap changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:10:55 +0000 (0:00:05.501) 0:00:21.186 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.luc2gpqenbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:10:55 +0000 (0:00:00.518) 0:00:21.704 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "md5sum": "7947aade05c625cd8173078c3da0c37b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "src": "/root/.ansible/tmp/ansible-tmp-1652728255.6187186-306850-276924215528177/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:10:56 +0000 (0:00:00.675) 0:00:22.379 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "md5sum": "e3a3412ce904074cd7d0dce03ae5d40c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "src": "/root/.ansible/tmp/ansible-tmp-1652728256.2907526-306878-146445568532886/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:10:56 +0000 (0:00:00.663) 0:00:23.043 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:10:58 +0000 (0:00:01.220) 0:00:24.264 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.038119", "end": "2022-05-16 19:10:57.597007", "rc": 0, "start": "2022-05-16 19:10:57.558888" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:10:58 +0000 (0:00:00.396) 0:00:24.660 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:10:59 +0000 (0:00:00.626) 0:00:25.287 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "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": "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Add binding to slot 2 without providing encryption_password] ************* task path: /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:21 Monday 16 May 2022 19:10:59 +0000 (0:00:00.663) 0:00:25.950 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:10:59 +0000 (0:00:00.028) 0:00:25.978 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:10:59 +0000 (0:00:00.019) 0:00:25.998 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:11:00 +0000 (0:00:00.497) 0:00:26.495 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:11:00 +0000 (0:00:00.028) 0:00:26.524 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:11:00 +0000 (0:00:00.026) 0:00:26.551 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:11:02 +0000 (0:00:01.918) 0:00:28.469 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "cryptsetup-pre.target clevis-luks-askpass.service", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestamp": "Mon 2022-05-16 19:10:58 UTC", "StateChangeTimestampMonotonic": "31460153", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "cryptsetup.target", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:11:02 +0000 (0:00:00.497) 0:00:28.967 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "mode": "0444", "owner": "root", "path": "/etc/dracut.conf.d/nbde_client.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:11:03 +0000 (0:00:00.621) 0:00:29.588 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 2, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:11:03 +0000 (0:00:00.518) 0:00:30.106 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.60ekujshnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:11:04 +0000 (0:00:00.357) 0:00:30.464 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "servers": [ "http://localhost" ], "slot": 2 }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:11:04 +0000 (0:00:00.041) 0:00:30.505 ************ NOTIFIED HANDLER linux-system-roles.nbde_client : nbde_client update initramfs for /cache/fedora-34.qcow2.snap changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 2, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:11:17 +0000 (0:00:12.835) 0:00:43.340 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.60ekujshnbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:11:17 +0000 (0:00:00.377) 0:00:43.717 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/bin/nbde_client-network-flush", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:11:18 +0000 (0:00:00.624) 0:00:44.342 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/systemd/system/nbde_client-network-flush.service", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:11:18 +0000 (0:00:00.626) 0:00:44.969 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:11:19 +0000 (0:00:01.097) 0:00:46.067 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.031878", "end": "2022-05-16 19:11:19.394157", "rc": 0, "start": "2022-05-16 19:11:19.362279" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:11:20 +0000 (0:00:00.390) 0:00:46.457 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:11:20 +0000 (0:00:00.632) 0:00:47.090 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target multi-user.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "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": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-16 19:11:19 UTC", "StateChangeTimestampMonotonic": "53258264", "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Remove binding from slot 1] ********************************************** task path: /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:31 Monday 16 May 2022 19:11:21 +0000 (0:00:00.499) 0:00:47.590 ************ TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:11:21 +0000 (0:00:00.030) 0:00:47.620 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:11:21 +0000 (0:00:00.018) 0:00:47.639 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Monday 16 May 2022 19:11:22 +0000 (0:00:00.503) 0:00:48.143 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/vars/Fedora.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:11:22 +0000 (0:00:00.029) 0:00:48.172 ************ included: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:11:22 +0000 (0:00:00.026) 0:00:48.199 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:11:24 +0000 (0:00:01.947) 0:00:50.146 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "cryptsetup-pre.target clevis-luks-askpass.service", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "Paths": "/run/systemd/ask-password (DirectoryNotEmpty)", "Perpetual": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StateChangeTimestamp": "Mon 2022-05-16 19:10:58 UTC", "StateChangeTimestampMonotonic": "31460153", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "cryptsetup.target", "Wants": "cryptsetup-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:11:24 +0000 (0:00:00.513) 0:00:50.659 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "mode": "0444", "owner": "root", "path": "/etc/dracut.conf.d/nbde_client.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:11:25 +0000 (0:00:00.606) 0:00:51.266 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [], "slot": 1, "state": "absent", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:11:25 +0000 (0:00:00.517) 0:00:51.783 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.h79zppcanbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:11:26 +0000 (0:00:00.355) 0:00:52.139 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "slot": 1, "state": "absent" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:11:26 +0000 (0:00:00.043) 0:00:52.182 ************ NOTIFIED HANDLER linux-system-roles.nbde_client : nbde_client update initramfs for /cache/fedora-34.qcow2.snap changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "password_temporary": false, "servers": [], "slot": 1, "state": "absent", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:11:26 +0000 (0:00:00.581) 0:00:52.764 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.h79zppcanbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:11:27 +0000 (0:00:00.395) 0:00:53.160 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/bin/nbde_client-network-flush", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:11:27 +0000 (0:00:00.611) 0:00:53.772 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/systemd/system/nbde_client-network-flush.service", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:11:28 +0000 (0:00:00.603) 0:00:54.376 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:11:29 +0000 (0:00:01.130) 0:00:55.506 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.027934", "end": "2022-05-16 19:11:28.830347", "rc": 0, "start": "2022-05-16 19:11:28.802413" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:11:29 +0000 (0:00:00.387) 0:00:55.893 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:11:30 +0000 (0:00:00.606) 0:00:56.500 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target network-pre.target", "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": "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": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.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": "nbde_client-network-flush.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": "7749", "LimitNPROCSoft": "7749", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7749", "LimitSIGPENDINGSoft": "7749", "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", "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": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "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": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "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": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2022-05-16 19:11:19 UTC", "StateChangeTimestampMonotonic": "53258264", "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": "2324", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:40 Monday 16 May 2022 19:11:30 +0000 (0:00:00.501) 0:00:57.001 ************ included: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:11:30 +0000 (0:00:00.024) 0:00:57.025 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:03.856832", "end": "2022-05-16 19:11:34.191356", "rc": 0, "start": "2022-05-16 19:11:30.334524" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:11:35 +0000 (0:00:04.232) 0:01:01.258 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.027757", "end": "2022-05-16 19:11:34.583660", "rc": 0, "start": "2022-05-16 19:11:34.555903" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:43 Monday 16 May 2022 19:11:35 +0000 (0:00:00.382) 0:01:01.640 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:50 Monday 16 May 2022 19:11:35 +0000 (0:00:00.021) 0:01:01.662 ************ included: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:11:35 +0000 (0:00:00.026) 0:01:01.689 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:11:35 +0000 (0:00:00.370) 0:01:02.059 ************ changed: [/cache/fedora-34.qcow2.snap -> localhost] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } TASK [Clean up dummy key file on managed host] ********************************* task path: /tmp/tmp76mse6z5/tests/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:11:36 +0000 (0:00:00.196) 0:01:02.255 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } TASK [Set up test environment] ************************************************* task path: /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:55 Monday 16 May 2022 19:11:36 +0000 (0:00:00.367) 0:01:02.623 ************ included: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:2 Monday 16 May 2022 19:11:36 +0000 (0:00:00.021) 0:01:02.644 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_device": "/tmp/.nbde_client_dev_test", "nbde_client_test_encryption_key_src": "/tmp/.nbde_client_dev_encryption_key", "nbde_client_test_pass": "test-password-here", "nbde_client_test_roles_dir": "/tmp/.nbde_client_dev_roles" }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:5 Monday 16 May 2022 19:11:36 +0000 (0:00:00.016) 0:01:02.661 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmp76mse6z5/tests/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:20 Monday 16 May 2022 19:11:36 +0000 (0:00:00.025) 0:01:02.687 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "all_ipv4_addresses": [ "10.0.2.15" ], "all_ipv6_addresses": [ "fec0::5054:ff:fe12:3456", "fe80::5054:ff:fe12:3456" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "04/01/2014", "bios_vendor": "SeaBIOS", "bios_version": "1.14.0-4.fc34", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "QEMU", "chassis_version": "pc-i440fx-5.2", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": "ttyS0,115200n8", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "date_time": { "date": "2022-05-16", "day": "16", "epoch": "1652728281", "epoch_int": "1652728281", "hour": "19", "iso8601": "2022-05-16T19:11:21Z", "iso8601_basic": "20220516T191121071720", "iso8601_basic_short": "20220516T191121", "iso8601_micro": "2022-05-16T19:11:21.071720Z", "minute": "11", "month": "05", "second": "21", "time": "19:11:21", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Monday", "weekday_number": "1", "weeknumber": "20", "year": "2022" }, "default_ipv4": { "address": "10.0.2.15", "alias": "eth0", "broadcast": "10.0.2.255", "gateway": "10.0.2.2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "netmask": "255.255.255.0", "network": "10.0.2.0", "type": "ether" }, "default_ipv6": { "address": "fec0::5054:ff:fe12:3456", "gateway": "fe80::2", "interface": "eth0", "macaddress": "52:54:00:12:34:56", "mtu": 1500, "prefix": "64", "scope": "site", "type": "ether" }, "device_links": { "ids": { "sr0": [ "ata-QEMU_DVD-ROM_QM00003" ] }, "labels": { "sr0": [ "cidata" ], "vdb1": [ "yumcache" ], "vdc1": [ "yumvarlib" ] }, "masters": {}, "uuids": { "sr0": [ "2022-05-16-19-10-24-00" ], "vda1": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ], "vdb1": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ], "vdc1": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] } }, "devices": { "sr0": { "holders": [], "host": "", "links": { "ids": [ "ata-QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-05-16-19-10-24-00" ] }, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "bfq", "sectors": "728", "sectorsize": "2048", "size": "364.00 KB", "support_discard": "0", "vendor": "QEMU", "virtual": 1 }, "vda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "3291886a-e272-4cc8-b190-c3c841ca7795" ] }, "sectors": "8386560", "sectorsize": 512, "size": "4.00 GB", "start": "2048", "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "8388608", "sectorsize": "512", "size": "4.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdb": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdb1": { "holders": [], "links": { "ids": [], "labels": [ "yumcache" ], "masters": [], "uuids": [ "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "vdc": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "vdc1": { "holders": [], "links": { "ids": [], "labels": [ "yumvarlib" ], "masters": [], "uuids": [ "cd526edd-4ad5-4af5-811f-d59ed8d98791" ] }, "sectors": "2095104", "sectorsize": 512, "size": "1023.00 MB", "start": "2048", "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "2097152", "sectorsize": "512", "size": "1.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python3", "distribution": "Fedora", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "34", "distribution_release": "", "distribution_version": "34", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "." ] }, "domain": "", "effective_group_id": 0, "effective_user_id": 0, "env": { "BASH_FUNC_which%%": "() { ( alias;\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot \"$@\"\n}", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "HOME": "/root", "LANG": "en_US.UTF-8", "LC_CTYPE": "C.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "MOTD_SHOWN": "pam", "PATH": "/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "1", "SSH_CLIENT": "10.0.2.2 41062 22", "SSH_CONNECTION": "10.0.2.2 41062 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_CLASS": "user", "XDG_SESSION_ID": "1", "XDG_SESSION_TYPE": "tty", "_": "/usr/bin/python3", "which_declare": "declare -f" }, "eth0": { "active": true, "device": "eth0", "ipv4": { "address": "10.0.2.15", "broadcast": "10.0.2.255", "netmask": "255.255.255.0", "network": "10.0.2.0" }, "ipv6": [ { "address": "fec0::5054:ff:fe12:3456", "prefix": "64", "scope": "site" }, { "address": "fe80::5054:ff:fe12:3456", "prefix": "64", "scope": "link" } ], "macaddress": "52:54:00:12:34:56", "module": "virtio_net", "mtu": 1500, "pciid": "virtio0", "promisc": false, "speed": -1, "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "fedora", "gather_subset": [ "min" ], "hostname": "fedora", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "5.17.6-100.fc34.x86_64", "kernel_version": "#1 SMP PREEMPT Mon May 9 14:41:31 UTC 2022", "lo": { "active": true, "device": "lo", "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "e91233b164be445ba9cbf9de45efbc14", "memfree_mb": 1631, "memory_mb": { "nocache": { "free": 1772, "used": 199 }, "real": { "free": 1631, "total": 1971, "used": 340 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 1971, "module_setup": true, "mounts": [ { "block_available": 789107, "block_size": 4096, "block_total": 1011384, "block_used": 222277, "device": "/dev/vda1", "fstype": "ext4", "inode_available": 235479, "inode_total": 262144, "inode_used": 26665, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 3232182272, "size_total": 4142628864, "uuid": "3291886a-e272-4cc8-b190-c3c841ca7795" }, { "block_available": 167364, "block_size": 4096, "block_total": 253035, "block_used": 85671, "device": "/dev/vdb1", "fstype": "ext4", "inode_available": 65453, "inode_total": 65536, "inode_used": 83, "mount": "/var/cache/dnf", "options": "rw,seclabel,relatime", "size_available": 685522944, "size_total": 1036431360, "uuid": "87c5ae0f-38f6-4af8-bdc4-2d20ea36bfbf" }, { "block_available": 235532, "block_size": 4096, "block_total": 253035, "block_used": 17503, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 964739072, "size_total": 1036431360, "uuid": "cd526edd-4ad5-4af5-811f-d59ed8d98791" } ], "nodename": "fedora", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.17.6-100.fc34.x86_64", "console": [ "tty1", "ttyS0,115200n8" ], "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=3291886a-e272-4cc8-b190-c3c841ca7795" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "2", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz", "3", "GenuineIntel", "Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz" ], "processor_cores": 1, "processor_count": 4, "processor_nproc": 4, "processor_threads_per_core": 1, "processor_vcpus": 4, "product_name": "Standard PC (i440FX + PIIX, 1996)", "product_serial": "NA", "product_uuid": "NA", "product_version": "pc-i440fx-5.2", "python": { "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 12, "minor": 9, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 9, 12, "final", 0 ] }, "python_version": "3.9.12", "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAPSRkLXxcDMdAGmIx2S6983l4JLs7QeoC+RpmIjhKbn6pnvHfbb/NI/SP2uiu8GI6S8/+sa5aXt8/i7A/KmNEL0+CSmkehrAwGBIjgdg7ftdfgntuizM0hOi665MSoANX3Hhxtubdsd4yUGzADFF1hPjfl4yvoRz0oHlBqY/w2HzAAAAFQCWTdcgqgfeqm/AmK0w1a9T5mCT/wAAAIBrqFXMWHzkzKfFm/XvXFsOTmFPq2AkwaquST86EjTrR0WS1088uftjGOlr5VeoOPiHkG47ZAziLhXKaxViVW2ywdkMPFGf8hb31doQaRVVd6EyFoUxEYGQIjmEP4KltEr1FwS9oQcAeiK3lzj9UcU0d152GMexPE5pcOqHF0DCtgAAAIEAtJXDzoSf1GaekmbgJ1zWO6W1mkn82uRftsi3THkGO/56UAGMHmfwOzZVuftZ0TEy8oDnCXN9KFv88vv6oy14b7FFHefVyoR2PswrhLcZqMQF5gacBWvVhfxpuywxTvzaaRqLsuywubc6ZHm0IRnr8ZbSl9ivaNH2s886O7MWn5w=", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKyrb8W9+iO5guoW4eQ512DI1Tg0oYamt+tzgd1WUG5R+KfH4OxccpAATQ2b5GWh7jJxwUcn5IHPquEZkvptOHo=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIKpxydxGAGEtBSa9Naj9jyiH4En9rEn7PzKI5hP/DnjR", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC3eRlGGURxHBBsYJsvzQZt3TSC79X5S5DRFHDZlJHFgrYJl+XaJFHWZMhvipxkvXROXRdrUI5dqxhcqngj7ry6DTv8nBGAFD/KG2Y0vJUu9XwivxbuIHcdI4nzc6RoTnsa//fVNmpkEibhTO4Xo8sgFU4dwWY8AuMDAxP2qW5H2HccWc2ag8n2bsSLMFW04efGC/bb1sb2bzMlchOVOyWvz6ray81XWsYJ2nZgYHRoKcBaVzwUtW42CJ7W2nCekUsGL3LlB6k1F5FoLiHU6Ml+9/7iBObvR8fppY7V4y49eyMRFvDP7QJQd5G32w0KjwMeXLi4Lyvc29vHP+AmXAg+K863ScWbtpORUPWgvwm7SHl1pedjy5wlIQZAaPiT6kIMPocVUa7xIE5o0gdjNnkVpmMn6thrwTleGjH/IU37zdHj4J6r+FzZ7vnygup6irQizlNHaDVgv1ho4EJkBSWOAphywiulOVUHPaiGxXmmNuL03WNukxW/Z6yIwz40phE=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "QEMU", "uptime_seconds": 7, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_tech_guest": [ "kvm" ], "virtualization_tech_host": [], "virtualization_type": "kvm" } } TASK [Install required packages for nbde_client tests] ************************* task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 Monday 16 May 2022 19:11:36 +0000 (0:00:00.028) 0:01:02.715 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:28 Monday 16 May 2022 19:11:38 +0000 (0:00:01.962) 0:01:04.677 ************ ok: [/cache/fedora-34.qcow2.snap -> localhost] => { "after": "158931d658cf73167b3c883e89def8a1ebdb8d18", "before": "158931d658cf73167b3c883e89def8a1ebdb8d18", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:35 Monday 16 May 2022 19:11:39 +0000 (0:00:00.469) 0:01:05.146 ************ TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:6 Monday 16 May 2022 19:11:39 +0000 (0:00:00.021) 0:01:05.168 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Monday 16 May 2022 19:11:39 +0000 (0:00:00.020) 0:01:05.189 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Monday 16 May 2022 19:11:39 +0000 (0:00:00.496) 0:01:05.685 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:9 Monday 16 May 2022 19:11:39 +0000 (0:00:00.030) 0:01:05.715 ************ included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/fedora-34.qcow2.snap TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Monday 16 May 2022 19:11:39 +0000 (0:00:00.028) 0:01:05.744 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Monday 16 May 2022 19:11:41 +0000 (0:00:01.914) 0:01:07.658 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Monday 16 May 2022 19:11:41 +0000 (0:00:00.031) 0:01:07.690 ************ ok: [/cache/fedora-34.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Monday 16 May 2022 19:11:41 +0000 (0:00:00.370) 0:01:08.060 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional resul