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 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:11:41 +0000 (0:00:00.032) 0:01:08.093 ************ 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:10:42 UTC", "ActiveEnterTimestampMonotonic": "15392234", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-16 19:10:42 UTC", "AssertTimestampMonotonic": "15389902", "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": "6279000", "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:10:42 UTC", "ConditionTimestampMonotonic": "15389900", "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:10:42 UTC", "InactiveExitTimestampMonotonic": "15392234", "InvocationID": "de9228d7adf6437aaec9831730fcbd58", "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": "8", "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:10:42 UTC", "StateChangeTimestampMonotonic": "15392234", "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 [Create device for testing] *********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:39 Monday 16 May 2022 19:11:42 +0000 (0:00:00.570) 0:01:08.663 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.014565", "end": "2022-05-16 19:11:41.987202", "rc": 0, "start": "2022-05-16 19:11:41.972637" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:43 Monday 16 May 2022 19:11:42 +0000 (0:00:00.390) 0:01:09.053 ************ 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.079677", "end": "2022-05-16 19:11:42.440964", "rc": 0, "start": "2022-05-16 19:11:42.361287" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:51 Monday 16 May 2022 19:11:43 +0000 (0:00:00.536) 0:01:09.590 ************ 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.004142", "end": "2022-05-16 19:11:43.633466", "rc": 0, "start": "2022-05-16 19:11:43.629324" } TASK [Create temp file for the advertisement] ********************************** task path: /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:58 Monday 16 May 2022 19:11:43 +0000 (0:00:00.204) 0:01:09.795 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.9t5sjg_5adv", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Make sure temp file was created] ***************************************** task path: /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:63 Monday 16 May 2022 19:11:44 +0000 (0:00:00.353) 0:01:10.148 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Download advertisement] ************************************************** task path: /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:68 Monday 16 May 2022 19:11:44 +0000 (0:00:00.022) 0:01:10.171 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum_dest": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "checksum_src": "d736f03b552abdbd492c9145609a8d5d23ed9974", "dest": "/tmp/ansible.9t5sjg_5adv", "elapsed": 0, "gid": 0, "group": "root", "md5sum": "e85bd3a5c512a77db7b69c54390ae9c9", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 993, "src": "/root/.ansible/tmp/ansible-tmp-1652728304.0846589-307839-243525421322655/tmpvdfze26d", "state": "file", "status_code": 200, "uid": 0, "url": "http://localhost/adv" } MSG: OK (993 bytes) TASK [Add binding to slot 1] *************************************************** task path: /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:74 Monday 16 May 2022 19:11:44 +0000 (0:00:00.646) 0:01:10.817 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": "clevis luks bind -f -d /tmp/.nbde_client_dev_test tang '{\"url\": \"http://localhost\", \"adv\": \"/tmp/ansible.9t5sjg_5adv\"}' <<< test-password-here\n", "delta": "0:00:04.616982", "end": "2022-05-16 19:11:48.732882", "rc": 0, "start": "2022-05-16 19:11:44.115900" } STDERR: Warning: Value 512 is outside of the allowed entropy range, adjusting it. TASK [Remove temp advertisement file] ****************************************** task path: /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:81 Monday 16 May 2022 19:11:49 +0000 (0:00:04.974) 0:01:15.791 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.9t5sjg_5adv", "state": "absent" } TASK [Add binding to slot 2 without providing encryption_password] ************* task path: /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:86 Monday 16 May 2022 19:11:50 +0000 (0:00:00.354) 0:01:16.146 ************ 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:50 +0000 (0:00:00.023) 0:01:16.169 ************ 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:50 +0000 (0:00:00.018) 0:01:16.187 ************ 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:50 +0000 (0:00:00.505) 0:01:16.693 ************ 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:50 +0000 (0:00:00.029) 0:01:16.722 ************ 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:50 +0000 (0:00:00.027) 0:01:16.750 ************ 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:52 +0000 (0:00:01.896) 0:01:18.647 ************ 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: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:53 +0000 (0:00:00.490) 0:01:19.137 ************ 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:53 +0000 (0:00:00.625) 0:01:19.762 ************ 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:54 +0000 (0:00:00.534) 0:01:20.297 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.h0qq41yanbde_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:54 +0000 (0:00:00.376) 0:01:20.673 ************ 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:54 +0000 (0:00:00.043) 0:01:20.717 ************ 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:12:07 +0000 (0:00:12.569) 0:01:33.286 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.h0qq41yanbde_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:12:07 +0000 (0:00:00.377) 0:01:33.664 ************ 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:12:08 +0000 (0:00:00.607) 0:01:34.272 ************ 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:12:08 +0000 (0:00:00.612) 0:01:34.885 ************ 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:12:09 +0000 (0:00:01.109) 0:01:35.994 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.030644", "end": "2022-05-16 19:12:09.314657", "rc": 0, "start": "2022-05-16 19:12:09.284013" } 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:12:10 +0000 (0:00:00.381) 0:01:36.376 ************ 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:12:10 +0000 (0:00:00.633) 0:01:37.009 ************ 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 system.slice sysinit.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:96 Monday 16 May 2022 19:12:11 +0000 (0:00:00.528) 0:01:37.538 ************ 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:12:11 +0000 (0:00:00.026) 0:01:37.564 ************ 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:12:11 +0000 (0:00:00.020) 0:01:37.585 ************ 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:12:11 +0000 (0:00:00.483) 0:01:38.068 ************ 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:12:11 +0000 (0:00:00.029) 0:01:38.097 ************ 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:12:11 +0000 (0:00:00.025) 0:01:38.123 ************ 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:12:13 +0000 (0:00:01.927) 0:01:40.051 ************ 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: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:12:14 +0000 (0:00:00.494) 0:01:40.546 ************ 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:12:15 +0000 (0:00:00.609) 0:01:41.155 ************ 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:12:15 +0000 (0:00:00.561) 0:01:41.716 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.lick6igynbde_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:12:15 +0000 (0:00:00.382) 0:01:42.099 ************ 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:12:16 +0000 (0:00:00.042) 0:01:42.141 ************ 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:12:16 +0000 (0:00:00.578) 0:01:42.719 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.lick6igynbde_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:12:16 +0000 (0:00:00.364) 0:01:43.084 ************ 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:12:17 +0000 (0:00:00.606) 0:01:43.691 ************ 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:12:18 +0000 (0:00:00.632) 0:01:44.324 ************ 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:12:19 +0000 (0:00:01.140) 0:01:45.464 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.032134", "end": "2022-05-16 19:12:18.798002", "rc": 0, "start": "2022-05-16 19:12:18.765868" } 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:12:19 +0000 (0:00:00.397) 0:01:45.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:12:20 +0000 (0:00:00.645) 0:01:46.507 ************ 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": "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:105 Monday 16 May 2022 19:12:20 +0000 (0:00:00.513) 0:01:47.021 ************ 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:12:20 +0000 (0:00:00.024) 0:01:47.045 ************ 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.829230", "end": "2022-05-16 19:12:24.166181", "rc": 0, "start": "2022-05-16 19:12:20.336951" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:12:25 +0000 (0:00:04.184) 0:01:51.230 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.026831", "end": "2022-05-16 19:12:24.546655", "rc": 0, "start": "2022-05-16 19:12:24.519824" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:108 Monday 16 May 2022 19:12:25 +0000 (0:00:00.376) 0:01:51.606 ************ 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:115 Monday 16 May 2022 19:12:25 +0000 (0:00:00.019) 0:01:51.626 ************ 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:12:25 +0000 (0:00:00.021) 0:01:51.647 ************ 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:12:25 +0000 (0:00:00.376) 0:01:52.024 ************ 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:12:26 +0000 (0:00:00.202) 0:01:52.227 ************ 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:12:26 +0000 (0:00:00.357) 0:01:52.584 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.001877", "end": "2022-05-16 19:12:46.891624", "rc": 0, "start": "2022-05-16 19:12:25.889747" } 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 *** 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:12:47 +0000 (0:00:21.370) 0:02:13.954 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:19.891072", "end": "2022-05-16 19:13:07.168339", "rc": 0, "start": "2022-05-16 19:12:47.277267" } 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 *** 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:13:08 +0000 (0:00:20.278) 0:02:34.233 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:19.633034", "end": "2022-05-16 19:13:27.177447", "rc": 0, "start": "2022-05-16 19:13:07.544413" } 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=141 changed=40 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 Monday 16 May 2022 19:13:28 +0000 (0:00:20.021) 0:02:54.255 ************ =============================================================================== linux-system-roles.nbde_client : nbde_client update initramfs ---------- 21.37s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 linux-system-roles.nbde_client : nbde_client update initramfs ---------- 20.28s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 linux-system-roles.nbde_client : nbde_client update initramfs ---------- 20.02s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 linux-system-roles.nbde_client : Perform clevis operations ------------- 12.84s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 linux-system-roles.nbde_client : Perform clevis operations ------------- 12.57s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 linux-system-roles.nbde_client : Perform clevis operations -------------- 5.50s /tmp/tmp76mse6z5/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Add binding to slot 1 --------------------------------------------------- 4.97s /tmp/tmp76mse6z5/tests/tests_use_existing_binding.yml:74 ---------------------- Verify we can unlock the device ----------------------------------------- 4.23s /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 ----------------------- Verify we can unlock the device ----------------------------------------- 4.18s /tmp/tmp76mse6z5/tests/tasks/verify_unlock_device.yml:2 ----------------------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 2.99s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Install required packages for nbde_client tests ------------------------- 2.33s /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 -------------------------------- Install required packages for nbde_client tests ------------------------- 1.96s /tmp/tmp76mse6z5/tests/tasks/setup_test.yml:24 -------------------------------- linux-system-roles.nbde_client : Ensure required packages are installed --- 1.95s /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 : Ensure required packages are installed --- 1.92s /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.91s /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.90s /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.88s /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.22s /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 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/tmpp7rdeg_u/tests/nbde_client/tests_bind_high_availability.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_bind_high_availability.yml:2 Monday 16 May 2022 19:13:38 +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/tmpp7rdeg_u/tests/nbde_client/tests_bind_high_availability.yml:13 Monday 16 May 2022 19:13:39 +0000 (0:00:01.099) 0:00:01.108 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:2 Monday 16 May 2022 19:13:40 +0000 (0:00:00.024) 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/tmpp7rdeg_u/tests/nbde_client/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:5 Monday 16 May 2022 19:13:40 +0000 (0:00:00.017) 0:00:01.150 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmpp7rdeg_u/tests/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:18 Monday 16 May 2022 19:13:40 +0000 (0:00:00.026) 0:00:01.177 ************ 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": "1652728418", "epoch_int": "1652728418", "hour": "19", "iso8601": "2022-05-16T19:13:38Z", "iso8601_basic": "20220516T191338779473", "iso8601_basic_short": "20220516T191338", "iso8601_micro": "2022-05-16T19:13:38.779473Z", "minute": "13", "month": "05", "second": "38", "time": "19:13:38", "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-13-29-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-13-29-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 51114 22", "SSH_CONNECTION": "10.0.2.2 51114 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": 1635, "memory_mb": { "nocache": { "free": 1776, "used": 195 }, "real": { "free": 1635, "total": 1971, "used": 336 }, "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": 235519, "block_size": 4096, "block_total": 253035, "block_used": 17516, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 964685824, "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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 Monday 16 May 2022 19:13:40 +0000 (0:00:00.031) 0:00:01.208 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:26 Monday 16 May 2022 19:13:42 +0000 (0:00:02.657) 0:00:03.866 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:33 Monday 16 May 2022 19:13:43 +0000 (0:00:00.553) 0:00:04.420 ************ 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:13:43 +0000 (0:00:00.027) 0:00:04.447 ************ 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:13:43 +0000 (0:00:00.021) 0:00:04.468 ************ 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:13:43 +0000 (0:00:00.515) 0:00:04.984 ************ 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:13:43 +0000 (0:00:00.027) 0:00:05.012 ************ 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:13:43 +0000 (0:00:00.024) 0:00:05.036 ************ 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:13:47 +0000 (0:00:03.248) 0:00:08.285 ************ 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:13:47 +0000 (0:00:00.027) 0:00:08.312 ************ 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:13:47 +0000 (0:00:00.525) 0:00:08.837 ************ 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:13:47 +0000 (0:00:00.036) 0:00:08.874 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:37 Monday 16 May 2022 19:13:48 +0000 (0:00:00.971) 0:00:09.846 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.014581", "end": "2022-05-16 19:13:48.286798", "rc": 0, "start": "2022-05-16 19:13:48.272217" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:41 Monday 16 May 2022 19:13:49 +0000 (0:00:00.476) 0:00:10.322 ************ 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.092534", "end": "2022-05-16 19:13:48.745878", "rc": 0, "start": "2022-05-16 19:13:48.653344" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:49 Monday 16 May 2022 19:13:49 +0000 (0:00:00.457) 0:00:10.779 ************ 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.004587", "end": "2022-05-16 19:13:49.835367", "rc": 0, "start": "2022-05-16 19:13:49.830780" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_bind_high_availability.yml:18 Monday 16 May 2022 19:13:49 +0000 (0:00:00.198) 0:00:10.978 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:13:49 +0000 (0:00:00.027) 0:00:11.006 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:13:49 +0000 (0:00:00.022) 0:00:11.028 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:13:50 +0000 (0:00:00.521) 0:00:11.550 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:13:50 +0000 (0:00:00.028) 0:00:11.579 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:13:50 +0000 (0:00:00.032) 0:00:11.612 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:13:52 +0000 (0:00:02.008) 0:00:13.620 ************ 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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:13:53 +0000 (0:00:00.676) 0:00:14.296 ************ 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-1652728433.2276309-308915-211985187592269/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:13:54 +0000 (0:00:00.921) 0:00:15.218 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:13:54 +0000 (0:00:00.737) 0:00:15.955 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.1ox8xlnjnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:13:55 +0000 (0:00:00.512) 0:00:16.468 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:13:55 +0000 (0:00:00.041) 0:00:16.510 ************ NOTIFIED HANDLER fedora.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 [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:13:59 +0000 (0:00:04.356) 0:00:20.867 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.1ox8xlnjnbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:14:00 +0000 (0:00:00.519) 0:00:21.386 ************ 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-1652728440.3225667-309009-150783987128621/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:14:00 +0000 (0:00:00.693) 0:00:22.079 ************ 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-1652728441.0124912-309037-139083459607695/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:14:01 +0000 (0:00:00.674) 0:00:22.754 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:14:02 +0000 (0:00:01.242) 0:00:23.996 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.039859", "end": "2022-05-16 19:14:02.364186", "rc": 0, "start": "2022-05-16 19:14:02.324327" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:14:03 +0000 (0:00:00.408) 0:00:24.404 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:14:03 +0000 (0:00:00.639) 0:00:25.044 ************ 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 systemd-journald.socket 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/tmpp7rdeg_u/tests/nbde_client/tests_bind_high_availability.yml:22 Monday 16 May 2022 19:14:04 +0000 (0:00:00.688) 0:00:25.733 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:14:04 +0000 (0:00:00.019) 0:00:25.752 ************ 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.260283", "end": "2022-05-16 19:14:08.339892", "rc": 0, "start": "2022-05-16 19:14:04.079609" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:14:09 +0000 (0:00:04.624) 0:00:30.377 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.033308", "end": "2022-05-16 19:14:08.725235", "rc": 0, "start": "2022-05-16 19:14:08.691927" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_bind_high_availability.yml:25 Monday 16 May 2022 19:14:09 +0000 (0:00:00.387) 0:00:30.764 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_bind_high_availability.yml:31 Monday 16 May 2022 19:14:09 +0000 (0:00:00.025) 0:00:30.790 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:14:09 +0000 (0:00:00.019) 0:00:30.810 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:14:09 +0000 (0:00:00.019) 0:00:30.829 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:14:09 +0000 (0:00:00.020) 0:00:30.850 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:14:10 +0000 (0:00:00.531) 0:00:31.381 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:14:10 +0000 (0:00:00.029) 0:00:31.411 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:14:10 +0000 (0:00:00.031) 0:00:31.443 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:14:12 +0000 (0:00:02.212) 0:00:33.655 ************ 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:14:02 UTC", "StateChangeTimestampMonotonic": "31321652", "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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:14:13 +0000 (0:00:00.493) 0:00:34.149 ************ 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 [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:14:13 +0000 (0:00:00.629) 0:00:34.779 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:14:16 +0000 (0:00:02.478) 0:00:37.257 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:14:16 +0000 (0:00:00.023) 0:00:37.281 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:14:16 +0000 (0:00:00.035) 0:00:37.316 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:14:16 +0000 (0:00:00.020) 0:00:37.337 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:14:16 +0000 (0:00:00.019) 0:00:37.356 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:14:16 +0000 (0:00:00.595) 0:00:37.951 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:14:17 +0000 (0:00:00.648) 0:00:38.599 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:14:18 +0000 (0:00:01.135) 0:00:39.735 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.035180", "end": "2022-05-16 19:14:18.084844", "rc": 0, "start": "2022-05-16 19:14:18.049664" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:14:19 +0000 (0:00:00.390) 0:00:40.126 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:14:19 +0000 (0:00:00.653) 0:00:40.779 ************ 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 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": "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:14:18 UTC", "StateChangeTimestampMonotonic": "47065619", "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/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:14:20 +0000 (0:00:00.519) 0:00:41.298 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_bind_high_availability.yml:35 Monday 16 May 2022 19:14:20 +0000 (0:00:00.023) 0:00:41.322 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:14:20 +0000 (0:00:00.021) 0:00:41.344 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:14:20 +0000 (0:00:00.369) 0:00:41.713 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:14:20 +0000 (0:00:00.197) 0:00:41.910 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [fedora.linux_system_roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:14:21 +0000 (0:00:00.368) 0:00:42.278 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.517858", "end": "2022-05-16 19:14:42.152671", "rc": 0, "start": "2022-05-16 19:14:20.634813" } 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:14:43 +0000 (0:00:21.925) 0:01:04.204 ************ =============================================================================== fedora.linux_system_roles.nbde_client : nbde_client update initramfs --- 21.93s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Verify we can unlock the device ----------------------------------------- 4.62s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 ----------- fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 4.36s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 3.25s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Install required packages for nbde_client tests ------------------------- 2.66s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 -------------------- fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 2.48s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.21s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.01s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.24s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.14s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmpp7rdeg_u/tests/nbde_client/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.97s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.92s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 0.74s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Deploy network flushing script --- 0.69s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 fedora.linux_system_roles.nbde_client : Enable network flushing service --- 0.69s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 fedora.linux_system_roles.nbde_client : Enable clevis askpass unit ------ 0.68s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 fedora.linux_system_roles.nbde_client : Deploy network flushing service --- 0.67s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 fedora.linux_system_roles.nbde_client : Reload systemd config ----------- 0.65s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 fedora.linux_system_roles.nbde_client : Deploy network flushing service --- 0.65s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/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_default.yml **************************************************** 1 plays in /tmp/tmpp7rdeg_u/tests/nbde_client/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:14:54 +0000 (0:00:00.014) 0:00:00.014 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:14:54 +0000 (0:00:00.017) 0:00:00.031 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:14:54 +0000 (0:00:00.840) 0:00:00.872 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:14:54 +0000 (0:00:00.029) 0:00:00.902 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:14:55 +0000 (0:00:00.030) 0:00:00.933 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:14:57 +0000 (0:00:02.665) 0:00:03.599 ************ 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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:14:58 +0000 (0:00:00.902) 0:00:04.502 ************ 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-1652728498.6240015-309646-196225714672807/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:14:59 +0000 (0:00:00.927) 0:00:05.430 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:14:59 +0000 (0:00:00.027) 0:00:05.457 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:14:59 +0000 (0:00:00.021) 0:00:05.479 ************ TASK [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:14:59 +0000 (0:00:00.013) 0:00:05.493 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:14:59 +0000 (0:00:00.019) 0:00:05.513 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:14:59 +0000 (0:00:00.019) 0:00:05.533 ************ 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-1652728499.6571279-309684-118653752343615/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:15:00 +0000 (0:00:00.661) 0:00:06.195 ************ 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-1652728500.317037-309712-213873919014921/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:15:00 +0000 (0:00:00.667) 0:00:06.862 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:15:02 +0000 (0:00:01.277) 0:00:08.140 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.037989", "end": "2022-05-16 19:15:01.899598", "rc": 0, "start": "2022-05-16 19:15:01.861609" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:15:02 +0000 (0:00:00.516) 0:00:08.656 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:15:03 +0000 (0:00:00.641) 0:00:09.298 ************ 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 systemd-journald.socket sysinit.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": "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:15:04 +0000 (0:00:00.667) 0:00:09.965 ************ =============================================================================== fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.67s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.28s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.93s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 fedora.linux_system_roles.nbde_client : Enable clevis askpass unit ------ 0.90s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role --- 0.84s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 fedora.linux_system_roles.nbde_client : Deploy network flushing service --- 0.67s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 fedora.linux_system_roles.nbde_client : Enable network flushing service --- 0.67s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 fedora.linux_system_roles.nbde_client : Deploy network flushing script --- 0.66s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 fedora.linux_system_roles.nbde_client : Reload systemd config ----------- 0.64s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority --- 0.52s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks --- 0.03s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 fedora.linux_system_roles.nbde_client : Set platform/version specific variables --- 0.03s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 0.03s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files --- 0.02s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files --- 0.02s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 0.02s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 fedora.linux_system_roles.nbde_client : Set version specific variables --- 0.02s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 fedora.linux_system_roles.nbde_client : Ensure we transfer key files ---- 0.01s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/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/tmpp7rdeg_u/tests/nbde_client/tests_default_vars.yml PLAY [Ensure that the role declares all parameters in defaults] **************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_default_vars.yml:2 Monday 16 May 2022 19:15:14 +0000 (0:00:00.008) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:15:15 +0000 (0:00:01.098) 0:00:01.107 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:15:15 +0000 (0:00:00.021) 0:00:01.129 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:15:16 +0000 (0:00:00.497) 0:00:01.627 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:15:16 +0000 (0:00:00.028) 0:00:01.656 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:15:16 +0000 (0:00:00.035) 0:00:01.691 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:15:19 +0000 (0:00:02.667) 0:00:04.358 ************ 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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:15:20 +0000 (0:00:00.929) 0:00:05.288 ************ 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-1652728520.1315887-310005-135452272631754/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:15:21 +0000 (0:00:00.926) 0:00:06.215 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:15:21 +0000 (0:00:00.030) 0:00:06.246 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:15:21 +0000 (0:00:00.023) 0:00:06.269 ************ TASK [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:15:21 +0000 (0:00:00.013) 0:00:06.283 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:15:21 +0000 (0:00:00.019) 0:00:06.303 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:15:21 +0000 (0:00:00.022) 0:00:06.326 ************ 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-1652728521.172187-310043-31870379104259/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:15:21 +0000 (0:00:00.685) 0:00:07.012 ************ 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-1652728521.8602622-310071-14768779074204/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:15:22 +0000 (0:00:00.683) 0:00:07.695 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:15:23 +0000 (0:00:01.264) 0:00:08.960 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.034246", "end": "2022-05-16 19:15:23.470742", "rc": 0, "start": "2022-05-16 19:15:23.436496" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:15:24 +0000 (0:00:00.540) 0:00:09.501 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:15:24 +0000 (0:00:00.633) 0:00:10.135 ************ 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 [Assert that the role declares all parameters in defaults] **************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_default_vars.yml:9 Monday 16 May 2022 19:15:25 +0000 (0:00:00.659) 0:00:10.794 ************ 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:15:25 +0000 (0:00:00.037) 0:00:10.832 ************ =============================================================================== fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.67s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.26s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmpp7rdeg_u/tests/nbde_client/tests_default_vars.yml:2 ------------------- fedora.linux_system_roles.nbde_client : Enable clevis askpass unit ------ 0.93s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.93s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 fedora.linux_system_roles.nbde_client : Deploy network flushing script --- 0.69s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 fedora.linux_system_roles.nbde_client : Deploy network flushing service --- 0.68s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 fedora.linux_system_roles.nbde_client : Enable network flushing service --- 0.66s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 fedora.linux_system_roles.nbde_client : Reload systemd config ----------- 0.63s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority --- 0.54s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role --- 0.50s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Assert that the role declares all parameters in defaults ---------------- 0.04s /tmp/tmpp7rdeg_u/tests/nbde_client/tests_default_vars.yml:9 ------------------- fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks --- 0.04s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 0.03s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Set platform/version specific variables --- 0.03s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files --- 0.02s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files --- 0.02s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 fedora.linux_system_roles.nbde_client : Set version specific variables --- 0.02s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 0.02s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 fedora.linux_system_roles.nbde_client : Ensure we transfer key files ---- 0.01s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/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/tmpp7rdeg_u/tests/nbde_client/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_include_vars_from_parent.yml:1 Monday 16 May 2022 19:15:37 +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/tmpp7rdeg_u/tests/nbde_client/tests_include_vars_from_parent.yml:3 Monday 16 May 2022 19:15:38 +0000 (0:00:01.120) 0:00:01.129 ************ changed: [/cache/fedora-34.qcow2.snap -> localhost] => (item=Fedora-34) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpp7rdeg_u/tests/nbde_client/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-1652728538.5862236-310305-113245594335413/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/tmpp7rdeg_u/tests/nbde_client/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-1652728539.1918821-310305-44231765672354/source", "state": "file", "uid": 0 } changed: [/cache/fedora-34.qcow2.snap -> localhost] => (item=Fedora) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpp7rdeg_u/tests/nbde_client/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-1652728539.5382817-310305-214215760182103/source", "state": "file", "uid": 0 } changed: [/cache/fedora-34.qcow2.snap -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpp7rdeg_u/tests/nbde_client/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-1652728539.8870196-310305-130015116657252/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/roles/caller/tasks/main.yml:4 Monday 16 May 2022 19:15:40 +0000 (0:00:01.675) 0:00:02.804 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:15:40 +0000 (0:00:00.027) 0:00:02.832 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:15:40 +0000 (0:00:00.021) 0:00:02.853 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:15:40 +0000 (0:00:00.501) 0:00:03.354 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:15:40 +0000 (0:00:00.028) 0:00:03.382 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:15:40 +0000 (0:00:00.035) 0:00:03.417 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:15:43 +0000 (0:00:02.445) 0:00:05.863 ************ 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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:15:44 +0000 (0:00:00.938) 0:00:06.802 ************ 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-1652728544.2748353-310443-120453578082757/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:15:44 +0000 (0:00:00.660) 0:00:07.462 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:15:44 +0000 (0:00:00.017) 0:00:07.480 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:15:44 +0000 (0:00:00.020) 0:00:07.500 ************ TASK [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:15:44 +0000 (0:00:00.013) 0:00:07.513 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:15:44 +0000 (0:00:00.018) 0:00:07.532 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:15:44 +0000 (0:00:00.018) 0:00:07.551 ************ 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-1652728545.0186348-310481-9249083717528/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:15:45 +0000 (0:00:00.647) 0:00:08.198 ************ 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-1652728545.6719754-310509-240464068917687/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:15:46 +0000 (0:00:00.680) 0:00:08.878 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:15:47 +0000 (0:00:01.225) 0:00:10.104 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.034001", "end": "2022-05-16 19:15:47.576618", "rc": 0, "start": "2022-05-16 19:15:47.542617" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:15:48 +0000 (0:00:00.522) 0:00:10.627 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:15:48 +0000 (0:00:00.659) 0:00:11.286 ************ 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": "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 [caller : assert] ********************************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/roles/caller/tasks/main.yml:7 Monday 16 May 2022 19:15:49 +0000 (0:00:00.666) 0:00:11.952 ************ 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:15:49 +0000 (0:00:00.029) 0:00:11.982 ************ =============================================================================== fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.45s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 create var file in caller that can override the one in called role ------ 1.68s /tmp/tmpp7rdeg_u/tests/nbde_client/tests_include_vars_from_parent.yml:3 ------- fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.23s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.12s /tmp/tmpp7rdeg_u/tests/nbde_client/tests_include_vars_from_parent.yml:1 ------- fedora.linux_system_roles.nbde_client : Enable clevis askpass unit ------ 0.94s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 fedora.linux_system_roles.nbde_client : Deploy network flushing service --- 0.68s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 fedora.linux_system_roles.nbde_client : Enable network flushing service --- 0.67s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.66s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 fedora.linux_system_roles.nbde_client : Reload systemd config ----------- 0.66s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 fedora.linux_system_roles.nbde_client : Deploy network flushing script --- 0.65s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority --- 0.52s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role --- 0.50s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks --- 0.04s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 caller : assert --------------------------------------------------------- 0.03s /tmp/tmpp7rdeg_u/tests/nbde_client/roles/caller/tasks/main.yml:7 -------------- fedora.linux_system_roles.nbde_client : Set platform/version specific variables --- 0.03s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 include_role : {{ roletoinclude }} -------------------------------------- 0.03s /tmp/tmpp7rdeg_u/tests/nbde_client/roles/caller/tasks/main.yml:4 -------------- fedora.linux_system_roles.nbde_client : Set version specific variables --- 0.02s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files --- 0.02s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 0.02s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files --- 0.02s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 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/tmpp7rdeg_u/tests/nbde_client/tests_key_rotation.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_key_rotation.yml:2 Monday 16 May 2022 19:15:59 +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/tmpp7rdeg_u/tests/nbde_client/tests_key_rotation.yml:12 Monday 16 May 2022 19:16:00 +0000 (0:00:01.119) 0:00:01.128 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:2 Monday 16 May 2022 19:16:00 +0000 (0:00:00.023) 0:00:01.152 ************ 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/tmpp7rdeg_u/tests/nbde_client/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:5 Monday 16 May 2022 19:16:00 +0000 (0:00:00.019) 0:00:01.172 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmpp7rdeg_u/tests/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:18 Monday 16 May 2022 19:16:00 +0000 (0:00:00.026) 0:00:01.199 ************ 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": "1652728559", "epoch_int": "1652728559", "hour": "19", "iso8601": "2022-05-16T19:15:59Z", "iso8601_basic": "20220516T191559784694", "iso8601_basic_short": "20220516T191559", "iso8601_micro": "2022-05-16T19:15:59.784694Z", "minute": "15", "month": "05", "second": "59", "time": "19:15:59", "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-15-50-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-15-50-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 33928 22", "SSH_CONNECTION": "10.0.2.2 33928 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": 1764, "used": 207 }, "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": 789138, "block_size": 4096, "block_total": 1011384, "block_used": 222246, "device": "/dev/vda1", "fstype": "ext4", "inode_available": 235498, "inode_total": 262144, "inode_used": 26646, "mount": "/", "options": "rw,seclabel,relatime", "size_available": 3232309248, "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": 235506, "block_size": 4096, "block_total": 253035, "block_used": 17529, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 964632576, "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": 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 Monday 16 May 2022 19:16:00 +0000 (0:00:00.057) 0:00:01.256 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:26 Monday 16 May 2022 19:16:03 +0000 (0:00:02.600) 0:00:03.856 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:33 Monday 16 May 2022 19:16:03 +0000 (0:00:00.548) 0:00:04.405 ************ 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:16:03 +0000 (0:00:00.027) 0:00:04.432 ************ 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:16:03 +0000 (0:00:00.021) 0:00:04.454 ************ 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:16:04 +0000 (0:00:00.504) 0:00:04.959 ************ 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:16:04 +0000 (0:00:00.027) 0:00:04.987 ************ 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:16:04 +0000 (0:00:00.023) 0:00:05.011 ************ 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:16:07 +0000 (0:00:03.112) 0:00:08.123 ************ 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:16:07 +0000 (0:00:00.030) 0:00:08.154 ************ 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:16:07 +0000 (0:00:00.506) 0:00:08.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 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:16:07 +0000 (0:00:00.037) 0:00:08.698 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:37 Monday 16 May 2022 19:16:08 +0000 (0:00:00.991) 0:00:09.690 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.015295", "end": "2022-05-16 19:16:09.140880", "rc": 0, "start": "2022-05-16 19:16:09.125585" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:41 Monday 16 May 2022 19:16:09 +0000 (0:00:00.500) 0:00:10.190 ************ 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.121989", "end": "2022-05-16 19:16:09.625340", "rc": 0, "start": "2022-05-16 19:16:09.503351" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:49 Monday 16 May 2022 19:16:09 +0000 (0:00:00.490) 0:00:10.681 ************ 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.004567", "end": "2022-05-16 19:16:10.025682", "rc": 0, "start": "2022-05-16 19:16:10.021115" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_key_rotation.yml:17 Monday 16 May 2022 19:16:10 +0000 (0:00:00.200) 0:00:10.882 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:16:10 +0000 (0:00:00.027) 0:00:10.910 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:16:10 +0000 (0:00:00.022) 0:00:10.932 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:16:10 +0000 (0:00:00.529) 0:00:11.462 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:16:10 +0000 (0:00:00.030) 0:00:11.492 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:16:10 +0000 (0:00:00.035) 0:00:11.527 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:16:12 +0000 (0:00:02.286) 0:00:13.814 ************ 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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:16:13 +0000 (0:00:00.690) 0:00:14.505 ************ 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-1652728573.726759-310949-121125218482242/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:16:14 +0000 (0:00:00.939) 0:00:15.445 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:16:15 +0000 (0:00:00.701) 0:00:16.146 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.6imrhpbdnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:16:15 +0000 (0:00:00.505) 0:00:16.651 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:16:15 +0000 (0:00:00.040) 0:00:16.692 ************ NOTIFIED HANDLER fedora.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 [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:16:23 +0000 (0:00:07.872) 0:00:24.564 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.6imrhpbdnbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:16:24 +0000 (0:00:00.542) 0:00:25.106 ************ 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-1652728584.3277795-311043-232325103934099/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:16:24 +0000 (0:00:00.705) 0:00:25.812 ************ 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-1652728585.0335734-311071-86354361035173/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:16:25 +0000 (0:00:00.690) 0:00:26.502 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:16:26 +0000 (0:00:01.223) 0:00:27.726 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.057916", "end": "2022-05-16 19:16:27.079743", "rc": 0, "start": "2022-05-16 19:16:27.021827" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:16:27 +0000 (0:00:00.409) 0:00:28.135 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:16:27 +0000 (0:00:00.660) 0:00:28.796 ************ 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": "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/tmpp7rdeg_u/tests/nbde_client/tests_key_rotation.yml:21 Monday 16 May 2022 19:16:28 +0000 (0:00:00.676) 0:00:29.472 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:16:28 +0000 (0:00:00.021) 0:00:29.494 ************ 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.060224", "end": "2022-05-16 19:16:32.864353", "rc": 0, "start": "2022-05-16 19:16:28.804129" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:16:33 +0000 (0:00:04.424) 0:00:33.919 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.030294", "end": "2022-05-16 19:16:33.250027", "rc": 0, "start": "2022-05-16 19:16:33.219733" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_key_rotation.yml:24 Monday 16 May 2022 19:16:33 +0000 (0:00:00.379) 0:00:34.298 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_key_rotation.yml:30 Monday 16 May 2022 19:16:33 +0000 (0:00:00.019) 0:00:34.317 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:16:33 +0000 (0:00:00.021) 0:00:34.339 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:16:33 +0000 (0:00:00.020) 0:00:34.359 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:16:33 +0000 (0:00:00.019) 0:00:34.378 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:16:34 +0000 (0:00:00.514) 0:00:34.893 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:16:34 +0000 (0:00:00.029) 0:00:34.923 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:16:34 +0000 (0:00:00.032) 0:00:34.956 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:16:36 +0000 (0:00:02.093) 0:00:37.049 ************ 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:16:27 UTC", "StateChangeTimestampMonotonic": "34068944", "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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:16:36 +0000 (0:00:00.506) 0:00:37.555 ************ 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 [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:16:37 +0000 (0:00:00.634) 0:00:38.190 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:16:40 +0000 (0:00:02.653) 0:00:40.844 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:16:40 +0000 (0:00:00.022) 0:00:40.867 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:16:40 +0000 (0:00:00.037) 0:00:40.904 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:16:40 +0000 (0:00:00.021) 0:00:40.926 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:16:40 +0000 (0:00:00.023) 0:00:40.949 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:16:40 +0000 (0:00:00.640) 0:00:41.590 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:16:41 +0000 (0:00:00.641) 0:00:42.231 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:16:42 +0000 (0:00:01.120) 0:00:43.352 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.029897", "end": "2022-05-16 19:16:42.682833", "rc": 0, "start": "2022-05-16 19:16:42.652936" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:16:42 +0000 (0:00:00.385) 0:00:43.737 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:16:43 +0000 (0:00:00.637) 0:00:44.375 ************ 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": "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:16:43 UTC", "StateChangeTimestampMonotonic": "49665064", "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/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:16:44 +0000 (0:00:00.510) 0:00:44.885 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Rotate keys] ************************************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_key_rotation.yml:33 Monday 16 May 2022 19:16:44 +0000 (0:00:00.020) 0:00:44.906 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/rotate_keys.yml for /cache/fedora-34.qcow2.snap TASK [Rotate NBDE keys for testing] ******************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/rotate_keys.yml:2 Monday 16 May 2022 19:16:44 +0000 (0:00:00.019) 0:00:44.925 ************ 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:16:44 +0000 (0:00:00.020) 0:00:44.946 ************ 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:16:44 +0000 (0:00:00.017) 0:00:44.963 ************ 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:16:44 +0000 (0:00:00.488) 0:00:45.451 ************ 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:16:44 +0000 (0:00:00.028) 0:00:45.480 ************ 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:16:44 +0000 (0:00:00.024) 0:00:45.505 ************ 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:16:46 +0000 (0:00:01.994) 0:00:47.499 ************ 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:16:47 +0000 (0:00:00.403) 0:00:47.903 ************ 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:16:47 +0000 (0:00:00.038) 0:00:47.941 ************ 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:16:47 +0000 (0:00:00.034) 0:00:47.976 ************ 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:16:08 UTC", "ActiveEnterTimestampMonotonic": "14988431", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-16 19:16:08 UTC", "AssertTimestampMonotonic": "14986045", "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": "5135000", "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:16:08 UTC", "ConditionTimestampMonotonic": "14986043", "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:16:08 UTC", "InactiveExitTimestampMonotonic": "14988431", "InvocationID": "791a4c694690443b94940bb8e5b2aee1", "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": "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]", "StateChangeTimestamp": "Mon 2022-05-16 19:16:08 UTC", "StateChangeTimestampMonotonic": "14988431", "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/tmpp7rdeg_u/tests/nbde_client/tests_key_rotation.yml:36 Monday 16 May 2022 19:16:47 +0000 (0:00:00.519) 0:00:48.496 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:16:47 +0000 (0:00:00.026) 0:00:48.523 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:16:47 +0000 (0:00:00.020) 0:00:48.543 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:16:48 +0000 (0:00:00.495) 0:00:49.038 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:16:48 +0000 (0:00:00.029) 0:00:49.068 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:16:48 +0000 (0:00:00.032) 0:00:49.100 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:16:50 +0000 (0:00:02.038) 0:00:51.139 ************ 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:16:27 UTC", "StateChangeTimestampMonotonic": "34068944", "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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:16:50 +0000 (0:00:00.526) 0:00:51.666 ************ 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 [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:16:51 +0000 (0:00:00.620) 0:00:52.286 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:16:53 +0000 (0:00:02.418) 0:00:54.704 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.79fnueetnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:16:54 +0000 (0:00:00.379) 0:00:55.083 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:16:54 +0000 (0:00:00.042) 0:00:55.126 ************ 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 [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:17:05 +0000 (0:00:11.454) 0:01:06.580 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.79fnueetnbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:17:06 +0000 (0:00:00.397) 0:01:06.978 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:17:06 +0000 (0:00:00.638) 0:01:07.617 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:17:07 +0000 (0:00:00.639) 0:01:08.256 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:17:08 +0000 (0:00:01.135) 0:01:09.391 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.034940", "end": "2022-05-16 19:17:08.741212", "rc": 0, "start": "2022-05-16 19:17:08.706272" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:17:08 +0000 (0:00:00.405) 0:01:09.797 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:17:09 +0000 (0:00:00.638) 0:01:10.436 ************ 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 system.slice basic.target systemd-journald.socket", "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": "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:16:43 UTC", "StateChangeTimestampMonotonic": "49665064", "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/tmpp7rdeg_u/tests/nbde_client/tests_key_rotation.yml:40 Monday 16 May 2022 19:17:10 +0000 (0:00:00.521) 0:01:10.957 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency again - change not expected] ************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_key_rotation.yml:45 Monday 16 May 2022 19:17:10 +0000 (0:00:00.023) 0:01:10.980 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:17:10 +0000 (0:00:00.024) 0:01:11.005 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:17:10 +0000 (0:00:00.020) 0:01:11.025 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:17:10 +0000 (0:00:00.020) 0:01:11.046 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:17:10 +0000 (0:00:00.520) 0:01:11.567 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:17:10 +0000 (0:00:00.030) 0:01:11.597 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:17:10 +0000 (0:00:00.032) 0:01:11.630 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:17:12 +0000 (0:00:02.170) 0:01:13.800 ************ 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:16:27 UTC", "StateChangeTimestampMonotonic": "34068944", "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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:17:13 +0000 (0:00:00.496) 0:01:14.297 ************ 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 [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:17:14 +0000 (0:00:00.627) 0:01:14.925 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:17:16 +0000 (0:00:02.343) 0:01:17.268 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:17:16 +0000 (0:00:00.023) 0:01:17.291 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:17:16 +0000 (0:00:00.037) 0:01:17.328 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:17:16 +0000 (0:00:00.022) 0:01:17.351 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:17:16 +0000 (0:00:00.020) 0:01:17.372 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:17:17 +0000 (0:00:00.622) 0:01:17.994 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:17:17 +0000 (0:00:00.623) 0:01:18.617 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:17:18 +0000 (0:00:01.129) 0:01:19.746 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.029114", "end": "2022-05-16 19:17:19.071663", "rc": 0, "start": "2022-05-16 19:17:19.042549" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:17:19 +0000 (0:00:00.381) 0:01:20.128 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:17:19 +0000 (0:00:00.649) 0:01:20.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 systemd-journald.socket sysinit.target 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:16:43 UTC", "StateChangeTimestampMonotonic": "49665064", "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/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:17:20 +0000 (0:00:00.514) 0:01:21.292 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_key_rotation.yml:49 Monday 16 May 2022 19:17:20 +0000 (0:00:00.021) 0:01:21.314 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:17:20 +0000 (0:00:00.023) 0:01:21.337 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:17:20 +0000 (0:00:00.381) 0:01:21.718 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:17:21 +0000 (0:00:00.202) 0:01:21.921 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [fedora.linux_system_roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:17:21 +0000 (0:00:00.363) 0:01:22.285 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.770248", "end": "2022-05-16 19:17:43.386041", "rc": 0, "start": "2022-05-16 19:17:21.615793" } 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:17:43 +0000 (0:00:22.176) 0:01:44.461 ************ =============================================================================== fedora.linux_system_roles.nbde_client : nbde_client update initramfs --- 22.18s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 fedora.linux_system_roles.nbde_client : Perform clevis operations ------ 11.45s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 7.87s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Verify we can unlock the device ----------------------------------------- 4.42s /tmp/tmpp7rdeg_u/tests/nbde_client/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 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 2.65s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Install required packages for nbde_client tests ------------------------- 2.60s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 -------------------- fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 2.42s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 2.34s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.29s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.17s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.09s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.04s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 1.99s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.22s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.14s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.13s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.12s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.12s /tmp/tmpp7rdeg_u/tests/nbde_client/tests_key_rotation.yml:2 ------------------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.99s /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/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary.yml:2 Monday 16 May 2022 19:17: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/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary.yml:16 Monday 16 May 2022 19:17:55 +0000 (0:00:01.200) 0:00:01.210 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:2 Monday 16 May 2022 19:17:55 +0000 (0:00:00.023) 0:00:01.234 ************ 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/tmpp7rdeg_u/tests/nbde_client/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:5 Monday 16 May 2022 19:17:55 +0000 (0:00:00.022) 0:00:01.256 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmpp7rdeg_u/tests/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:18 Monday 16 May 2022 19:17:55 +0000 (0:00:00.027) 0:00:01.284 ************ 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": "1652728675", "epoch_int": "1652728675", "hour": "19", "iso8601": "2022-05-16T19:17:55Z", "iso8601_basic": "20220516T191755241226", "iso8601_basic_short": "20220516T191755", "iso8601_micro": "2022-05-16T19:17:55.241226Z", "minute": "17", "month": "05", "second": "55", "time": "19:17: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-17-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-17-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 51652 22", "SSH_CONNECTION": "10.0.2.2 51652 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": 1771, "used": 200 }, "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": 235493, "block_size": 4096, "block_total": 253035, "block_used": 17542, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 964579328, "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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 Monday 16 May 2022 19:17:55 +0000 (0:00:00.053) 0:00:01.337 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:26 Monday 16 May 2022 19:17:58 +0000 (0:00:02.687) 0:00:04.025 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:33 Monday 16 May 2022 19:17:59 +0000 (0:00:00.536) 0:00:04.561 ************ 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:17:59 +0000 (0:00:00.026) 0:00:04.588 ************ 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:17:59 +0000 (0:00:00.021) 0:00:04.610 ************ 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:17:59 +0000 (0:00:00.531) 0:00:05.141 ************ 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:17:59 +0000 (0:00:00.028) 0:00:05.169 ************ 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:17:59 +0000 (0:00:00.024) 0:00:05.194 ************ 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:18:03 +0000 (0:00:03.303) 0:00:08.497 ************ 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:18:03 +0000 (0:00:00.033) 0:00:08.530 ************ 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:18:03 +0000 (0:00:00.535) 0:00:09.066 ************ 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:18:03 +0000 (0:00:00.031) 0:00:09.098 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:37 Monday 16 May 2022 19:18:04 +0000 (0:00:00.986) 0:00:10.085 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.014375", "end": "2022-05-16 19:18:04.653920", "rc": 0, "start": "2022-05-16 19:18:04.639545" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:41 Monday 16 May 2022 19:18:05 +0000 (0:00:00.489) 0:00:10.575 ************ 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.096960", "end": "2022-05-16 19:18:05.100265", "rc": 0, "start": "2022-05-16 19:18:05.003305" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:49 Monday 16 May 2022 19:18:05 +0000 (0:00:00.451) 0:00:11.026 ************ 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.003962", "end": "2022-05-16 19:18:05.724895", "rc": 0, "start": "2022-05-16 19:18:05.720933" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary.yml:21 Monday 16 May 2022 19:18:05 +0000 (0:00:00.195) 0:00:11.222 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:18:05 +0000 (0:00:00.026) 0:00:11.248 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:18:05 +0000 (0:00:00.021) 0:00:11.269 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:18:06 +0000 (0:00:00.531) 0:00:11.801 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:18:06 +0000 (0:00:00.029) 0:00:11.831 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:18:06 +0000 (0:00:00.033) 0:00:11.864 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:18:08 +0000 (0:00:02.070) 0:00:13.935 ************ 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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:18:09 +0000 (0:00:00.660) 0:00:14.595 ************ 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-1652728689.1694205-312506-30290658869753/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:18:10 +0000 (0:00:00.949) 0:00:15.544 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:18:10 +0000 (0:00:00.720) 0:00:16.265 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.z5iqg6khnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:18:11 +0000 (0:00:00.473) 0:00:16.738 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:18:11 +0000 (0:00:00.056) 0:00:16.795 ************ NOTIFIED HANDLER fedora.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 [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:18:19 +0000 (0:00:08.535) 0:00:25.330 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.z5iqg6khnbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:18:20 +0000 (0:00:00.510) 0:00:25.841 ************ 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-1652728700.4182296-312600-38923649357789/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:18:21 +0000 (0:00:00.689) 0:00:26.531 ************ 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-1652728701.1124015-312628-87337787624544/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:18:21 +0000 (0:00:00.688) 0:00:27.220 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:18:23 +0000 (0:00:01.264) 0:00:28.484 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.039397", "end": "2022-05-16 19:18:22.958751", "rc": 0, "start": "2022-05-16 19:18:22.919354" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:18:23 +0000 (0:00:00.401) 0:00:28.886 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:18:24 +0000 (0:00:00.646) 0:00:29.533 ************ 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": "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/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary.yml:25 Monday 16 May 2022 19:18:24 +0000 (0:00:00.673) 0:00:30.206 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:18:24 +0000 (0:00:00.019) 0:00:30.226 ************ 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.979720", "end": "2022-05-16 19:18:28.645317", "rc": 0, "start": "2022-05-16 19:18:24.665597" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:18:29 +0000 (0:00:04.347) 0:00:34.573 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.037814", "end": "2022-05-16 19:18:29.046027", "rc": 0, "start": "2022-05-16 19:18:29.008213" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary.yml:28 Monday 16 May 2022 19:18:29 +0000 (0:00:00.399) 0:00:34.973 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Attempt to check whether default passphrase works] *********************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary.yml:34 Monday 16 May 2022 19:18:29 +0000 (0:00:00.019) 0:00:34.992 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_default_passphrase.yml for /cache/fedora-34.qcow2.snap TASK [Verify the default passphrase works] ************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_default_passphrase.yml:2 Monday 16 May 2022 19:18:29 +0000 (0:00:00.018) 0:00:35.011 ************ 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.838280", "end": "2022-05-16 19:18:31.282973", "rc": 2, "start": "2022-05-16 19:18:29.444693" } 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/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary.yml:37 Monday 16 May 2022 19:18:31 +0000 (0:00:02.196) 0:00:37.207 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary.yml:42 Monday 16 May 2022 19:18:31 +0000 (0:00:00.022) 0:00:37.229 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:18:31 +0000 (0:00:00.019) 0:00:37.248 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:18:31 +0000 (0:00:00.017) 0:00:37.266 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:18:31 +0000 (0:00:00.019) 0:00:37.286 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:18:32 +0000 (0:00:00.513) 0:00:37.799 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:18:32 +0000 (0:00:00.027) 0:00:37.827 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:18:32 +0000 (0:00:00.031) 0:00:37.859 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:18:34 +0000 (0:00:02.116) 0:00:39.976 ************ 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:18:23 UTC", "StateChangeTimestampMonotonic": "35915877", "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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:18:35 +0000 (0:00:00.508) 0:00:40.484 ************ 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 [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:18:35 +0000 (0:00:00.639) 0:00:41.123 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:18:40 +0000 (0:00:04.590) 0:00:45.714 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:18:40 +0000 (0:00:00.020) 0:00:45.734 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:18:40 +0000 (0:00:00.038) 0:00:45.773 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:18:40 +0000 (0:00:00.046) 0:00:45.819 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:18:40 +0000 (0:00:00.023) 0:00:45.842 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:18:40 +0000 (0:00:00.611) 0:00:46.454 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:18:41 +0000 (0:00:00.650) 0:00:47.105 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:18:42 +0000 (0:00:01.106) 0:00:48.212 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.035368", "end": "2022-05-16 19:18:42.663629", "rc": 0, "start": "2022-05-16 19:18:42.628261" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:18:43 +0000 (0:00:00.391) 0:00:48.603 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:18:43 +0000 (0:00:00.659) 0:00:49.262 ************ 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 system.slice systemd-journald.socket basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target 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]", "StateChangeTimestamp": "Mon 2022-05-16 19:18:43 UTC", "StateChangeTimestampMonotonic": "55636340", "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/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:18:44 +0000 (0:00:00.513) 0:00:49.776 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary.yml:46 Monday 16 May 2022 19:18:44 +0000 (0:00:00.025) 0:00:49.801 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:18:44 +0000 (0:00:00.023) 0:00:49.825 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:18:44 +0000 (0:00:00.375) 0:00:50.201 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:18:44 +0000 (0:00:00.204) 0:00:50.405 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [fedora.linux_system_roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:18:45 +0000 (0:00:00.371) 0:00:50.776 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.804553", "end": "2022-05-16 19:19:07.038398", "rc": 0, "start": "2022-05-16 19:18:45.233845" } 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:19:07 +0000 (0:00:22.201) 0:01:12.978 ************ =============================================================================== fedora.linux_system_roles.nbde_client : nbde_client update initramfs --- 22.20s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 8.54s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 4.59s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Verify we can unlock the device ----------------------------------------- 4.35s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 ----------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 3.30s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Install required packages for nbde_client tests ------------------------- 2.69s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 -------------------- Verify the default passphrase works ------------------------------------- 2.20s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_default_passphrase.yml:2 ------ fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.12s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.07s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.26s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.20s /tmp/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary.yml:2 ----------- fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.11s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/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.99s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.95s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 0.72s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Deploy network flushing script --- 0.69s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 fedora.linux_system_roles.nbde_client : Deploy network flushing service --- 0.69s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 fedora.linux_system_roles.nbde_client : Enable network flushing service --- 0.67s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 fedora.linux_system_roles.nbde_client : Enable clevis askpass unit ------ 0.66s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 fedora.linux_system_roles.nbde_client : Reload systemd config ----------- 0.66s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/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/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary_keyfile.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary_keyfile.yml:2 Monday 16 May 2022 19:19:19 +0000 (0:00:00.009) 0:00:00.010 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary_keyfile.yml:16 Monday 16 May 2022 19:19:20 +0000 (0:00:01.101) 0:00:01.111 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:2 Monday 16 May 2022 19:19:20 +0000 (0:00:00.023) 0:00:01.135 ************ 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/tmpp7rdeg_u/tests/nbde_client/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:5 Monday 16 May 2022 19:19:20 +0000 (0:00:00.017) 0:00:01.153 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmpp7rdeg_u/tests/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:18 Monday 16 May 2022 19:19:20 +0000 (0:00:00.028) 0:00:01.181 ************ 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": "1652728759", "epoch_int": "1652728759", "hour": "19", "iso8601": "2022-05-16T19:19:19Z", "iso8601_basic": "20220516T191919802164", "iso8601_basic_short": "20220516T191919", "iso8601_micro": "2022-05-16T19:19:19.802164Z", "minute": "19", "month": "05", "second": "19", "time": "19:19:19", "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-19-10-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-19-10-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 41072 22", "SSH_CONNECTION": "10.0.2.2 41072 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": 1625, "memory_mb": { "nocache": { "free": 1766, "used": 205 }, "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": 235480, "block_size": 4096, "block_total": 253035, "block_used": 17555, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 964526080, "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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 Monday 16 May 2022 19:19:20 +0000 (0:00:00.035) 0:00:01.216 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:26 Monday 16 May 2022 19:19:22 +0000 (0:00:02.481) 0:00:03.698 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:33 Monday 16 May 2022 19:19:23 +0000 (0:00:00.538) 0:00:04.236 ************ 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:19:23 +0000 (0:00:00.026) 0:00:04.262 ************ 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:19:23 +0000 (0:00:00.020) 0:00:04.282 ************ 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:19:24 +0000 (0:00:00.510) 0:00:04.793 ************ 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:19:24 +0000 (0:00:00.026) 0:00:04.819 ************ 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:19:24 +0000 (0:00:00.022) 0:00:04.842 ************ 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:19:27 +0000 (0:00:03.322) 0:00:08.164 ************ 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:19:27 +0000 (0:00:00.028) 0:00:08.192 ************ 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:19:28 +0000 (0:00:00.546) 0:00:08.738 ************ 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:19:28 +0000 (0:00:00.034) 0:00:08.773 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:37 Monday 16 May 2022 19:19:29 +0000 (0:00:01.007) 0:00:09.781 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.014334", "end": "2022-05-16 19:19:29.250344", "rc": 0, "start": "2022-05-16 19:19:29.236010" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:41 Monday 16 May 2022 19:19:29 +0000 (0:00:00.500) 0:00:10.281 ************ 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.099027", "end": "2022-05-16 19:19:29.714380", "rc": 0, "start": "2022-05-16 19:19:29.615353" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:49 Monday 16 May 2022 19:19:30 +0000 (0:00:00.465) 0:00:10.747 ************ 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.004228", "end": "2022-05-16 19:19:30.206505", "rc": 0, "start": "2022-05-16 19:19:30.202277" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary_keyfile.yml:21 Monday 16 May 2022 19:19:30 +0000 (0:00:00.199) 0:00:10.946 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:19:30 +0000 (0:00:00.027) 0:00:10.974 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:19:30 +0000 (0:00:00.022) 0:00:10.997 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:19:30 +0000 (0:00:00.509) 0:00:11.507 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:19:30 +0000 (0:00:00.029) 0:00:11.536 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:19:30 +0000 (0:00:00.036) 0:00:11.573 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:19:32 +0000 (0:00:02.019) 0:00:13.592 ************ 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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:19:33 +0000 (0:00:00.674) 0:00:14.267 ************ 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-1652728773.5971644-313459-168237223283565/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:19:34 +0000 (0:00:00.909) 0:00:15.176 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:19:35 +0000 (0:00:00.692) 0:00:15.869 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.tkm88_k6nbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:19:35 +0000 (0:00:00.496) 0:00:16.366 ************ changed: [/cache/fedora-34.qcow2.snap] => (item=/tmp/.nbde_client_dev_encryption_key) => { "ansible_loop_var": "item", "changed": true, "checksum": "ddcbbd80371add8b55e5288b1278a7ead06c422e", "dest": "/tmp/ansible.tkm88_k6nbde_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-1652728775.7251236-313519-151456992874116/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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:19:36 +0000 (0:00:00.714) 0:00:17.080 ************ NOTIFIED HANDLER fedora.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.tkm88_k6nbde_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 [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:19:44 +0000 (0:00:08.120) 0:00:25.200 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.tkm88_k6nbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:19:45 +0000 (0:00:00.513) 0:00:25.714 ************ 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-1652728785.054564-313579-84305518833207/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:19:45 +0000 (0:00:00.698) 0:00:26.412 ************ 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-1652728785.74731-313607-29773722143964/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:19:46 +0000 (0:00:00.674) 0:00:27.087 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:19:47 +0000 (0:00:01.322) 0:00:28.409 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.049172", "end": "2022-05-16 19:19:47.778078", "rc": 0, "start": "2022-05-16 19:19:47.728906" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:19:48 +0000 (0:00:00.403) 0:00:28.812 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:19:48 +0000 (0:00:00.646) 0:00:29.459 ************ 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": "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/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary_keyfile.yml:25 Monday 16 May 2022 19:19:49 +0000 (0:00:00.676) 0:00:30.136 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:19:49 +0000 (0:00:00.019) 0:00:30.156 ************ 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.896429", "end": "2022-05-16 19:19:53.395815", "rc": 0, "start": "2022-05-16 19:19:49.499386" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:19:53 +0000 (0:00:04.268) 0:00:34.424 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.032512", "end": "2022-05-16 19:19:53.765094", "rc": 0, "start": "2022-05-16 19:19:53.732582" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary_keyfile.yml:28 Monday 16 May 2022 19:19:54 +0000 (0:00:00.366) 0:00:34.791 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [copy the key file to the managed host] *********************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary_keyfile.yml:34 Monday 16 May 2022 19:19:54 +0000 (0:00:00.021) 0:00:34.812 ************ 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-1652728794.147586-313766-277510968504156/source", "state": "file", "uid": 0 } TASK [Attempt to check whether default key file works] ************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary_keyfile.yml:40 Monday 16 May 2022 19:19:54 +0000 (0:00:00.671) 0:00:35.484 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_default_key_file.yml for /cache/fedora-34.qcow2.snap TASK [Verify the default key file works] *************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_default_key_file.yml:2 Monday 16 May 2022 19:19:54 +0000 (0:00:00.022) 0:00:35.506 ************ 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.907490", "end": "2022-05-16 19:19:56.733738", "rc": 2, "start": "2022-05-16 19:19:54.826248" } 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/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary_keyfile.yml:43 Monday 16 May 2022 19:19:57 +0000 (0:00:02.254) 0:00:37.761 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary_keyfile.yml:49 Monday 16 May 2022 19:19:57 +0000 (0:00:00.023) 0:00:37.784 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:19:57 +0000 (0:00:00.019) 0:00:37.804 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:19:57 +0000 (0:00:00.018) 0:00:37.822 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:19:57 +0000 (0:00:00.019) 0:00:37.841 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:19:57 +0000 (0:00:00.487) 0:00:38.328 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:19:57 +0000 (0:00:00.029) 0:00:38.358 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:19:57 +0000 (0:00:00.035) 0:00:38.393 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:19:59 +0000 (0:00:01.968) 0:00:40.362 ************ 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:19:48 UTC", "StateChangeTimestampMonotonic": "35801228", "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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:20:00 +0000 (0:00:00.503) 0:00:40.866 ************ 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 [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:20:00 +0000 (0:00:00.646) 0:00:41.513 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:20:05 +0000 (0:00:04.389) 0:00:45.902 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:20:05 +0000 (0:00:00.022) 0:00:45.925 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:20:05 +0000 (0:00:00.040) 0:00:45.966 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:20:05 +0000 (0:00:00.021) 0:00:45.988 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:20:05 +0000 (0:00:00.027) 0:00:46.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 [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:20:05 +0000 (0:00:00.613) 0:00:46.629 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:20:06 +0000 (0:00:00.619) 0:00:47.248 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:20:07 +0000 (0:00:01.119) 0:00:48.368 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.031150", "end": "2022-05-16 19:20:07.725533", "rc": 0, "start": "2022-05-16 19:20:07.694383" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:20:08 +0000 (0:00:00.390) 0:00:48.758 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:20:08 +0000 (0:00:00.627) 0:00:49.386 ************ 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 sysinit.target systemd-journald.socket system.slice", "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": "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:20:08 UTC", "StateChangeTimestampMonotonic": "55725487", "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/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:20:09 +0000 (0:00:00.515) 0:00:49.902 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_passphrase_temporary_keyfile.yml:53 Monday 16 May 2022 19:20:09 +0000 (0:00:00.024) 0:00:49.926 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:20:09 +0000 (0:00:00.021) 0:00:49.947 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:20:09 +0000 (0:00:00.376) 0:00:50.324 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:20:09 +0000 (0:00:00.202) 0:00:50.527 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [fedora.linux_system_roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:20:10 +0000 (0:00:00.367) 0:00:50.894 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.160735", "end": "2022-05-16 19:20:31.394013", "rc": 0, "start": "2022-05-16 19:20:10.233278" } 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:20:31 +0000 (0:00:21.551) 0:01:12.445 ************ =============================================================================== fedora.linux_system_roles.nbde_client : nbde_client update initramfs --- 21.55s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 8.12s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 4.39s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Verify we can unlock the device ----------------------------------------- 4.27s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 ----------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 3.32s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Install required packages for nbde_client tests ------------------------- 2.48s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 -------------------- Verify the default key file works --------------------------------------- 2.25s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_default_key_file.yml:2 -------- fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.02s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 1.97s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.32s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.12s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmpp7rdeg_u/tests/nbde_client/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 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.91s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 fedora.linux_system_roles.nbde_client : Ensure we transfer key files ---- 0.71s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 fedora.linux_system_roles.nbde_client : Deploy network flushing script --- 0.70s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 0.69s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Enable network flushing service --- 0.68s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 fedora.linux_system_roles.nbde_client : Deploy network flushing service --- 0.67s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 fedora.linux_system_roles.nbde_client : Enable clevis askpass unit ------ 0.67s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 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/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind.yml:2 Monday 16 May 2022 19:20:42 +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/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind.yml:12 Monday 16 May 2022 19:20:43 +0000 (0:00:01.097) 0:00:01.105 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:2 Monday 16 May 2022 19:20:43 +0000 (0:00:00.022) 0:00:01.128 ************ 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/tmpp7rdeg_u/tests/nbde_client/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:5 Monday 16 May 2022 19:20:43 +0000 (0:00:00.015) 0:00:01.143 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmpp7rdeg_u/tests/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:18 Monday 16 May 2022 19:20:43 +0000 (0:00:00.025) 0:00:01.168 ************ 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": "1652728842", "epoch_int": "1652728842", "hour": "19", "iso8601": "2022-05-16T19:20:42Z", "iso8601_basic": "20220516T192042831994", "iso8601_basic_short": "20220516T192042", "iso8601_micro": "2022-05-16T19:20:42.831994Z", "minute": "20", "month": "05", "second": "42", "time": "19:20:42", "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-20-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-20-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 37472 22", "SSH_CONNECTION": "10.0.2.2 37472 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": 1627, "memory_mb": { "nocache": { "free": 1768, "used": 203 }, "real": { "free": 1627, "total": 1971, "used": 344 }, "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": 235467, "block_size": 4096, "block_total": 253035, "block_used": 17568, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 964472832, "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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 Monday 16 May 2022 19:20:43 +0000 (0:00:00.029) 0:00:01.197 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:26 Monday 16 May 2022 19:20:46 +0000 (0:00:02.440) 0:00:03.638 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:33 Monday 16 May 2022 19:20:46 +0000 (0:00:00.531) 0:00:04.169 ************ 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:20:46 +0000 (0:00:00.027) 0:00:04.197 ************ 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:20:46 +0000 (0:00:00.020) 0:00:04.217 ************ 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:20:47 +0000 (0:00:00.503) 0:00:04.720 ************ 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:20:47 +0000 (0:00:00.028) 0:00:04.748 ************ 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:20:47 +0000 (0:00:00.023) 0:00:04.772 ************ 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:20:50 +0000 (0:00:03.118) 0:00:07.891 ************ 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:20:50 +0000 (0:00:00.026) 0:00:07.918 ************ 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:20:50 +0000 (0:00:00.493) 0:00:08.411 ************ 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:20:50 +0000 (0:00:00.027) 0:00:08.438 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:37 Monday 16 May 2022 19:20:51 +0000 (0:00:00.943) 0:00:09.382 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.015118", "end": "2022-05-16 19:20:51.891797", "rc": 0, "start": "2022-05-16 19:20:51.876679" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:41 Monday 16 May 2022 19:20:52 +0000 (0:00:00.496) 0:00:09.878 ************ 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.095694", "end": "2022-05-16 19:20:52.352193", "rc": 0, "start": "2022-05-16 19:20:52.256499" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:49 Monday 16 May 2022 19:20:52 +0000 (0:00:00.454) 0:00:10.333 ************ 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.004330", "end": "2022-05-16 19:20:52.972214", "rc": 0, "start": "2022-05-16 19:20:52.967884" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind.yml:17 Monday 16 May 2022 19:20:53 +0000 (0:00:00.199) 0:00:10.532 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:20:53 +0000 (0:00:00.027) 0:00:10.559 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:20:53 +0000 (0:00:00.021) 0:00:10.581 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:20:53 +0000 (0:00:00.523) 0:00:11.105 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:20:53 +0000 (0:00:00.030) 0:00:11.135 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:20:53 +0000 (0:00:00.034) 0:00:11.169 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:20:55 +0000 (0:00:02.011) 0:00:13.181 ************ 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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:20:56 +0000 (0:00:00.650) 0:00:13.831 ************ 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-1652728856.3458116-314458-194577978509031/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:20:57 +0000 (0:00:00.926) 0:00:14.757 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:20:57 +0000 (0:00:00.676) 0:00:15.434 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.kffuszdnnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:20:58 +0000 (0:00:00.528) 0:00:15.962 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:20:58 +0000 (0:00:00.043) 0:00:16.006 ************ NOTIFIED HANDLER fedora.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 [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:21:02 +0000 (0:00:04.238) 0:00:20.244 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.kffuszdnnbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:21:03 +0000 (0:00:00.517) 0:00:20.761 ************ 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-1652728863.2790182-314552-239422892145220/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:21:03 +0000 (0:00:00.680) 0:00:21.442 ************ 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-1652728863.956509-314580-53193443759991/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:21:04 +0000 (0:00:00.692) 0:00:22.135 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:21:05 +0000 (0:00:01.252) 0:00:23.388 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.043359", "end": "2022-05-16 19:21:05.815175", "rc": 0, "start": "2022-05-16 19:21:05.771816" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:21:06 +0000 (0:00:00.411) 0:00:23.799 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:21:06 +0000 (0:00:00.662) 0:00:24.462 ************ 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/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind.yml:21 Monday 16 May 2022 19:21:07 +0000 (0:00:00.647) 0:00:25.109 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:21:07 +0000 (0:00:00.019) 0:00:25.129 ************ 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.712178", "end": "2022-05-16 19:21:11.216508", "rc": 0, "start": "2022-05-16 19:21:07.504330" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:21:11 +0000 (0:00:04.066) 0:00:29.196 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.032201", "end": "2022-05-16 19:21:11.610891", "rc": 0, "start": "2022-05-16 19:21:11.578690" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind.yml:24 Monday 16 May 2022 19:21:12 +0000 (0:00:00.396) 0:00:29.592 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind.yml:30 Monday 16 May 2022 19:21:12 +0000 (0:00:00.019) 0:00:29.612 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:21:12 +0000 (0:00:00.019) 0:00:29.631 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:21:12 +0000 (0:00:00.018) 0:00:29.650 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:21:12 +0000 (0:00:00.020) 0:00:29.670 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:21:12 +0000 (0:00:00.519) 0:00:30.190 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:21:12 +0000 (0:00:00.032) 0:00:30.222 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:21:12 +0000 (0:00:00.034) 0:00:30.257 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:21:14 +0000 (0:00:01.968) 0:00:32.226 ************ 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:21:06 UTC", "StateChangeTimestampMonotonic": "30771405", "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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:21:15 +0000 (0:00:00.492) 0:00:32.719 ************ 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 [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:21:15 +0000 (0:00:00.620) 0:00:33.339 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:21:18 +0000 (0:00:02.206) 0:00:35.546 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:21:18 +0000 (0:00:00.021) 0:00:35.568 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:21:18 +0000 (0:00:00.034) 0:00:35.602 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:21:18 +0000 (0:00:00.022) 0:00:35.625 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:21:18 +0000 (0:00:00.020) 0:00:35.645 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:21:18 +0000 (0:00:00.621) 0:00:36.267 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:21:19 +0000 (0:00:00.622) 0:00:36.889 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:21:20 +0000 (0:00:01.112) 0:00:38.002 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.037611", "end": "2022-05-16 19:21:20.421486", "rc": 0, "start": "2022-05-16 19:21:20.383875" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:21:20 +0000 (0:00:00.405) 0:00:38.407 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:21:21 +0000 (0:00:00.658) 0:00:39.065 ************ 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 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": "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:21:21 UTC", "StateChangeTimestampMonotonic": "45372534", "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/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:21:22 +0000 (0:00:00.502) 0:00:39.568 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind.yml:34 Monday 16 May 2022 19:21:22 +0000 (0:00:00.022) 0:00:39.591 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:21:22 +0000 (0:00:00.020) 0:00:39.611 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:21:22 +0000 (0:00:00.379) 0:00:39.991 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:21:22 +0000 (0:00:00.202) 0:00:40.194 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [fedora.linux_system_roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:21:23 +0000 (0:00:00.388) 0:00:40.583 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.290691", "end": "2022-05-16 19:21:44.285182", "rc": 0, "start": "2022-05-16 19:21:22.994491" } 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:21:44 +0000 (0:00:21.701) 0:01:02.284 ************ =============================================================================== fedora.linux_system_roles.nbde_client : nbde_client update initramfs --- 21.70s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 4.24s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Verify we can unlock the device ----------------------------------------- 4.07s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 ----------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 3.12s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Install required packages for nbde_client tests ------------------------- 2.44s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 -------------------- fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 2.21s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.01s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 1.97s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.25s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.11s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmpp7rdeg_u/tests/nbde_client/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.94s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.93s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 fedora.linux_system_roles.nbde_client : Deploy network flushing service --- 0.69s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 fedora.linux_system_roles.nbde_client : Deploy network flushing script --- 0.68s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 0.68s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Reload systemd config ----------- 0.66s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 fedora.linux_system_roles.nbde_client : Reload systemd config ----------- 0.66s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 fedora.linux_system_roles.nbde_client : Enable clevis askpass unit ------ 0.65s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 fedora.linux_system_roles.nbde_client : Enable network flushing service --- 0.65s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 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/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_keyfile.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_keyfile.yml:2 Monday 16 May 2022 19:21:55 +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/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_keyfile.yml:12 Monday 16 May 2022 19:21:56 +0000 (0:00:01.124) 0:00:01.133 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:2 Monday 16 May 2022 19:21:56 +0000 (0:00:00.023) 0:00:01.157 ************ 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/tmpp7rdeg_u/tests/nbde_client/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:5 Monday 16 May 2022 19:21:56 +0000 (0:00:00.015) 0:00:01.173 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmpp7rdeg_u/tests/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:18 Monday 16 May 2022 19:21:56 +0000 (0:00:00.026) 0:00:01.199 ************ 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": "1652728915", "epoch_int": "1652728915", "hour": "19", "iso8601": "2022-05-16T19:21:55Z", "iso8601_basic": "20220516T192155811269", "iso8601_basic_short": "20220516T192155", "iso8601_micro": "2022-05-16T19:21:55.811269Z", "minute": "21", "month": "05", "second": "55", "time": "19:21: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-21-46-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-21-46-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 49088 22", "SSH_CONNECTION": "10.0.2.2 49088 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": 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": 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": 235454, "block_size": 4096, "block_total": 253035, "block_used": 17581, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 964419584, "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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 Monday 16 May 2022 19:21:56 +0000 (0:00:00.053) 0:00:01.253 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:26 Monday 16 May 2022 19:21:59 +0000 (0:00:02.552) 0:00:03.806 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:33 Monday 16 May 2022 19:21:59 +0000 (0:00:00.535) 0:00:04.341 ************ 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:21:59 +0000 (0:00:00.026) 0:00:04.368 ************ 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:21:59 +0000 (0:00:00.020) 0:00:04.388 ************ 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:22:00 +0000 (0:00:00.508) 0:00:04.896 ************ 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:22:00 +0000 (0:00:00.026) 0:00:04.923 ************ 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:22:00 +0000 (0:00:00.022) 0:00:04.946 ************ 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:22:03 +0000 (0:00:03.191) 0:00:08.137 ************ 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:22:03 +0000 (0:00:00.029) 0:00:08.167 ************ 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:22:04 +0000 (0:00:00.522) 0:00:08.690 ************ 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:22:04 +0000 (0:00:00.035) 0:00:08.725 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:37 Monday 16 May 2022 19:22:05 +0000 (0:00:00.963) 0:00:09.689 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.014705", "end": "2022-05-16 19:22:05.159005", "rc": 0, "start": "2022-05-16 19:22:05.144300" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:41 Monday 16 May 2022 19:22:05 +0000 (0:00:00.501) 0:00:10.190 ************ 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.098945", "end": "2022-05-16 19:22:05.617324", "rc": 0, "start": "2022-05-16 19:22:05.518379" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:49 Monday 16 May 2022 19:22:06 +0000 (0:00:00.465) 0:00:10.655 ************ 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.005263", "end": "2022-05-16 19:22:06.357973", "rc": 0, "start": "2022-05-16 19:22:06.352710" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_keyfile.yml:17 Monday 16 May 2022 19:22:06 +0000 (0:00:00.201) 0:00:10.857 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:22:06 +0000 (0:00:00.024) 0:00:10.882 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:22:06 +0000 (0:00:00.019) 0:00:10.901 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:22:06 +0000 (0:00:00.506) 0:00:11.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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:22:06 +0000 (0:00:00.027) 0:00:11.435 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:22:06 +0000 (0:00:00.032) 0:00:11.468 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:22:08 +0000 (0:00:01.989) 0:00:13.457 ************ 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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:22:09 +0000 (0:00:00.661) 0:00:14.118 ************ 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-1652728929.693105-315389-211234624326723/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:22:10 +0000 (0:00:00.939) 0:00:15.058 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:22:11 +0000 (0:00:00.692) 0:00:15.751 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.xum4v62gnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:22:11 +0000 (0:00:00.490) 0:00:16.241 ************ changed: [/cache/fedora-34.qcow2.snap] => (item=/tmp/.nbde_client_dev_encryption_key) => { "ansible_loop_var": "item", "changed": true, "checksum": "ddcbbd80371add8b55e5288b1278a7ead06c422e", "dest": "/tmp/ansible.xum4v62gnbde_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-1652728931.8444781-315449-196055566664777/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:22:12 +0000 (0:00:00.780) 0:00:17.022 ************ NOTIFIED HANDLER fedora.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.xum4v62gnbde_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 [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:22:16 +0000 (0:00:03.658) 0:00:20.680 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.xum4v62gnbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:22:16 +0000 (0:00:00.513) 0:00:21.194 ************ 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-1652728936.772589-315509-185875321394349/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:22:17 +0000 (0:00:00.687) 0:00:21.882 ************ 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-1652728937.4633098-315537-222866268625590/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:22:18 +0000 (0:00:00.706) 0:00:22.588 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:22:19 +0000 (0:00:01.290) 0:00:23.878 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.043816", "end": "2022-05-16 19:22:19.260313", "rc": 0, "start": "2022-05-16 19:22:19.216497" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:22:19 +0000 (0:00:00.417) 0:00:24.295 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:22:20 +0000 (0:00:00.686) 0:00:24.981 ************ 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 sysinit.target system.slice 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": "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/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_keyfile.yml:21 Monday 16 May 2022 19:22:21 +0000 (0:00:00.660) 0:00:25.642 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:22:21 +0000 (0:00:00.018) 0:00:25.661 ************ 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.940217", "end": "2022-05-16 19:22:24.922069", "rc": 0, "start": "2022-05-16 19:22:20.981852" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:22:25 +0000 (0:00:04.296) 0:00:29.957 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.030182", "end": "2022-05-16 19:22:25.307223", "rc": 0, "start": "2022-05-16 19:22:25.277041" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_keyfile.yml:24 Monday 16 May 2022 19:22:25 +0000 (0:00:00.383) 0:00:30.341 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_keyfile.yml:30 Monday 16 May 2022 19:22:25 +0000 (0:00:00.019) 0:00:30.361 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:22:25 +0000 (0:00:00.018) 0:00:30.380 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:22:25 +0000 (0:00:00.018) 0:00:30.399 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:22:25 +0000 (0:00:00.020) 0:00:30.419 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:22:26 +0000 (0:00:00.503) 0:00:30.923 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:22:26 +0000 (0:00:00.028) 0:00:30.952 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:22:26 +0000 (0:00:00.031) 0:00:30.983 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:22:28 +0000 (0:00:02.064) 0:00:33.047 ************ 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:22:19 UTC", "StateChangeTimestampMonotonic": "31262574", "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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:22:29 +0000 (0:00:00.497) 0:00:33.545 ************ 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 [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:22:29 +0000 (0:00:00.616) 0:00:34.161 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:22:32 +0000 (0:00:02.581) 0:00:36.742 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:22:32 +0000 (0:00:00.023) 0:00:36.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", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:22:32 +0000 (0:00:00.035) 0:00:36.801 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:22:32 +0000 (0:00:00.019) 0:00:36.821 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:22:32 +0000 (0:00:00.020) 0:00:36.841 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:22:32 +0000 (0:00:00.601) 0:00:37.443 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:22:33 +0000 (0:00:00.611) 0:00:38.054 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:22:34 +0000 (0:00:01.109) 0:00:39.163 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.031039", "end": "2022-05-16 19:22:34.514882", "rc": 0, "start": "2022-05-16 19:22:34.483843" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:22:35 +0000 (0:00:00.386) 0:00:39.550 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:22:35 +0000 (0:00:00.628) 0:00:40.179 ************ 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 basic.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target 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]", "StateChangeTimestamp": "Mon 2022-05-16 19:22:35 UTC", "StateChangeTimestampMonotonic": "46482985", "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/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:22:36 +0000 (0:00:00.504) 0:00:40.684 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_keyfile.yml:34 Monday 16 May 2022 19:22:36 +0000 (0:00:00.023) 0:00:40.707 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:22:36 +0000 (0:00:00.021) 0:00:40.729 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:22:36 +0000 (0:00:00.369) 0:00:41.098 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:22:36 +0000 (0:00:00.191) 0:00:41.289 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [fedora.linux_system_roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:22:37 +0000 (0:00:00.343) 0:00:41.633 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.393715", "end": "2022-05-16 19:22:58.354696", "rc": 0, "start": "2022-05-16 19:22:36.960981" } 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:22:58 +0000 (0:00:21.771) 0:01:03.405 ************ =============================================================================== fedora.linux_system_roles.nbde_client : nbde_client update initramfs --- 21.77s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Verify we can unlock the device ----------------------------------------- 4.30s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 ----------- fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 3.66s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 3.19s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 2.58s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Install required packages for nbde_client tests ------------------------- 2.55s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 -------------------- fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.06s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 1.99s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.29s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.12s /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_keyfile.yml:2 ------------ fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.11s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/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.96s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.94s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 fedora.linux_system_roles.nbde_client : Ensure we transfer key files ---- 0.78s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 fedora.linux_system_roles.nbde_client : Deploy network flushing service --- 0.71s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 0.69s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Deploy network flushing script --- 0.69s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 fedora.linux_system_roles.nbde_client : Reload systemd config ----------- 0.69s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 fedora.linux_system_roles.nbde_client : Enable clevis askpass unit ------ 0.66s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 fedora.linux_system_roles.nbde_client : Enable network flushing service --- 0.66s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 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/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_unbind.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_unbind.yml:2 Monday 16 May 2022 19:23:09 +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/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_unbind.yml:15 Monday 16 May 2022 19:23:10 +0000 (0:00:01.089) 0:00:01.099 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:2 Monday 16 May 2022 19:23:10 +0000 (0:00:00.021) 0:00:01.121 ************ 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/tmpp7rdeg_u/tests/nbde_client/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:5 Monday 16 May 2022 19:23:10 +0000 (0:00:00.014) 0:00:01.135 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmpp7rdeg_u/tests/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:18 Monday 16 May 2022 19:23:10 +0000 (0:00:00.024) 0:00:01.160 ************ 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": "1652728990", "epoch_int": "1652728990", "hour": "19", "iso8601": "2022-05-16T19:23:10Z", "iso8601_basic": "20220516T192310003318", "iso8601_basic_short": "20220516T192310", "iso8601_micro": "2022-05-16T19:23:10.003318Z", "minute": "23", "month": "05", "second": "10", "time": "19:23:10", "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-23-00-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-23-00-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 55564 22", "SSH_CONNECTION": "10.0.2.2 55564 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": 1619, "memory_mb": { "nocache": { "free": 1761, "used": 210 }, "real": { "free": 1619, "total": 1971, "used": 352 }, "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": 235440, "block_size": 4096, "block_total": 253035, "block_used": 17595, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 964362240, "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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 Monday 16 May 2022 19:23:10 +0000 (0:00:00.028) 0:00:01.188 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:26 Monday 16 May 2022 19:23:13 +0000 (0:00:02.600) 0:00:03.788 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:33 Monday 16 May 2022 19:23:13 +0000 (0:00:00.659) 0:00:04.447 ************ 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:23:13 +0000 (0:00:00.028) 0:00:04.475 ************ 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:23:14 +0000 (0:00:00.020) 0:00:04.496 ************ 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:23:14 +0000 (0:00:00.500) 0:00:04.996 ************ 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:23:14 +0000 (0:00:00.027) 0:00:05.024 ************ 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:23:14 +0000 (0:00:00.023) 0:00:05.048 ************ 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:23:17 +0000 (0:00:03.134) 0:00:08.182 ************ 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:23:17 +0000 (0:00:00.026) 0:00:08.209 ************ 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:23:18 +0000 (0:00:00.496) 0:00:08.705 ************ 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:23:18 +0000 (0:00:00.029) 0:00:08.735 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:37 Monday 16 May 2022 19:23:19 +0000 (0:00:00.954) 0:00:09.690 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.015381", "end": "2022-05-16 19:23:19.138053", "rc": 0, "start": "2022-05-16 19:23:19.122672" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:41 Monday 16 May 2022 19:23:19 +0000 (0:00:00.502) 0:00:10.192 ************ 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.094660", "end": "2022-05-16 19:23:19.577449", "rc": 0, "start": "2022-05-16 19:23:19.482789" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:49 Monday 16 May 2022 19:23:20 +0000 (0:00:00.442) 0:00:10.634 ************ 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.003893", "end": "2022-05-16 19:23:20.331959", "rc": 0, "start": "2022-05-16 19:23:20.328066" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_unbind.yml:20 Monday 16 May 2022 19:23:20 +0000 (0:00:00.205) 0:00:10.839 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:23:20 +0000 (0:00:00.025) 0:00:10.865 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:23:20 +0000 (0:00:00.021) 0:00:10.886 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:23:20 +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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:23:20 +0000 (0:00:00.028) 0:00:11.421 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:23:20 +0000 (0:00:00.032) 0:00:11.453 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:23:22 +0000 (0:00:02.015) 0:00:13.469 ************ 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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:23:23 +0000 (0:00:00.683) 0:00:14.152 ************ 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-1652729003.718508-316332-198907326207435/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:23:24 +0000 (0:00:00.915) 0:00:15.068 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:23:25 +0000 (0:00:00.689) 0:00:15.758 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.m0rv6_n_nbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:23:25 +0000 (0:00:00.515) 0:00:16.274 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:23:25 +0000 (0:00:00.050) 0:00:16.324 ************ NOTIFIED HANDLER fedora.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 [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:23:29 +0000 (0:00:03.751) 0:00:20.075 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.m0rv6_n_nbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:23:30 +0000 (0:00:00.491) 0:00:20.567 ************ 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-1652729010.1336157-316426-227008158158846/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:23:30 +0000 (0:00:00.638) 0:00:21.206 ************ 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-1652729010.7754872-316454-95455585946900/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:23:31 +0000 (0:00:00.659) 0:00:21.866 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:23:32 +0000 (0:00:01.160) 0:00:23.026 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.039275", "end": "2022-05-16 19:23:32.366429", "rc": 0, "start": "2022-05-16 19:23:32.327154" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:23:32 +0000 (0:00:00.399) 0:00:23.426 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:23:33 +0000 (0:00:00.623) 0:00:24.050 ************ 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 system.slice 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/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_unbind.yml:24 Monday 16 May 2022 19:23:34 +0000 (0:00:00.661) 0:00:24.711 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:23:34 +0000 (0:00:00.021) 0:00:24.732 ************ 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.043351", "end": "2022-05-16 19:23:34.060378", "rc": 1, "start": "2022-05-16 19:23:34.017027" } STDERR: /tmp/.nbde_client_dev_test could not be opened. MSG: non-zero return code ...ignoring TASK [Close unlocked device] *************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:23:34 +0000 (0:00:00.379) 0:00:25.112 ************ fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.009714", "end": "2022-05-16 19:23:34.404788", "rc": 4, "start": "2022-05-16 19:23:34.395074" } 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/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_unbind.yml:27 Monday 16 May 2022 19:23:34 +0000 (0:00:00.343) 0:00:25.455 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency when trying to only unbind] *************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_unbind.yml:33 Monday 16 May 2022 19:23:34 +0000 (0:00:00.018) 0:00:25.474 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:23:35 +0000 (0:00:00.018) 0:00:25.493 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:23:35 +0000 (0:00:00.017) 0:00:25.510 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:23:35 +0000 (0:00:00.020) 0:00:25.531 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:23:35 +0000 (0:00:00.482) 0:00:26.014 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:23:35 +0000 (0:00:00.027) 0:00:26.041 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:23:35 +0000 (0:00:00.030) 0:00:26.071 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:23:37 +0000 (0:00:02.144) 0:00:28.216 ************ 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:23:32 UTC", "StateChangeTimestampMonotonic": "30252151", "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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:23:38 +0000 (0:00:00.479) 0:00:28.696 ************ 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 [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:23:38 +0000 (0:00:00.610) 0:00:29.306 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:23:39 +0000 (0:00:00.500) 0:00:29.807 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:23:39 +0000 (0:00:00.022) 0:00:29.829 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:23:39 +0000 (0:00:00.036) 0:00:29.866 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:23:39 +0000 (0:00:00.020) 0:00:29.887 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:23:39 +0000 (0:00:00.019) 0:00:29.906 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:23:40 +0000 (0:00:00.585) 0:00:30.492 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:23:40 +0000 (0:00:00.597) 0:00:31.089 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:23:41 +0000 (0:00:01.111) 0:00:32.201 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.028979", "end": "2022-05-16 19:23:41.522612", "rc": 0, "start": "2022-05-16 19:23:41.493633" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:23:42 +0000 (0:00:00.378) 0:00:32.579 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:23:42 +0000 (0:00:00.626) 0:00:33.205 ************ 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 system.slice systemd-journald.socket 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:23:42 UTC", "StateChangeTimestampMonotonic": "39412406", "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/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:23:43 +0000 (0:00:00.508) 0:00:33.714 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_unbind.yml:42 Monday 16 May 2022 19:23:43 +0000 (0:00:00.021) 0:00:33.735 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:23:43 +0000 (0:00:00.020) 0:00:33.755 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:23:43 +0000 (0:00:00.355) 0:00:34.111 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:23:43 +0000 (0:00:00.189) 0:00:34.300 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [fedora.linux_system_roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:23:44 +0000 (0:00:00.383) 0:00:34.684 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.349315", "end": "2022-05-16 19:24:05.340549", "rc": 0, "start": "2022-05-16 19:23:43.991234" } 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:24:05 +0000 (0:00:21.730) 0:00:56.415 ************ =============================================================================== fedora.linux_system_roles.nbde_client : nbde_client update initramfs --- 21.73s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 3.75s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 3.13s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Install required packages for nbde_client tests ------------------------- 2.60s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 -------------------- fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.14s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.02s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.16s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.11s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmpp7rdeg_u/tests/nbde_client/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.95s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.92s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 0.69s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Enable clevis askpass unit ------ 0.68s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 fedora.linux_system_roles.nbde_client : Enable network flushing service --- 0.66s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 fedora.linux_system_roles.nbde_client : Deploy network flushing service --- 0.66s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Clone nbde_server role for the tests ------------------------------------ 0.66s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:26 -------------------- fedora.linux_system_roles.nbde_client : Deploy network flushing script --- 0.64s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 fedora.linux_system_roles.nbde_client : Reload systemd config ----------- 0.63s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 fedora.linux_system_roles.nbde_client : Reload systemd config ----------- 0.62s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.61s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/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_simple_bind_unbind_keyfile.yml ********************************* 1 plays in /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_unbind_keyfile.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_unbind_keyfile.yml:2 Monday 16 May 2022 19:24:16 +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/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_unbind_keyfile.yml:15 Monday 16 May 2022 19:24:17 +0000 (0:00:01.087) 0:00:01.096 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:2 Monday 16 May 2022 19:24:17 +0000 (0:00:00.022) 0:00:01.118 ************ 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/tmpp7rdeg_u/tests/nbde_client/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:5 Monday 16 May 2022 19:24:17 +0000 (0:00:00.015) 0:00:01.134 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmpp7rdeg_u/tests/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:18 Monday 16 May 2022 19:24:17 +0000 (0:00:00.026) 0:00:01.161 ************ 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": "1652729057", "epoch_int": "1652729057", "hour": "19", "iso8601": "2022-05-16T19:24:17Z", "iso8601_basic": "20220516T192417207494", "iso8601_basic_short": "20220516T192417", "iso8601_micro": "2022-05-16T19:24:17.207494Z", "minute": "24", "month": "05", "second": "17", "time": "19:24:17", "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-24-07-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-24-07-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 41468 22", "SSH_CONNECTION": "10.0.2.2 41468 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": 1766, "used": 205 }, "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": 235427, "block_size": 4096, "block_total": 253035, "block_used": 17608, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 964308992, "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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 Monday 16 May 2022 19:24:17 +0000 (0:00:00.029) 0:00:01.190 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:26 Monday 16 May 2022 19:24:20 +0000 (0:00:02.416) 0:00:03.606 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:33 Monday 16 May 2022 19:24:20 +0000 (0:00:00.520) 0:00:04.126 ************ 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:24:20 +0000 (0:00:00.026) 0:00:04.152 ************ 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:24:20 +0000 (0:00:00.019) 0:00:04.172 ************ 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:24:21 +0000 (0:00:00.498) 0:00:04.671 ************ 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:24:21 +0000 (0:00:00.025) 0:00:04.697 ************ 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:24:21 +0000 (0:00:00.021) 0:00:04.719 ************ 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:24:24 +0000 (0:00:03.155) 0:00:07.874 ************ 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:24:24 +0000 (0:00:00.027) 0:00:07.901 ************ 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:24:25 +0000 (0:00:00.508) 0:00:08.410 ************ 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:24:25 +0000 (0:00:00.027) 0:00:08.438 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:37 Monday 16 May 2022 19:24:26 +0000 (0:00:00.925) 0:00:09.363 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.014668", "end": "2022-05-16 19:24:26.038593", "rc": 0, "start": "2022-05-16 19:24:26.023925" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:41 Monday 16 May 2022 19:24:26 +0000 (0:00:00.520) 0:00:09.884 ************ 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.094580", "end": "2022-05-16 19:24:26.488136", "rc": 0, "start": "2022-05-16 19:24:26.393556" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:49 Monday 16 May 2022 19:24:27 +0000 (0:00:00.451) 0:00:10.336 ************ 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.004000", "end": "2022-05-16 19:24:27.208467", "rc": 0, "start": "2022-05-16 19:24:27.204467" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_unbind_keyfile.yml:20 Monday 16 May 2022 19:24:27 +0000 (0:00:00.196) 0:00:10.532 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:24:27 +0000 (0:00:00.024) 0:00:10.557 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:24:27 +0000 (0:00:00.019) 0:00:10.576 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:24:27 +0000 (0:00:00.494) 0:00:11.071 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:24:27 +0000 (0:00:00.030) 0:00:11.101 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:24:27 +0000 (0:00:00.035) 0:00:11.137 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:24:29 +0000 (0:00:02.059) 0:00:13.196 ************ 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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:24:30 +0000 (0:00:00.644) 0:00:13.841 ************ 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-1652729070.5910902-317250-197097894538764/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:24:31 +0000 (0:00:00.903) 0:00:14.745 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:24:32 +0000 (0:00:00.686) 0:00:15.431 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.lyrijxt3nbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:24:32 +0000 (0:00:00.477) 0:00:15.908 ************ changed: [/cache/fedora-34.qcow2.snap] => (item=/tmp/.nbde_client_dev_encryption_key) => { "ansible_loop_var": "item", "changed": true, "checksum": "ddcbbd80371add8b55e5288b1278a7ead06c422e", "dest": "/tmp/ansible.lyrijxt3nbde_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-1652729072.6823292-317310-73314179277993/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.lyrijxt3nbde_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.lyrijxt3nbde_client_encryption_keys/.nbde_client_dev_encryption_key", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 18, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:24:33 +0000 (0:00:01.376) 0:00:17.285 ************ NOTIFIED HANDLER fedora.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.lyrijxt3nbde_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.lyrijxt3nbde_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 [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:24:38 +0000 (0:00:04.330) 0:00:21.615 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.lyrijxt3nbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:24:38 +0000 (0:00:00.384) 0:00:22.000 ************ 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-1652729078.7524464-317393-127727870132309/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:24:39 +0000 (0:00:00.670) 0:00:22.670 ************ 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-1652729079.4235425-317421-263339925749007/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:24:40 +0000 (0:00:00.671) 0:00:23.341 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:24:41 +0000 (0:00:01.299) 0:00:24.640 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.035381", "end": "2022-05-16 19:24:41.185339", "rc": 0, "start": "2022-05-16 19:24:41.149958" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:24:41 +0000 (0:00:00.397) 0:00:25.038 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:24:42 +0000 (0:00:00.650) 0:00:25.689 ************ 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 systemd-journald.socket sysinit.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": "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/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_unbind_keyfile.yml:24 Monday 16 May 2022 19:24:43 +0000 (0:00:00.658) 0:00:26.347 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:24:43 +0000 (0:00:00.021) 0:00:26.368 ************ 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.046997", "end": "2022-05-16 19:24:42.936368", "rc": 1, "start": "2022-05-16 19:24:42.889371" } STDERR: /tmp/.nbde_client_dev_test could not be opened. MSG: non-zero return code ...ignoring TASK [Close unlocked device] *************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:24:43 +0000 (0:00:00.417) 0:00:26.786 ************ fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.010753", "end": "2022-05-16 19:24:43.302517", "rc": 4, "start": "2022-05-16 19:24:43.291764" } 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/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_unbind_keyfile.yml:27 Monday 16 May 2022 19:24:43 +0000 (0:00:00.364) 0:00:27.150 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency when trying to only unbind] *************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_unbind_keyfile.yml:33 Monday 16 May 2022 19:24:43 +0000 (0:00:00.022) 0:00:27.172 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml for /cache/fedora-34.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:2 Monday 16 May 2022 19:24:43 +0000 (0:00:00.021) 0:00:27.194 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:24:43 +0000 (0:00:00.020) 0:00:27.214 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:24:43 +0000 (0:00:00.021) 0:00:27.236 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:24:44 +0000 (0:00:00.527) 0:00:27.763 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:24:44 +0000 (0:00:00.030) 0:00:27.793 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:24:44 +0000 (0:00:00.031) 0:00:27.825 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:24:46 +0000 (0:00:02.033) 0:00:29.858 ************ 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:24:41 UTC", "StateChangeTimestampMonotonic": "32102132", "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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:24:47 +0000 (0:00:00.503) 0:00:30.362 ************ 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 [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:24:47 +0000 (0:00:00.687) 0:00:31.049 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:24:48 +0000 (0:00:00.528) 0:00:31.577 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:24:48 +0000 (0:00:00.021) 0:00:31.599 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:24:48 +0000 (0:00:00.034) 0:00:31.633 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:24:48 +0000 (0:00:00.020) 0:00:31.654 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:24:48 +0000 (0:00:00.020) 0:00:31.674 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:24:49 +0000 (0:00:00.656) 0:00:32.331 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:24:49 +0000 (0:00:00.647) 0:00:32.979 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:24:50 +0000 (0:00:01.120) 0:00:34.099 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.038498", "end": "2022-05-16 19:24:50.646447", "rc": 0, "start": "2022-05-16 19:24:50.607949" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:24:51 +0000 (0:00:00.399) 0:00:34.499 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:24:51 +0000 (0:00:00.626) 0:00:35.126 ************ 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 system.slice systemd-journald.socket basic.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:24:51 UTC", "StateChangeTimestampMonotonic": "41550227", "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/tmpp7rdeg_u/tests/nbde_client/tasks/verify_idempotency.yml:6 Monday 16 May 2022 19:24:52 +0000 (0:00:00.514) 0:00:35.640 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_simple_bind_unbind_keyfile.yml:42 Monday 16 May 2022 19:24:52 +0000 (0:00:00.027) 0:00:35.667 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:24:52 +0000 (0:00:00.021) 0:00:35.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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:24:52 +0000 (0:00:00.380) 0:00:36.070 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:24:52 +0000 (0:00:00.206) 0:00:36.276 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [fedora.linux_system_roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:24:53 +0000 (0:00:00.375) 0:00:36.652 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.136131", "end": "2022-05-16 19:25:14.322369", "rc": 0, "start": "2022-05-16 19:24:53.186238" } 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:25:14 +0000 (0:00:21.533) 0:00:58.186 ************ =============================================================================== fedora.linux_system_roles.nbde_client : nbde_client update initramfs --- 21.53s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 4.33s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 3.16s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Install required packages for nbde_client tests ------------------------- 2.42s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 -------------------- fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.06s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.03s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Ensure we transfer key files ---- 1.38s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.30s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.12s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmpp7rdeg_u/tests/nbde_client/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 --- 0.93s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.90s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.69s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 0.69s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Deploy network flushing service --- 0.67s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 fedora.linux_system_roles.nbde_client : Deploy network flushing script --- 0.67s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 fedora.linux_system_roles.nbde_client : Enable network flushing service --- 0.66s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 fedora.linux_system_roles.nbde_client : Deploy network flushing script --- 0.66s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 fedora.linux_system_roles.nbde_client : Reload systemd config ----------- 0.65s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 fedora.linux_system_roles.nbde_client : Deploy network flushing service --- 0.65s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/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_use_existing_binding.yml *************************************** 1 plays in /tmp/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:2 Monday 16 May 2022 19:25:25 +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/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:7 Monday 16 May 2022 19:25:26 +0000 (0:00:01.097) 0:00:01.105 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:2 Monday 16 May 2022 19:25:26 +0000 (0:00:00.023) 0:00:01.129 ************ 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/tmpp7rdeg_u/tests/nbde_client/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:5 Monday 16 May 2022 19:25:26 +0000 (0:00:00.017) 0:00:01.147 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmpp7rdeg_u/tests/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:18 Monday 16 May 2022 19:25:26 +0000 (0:00:00.027) 0:00:01.174 ************ 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": "1652729126", "epoch_int": "1652729126", "hour": "19", "iso8601": "2022-05-16T19:25:26Z", "iso8601_basic": "20220516T192526285181", "iso8601_basic_short": "20220516T192526", "iso8601_micro": "2022-05-16T19:25:26.285181Z", "minute": "25", "month": "05", "second": "26", "time": "19:25:26", "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-25-16-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-25-16-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 41718 22", "SSH_CONNECTION": "10.0.2.2 41718 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": 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": 235414, "block_size": 4096, "block_total": 253035, "block_used": 17621, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 964255744, "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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 Monday 16 May 2022 19:25:27 +0000 (0:00:00.075) 0:00:01.250 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:26 Monday 16 May 2022 19:25:29 +0000 (0:00:02.382) 0:00:03.633 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:33 Monday 16 May 2022 19:25:29 +0000 (0:00:00.566) 0:00:04.200 ************ 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:25:30 +0000 (0:00:00.027) 0:00:04.227 ************ 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:25:30 +0000 (0:00:00.020) 0:00:04.248 ************ 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:25:30 +0000 (0:00:00.493) 0:00:04.742 ************ 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:25:30 +0000 (0:00:00.026) 0:00:04.768 ************ 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:25:30 +0000 (0:00:00.031) 0:00:04.800 ************ 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:25:33 +0000 (0:00:03.305) 0:00:08.105 ************ 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:25:33 +0000 (0:00:00.028) 0:00:08.134 ************ 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:25:34 +0000 (0:00:00.501) 0:00:08.635 ************ 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:25:34 +0000 (0:00:00.030) 0:00:08.666 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:37 Monday 16 May 2022 19:25:35 +0000 (0:00:00.940) 0:00:09.606 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.014410", "end": "2022-05-16 19:25:35.347748", "rc": 0, "start": "2022-05-16 19:25:35.333338" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:41 Monday 16 May 2022 19:25:35 +0000 (0:00:00.516) 0:00:10.123 ************ 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.117365", "end": "2022-05-16 19:25:35.813754", "rc": 0, "start": "2022-05-16 19:25:35.696389" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:49 Monday 16 May 2022 19:25:36 +0000 (0:00:00.476) 0:00:10.599 ************ 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.003921", "end": "2022-05-16 19:25:36.562381", "rc": 0, "start": "2022-05-16 19:25:36.558460" } TASK [Add binding to slot 1] *************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:10 Monday 16 May 2022 19:25:36 +0000 (0:00:00.202) 0:00:10.802 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:25:36 +0000 (0:00:00.034) 0:00:10.837 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:25:36 +0000 (0:00:00.022) 0:00:10.859 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:25:37 +0000 (0:00:00.541) 0:00:11.401 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:25:37 +0000 (0:00:00.028) 0:00:11.429 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:25:37 +0000 (0:00:00.031) 0:00:11.460 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:25:39 +0000 (0:00:02.004) 0:00:13.465 ************ 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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:25:39 +0000 (0:00:00.680) 0:00:14.145 ************ 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-1652729139.9813867-318246-95206229088115/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:25:40 +0000 (0:00:00.929) 0:00:15.075 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:25:41 +0000 (0:00:00.697) 0:00:15.773 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.dig5ebgxnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:25:42 +0000 (0:00:00.512) 0:00:16.286 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:25:42 +0000 (0:00:00.042) 0:00:16.328 ************ NOTIFIED HANDLER fedora.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 [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:25:48 +0000 (0:00:06.122) 0:00:22.451 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.dig5ebgxnbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:25:48 +0000 (0:00:00.514) 0:00:22.965 ************ 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-1652729148.8010106-318340-28661218075769/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:25:49 +0000 (0:00:00.667) 0:00:23.632 ************ 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-1652729149.4698427-318368-199460692373166/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:25:50 +0000 (0:00:00.670) 0:00:24.302 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:25:51 +0000 (0:00:01.226) 0:00:25.529 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.040387", "end": "2022-05-16 19:25:51.159611", "rc": 0, "start": "2022-05-16 19:25:51.119224" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:25:51 +0000 (0:00:00.410) 0:00:25.939 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:25:52 +0000 (0:00:00.633) 0:00:26.572 ************ 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 sysinit.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": "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/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:21 Monday 16 May 2022 19:25:53 +0000 (0:00:00.682) 0:00:27.255 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:25:53 +0000 (0:00:00.029) 0:00:27.284 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:25:53 +0000 (0:00:00.021) 0:00:27.306 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:25:53 +0000 (0:00:00.500) 0:00:27.806 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:25:53 +0000 (0:00:00.029) 0:00:27.836 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:25:53 +0000 (0:00:00.032) 0:00:27.868 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:25:55 +0000 (0:00:01.966) 0:00:29.835 ************ 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:25:51 UTC", "StateChangeTimestampMonotonic": "33062468", "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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:25:56 +0000 (0:00:00.493) 0:00:30.328 ************ 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 [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:25:56 +0000 (0:00:00.630) 0:00:30.959 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:25:57 +0000 (0:00:00.535) 0:00:31.495 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.7q9m0bg8nbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:25:57 +0000 (0:00:00.364) 0:00:31.859 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:25:57 +0000 (0:00:00.040) 0:00:31.900 ************ NOTIFIED HANDLER fedora.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 [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:26:10 +0000 (0:00:12.718) 0:00:44.618 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.7q9m0bg8nbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:26:10 +0000 (0:00:00.369) 0:00:44.988 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:26:11 +0000 (0:00:00.630) 0:00:45.619 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:26:12 +0000 (0:00:00.616) 0:00:46.236 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:26:13 +0000 (0:00:01.128) 0:00:47.365 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.032461", "end": "2022-05-16 19:26:12.970663", "rc": 0, "start": "2022-05-16 19:26:12.938202" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:26:13 +0000 (0:00:00.382) 0:00:47.748 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:26:14 +0000 (0:00:00.640) 0:00:48.388 ************ 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 system.slice sysinit.target systemd-journald.socket", "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:26:13 UTC", "StateChangeTimestampMonotonic": "54871838", "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/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:31 Monday 16 May 2022 19:26:14 +0000 (0:00:00.494) 0:00:48.883 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:26:14 +0000 (0:00:00.030) 0:00:48.913 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:26:14 +0000 (0:00:00.019) 0:00:48.932 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:26:15 +0000 (0:00:00.498) 0:00:49.431 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:26:15 +0000 (0:00:00.033) 0:00:49.464 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:26:15 +0000 (0:00:00.037) 0:00:49.502 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:26:17 +0000 (0:00:01.927) 0:00:51.429 ************ 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:25:51 UTC", "StateChangeTimestampMonotonic": "33062468", "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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:26:17 +0000 (0:00:00.476) 0:00:51.906 ************ 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 [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:26:18 +0000 (0:00:00.631) 0:00:52.537 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:26:18 +0000 (0:00:00.515) 0:00:53.053 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.mnyfswrbnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:26:19 +0000 (0:00:00.364) 0:00:53.418 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:26:19 +0000 (0:00:00.043) 0:00:53.461 ************ NOTIFIED HANDLER fedora.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 [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:26:19 +0000 (0:00:00.556) 0:00:54.018 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.mnyfswrbnbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:26:20 +0000 (0:00:00.390) 0:00:54.409 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:26:20 +0000 (0:00:00.602) 0:00:55.011 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:26:21 +0000 (0:00:00.597) 0:00:55.608 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:26:22 +0000 (0:00:01.104) 0:00:56.713 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.028696", "end": "2022-05-16 19:26:22.323433", "rc": 0, "start": "2022-05-16 19:26:22.294737" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:26:22 +0000 (0:00:00.388) 0:00:57.101 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:26:23 +0000 (0:00:00.604) 0:00:57.706 ************ 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 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]", "StateChangeTimestamp": "Mon 2022-05-16 19:26:13 UTC", "StateChangeTimestampMonotonic": "54871838", "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/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:40 Monday 16 May 2022 19:26:23 +0000 (0:00:00.486) 0:00:58.193 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:26:24 +0000 (0:00:00.024) 0:00:58.217 ************ 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.789699", "end": "2022-05-16 19:26:27.574697", "rc": 0, "start": "2022-05-16 19:26:23.784998" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:26:28 +0000 (0:00:04.141) 0:01:02.358 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.032078", "end": "2022-05-16 19:26:28.008529", "rc": 0, "start": "2022-05-16 19:26:27.976451" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:43 Monday 16 May 2022 19:26:28 +0000 (0:00:00.427) 0:01:02.785 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:50 Monday 16 May 2022 19:26:28 +0000 (0:00:00.019) 0:01:02.804 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:26:28 +0000 (0:00:00.023) 0:01:02.828 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:26:28 +0000 (0:00:00.347) 0:01:03.175 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:26:29 +0000 (0:00:00.199) 0:01:03.374 ************ 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/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:55 Monday 16 May 2022 19:26:29 +0000 (0:00:00.361) 0:01:03.736 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml for /cache/fedora-34.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:2 Monday 16 May 2022 19:26:29 +0000 (0:00:00.022) 0:01:03.759 ************ 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/tmpp7rdeg_u/tests/nbde_client/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:5 Monday 16 May 2022 19:26:29 +0000 (0:00:00.019) 0:01:03.779 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmpp7rdeg_u/tests/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:18 Monday 16 May 2022 19:26:29 +0000 (0:00:00.032) 0:01:03.812 ************ 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": "1652729174", "epoch_int": "1652729174", "hour": "19", "iso8601": "2022-05-16T19:26:14Z", "iso8601_basic": "20220516T192614645231", "iso8601_basic_short": "20220516T192614", "iso8601_micro": "2022-05-16T19:26:14.645231Z", "minute": "26", "month": "05", "second": "14", "time": "19:26:14", "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-25-16-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-25-16-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 41718 22", "SSH_CONNECTION": "10.0.2.2 41718 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": 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": 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": 235414, "block_size": 4096, "block_total": 253035, "block_used": 17621, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 65513, "inode_total": 65536, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 964255744, "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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 Monday 16 May 2022 19:26:29 +0000 (0:00:00.031) 0:01:03.844 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:26 Monday 16 May 2022 19:26:31 +0000 (0:00:02.025) 0:01:05.869 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:33 Monday 16 May 2022 19:26:32 +0000 (0:00:00.552) 0:01:06.422 ************ 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:26:32 +0000 (0:00:00.021) 0:01:06.444 ************ 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:26:32 +0000 (0:00:00.018) 0:01:06.462 ************ 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:26:32 +0000 (0:00:00.516) 0:01:06.979 ************ 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:26:32 +0000 (0:00:00.027) 0:01:07.007 ************ 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:26:32 +0000 (0:00:00.022) 0:01:07.030 ************ 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:26:34 +0000 (0:00:01.917) 0:01:08.947 ************ 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:26:34 +0000 (0:00:00.032) 0:01:08.979 ************ 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:26:35 +0000 (0:00:00.368) 0:01:09.348 ************ 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:26:35 +0000 (0:00:00.029) 0:01:09.378 ************ 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:25:34 UTC", "ActiveEnterTimestampMonotonic": "16107787", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-05-16 19:25:34 UTC", "AssertTimestampMonotonic": "16105672", "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": "6101000", "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:25:34 UTC", "ConditionTimestampMonotonic": "16105670", "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:25:34 UTC", "InactiveExitTimestampMonotonic": "16107787", "InvocationID": "7584773ce619483d8c755fc1bfdd928e", "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": "8", "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:25:34 UTC", "StateChangeTimestampMonotonic": "16107787", "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 [Create device for testing] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:37 Monday 16 May 2022 19:26:35 +0000 (0:00:00.510) 0:01:09.889 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.013293", "end": "2022-05-16 19:26:35.473593", "rc": 0, "start": "2022-05-16 19:26:35.460300" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:41 Monday 16 May 2022 19:26:36 +0000 (0:00:00.359) 0:01:10.249 ************ 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.087602", "end": "2022-05-16 19:26:35.911193", "rc": 0, "start": "2022-05-16 19:26:35.823591" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:49 Monday 16 May 2022 19:26:36 +0000 (0:00:00.443) 0:01:10.693 ************ 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.004316", "end": "2022-05-16 19:26:36.650069", "rc": 0, "start": "2022-05-16 19:26:36.645753" } TASK [Create temp file for the advertisement] ********************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:58 Monday 16 May 2022 19:26:36 +0000 (0:00:00.198) 0:01:10.891 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.fhql1s_zadv", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Make sure temp file was created] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:63 Monday 16 May 2022 19:26:37 +0000 (0:00:00.343) 0:01:11.235 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Download advertisement] ************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:68 Monday 16 May 2022 19:26:37 +0000 (0:00:00.021) 0:01:11.256 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum_dest": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "checksum_src": "6a6eba19206c4b43a165a5c140fd49c9ee0ef7fd", "dest": "/tmp/ansible.fhql1s_zadv", "elapsed": 0, "gid": 0, "group": "root", "md5sum": "7fc3cde2a7843a3efbff7dac78ebffa1", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 993, "src": "/root/.ansible/tmp/ansible-tmp-1652729197.0912776-319329-276025668296136/tmpmetdovpr", "state": "file", "status_code": 200, "uid": 0, "url": "http://localhost/adv" } MSG: OK (993 bytes) TASK [Add binding to slot 1] *************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:74 Monday 16 May 2022 19:26:37 +0000 (0:00:00.630) 0:01:11.887 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": "clevis luks bind -f -d /tmp/.nbde_client_dev_test tang '{\"url\": \"http://localhost\", \"adv\": \"/tmp/ansible.fhql1s_zadv\"}' <<< test-password-here\n", "delta": "0:00:04.655377", "end": "2022-05-16 19:26:42.119974", "rc": 0, "start": "2022-05-16 19:26:37.464597" } STDERR: Warning: Value 512 is outside of the allowed entropy range, adjusting it. TASK [Remove temp advertisement file] ****************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:81 Monday 16 May 2022 19:26:42 +0000 (0:00:05.009) 0:01:16.897 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.fhql1s_zadv", "state": "absent" } TASK [Add binding to slot 2 without providing encryption_password] ************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:86 Monday 16 May 2022 19:26:43 +0000 (0:00:00.349) 0:01:17.246 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:26:43 +0000 (0:00:00.023) 0:01:17.270 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:26:43 +0000 (0:00:00.020) 0:01:17.291 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:26:43 +0000 (0:00:00.503) 0:01:17.794 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:26:43 +0000 (0:00:00.031) 0:01:17.825 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:26:43 +0000 (0:00:00.032) 0:01:17.857 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:26:45 +0000 (0:00:01.959) 0:01:19.817 ************ 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:25:51 UTC", "StateChangeTimestampMonotonic": "33062468", "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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:26:46 +0000 (0:00:00.494) 0:01:20.311 ************ 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 [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:26:46 +0000 (0:00:00.625) 0:01:20.936 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:26:47 +0000 (0:00:00.569) 0:01:21.506 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.0u4o7233nbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:26:47 +0000 (0:00:00.381) 0:01:21.888 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:26:47 +0000 (0:00:00.042) 0:01:21.930 ************ 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 [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:27:01 +0000 (0:00:13.669) 0:01:35.600 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.0u4o7233nbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:27:01 +0000 (0:00:00.377) 0:01:35.978 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:27:02 +0000 (0:00:00.618) 0:01:36.596 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:27:02 +0000 (0:00:00.601) 0:01:37.197 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:27:04 +0000 (0:00:01.091) 0:01:38.289 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.030801", "end": "2022-05-16 19:27:03.877845", "rc": 0, "start": "2022-05-16 19:27:03.847044" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:27:04 +0000 (0:00:00.365) 0:01:38.654 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:27:05 +0000 (0:00:00.645) 0:01:39.299 ************ 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": "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:26:13 UTC", "StateChangeTimestampMonotonic": "54871838", "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/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:96 Monday 16 May 2022 19:27:05 +0000 (0:00:00.511) 0:01:39.811 ************ TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Monday 16 May 2022 19:27:05 +0000 (0:00:00.025) 0:01:39.836 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Monday 16 May 2022 19:27:05 +0000 (0:00:00.019) 0:01:39.855 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Monday 16 May 2022 19:27:06 +0000 (0:00:00.497) 0:01:40.353 ************ 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/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Monday 16 May 2022 19:27:06 +0000 (0:00:00.027) 0:01:40.381 ************ included: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Monday 16 May 2022 19:27:06 +0000 (0:00:00.032) 0:01:40.413 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Monday 16 May 2022 19:27:08 +0000 (0:00:01.923) 0:01:42.336 ************ 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:25:51 UTC", "StateChangeTimestampMonotonic": "33062468", "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 [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Monday 16 May 2022 19:27:08 +0000 (0:00:00.484) 0:01:42.821 ************ 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 [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Monday 16 May 2022 19:27:09 +0000 (0:00:00.614) 0:01:43.435 ************ 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 [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Monday 16 May 2022 19:27:09 +0000 (0:00:00.546) 0:01:43.982 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.nw3bdohjnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Monday 16 May 2022 19:27:10 +0000 (0:00:00.359) 0:01:44.342 ************ 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 [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Monday 16 May 2022 19:27:10 +0000 (0:00:00.041) 0:01:44.383 ************ 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 [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Monday 16 May 2022 19:27:10 +0000 (0:00:00.582) 0:01:44.966 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.nw3bdohjnbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Monday 16 May 2022 19:27:11 +0000 (0:00:00.375) 0:01:45.341 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Monday 16 May 2022 19:27:11 +0000 (0:00:00.596) 0:01:45.938 ************ 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 [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Monday 16 May 2022 19:27:12 +0000 (0:00:00.611) 0:01:46.549 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Monday 16 May 2022 19:27:13 +0000 (0:00:01.079) 0:01:47.629 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.031517", "end": "2022-05-16 19:27:13.223406", "rc": 0, "start": "2022-05-16 19:27:13.191889" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Monday 16 May 2022 19:27:13 +0000 (0:00:00.378) 0:01:48.007 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Monday 16 May 2022 19:27:14 +0000 (0:00:00.621) 0:01:48.628 ************ 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 sysinit.target systemd-journald.socket system.slice", "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": "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:26:13 UTC", "StateChangeTimestampMonotonic": "54871838", "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/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:105 Monday 16 May 2022 19:27:14 +0000 (0:00:00.495) 0:01:49.124 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml for /cache/fedora-34.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 Monday 16 May 2022 19:27:14 +0000 (0:00:00.024) 0:01:49.149 ************ 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.883972", "end": "2022-05-16 19:27:18.613780", "rc": 0, "start": "2022-05-16 19:27:14.729808" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:10 Monday 16 May 2022 19:27:19 +0000 (0:00:04.245) 0:01:53.394 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.036503", "end": "2022-05-16 19:27:18.998491", "rc": 0, "start": "2022-05-16 19:27:18.961988" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:108 Monday 16 May 2022 19:27:19 +0000 (0:00:00.380) 0:01:53.774 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:115 Monday 16 May 2022 19:27:19 +0000 (0:00:00.022) 0:01:53.796 ************ included: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml for /cache/fedora-34.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:2 Monday 16 May 2022 19:27:19 +0000 (0:00:00.022) 0:01:53.819 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:7 Monday 16 May 2022 19:27:19 +0000 (0:00:00.357) 0:01:54.176 ************ 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/tmpp7rdeg_u/tests/nbde_client/tasks/cleanup_test.yml:13 Monday 16 May 2022 19:27:20 +0000 (0:00:00.200) 0:01:54.377 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } RUNNING HANDLER [fedora.linux_system_roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:27:20 +0000 (0:00:00.348) 0:01:54.726 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.495484", "end": "2022-05-16 19:27:41.807889", "rc": 0, "start": "2022-05-16 19:27:20.312405" } 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 *** RUNNING HANDLER [fedora.linux_system_roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:27:42 +0000 (0:00:21.865) 0:02:16.591 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:20.177709", "end": "2022-05-16 19:28:02.383520", "rc": 0, "start": "2022-05-16 19:27:42.205811" } 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 *** RUNNING HANDLER [fedora.linux_system_roles.nbde_client : nbde_client update initramfs] *** task path: /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Monday 16 May 2022 19:28:02 +0000 (0:00:20.575) 0:02:37.167 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:20.169988", "end": "2022-05-16 19:28:22.956602", "rc": 0, "start": "2022-05-16 19:28:02.786614" } 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=141 changed=40 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 Monday 16 May 2022 19:28:23 +0000 (0:00:20.581) 0:02:57.748 ************ =============================================================================== fedora.linux_system_roles.nbde_client : nbde_client update initramfs --- 21.87s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 fedora.linux_system_roles.nbde_client : nbde_client update initramfs --- 20.58s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 fedora.linux_system_roles.nbde_client : nbde_client update initramfs --- 20.58s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 fedora.linux_system_roles.nbde_client : Perform clevis operations ------ 13.67s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 fedora.linux_system_roles.nbde_client : Perform clevis operations ------ 12.72s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 6.12s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Add binding to slot 1 --------------------------------------------------- 5.01s /tmp/tmpp7rdeg_u/tests/nbde_client/tests_use_existing_binding.yml:74 ---------- Verify we can unlock the device ----------------------------------------- 4.25s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 ----------- Verify we can unlock the device ----------------------------------------- 4.14s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/verify_unlock_device.yml:2 ----------- /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.38s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 -------------------- Install required packages for nbde_client tests ------------------------- 2.03s /tmp/tmpp7rdeg_u/tests/nbde_client/tasks/setup_test.yml:22 -------------------- fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.00s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 1.97s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 1.96s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 1.93s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 1.92s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 1.92s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.23s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.13s /tmp/tmpi9z83b_b/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85