ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpenemk883 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_passphrase_temporary.yml *************************************** 1 plays in /tmp/tmpctf5lper/tests/tests_passphrase_temporary.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpctf5lper/tests/tests_passphrase_temporary.yml:2 Tuesday 19 July 2022 20:00:02 +0000 (0:00:00.014) 0:00:00.014 ********** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmpctf5lper/tests/tests_passphrase_temporary.yml:16 Tuesday 19 July 2022 20:00:03 +0000 (0:00:01.112) 0:00:01.126 ********** included: /tmp/tmpctf5lper/tests/tasks/setup_test.yml for /cache/fedora-35.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmpctf5lper/tests/tasks/setup_test.yml:2 Tuesday 19 July 2022 20:00:03 +0000 (0:00:00.029) 0:00:01.156 ********** ok: [/cache/fedora-35.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/tmpctf5lper/tests/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmpctf5lper/tests/tasks/setup_test.yml:5 Tuesday 19 July 2022 20:00:03 +0000 (0:00:00.053) 0:00:01.209 ********** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmpctf5lper/tests/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmpctf5lper/tests/tasks/setup_test.yml:20 Tuesday 19 July 2022 20:00:03 +0000 (0:00:00.063) 0:00:01.273 ********** ok: [/cache/fedora-35.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,gpt2)/vmlinuz-5.18.9-100.fc35.x86_64", "console": "ttyS0,115200n8", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=33b9e3d1-3b6e-4051-916b-90269d460a4c", "rootflags": "subvol=root" }, "date_time": { "date": "2022-07-19", "day": "19", "epoch": "1658260803", "epoch_int": "1658260803", "hour": "20", "iso8601": "2022-07-19T20:00:03Z", "iso8601_basic": "20220719T200003223294", "iso8601_basic_short": "20220719T200003", "iso8601_micro": "2022-07-19T20:00:03.223294Z", "minute": "00", "month": "07", "second": "03", "time": "20:00:03", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Tuesday", "weekday_number": "2", "weeknumber": "29", "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" ], "vda2": [ "boot" ], "vda5": [ "fedora" ], "vdb1": [ "yumcache" ], "vdc1": [ "yumvarlib" ] }, "masters": {}, "uuids": { "sr0": [ "2022-07-19-19-56-29-00" ], "vda2": [ "8b65cc92-e6aa-4fbc-b88c-0f30687281c1" ], "vda3": [ "8A86-C74C" ], "vda5": [ "33b9e3d1-3b6e-4051-916b-90269d460a4c" ], "vdb1": [ "aac7ff14-5583-4f0e-a3ee-9ba1b318b566" ], "vdc1": [ "315f88c7-a742-477c-b0b5-d249b1c240ea" ] } }, "devices": { "loop0": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": {}, "removable": "0", "rotational": "0", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "support_discard": "4096", "vendor": null, "virtual": 1 }, "sr0": { "holders": [], "host": "", "links": { "ids": [ "ata-QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-07-19-19-56-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": [] }, "sectors": "2048", "sectorsize": 512, "size": "1.00 MB", "start": "2048", "uuid": null }, "vda2": { "holders": [], "links": { "ids": [], "labels": [ "boot" ], "masters": [], "uuids": [ "8b65cc92-e6aa-4fbc-b88c-0f30687281c1" ] }, "sectors": "1024000", "sectorsize": 512, "size": "500.00 MB", "start": "4096", "uuid": "8b65cc92-e6aa-4fbc-b88c-0f30687281c1" }, "vda3": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "8A86-C74C" ] }, "sectors": "204800", "sectorsize": 512, "size": "100.00 MB", "start": "1028096", "uuid": "8A86-C74C" }, "vda4": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "sectors": "8192", "sectorsize": 512, "size": "4.00 MB", "start": "1232896", "uuid": null }, "vda5": { "holders": [], "links": { "ids": [], "labels": [ "fedora" ], "masters": [], "uuids": [ "33b9e3d1-3b6e-4051-916b-90269d460a4c" ] }, "sectors": "7145472", "sectorsize": 512, "size": "3.41 GB", "start": "1241088", "uuid": "33b9e3d1-3b6e-4051-916b-90269d460a4c" } }, "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": [ "aac7ff14-5583-4f0e-a3ee-9ba1b318b566" ] }, "sectors": "4192256", "sectorsize": 512, "size": "2.00 GB", "start": "2048", "uuid": "aac7ff14-5583-4f0e-a3ee-9ba1b318b566" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "4194304", "sectorsize": "512", "size": "2.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": [ "315f88c7-a742-477c-b0b5-d249b1c240ea" ] }, "sectors": "4192256", "sectorsize": 512, "size": "2.00 GB", "start": "2048", "uuid": "315f88c7-a742-477c-b0b5-d249b1c240ea" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "4194304", "sectorsize": "512", "size": "2.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "zram0": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": {}, "removable": "0", "rotational": "0", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "", "sectors": "4030464", "sectorsize": "4096", "size": "1.92 GB", "support_discard": "4096", "vendor": null, "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": "35", "distribution_release": "", "distribution_version": "35", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "." ] }, "domain": "virt.pnr.lab.eng.rdu2.redhat.com", "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", "DEBUGINFOD_URLS": "https://debuginfod.fedoraproject.org/ ", "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 49306 22", "SSH_CONNECTION": "10.0.2.2 49306 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": "ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com", "gather_subset": [ "all" ], "hostname": "ibm-p8-kvm-03-guest-02", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "5.18.9-100.fc35.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Sat Jul 2 15:57:56 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": "c8179c923568421ab56d85189fba17f5", "memfree_mb": 1229, "memory_mb": { "nocache": { "free": 1779, "used": 189 }, "real": { "free": 1229, "total": 1968, "used": 739 }, "swap": { "cached": 0, "free": 1967, "total": 1967, "used": 0 } }, "memtotal_mb": 1968, "module_setup": true, "mounts": [ { "block_available": 666928, "block_size": 4096, "block_total": 893184, "block_used": 226256, "device": "/dev/vda5", "fstype": "btrfs", "inode_available": 0, "inode_total": 0, "inode_used": 0, "mount": "/", "options": "rw,seclabel,relatime,compress=zstd:1,space_cache,subvolid=256,subvol=/root,bind", "size_available": 2731737088, "size_total": 3658481664, "uuid": "33b9e3d1-3b6e-4051-916b-90269d460a4c" }, { "block_available": 666928, "block_size": 4096, "block_total": 893184, "block_used": 226256, "device": "/dev/vda5", "fstype": "btrfs", "inode_available": 0, "inode_total": 0, "inode_used": 0, "mount": "/home", "options": "rw,seclabel,relatime,compress=zstd:1,space_cache,subvolid=258,subvol=/home,bind", "size_available": 2731737088, "size_total": 3658481664, "uuid": "33b9e3d1-3b6e-4051-916b-90269d460a4c" }, { "block_available": 408900, "block_size": 4096, "block_total": 506074, "block_used": 97174, "device": "/dev/vdb1", "fstype": "ext4", "inode_available": 130990, "inode_total": 131072, "inode_used": 82, "mount": "/var/cache/dnf", "options": "rw,seclabel,relatime", "size_available": 1674854400, "size_total": 2072879104, "uuid": "aac7ff14-5583-4f0e-a3ee-9ba1b318b566" }, { "block_available": 386738, "block_size": 1024, "block_total": 485330, "block_used": 98592, "device": "/dev/vda2", "fstype": "ext4", "inode_available": 127635, "inode_total": 128016, "inode_used": 381, "mount": "/boot", "options": "rw,seclabel,relatime", "size_available": 396019712, "size_total": 496977920, "uuid": "8b65cc92-e6aa-4fbc-b88c-0f30687281c1" }, { "block_available": 475566, "block_size": 4096, "block_total": 506074, "block_used": 30508, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 131049, "inode_total": 131072, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 1947918336, "size_total": 2072879104, "uuid": "315f88c7-a742-477c-b0b5-d249b1c240ea" }, { "block_available": 46040, "block_size": 2048, "block_total": 51078, "block_used": 5038, "device": "/dev/vda3", "fstype": "vfat", "inode_available": 0, "inode_total": 0, "inode_used": 0, "mount": "/boot/efi", "options": "rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro", "size_available": 94289920, "size_total": 104607744, "uuid": "8A86-C74C" } ], "nodename": "ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/vmlinuz-5.18.9-100.fc35.x86_64", "console": [ "tty1", "ttyS0,115200n8" ], "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=33b9e3d1-3b6e-4051-916b-90269d460a4c", "rootflags": "subvol=root" }, "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": 5, "minor": 10, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 10, 5, "final", 0 ] }, "python_version": "3.10.5", "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": "AAAAB3NzaC1kc3MAAACBAMwXvUOKA/0vg7E6792OawWNY8HXuJyboogaK4xT49P+sQYiUmqugRN7NSU67wUGeYXnTklhM4AgurLd67swSjzb82nRNAjU/8k4m9Ks/F6KrcUZ+en4ek2okXX8/OuZgzRyKX1uzSpJ2aBjpBzPPHA/O9yPD4xCIUxO+9wsHISXAAAAFQCI2kRkbv49QNsCH3b9Uj/aKNLhBQAAAIEAnJLB1ABdG74LbgcWuYnX9km4nxYJ6SSzo9NMRvyqBPYQc5HaIjmBoqhwhbWrCVWoKpTnTh7Fr1YM5ghAj+1UlA5Ql2ZmZyT/0dMRoWxMF0J9N67pgjL8dBK0gCanE2pTubY86dDpW9VEs6YAcB84Y7birfORDgMwrENNs7kppG4AAACAIwub1RZMg0wc7AqnN8x+Zn8icbr8McbvpIW/5jgpjQx0/zi05XXuSighYsXQrcZer4gzGEX8AqVMejdNYVawZ8jS0sHZIOQ/eBWtNLyzVYbljMmy0WhuXZo47T3qLzOsDHexAP/Dj4VL9UV0RAeOyd9u9YdZoxTGTPMAbnRGWSk=", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCAohlh3O9N8CQn36NREv/zlk8pDOFWigxGjsr+U4ynWDeXpq0/qt24z5qEDpLSA+v5fdEgQk1nWZw6GcJZz+PE=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAICAANM2rxVdBJyYMFVfsvjCG0Icz+u4e3t9OXBXiumaI", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDwKMx+2rN8b7yndweeOTNzpM1nbOd0SydVvEslvMTCM+4puAMRjDHecuPJtwfO9BeQvX6sVr9p6q9Ry2rzoNCnHifjNwRdNBOUifU/V/p0hoJSWxfaDFkRfB/V9xVDVYhyV3I+/rAkVecLi5YnBrp0v2AY0Aha60S3nmmUq9wBI3g+6fyG+1UvQHypMnv5SziPOfwcrzZCIUF4W1yhFW0Je7NQJmLgcOb/mfsazp8hSlBbepY9XGbo+JN6QhpxtmnwnMX8eqbOgkQgPpwB8Tv4YIu5mlzXebCYJd/yeAgdzHOJN6MLWsza3bO2jMGN2x/Nyl67vOa4x98EzvQaoGW0LSvMABb7/kWZR1B5TPB97gBmYDPp2SRvy3ufBjY/yJZBtbsAzzDnySx9fgRnkc1QoOiPogLOMDMmFrrQA8umgY6nLX8lStHmodPnCWkPPHtPsaRHgyAayjZvUf232NVlRfMwnvU6g9HL2yWOzoVWXPxdk4gPtBsiZA71Bdwblqk=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 1967, "swaptotal_mb": 1967, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "QEMU", "uptime_seconds": 210, "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/tmpctf5lper/tests/tasks/setup_test.yml:24 Tuesday 19 July 2022 20:00:03 +0000 (0:00:00.044) 0:00:01.317 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmpctf5lper/tests/tasks/setup_test.yml:28 Tuesday 19 July 2022 20:00:05 +0000 (0:00:01.994) 0:00:03.311 ********** ok: [/cache/fedora-35.qcow2.snap -> localhost] => { "after": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "before": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmpctf5lper/tests/tasks/setup_test.yml:35 Tuesday 19 July 2022 20:00:06 +0000 (0:00:00.607) 0:00:03.918 ********** 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 Tuesday 19 July 2022 20:00:06 +0000 (0:00:00.035) 0:00:03.954 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/fedora-35.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 Tuesday 19 July 2022 20:00:06 +0000 (0:00:00.029) 0:00:03.983 ********** ok: [/cache/fedora-35.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 Tuesday 19 July 2022 20:00:06 +0000 (0:00:00.535) 0:00:04.519 ********** ok: [/cache/fedora-35.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 Tuesday 19 July 2022 20:00:07 +0000 (0:00:00.042) 0:00:04.561 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/fedora-35.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 Tuesday 19 July 2022 20:00:07 +0000 (0:00:00.032) 0:00:04.594 ********** ok: [/cache/fedora-35.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 Tuesday 19 July 2022 20:00:08 +0000 (0:00:01.806) 0:00:06.400 ********** skipping: [/cache/fedora-35.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 Tuesday 19 July 2022 20:00:08 +0000 (0:00:00.031) 0:00:06.432 ********** ok: [/cache/fedora-35.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 Tuesday 19 July 2022 20:00:09 +0000 (0:00:00.503) 0:00:06.936 ********** skipping: [/cache/fedora-35.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 Tuesday 19 July 2022 20:00:09 +0000 (0:00:00.041) 0:00:06.977 ********** ok: [/cache/fedora-35.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": "Tue 2022-07-19 19:56:57 UTC", "ActiveEnterTimestampMonotonic": "24607425", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-19 19:56:57 UTC", "AssertTimestampMonotonic": "24604636", "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": "17616000", "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": "Tue 2022-07-19 19:56:57 UTC", "ConditionTimestampMonotonic": "24604634", "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", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-19 19:56:57 UTC", "InactiveExitTimestampMonotonic": "24607425", "InvocationID": "2e992cdf72bf4805b5a84cbd3842c0a2", "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": "7730", "LimitNPROCSoft": "7730", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7730", "LimitSIGPENDINGSoft": "7730", "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", "MemoryAvailable": "infinity", "MemoryCurrent": "8192", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "NAccepted": "25", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "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": "Tue 2022-07-19 19:56:57 UTC", "StateChangeTimestampMonotonic": "24607425", "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": "2319", "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-35.qcow2.snap TASK [Create device for testing] *********************************************** task path: /tmp/tmpctf5lper/tests/tasks/setup_test.yml:39 Tuesday 19 July 2022 20:00:10 +0000 (0:00:00.838) 0:00:07.815 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.013689", "end": "2022-07-19 20:00:10.461833", "rc": 0, "start": "2022-07-19 20:00:10.448144" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmpctf5lper/tests/tasks/setup_test.yml:43 Tuesday 19 July 2022 20:00:10 +0000 (0:00:00.497) 0:00:08.313 ********** ok: [/cache/fedora-35.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.075022", "end": "2022-07-19 20:00:10.933599", "rc": 0, "start": "2022-07-19 20:00:10.858577" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmpctf5lper/tests/tasks/setup_test.yml:51 Tuesday 19 July 2022 20:00:11 +0000 (0:00:00.479) 0:00:08.793 ********** ok: [/cache/fedora-35.qcow2.snap -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.004355", "end": "2022-07-19 20:00:11.412713", "rc": 0, "start": "2022-07-19 20:00:11.408358" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmpctf5lper/tests/tests_passphrase_temporary.yml:21 Tuesday 19 July 2022 20:00:11 +0000 (0:00:00.204) 0:00:08.997 ********** TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:00:11 +0000 (0:00:00.031) 0:00:09.029 ********** included: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:00:11 +0000 (0:00:00.027) 0:00:09.056 ********** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Tuesday 19 July 2022 20:00:12 +0000 (0:00:00.544) 0:00:09.601 ********** ok: [/cache/fedora-35.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/tmpctf5lper/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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:00:12 +0000 (0:00:00.038) 0:00:09.640 ********** included: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:00:12 +0000 (0:00:00.033) 0:00:09.673 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:00:13 +0000 (0:00:01.823) 0:00:11.497 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestamp": "n/a", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestamp": "n/a", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestamp": "n/a", "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", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "n/a", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "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": "Tue 2022-07-19 19:57:15 UTC", "StateChangeTimestampMonotonic": "42428618", "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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:00:14 +0000 (0:00:00.518) 0:00:12.015 ********** ok: [/cache/fedora-35.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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:00:15 +0000 (0:00:00.864) 0:00:12.880 ********** changed: [/cache/fedora-35.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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:00:16 +0000 (0:00:00.717) 0:00:13.598 ********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.7jgjmre_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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:00:16 +0000 (0:00:00.510) 0:00:14.108 ********** skipping: [/cache/fedora-35.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-35.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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:00:16 +0000 (0:00:00.052) 0:00:14.160 ********** NOTIFIED HANDLER linux-system-roles.nbde_client : nbde_client update initramfs for /cache/fedora-35.qcow2.snap changed: [/cache/fedora-35.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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:00:23 +0000 (0:00:07.221) 0:00:21.382 ********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.7jgjmre_nbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:00:24 +0000 (0:00:00.416) 0:00:21.798 ********** ok: [/cache/fedora-35.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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:00:24 +0000 (0:00:00.629) 0:00:22.427 ********** ok: [/cache/fedora-35.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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:00:25 +0000 (0:00:00.631) 0:00:23.059 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpctf5lper/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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:00:26 +0000 (0:00:01.131) 0:00:24.190 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.036326", "end": "2022-07-19 20:00:26.735645", "rc": 0, "start": "2022-07-19 20:00:26.699319" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:00:27 +0000 (0:00:00.401) 0:00:24.592 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:00:27 +0000 (0:00:00.658) 0:00:25.250 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestamp": "n/a", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestamp": "n/a", "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", "ConditionTimestamp": "n/a", "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", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestamp": "n/a", "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", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "n/a", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7730", "LimitNPROCSoft": "7730", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7730", "LimitSIGPENDINGSoft": "7730", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "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": "Tue 2022-07-19 19:57:30 UTC", "StateChangeTimestampMonotonic": "57804390", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "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", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmpctf5lper/tests/tests_passphrase_temporary.yml:25 Tuesday 19 July 2022 20:00:28 +0000 (0:00:00.509) 0:00:25.760 ********** included: /tmp/tmpctf5lper/tests/tasks/verify_unlock_device.yml for /cache/fedora-35.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmpctf5lper/tests/tasks/verify_unlock_device.yml:2 Tuesday 19 July 2022 20:00:28 +0000 (0:00:00.028) 0:00:25.788 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:03.586733", "end": "2022-07-19 20:00:31.893484", "rc": 0, "start": "2022-07-19 20:00:28.306751" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmpctf5lper/tests/tasks/verify_unlock_device.yml:10 Tuesday 19 July 2022 20:00:32 +0000 (0:00:03.964) 0:00:29.753 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.033500", "end": "2022-07-19 20:00:32.311147", "rc": 0, "start": "2022-07-19 20:00:32.277647" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmpctf5lper/tests/tests_passphrase_temporary.yml:28 Tuesday 19 July 2022 20:00:32 +0000 (0:00:00.414) 0:00:30.167 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Attempt to check whether default passphrase works] *********************** task path: /tmp/tmpctf5lper/tests/tests_passphrase_temporary.yml:34 Tuesday 19 July 2022 20:00:32 +0000 (0:00:00.031) 0:00:30.198 ********** included: /tmp/tmpctf5lper/tests/tasks/verify_default_passphrase.yml for /cache/fedora-35.qcow2.snap TASK [Verify the default passphrase works] ************************************* task path: /tmp/tmpctf5lper/tests/tasks/verify_default_passphrase.yml:2 Tuesday 19 July 2022 20:00:32 +0000 (0:00:00.026) 0:00:30.225 ********** fatal: [/cache/fedora-35.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.686170", "end": "2022-07-19 20:00:34.434380", "rc": 2, "start": "2022-07-19 20:00:32.748210" } 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/tmpctf5lper/tests/tests_passphrase_temporary.yml:37 Tuesday 19 July 2022 20:00:34 +0000 (0:00:02.064) 0:00:32.289 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmpctf5lper/tests/tests_passphrase_temporary.yml:42 Tuesday 19 July 2022 20:00:34 +0000 (0:00:00.063) 0:00:32.352 ********** included: /tmp/tmpctf5lper/tests/tasks/verify_idempotency.yml for /cache/fedora-35.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmpctf5lper/tests/tasks/verify_idempotency.yml:2 Tuesday 19 July 2022 20:00:34 +0000 (0:00:00.028) 0:00:32.381 ********** TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:00:34 +0000 (0:00:00.027) 0:00:32.409 ********** included: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:00:34 +0000 (0:00:00.029) 0:00:32.438 ********** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Tuesday 19 July 2022 20:00:35 +0000 (0:00:00.560) 0:00:32.999 ********** ok: [/cache/fedora-35.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/tmpctf5lper/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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:00:35 +0000 (0:00:00.080) 0:00:33.080 ********** included: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:00:35 +0000 (0:00:00.034) 0:00:33.114 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:00:37 +0000 (0:00:01.818) 0:00:34.932 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestamp": "n/a", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestamp": "n/a", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestamp": "n/a", "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", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "n/a", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "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": "Tue 2022-07-19 19:57:15 UTC", "StateChangeTimestampMonotonic": "42428618", "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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:00:37 +0000 (0:00:00.525) 0:00:35.458 ********** ok: [/cache/fedora-35.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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:00:38 +0000 (0:00:00.652) 0:00:36.111 ********** ok: [/cache/fedora-35.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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:00:43 +0000 (0:00:04.474) 0:00:40.585 ********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:00:43 +0000 (0:00:00.024) 0:00:40.609 ********** skipping: [/cache/fedora-35.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-35.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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:00:43 +0000 (0:00:00.040) 0:00:40.649 ********** skipping: [/cache/fedora-35.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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:00:43 +0000 (0:00:00.024) 0:00:40.674 ********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:00:43 +0000 (0:00:00.025) 0:00:40.699 ********** ok: [/cache/fedora-35.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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:00:43 +0000 (0:00:00.660) 0:00:41.359 ********** ok: [/cache/fedora-35.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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:00:44 +0000 (0:00:00.637) 0:00:41.997 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpctf5lper/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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:00:45 +0000 (0:00:01.128) 0:00:43.125 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.029181", "end": "2022-07-19 20:00:45.667396", "rc": 0, "start": "2022-07-19 20:00:45.638215" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:00:45 +0000 (0:00:00.401) 0:00:43.527 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:00:46 +0000 (0:00:00.672) 0:00:44.200 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestamp": "n/a", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket basic.target sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestamp": "n/a", "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", "ConditionTimestamp": "n/a", "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", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestamp": "n/a", "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", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "n/a", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7730", "LimitNPROCSoft": "7730", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7730", "LimitSIGPENDINGSoft": "7730", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "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": "Tue 2022-07-19 19:57:30 UTC", "StateChangeTimestampMonotonic": "57804390", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "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", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmpctf5lper/tests/tasks/verify_idempotency.yml:6 Tuesday 19 July 2022 20:00:47 +0000 (0:00:00.538) 0:00:44.738 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmpctf5lper/tests/tests_passphrase_temporary.yml:46 Tuesday 19 July 2022 20:00:47 +0000 (0:00:00.038) 0:00:44.777 ********** included: /tmp/tmpctf5lper/tests/tasks/cleanup_test.yml for /cache/fedora-35.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmpctf5lper/tests/tasks/cleanup_test.yml:2 Tuesday 19 July 2022 20:00:47 +0000 (0:00:00.031) 0:00:44.808 ********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmpctf5lper/tests/tasks/cleanup_test.yml:7 Tuesday 19 July 2022 20:00:47 +0000 (0:00:00.406) 0:00:45.215 ********** changed: [/cache/fedora-35.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/tmpctf5lper/tests/tasks/cleanup_test.yml:13 Tuesday 19 July 2022 20:00:47 +0000 (0:00:00.213) 0:00:45.428 ********** ok: [/cache/fedora-35.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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 Tuesday 19 July 2022 20:00:48 +0000 (0:00:00.413) 0:00:45.841 ********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:20.715872", "end": "2022-07-19 20:01:09.118095", "rc": 0, "start": "2022-07-19 20:00:48.402223" } STDERR: dracut: Executing: /usr/bin/dracut --kver=5.18.9-100.fc35.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: dracut module 'lvmmerge' will not be installed, because command 'lvm' 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 '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: nss-softokn *** 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-null *** 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: btrfs *** 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: mdraid *** dracut: Skipping udev rule: 64-md-raid.rules 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: Mode: real dracut: Files: 1867 dracut: Linked: 8 files dracut: Compared: 0 xattrs dracut: Compared: 425 files dracut: Saved: 1.05 MiB dracut: Duration: 0.027817 seconds 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.18.9-100.fc35.x86_64.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-5.18.9-100.fc35.x86_64.img' done *** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=62 changed=7 unreachable=0 failed=0 skipped=7 rescued=0 ignored=1 Tuesday 19 July 2022 20:01:09 +0000 (0:00:21.136) 0:01:06.978 ********** =============================================================================== linux-system-roles.nbde_client : nbde_client update initramfs ---------- 21.14s /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 linux-system-roles.nbde_client : Perform clevis operations -------------- 7.22s /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 4.47s /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Verify we can unlock the device ----------------------------------------- 3.96s /tmp/tmpctf5lper/tests/tasks/verify_unlock_device.yml:2 ----------------------- Verify the default passphrase works ------------------------------------- 2.06s /tmp/tmpctf5lper/tests/tasks/verify_default_passphrase.yml:2 ------------------ Install required packages for nbde_client tests ------------------------- 1.99s /tmp/tmpctf5lper/tests/tasks/setup_test.yml:24 -------------------------------- linux-system-roles.nbde_client : Ensure required packages are installed --- 1.82s /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Ensure required packages are installed --- 1.82s /tmp/tmpctf5lper/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.81s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.13s /tmp/tmpctf5lper/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.13s /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmpctf5lper/tests/tests_passphrase_temporary.yml:2 ----------------------- linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.86s /tmp/tmpctf5lper/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.84s /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.72s /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Reload systemd config ------------------ 0.67s /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 linux-system-roles.nbde_client : Deploy network flushing script --------- 0.66s /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 linux-system-roles.nbde_client : Reload systemd config ------------------ 0.66s /tmp/tmpctf5lper/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/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 linux-system-roles.nbde_client : Deploy network flushing service -------- 0.64s /tmp/tmpctf5lper/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpenemk883 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_passphrase_temporary.yml *************************************** 1 plays in /tmp/tmp_8tmbanz/tests/nbde_client/tests_passphrase_temporary.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp_8tmbanz/tests/nbde_client/tests_passphrase_temporary.yml:2 Tuesday 19 July 2022 20:12:57 +0000 (0:00:00.012) 0:00:00.012 ********** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmp_8tmbanz/tests/nbde_client/tests_passphrase_temporary.yml:16 Tuesday 19 July 2022 20:12:58 +0000 (0:00:01.091) 0:00:01.104 ********** included: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/setup_test.yml for /cache/fedora-35.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/setup_test.yml:2 Tuesday 19 July 2022 20:12:59 +0000 (0:00:00.029) 0:00:01.133 ********** ok: [/cache/fedora-35.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/tmp_8tmbanz/tests/nbde_client/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/setup_test.yml:5 Tuesday 19 July 2022 20:12:59 +0000 (0:00:00.048) 0:00:01.182 ********** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmp_8tmbanz/tests/nbde_client/vars/Fedora.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/setup_test.yml:18 Tuesday 19 July 2022 20:12:59 +0000 (0:00:00.081) 0:00:01.263 ********** ok: [/cache/fedora-35.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,gpt2)/vmlinuz-5.18.9-100.fc35.x86_64", "console": "ttyS0,115200n8", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=33b9e3d1-3b6e-4051-916b-90269d460a4c", "rootflags": "subvol=root" }, "date_time": { "date": "2022-07-19", "day": "19", "epoch": "1658261577", "epoch_int": "1658261577", "hour": "20", "iso8601": "2022-07-19T20:12:57Z", "iso8601_basic": "20220719T201257622902", "iso8601_basic_short": "20220719T201257", "iso8601_micro": "2022-07-19T20:12:57.622902Z", "minute": "12", "month": "07", "second": "57", "time": "20:12:57", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Tuesday", "weekday_number": "2", "weeknumber": "29", "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" ], "vda2": [ "boot" ], "vda5": [ "fedora" ], "vdb1": [ "yumcache" ], "vdc1": [ "yumvarlib" ] }, "masters": {}, "uuids": { "sr0": [ "2022-07-19-20-09-29-00" ], "vda2": [ "8b65cc92-e6aa-4fbc-b88c-0f30687281c1" ], "vda3": [ "8A86-C74C" ], "vda5": [ "33b9e3d1-3b6e-4051-916b-90269d460a4c" ], "vdb1": [ "aac7ff14-5583-4f0e-a3ee-9ba1b318b566" ], "vdc1": [ "315f88c7-a742-477c-b0b5-d249b1c240ea" ] } }, "devices": { "loop0": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": {}, "removable": "0", "rotational": "0", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "support_discard": "4096", "vendor": null, "virtual": 1 }, "sr0": { "holders": [], "host": "", "links": { "ids": [ "ata-QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-07-19-20-09-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": [] }, "sectors": "2048", "sectorsize": 512, "size": "1.00 MB", "start": "2048", "uuid": null }, "vda2": { "holders": [], "links": { "ids": [], "labels": [ "boot" ], "masters": [], "uuids": [ "8b65cc92-e6aa-4fbc-b88c-0f30687281c1" ] }, "sectors": "1024000", "sectorsize": 512, "size": "500.00 MB", "start": "4096", "uuid": "8b65cc92-e6aa-4fbc-b88c-0f30687281c1" }, "vda3": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "8A86-C74C" ] }, "sectors": "204800", "sectorsize": 512, "size": "100.00 MB", "start": "1028096", "uuid": "8A86-C74C" }, "vda4": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "sectors": "8192", "sectorsize": 512, "size": "4.00 MB", "start": "1232896", "uuid": null }, "vda5": { "holders": [], "links": { "ids": [], "labels": [ "fedora" ], "masters": [], "uuids": [ "33b9e3d1-3b6e-4051-916b-90269d460a4c" ] }, "sectors": "7145472", "sectorsize": 512, "size": "3.41 GB", "start": "1241088", "uuid": "33b9e3d1-3b6e-4051-916b-90269d460a4c" } }, "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": [ "aac7ff14-5583-4f0e-a3ee-9ba1b318b566" ] }, "sectors": "4192256", "sectorsize": 512, "size": "2.00 GB", "start": "2048", "uuid": "aac7ff14-5583-4f0e-a3ee-9ba1b318b566" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "4194304", "sectorsize": "512", "size": "2.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": [ "315f88c7-a742-477c-b0b5-d249b1c240ea" ] }, "sectors": "4192256", "sectorsize": 512, "size": "2.00 GB", "start": "2048", "uuid": "315f88c7-a742-477c-b0b5-d249b1c240ea" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "4194304", "sectorsize": "512", "size": "2.00 GB", "support_discard": "512", "vendor": "0x1af4", "virtual": 1 }, "zram0": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": {}, "removable": "0", "rotational": "0", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "", "sectors": "4030464", "sectorsize": "4096", "size": "1.92 GB", "support_discard": "4096", "vendor": null, "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": "35", "distribution_release": "", "distribution_version": "35", "dns": { "nameservers": [ "127.0.0.53" ], "options": { "edns0": true, "trust-ad": true }, "search": [ "." ] }, "domain": "virt.pnr.lab.eng.rdu2.redhat.com", "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", "DEBUGINFOD_URLS": "https://debuginfod.fedoraproject.org/ ", "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 49844 22", "SSH_CONNECTION": "10.0.2.2 49844 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": "ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com", "gather_subset": [ "all" ], "hostname": "ibm-p8-kvm-03-guest-02", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "5.18.9-100.fc35.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Sat Jul 2 15:57:56 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": "c8179c923568421ab56d85189fba17f5", "memfree_mb": 1230, "memory_mb": { "nocache": { "free": 1773, "used": 195 }, "real": { "free": 1230, "total": 1968, "used": 738 }, "swap": { "cached": 0, "free": 1967, "total": 1967, "used": 0 } }, "memtotal_mb": 1968, "module_setup": true, "mounts": [ { "block_available": 678165, "block_size": 4096, "block_total": 893184, "block_used": 215019, "device": "/dev/vda5", "fstype": "btrfs", "inode_available": 0, "inode_total": 0, "inode_used": 0, "mount": "/", "options": "rw,seclabel,relatime,compress=zstd:1,space_cache,subvolid=256,subvol=/root,bind", "size_available": 2777763840, "size_total": 3658481664, "uuid": "33b9e3d1-3b6e-4051-916b-90269d460a4c" }, { "block_available": 678165, "block_size": 4096, "block_total": 893184, "block_used": 215019, "device": "/dev/vda5", "fstype": "btrfs", "inode_available": 0, "inode_total": 0, "inode_used": 0, "mount": "/home", "options": "rw,seclabel,relatime,compress=zstd:1,space_cache,subvolid=258,subvol=/home,bind", "size_available": 2777763840, "size_total": 3658481664, "uuid": "33b9e3d1-3b6e-4051-916b-90269d460a4c" }, { "block_available": 386738, "block_size": 1024, "block_total": 485330, "block_used": 98592, "device": "/dev/vda2", "fstype": "ext4", "inode_available": 127635, "inode_total": 128016, "inode_used": 381, "mount": "/boot", "options": "rw,seclabel,relatime", "size_available": 396019712, "size_total": 496977920, "uuid": "8b65cc92-e6aa-4fbc-b88c-0f30687281c1" }, { "block_available": 408900, "block_size": 4096, "block_total": 506074, "block_used": 97174, "device": "/dev/vdb1", "fstype": "ext4", "inode_available": 130990, "inode_total": 131072, "inode_used": 82, "mount": "/var/cache/dnf", "options": "rw,seclabel,relatime", "size_available": 1674854400, "size_total": 2072879104, "uuid": "aac7ff14-5583-4f0e-a3ee-9ba1b318b566" }, { "block_available": 475552, "block_size": 4096, "block_total": 506074, "block_used": 30522, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 131049, "inode_total": 131072, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 1947860992, "size_total": 2072879104, "uuid": "315f88c7-a742-477c-b0b5-d249b1c240ea" }, { "block_available": 46040, "block_size": 2048, "block_total": 51078, "block_used": 5038, "device": "/dev/vda3", "fstype": "vfat", "inode_available": 0, "inode_total": 0, "inode_used": 0, "mount": "/boot/efi", "options": "rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro", "size_available": 94289920, "size_total": 104607744, "uuid": "8A86-C74C" } ], "nodename": "ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com", "os_family": "RedHat", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,gpt2)/vmlinuz-5.18.9-100.fc35.x86_64", "console": [ "tty1", "ttyS0,115200n8" ], "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=33b9e3d1-3b6e-4051-916b-90269d460a4c", "rootflags": "subvol=root" }, "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": 5, "minor": 10, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 10, 5, "final", 0 ] }, "python_version": "3.10.5", "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": "AAAAB3NzaC1kc3MAAACBAMwXvUOKA/0vg7E6792OawWNY8HXuJyboogaK4xT49P+sQYiUmqugRN7NSU67wUGeYXnTklhM4AgurLd67swSjzb82nRNAjU/8k4m9Ks/F6KrcUZ+en4ek2okXX8/OuZgzRyKX1uzSpJ2aBjpBzPPHA/O9yPD4xCIUxO+9wsHISXAAAAFQCI2kRkbv49QNsCH3b9Uj/aKNLhBQAAAIEAnJLB1ABdG74LbgcWuYnX9km4nxYJ6SSzo9NMRvyqBPYQc5HaIjmBoqhwhbWrCVWoKpTnTh7Fr1YM5ghAj+1UlA5Ql2ZmZyT/0dMRoWxMF0J9N67pgjL8dBK0gCanE2pTubY86dDpW9VEs6YAcB84Y7birfORDgMwrENNs7kppG4AAACAIwub1RZMg0wc7AqnN8x+Zn8icbr8McbvpIW/5jgpjQx0/zi05XXuSighYsXQrcZer4gzGEX8AqVMejdNYVawZ8jS0sHZIOQ/eBWtNLyzVYbljMmy0WhuXZo47T3qLzOsDHexAP/Dj4VL9UV0RAeOyd9u9YdZoxTGTPMAbnRGWSk=", "ssh_host_key_dsa_public_keytype": "ssh-dss", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCAohlh3O9N8CQn36NREv/zlk8pDOFWigxGjsr+U4ynWDeXpq0/qt24z5qEDpLSA+v5fdEgQk1nWZw6GcJZz+PE=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAICAANM2rxVdBJyYMFVfsvjCG0Icz+u4e3t9OXBXiumaI", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDwKMx+2rN8b7yndweeOTNzpM1nbOd0SydVvEslvMTCM+4puAMRjDHecuPJtwfO9BeQvX6sVr9p6q9Ry2rzoNCnHifjNwRdNBOUifU/V/p0hoJSWxfaDFkRfB/V9xVDVYhyV3I+/rAkVecLi5YnBrp0v2AY0Aha60S3nmmUq9wBI3g+6fyG+1UvQHypMnv5SziPOfwcrzZCIUF4W1yhFW0Je7NQJmLgcOb/mfsazp8hSlBbepY9XGbo+JN6QhpxtmnwnMX8eqbOgkQgPpwB8Tv4YIu5mlzXebCYJd/yeAgdzHOJN6MLWsza3bO2jMGN2x/Nyl67vOa4x98EzvQaoGW0LSvMABb7/kWZR1B5TPB97gBmYDPp2SRvy3ufBjY/yJZBtbsAzzDnySx9fgRnkc1QoOiPogLOMDMmFrrQA8umgY6nLX8lStHmodPnCWkPPHtPsaRHgyAayjZvUf232NVlRfMwnvU6g9HL2yWOzoVWXPxdk4gPtBsiZA71Bdwblqk=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 1967, "swaptotal_mb": 1967, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "QEMU", "uptime_seconds": 206, "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/tmp_8tmbanz/tests/nbde_client/tasks/setup_test.yml:22 Tuesday 19 July 2022 20:12:59 +0000 (0:00:00.043) 0:00:01.307 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/setup_test.yml:26 Tuesday 19 July 2022 20:13:01 +0000 (0:00:02.012) 0:00:03.319 ********** ok: [/cache/fedora-35.qcow2.snap -> localhost] => { "after": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "before": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/setup_test.yml:33 Tuesday 19 July 2022 20:13:01 +0000 (0:00:00.556) 0:00:03.875 ********** 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 Tuesday 19 July 2022 20:13:01 +0000 (0:00:00.033) 0:00:03.909 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/fedora-35.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 Tuesday 19 July 2022 20:13:01 +0000 (0:00:00.027) 0:00:03.936 ********** ok: [/cache/fedora-35.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 Tuesday 19 July 2022 20:13:02 +0000 (0:00:00.507) 0:00:04.444 ********** ok: [/cache/fedora-35.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 Tuesday 19 July 2022 20:13:02 +0000 (0:00:00.037) 0:00:04.481 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/fedora-35.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 Tuesday 19 July 2022 20:13:02 +0000 (0:00:00.029) 0:00:04.511 ********** ok: [/cache/fedora-35.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 Tuesday 19 July 2022 20:13:04 +0000 (0:00:01.737) 0:00:06.248 ********** skipping: [/cache/fedora-35.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 Tuesday 19 July 2022 20:13:04 +0000 (0:00:00.030) 0:00:06.279 ********** ok: [/cache/fedora-35.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 Tuesday 19 July 2022 20:13:04 +0000 (0:00:00.489) 0:00:06.769 ********** skipping: [/cache/fedora-35.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 Tuesday 19 July 2022 20:13:04 +0000 (0:00:00.032) 0:00:06.801 ********** ok: [/cache/fedora-35.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": "Tue 2022-07-19 20:09:47 UTC", "ActiveEnterTimestampMonotonic": "16292871", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-19 20:09:47 UTC", "AssertTimestampMonotonic": "16290424", "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": "18253000", "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": "Tue 2022-07-19 20:09:47 UTC", "ConditionTimestampMonotonic": "16290422", "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", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-19 20:09:47 UTC", "InactiveExitTimestampMonotonic": "16292871", "InvocationID": "4a5b1d4b9e0f4842976e26fb03f948c2", "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": "7730", "LimitNPROCSoft": "7730", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7730", "LimitSIGPENDINGSoft": "7730", "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", "MemoryAvailable": "infinity", "MemoryCurrent": "8192", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "NAccepted": "25", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "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": "Tue 2022-07-19 20:09:47 UTC", "StateChangeTimestampMonotonic": "16292871", "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": "2319", "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-35.qcow2.snap TASK [Create device for testing] *********************************************** task path: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/setup_test.yml:37 Tuesday 19 July 2022 20:13:05 +0000 (0:00:00.777) 0:00:07.578 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.013303", "end": "2022-07-19 20:13:04.886139", "rc": 0, "start": "2022-07-19 20:13:04.872836" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/setup_test.yml:41 Tuesday 19 July 2022 20:13:05 +0000 (0:00:00.502) 0:00:08.081 ********** ok: [/cache/fedora-35.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.072691", "end": "2022-07-19 20:13:05.332155", "rc": 0, "start": "2022-07-19 20:13:05.259464" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/setup_test.yml:49 Tuesday 19 July 2022 20:13:06 +0000 (0:00:00.446) 0:00:08.528 ********** ok: [/cache/fedora-35.qcow2.snap -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.003617", "end": "2022-07-19 20:13:06.566534", "rc": 0, "start": "2022-07-19 20:13:06.562917" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmp_8tmbanz/tests/nbde_client/tests_passphrase_temporary.yml:21 Tuesday 19 July 2022 20:13:06 +0000 (0:00:00.193) 0:00:08.721 ********** TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:13:06 +0000 (0:00:00.033) 0:00:08.755 ********** included: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:13:06 +0000 (0:00:00.027) 0:00:08.782 ********** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Tuesday 19 July 2022 20:13:07 +0000 (0:00:00.547) 0:00:09.329 ********** ok: [/cache/fedora-35.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/tmpenemk883/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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:13:07 +0000 (0:00:00.062) 0:00:09.392 ********** included: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:13:07 +0000 (0:00:00.039) 0:00:09.431 ********** ok: [/cache/fedora-35.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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:13:09 +0000 (0:00:01.768) 0:00:11.200 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestamp": "n/a", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestamp": "n/a", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestamp": "n/a", "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", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "n/a", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "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": "Tue 2022-07-19 20:10:05 UTC", "StateChangeTimestampMonotonic": "33488909", "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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:13:09 +0000 (0:00:00.519) 0:00:11.720 ********** ok: [/cache/fedora-35.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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:13:10 +0000 (0:00:00.851) 0:00:12.571 ********** changed: [/cache/fedora-35.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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:13:11 +0000 (0:00:00.689) 0:00:13.261 ********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.u523be6gnbde_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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:13:11 +0000 (0:00:00.485) 0:00:13.747 ********** skipping: [/cache/fedora-35.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-35.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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:13:11 +0000 (0:00:00.050) 0:00:13.797 ********** NOTIFIED HANDLER fedora.linux_system_roles.nbde_client : nbde_client update initramfs for /cache/fedora-35.qcow2.snap changed: [/cache/fedora-35.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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:13:19 +0000 (0:00:07.667) 0:00:21.465 ********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.u523be6gnbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:13:19 +0000 (0:00:00.390) 0:00:21.856 ********** ok: [/cache/fedora-35.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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:13:20 +0000 (0:00:00.632) 0:00:22.489 ********** ok: [/cache/fedora-35.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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:13:20 +0000 (0:00:00.616) 0:00:23.105 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpenemk883/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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:13:22 +0000 (0:00:01.102) 0:00:24.208 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.031326", "end": "2022-07-19 20:13:21.409500", "rc": 0, "start": "2022-07-19 20:13:21.378174" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:13:22 +0000 (0:00:00.395) 0:00:24.603 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:13:23 +0000 (0:00:00.665) 0:00:25.269 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestamp": "n/a", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestamp": "n/a", "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", "ConditionTimestamp": "n/a", "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", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestamp": "n/a", "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", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "n/a", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7730", "LimitNPROCSoft": "7730", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7730", "LimitSIGPENDINGSoft": "7730", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "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": "Tue 2022-07-19 20:10:20 UTC", "StateChangeTimestampMonotonic": "48885701", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "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", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmp_8tmbanz/tests/nbde_client/tests_passphrase_temporary.yml:25 Tuesday 19 July 2022 20:13:23 +0000 (0:00:00.522) 0:00:25.791 ********** included: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/verify_unlock_device.yml for /cache/fedora-35.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/verify_unlock_device.yml:2 Tuesday 19 July 2022 20:13:23 +0000 (0:00:00.026) 0:00:25.818 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:03.518428", "end": "2022-07-19 20:13:26.508725", "rc": 0, "start": "2022-07-19 20:13:22.990297" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/verify_unlock_device.yml:10 Tuesday 19 July 2022 20:13:27 +0000 (0:00:03.883) 0:00:29.702 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.038176", "end": "2022-07-19 20:13:26.923213", "rc": 0, "start": "2022-07-19 20:13:26.885037" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmp_8tmbanz/tests/nbde_client/tests_passphrase_temporary.yml:28 Tuesday 19 July 2022 20:13:27 +0000 (0:00:00.416) 0:00:30.118 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Attempt to check whether default passphrase works] *********************** task path: /tmp/tmp_8tmbanz/tests/nbde_client/tests_passphrase_temporary.yml:34 Tuesday 19 July 2022 20:13:28 +0000 (0:00:00.057) 0:00:30.176 ********** included: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/verify_default_passphrase.yml for /cache/fedora-35.qcow2.snap TASK [Verify the default passphrase works] ************************************* task path: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/verify_default_passphrase.yml:2 Tuesday 19 July 2022 20:13:28 +0000 (0:00:00.027) 0:00:30.203 ********** fatal: [/cache/fedora-35.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.737407", "end": "2022-07-19 20:13:29.135271", "rc": 2, "start": "2022-07-19 20:13:27.397864" } 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/tmp_8tmbanz/tests/nbde_client/tests_passphrase_temporary.yml:37 Tuesday 19 July 2022 20:13:30 +0000 (0:00:02.125) 0:00:32.329 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmp_8tmbanz/tests/nbde_client/tests_passphrase_temporary.yml:42 Tuesday 19 July 2022 20:13:30 +0000 (0:00:00.067) 0:00:32.397 ********** included: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/verify_idempotency.yml for /cache/fedora-35.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/verify_idempotency.yml:2 Tuesday 19 July 2022 20:13:30 +0000 (0:00:00.028) 0:00:32.425 ********** TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:13:30 +0000 (0:00:00.026) 0:00:32.452 ********** included: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:13:30 +0000 (0:00:00.028) 0:00:32.480 ********** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Tuesday 19 July 2022 20:13:30 +0000 (0:00:00.571) 0:00:33.052 ********** ok: [/cache/fedora-35.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/tmpenemk883/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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:13:30 +0000 (0:00:00.041) 0:00:33.093 ********** included: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:13:31 +0000 (0:00:00.040) 0:00:33.134 ********** ok: [/cache/fedora-35.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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:13:32 +0000 (0:00:01.928) 0:00:35.063 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestamp": "n/a", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestamp": "n/a", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestamp": "n/a", "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", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "n/a", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "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": "Tue 2022-07-19 20:10:05 UTC", "StateChangeTimestampMonotonic": "33488909", "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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:13:33 +0000 (0:00:00.543) 0:00:35.606 ********** ok: [/cache/fedora-35.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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:13:34 +0000 (0:00:00.647) 0:00:36.254 ********** ok: [/cache/fedora-35.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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:13:38 +0000 (0:00:04.307) 0:00:40.562 ********** skipping: [/cache/fedora-35.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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:13:38 +0000 (0:00:00.025) 0:00:40.587 ********** skipping: [/cache/fedora-35.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-35.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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:13:38 +0000 (0:00:00.045) 0:00:40.633 ********** skipping: [/cache/fedora-35.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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:13:38 +0000 (0:00:00.027) 0:00:40.661 ********** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:13:38 +0000 (0:00:00.026) 0:00:40.687 ********** ok: [/cache/fedora-35.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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:13:39 +0000 (0:00:00.662) 0:00:41.350 ********** ok: [/cache/fedora-35.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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:13:39 +0000 (0:00:00.661) 0:00:42.011 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpenemk883/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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:13:41 +0000 (0:00:01.169) 0:00:43.181 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.031221", "end": "2022-07-19 20:13:40.402075", "rc": 0, "start": "2022-07-19 20:13:40.370854" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:13:41 +0000 (0:00:00.420) 0:00:43.601 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:13:42 +0000 (0:00:00.709) 0:00:44.310 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestamp": "n/a", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestamp": "n/a", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestamp": "n/a", "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", "ConditionTimestamp": "n/a", "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", "ExecMainExitTimestamp": "n/a", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestamp": "n/a", "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", "InactiveEnterTimestamp": "n/a", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "n/a", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "7730", "LimitNPROCSoft": "7730", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "7730", "LimitSIGPENDINGSoft": "7730", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "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": "Tue 2022-07-19 20:10:20 UTC", "StateChangeTimestampMonotonic": "48885701", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "2319", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "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", "WatchdogTimestamp": "n/a", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/verify_idempotency.yml:6 Tuesday 19 July 2022 20:13:42 +0000 (0:00:00.556) 0:00:44.867 ********** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmp_8tmbanz/tests/nbde_client/tests_passphrase_temporary.yml:46 Tuesday 19 July 2022 20:13:42 +0000 (0:00:00.041) 0:00:44.909 ********** included: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/cleanup_test.yml for /cache/fedora-35.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/cleanup_test.yml:2 Tuesday 19 July 2022 20:13:42 +0000 (0:00:00.031) 0:00:44.940 ********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmp_8tmbanz/tests/nbde_client/tasks/cleanup_test.yml:7 Tuesday 19 July 2022 20:13:43 +0000 (0:00:00.479) 0:00:45.419 ********** changed: [/cache/fedora-35.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/tmp_8tmbanz/tests/nbde_client/tasks/cleanup_test.yml:13 Tuesday 19 July 2022 20:13:43 +0000 (0:00:00.204) 0:00:45.624 ********** ok: [/cache/fedora-35.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/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Tuesday 19 July 2022 20:13:43 +0000 (0:00:00.416) 0:00:46.041 ********** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:20.929604", "end": "2022-07-19 20:14:04.211484", "rc": 0, "start": "2022-07-19 20:13:43.281880" } STDERR: dracut: Executing: /usr/bin/dracut --kver=5.18.9-100.fc35.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: dracut module 'lvmmerge' will not be installed, because command 'lvm' 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 '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: nss-softokn *** 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-null *** 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: btrfs *** 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: mdraid *** dracut: Skipping udev rule: 64-md-raid.rules 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: Mode: real dracut: Files: 1867 dracut: Linked: 8 files dracut: Compared: 0 xattrs dracut: Compared: 425 files dracut: Saved: 1.05 MiB dracut: Duration: 0.025489 seconds 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.18.9-100.fc35.x86_64.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-5.18.9-100.fc35.x86_64.img' done *** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=62 changed=7 unreachable=0 failed=0 skipped=7 rescued=0 ignored=1 Tuesday 19 July 2022 20:14:05 +0000 (0:00:21.371) 0:01:07.412 ********** =============================================================================== fedora.linux_system_roles.nbde_client : nbde_client update initramfs --- 21.37s /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 7.67s /tmp/tmpenemk883/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.31s /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Verify we can unlock the device ----------------------------------------- 3.88s /tmp/tmp_8tmbanz/tests/nbde_client/tasks/verify_unlock_device.yml:2 ----------- Verify the default passphrase works ------------------------------------- 2.13s /tmp/tmp_8tmbanz/tests/nbde_client/tasks/verify_default_passphrase.yml:2 ------ Install required packages for nbde_client tests ------------------------- 2.01s /tmp/tmp_8tmbanz/tests/nbde_client/tasks/setup_test.yml:22 -------------------- fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 1.93s /tmp/tmpenemk883/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.77s /tmp/tmpenemk883/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.74s /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.17s /tmp/tmpenemk883/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.10s /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmp_8tmbanz/tests/nbde_client/tests_passphrase_temporary.yml:2 ----------- fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.85s /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/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.78s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_client : Reload systemd config ----------- 0.71s /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 0.69s /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Reload systemd config ----------- 0.67s /tmp/tmpenemk883/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.66s /tmp/tmpenemk883/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.66s /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.65s /tmp/tmpenemk883/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12