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/tmpd9gazgv_ 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_key_rotation.yml *********************************************** 1 plays in /tmp/tmpdnmqn6um/tests/tests_key_rotation.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdnmqn6um/tests/tests_key_rotation.yml:2 Tuesday 19 July 2022 20:16:17 +0000 (0:00:00.012) 0:00:00.012 ********** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmpdnmqn6um/tests/tests_key_rotation.yml:12 Tuesday 19 July 2022 20:16:18 +0000 (0:00:01.146) 0:00:01.159 ********** included: /tmp/tmpdnmqn6um/tests/tasks/setup_test.yml for /cache/centos-9.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmpdnmqn6um/tests/tasks/setup_test.yml:2 Tuesday 19 July 2022 20:16:18 +0000 (0:00:00.028) 0:00:01.188 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmpdnmqn6um/tests/tasks/setup_test.yml:5 Tuesday 19 July 2022 20:16:18 +0000 (0:00:00.069) 0:00:01.257 ********** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [] }, "ansible_included_var_files": [ "/tmp/tmpdnmqn6um/tests/vars/default.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmpdnmqn6um/tests/tasks/setup_test.yml:20 Tuesday 19 July 2022 20:16:18 +0000 (0:00:00.037) 0:00:01.295 ********** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "all_ipv4_addresses": [ "10.0.2.15" ], "all_ipv6_addresses": [ "fec0::5054:ff:fe12:3456", "fe80::5054:ff:fe12:3456" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "04/01/2014", "bios_vendor": "SeaBIOS", "bios_version": "1.14.0-4.fc34", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "QEMU", "chassis_version": "pc-i440fx-5.2", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.14.0-105.el9.x86_64", "console": "ttyS0,115200n8", "crashkernel": "1G-4G:192M,4G-64G:256M,64G-:512M", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "date_time": { "date": "2022-07-19", "day": "19", "epoch": "1658261777", "epoch_int": "1658261777", "hour": "16", "iso8601": "2022-07-19T20:16:17Z", "iso8601_basic": "20220719T161617305622", "iso8601_basic_short": "20220719T161617", "iso8601_micro": "2022-07-19T20:16:17.305622Z", "minute": "16", "month": "07", "second": "17", "time": "16:16:17", "tz": "EDT", "tz_dst": "EDT", "tz_offset": "-0400", "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", "scsi-0QEMU_QEMU_DVD-ROM_QM00003", "scsi-1ATA_QEMU_DVD-ROM_QM00003" ] }, "labels": { "sr0": [ "cidata" ], "vdb1": [ "yumcache" ], "vdc1": [ "yumvarlib" ] }, "masters": {}, "uuids": { "sr0": [ "2022-07-19-20-14-27-00" ], "vda1": [ "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" ], "vdb1": [ "6307e659-58ff-4813-a502-a94e5191da7b" ], "vdc1": [ "e45d6b1b-696d-4210-9b4b-ed676068d6ed" ] } }, "devices": { "loop0": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": {}, "removable": "0", "rotational": "1", "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", "scsi-0QEMU_QEMU_DVD-ROM_QM00003", "scsi-1ATA_QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-07-19-20-14-27-00" ] }, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "mq-deadline", "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": [ "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" ] }, "sectors": "20969439", "sectorsize": 512, "size": "10.00 GB", "start": "2048", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "20971520", "sectorsize": "512", "size": "10.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": [ "6307e659-58ff-4813-a502-a94e5191da7b" ] }, "sectors": "4192256", "sectorsize": 512, "size": "2.00 GB", "start": "2048", "uuid": "6307e659-58ff-4813-a502-a94e5191da7b" } }, "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": [ "e45d6b1b-696d-4210-9b4b-ed676068d6ed" ] }, "sectors": "4192256", "sectorsize": 512, "size": "2.00 GB", "start": "2048", "uuid": "e45d6b1b-696d-4210-9b4b-ed676068d6ed" } }, "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 } }, "discovered_interpreter_python": "/usr/bin/python3", "distribution": "CentOS", "distribution_file_parsed": true, "distribution_file_path": "/etc/centos-release", "distribution_file_variety": "CentOS", "distribution_major_version": "9", "distribution_release": "Stream", "distribution_version": "9", "dns": { "nameservers": [ "10.0.2.3" ], "search": [ "virt.pnr.lab.eng.rdu2.redhat.com" ] }, "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", "HOME": "/root", "LANG": "en_US.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 33692 22", "SSH_CONNECTION": "10.0.2.2 33692 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "TC_LIB_DIR": "/usr/lib64/tc", "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", "features": { "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "off [requested on]", "highdma": "on [fixed]", "hsr_dup_offload": "off [fixed]", "hsr_fwd_offload": "off [fixed]", "hsr_tag_ins_offload": "off [fixed]", "hsr_tag_rm_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "off [fixed]", "macsec_hw_offload": "off [fixed]", "netns_local": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "off [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off", "rx_gro_list": "off", "rx_udp_gro_forwarding": "off", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "on [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "off", "tcp_segmentation_offload": "off", "tls_hw_record": "off [fixed]", "tls_hw_rx_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "tx_checksumming": "off", "tx_esp_segmentation": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_lockless": "off [fixed]", "tx_nocache_copy": "off", "tx_scatter_gather": "off [fixed]", "tx_scatter_gather_fraglist": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_tcp6_segmentation": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off [fixed]", "tx_tcp_segmentation": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "vlan_challenged": "off [fixed]" }, "hw_timestamp_filters": [], "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, "timestamping": [], "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": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "5.14.0-105.el9.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Fri Jun 3 10:10:03 UTC 2022", "lo": { "active": true, "device": "lo", "features": { "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "on [fixed]", "hsr_dup_offload": "off [fixed]", "hsr_fwd_offload": "off [fixed]", "hsr_tag_ins_offload": "off [fixed]", "hsr_tag_rm_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "on [fixed]", "macsec_hw_offload": "off [fixed]", "netns_local": "on [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_gro_list": "off", "rx_udp_gro_forwarding": "off", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tls_hw_record": "off [fixed]", "tls_hw_rx_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "tx_checksumming": "on", "tx_esp_segmentation": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_list": "on", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_lockless": "on [fixed]", "tx_nocache_copy": "off [fixed]", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tx_sctp_segmentation": "on", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp_segmentation": "on", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_udp_segmentation": "on", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "vlan_challenged": "on [fixed]" }, "hw_timestamp_filters": [], "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, "timestamping": [], "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "830d6d92a81b4275a8c1d0dab3ec6a26", "memfree_mb": 1278, "memory_mb": { "nocache": { "free": 1553, "used": 217 }, "real": { "free": 1278, "total": 1770, "used": 492 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 1770, "module_setup": true, "mounts": [ { "block_available": 2349748, "block_size": 4096, "block_total": 2618619, "block_used": 268871, "device": "/dev/vda1", "fstype": "xfs", "inode_available": 5209270, "inode_total": 5242304, "inode_used": 33034, "mount": "/", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 9624567808, "size_total": 10725863424, "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, { "block_available": 475576, "block_size": 4096, "block_total": 506074, "block_used": 30498, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 131049, "inode_total": 131072, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 1947959296, "size_total": 2072879104, "uuid": "e45d6b1b-696d-4210-9b4b-ed676068d6ed" }, { "block_available": 463920, "block_size": 4096, "block_total": 506074, "block_used": 42154, "device": "/dev/vdb1", "fstype": "ext4", "inode_available": 131007, "inode_total": 131072, "inode_used": 65, "mount": "/var/cache/dnf", "options": "rw,seclabel,relatime", "size_available": 1900216320, "size_total": 2072879104, "uuid": "6307e659-58ff-4813-a502-a94e5191da7b" } ], "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,msdos1)/boot/vmlinuz-5.14.0-105.el9.x86_64", "console": "ttyS0,115200n8", "crashkernel": "1G-4G:192M,4G-64G:256M,64G-:512M", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "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": 10, "minor": 9, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 9, 10, "final", 0 ] }, "python_version": "3.9.10", "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_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHcbkHoCQXxkpxZTfp066j4ZfFXqa4cHjsHaKGLje7MJex1kJVkgp+xWZameyD5fQRuOBwFNJfYOVIPrjMr/v0U=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIOKQObdJ/re0iwfWR8f7Sqh9KnvUsqaPwoVvsEThGabZ", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDblVBKgCqKoEJaag8kbEXvqqek64HpeNUsJK74UtR/hhEgRl/oN4T23Cg8l/er/logSDO4e74i/J3eqjIXBJJB2cgz0xTSIIUCMjg9Tex8RWz2Go+lkhfPJCBCeRcGm5nJdr5O+CrrASyHa0wqzxStRXLir5r5hMrx6kCyY7eTta6pv1iYTKqo1g2Pu9Qq66YFXFsCb41t/yn+MWnlXJS40P1okrIS3UVvD7bYG1snIHIfkFMqo7ga6sBjovFYfhaW1cW+GRYzBQ7dNGj0cZSVLumhRFekItVjIeMA9s6jW8DeowoH10BJd/3h8IOagd556f0VB8CClul6XmVd4iZfw7hytILUL3620OG4btQwtiq4+zYm8+83m02FTkawrOYaqSNacNsrjsFdo95j9GiNdIeJhsOmdKo5F8LWiNy1XFGjMwOHfvKfv39A1LV8/RDLZoRbYGJt2tjZerxmqZPLUO/6374Kg64wedLGwZaJ0Fwe2bJz9Dh5fvvTkARcqUk=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "QEMU", "uptime_seconds": 107, "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/tmpdnmqn6um/tests/tasks/setup_test.yml:24 Tuesday 19 July 2022 20:16:18 +0000 (0:00:00.046) 0:00:01.342 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmpdnmqn6um/tests/tasks/setup_test.yml:28 Tuesday 19 July 2022 20:16:19 +0000 (0:00:00.969) 0:00:02.311 ********** ok: [/cache/centos-9.qcow2.snap -> localhost] => { "after": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "before": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmpdnmqn6um/tests/tasks/setup_test.yml:35 Tuesday 19 July 2022 20:16:19 +0000 (0:00:00.541) 0:00:02.853 ********** 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:16:19 +0000 (0:00:00.032) 0:00:02.885 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/centos-9.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:16:19 +0000 (0:00:00.027) 0:00:02.912 ********** ok: [/cache/centos-9.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:16:20 +0000 (0:00:00.515) 0:00:03.428 ********** ok: [/cache/centos-9.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:16:20 +0000 (0:00:00.036) 0:00:03.464 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/centos-9.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:16:20 +0000 (0:00:00.028) 0:00:03.493 ********** ok: [/cache/centos-9.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:16:21 +0000 (0:00:00.852) 0:00:04.346 ********** skipping: [/cache/centos-9.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:16:21 +0000 (0:00:00.030) 0:00:04.376 ********** ok: [/cache/centos-9.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:16:21 +0000 (0:00:00.497) 0:00:04.873 ********** skipping: [/cache/centos-9.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:16:21 +0000 (0:00:00.031) 0:00:04.905 ********** ok: [/cache/centos-9.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 16:14:47 EDT", "ActiveEnterTimestampMonotonic": "17918993", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-19 16:14:47 EDT", "AssertTimestampMonotonic": "17916707", "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": "7978000", "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 16:14:47 EDT", "ConditionTimestampMonotonic": "17916686", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-19 16:14:47 EDT", "InactiveExitTimestampMonotonic": "17918993", "InvocationID": "418e0ba527c14fb69c424c718dfadea1", "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": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "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": "12", "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": "system.slice sysinit.target", "RestartKillSignal": "15", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-07-19 16:14:47 EDT", "StateChangeTimestampMonotonic": "17918993", "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": "10920", "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/centos-9.qcow2.snap TASK [Create device for testing] *********************************************** task path: /tmp/tmpdnmqn6um/tests/tasks/setup_test.yml:39 Tuesday 19 July 2022 20:16:22 +0000 (0:00:00.786) 0:00:05.691 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.003611", "end": "2022-07-19 16:16:22.648121", "rc": 0, "start": "2022-07-19 16:16:22.644510" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmpdnmqn6um/tests/tasks/setup_test.yml:43 Tuesday 19 July 2022 20:16:23 +0000 (0:00:00.486) 0:00:06.177 ********** ok: [/cache/centos-9.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.095898", "end": "2022-07-19 16:16:23.123670", "rc": 0, "start": "2022-07-19 16:16:23.027772" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmpdnmqn6um/tests/tasks/setup_test.yml:51 Tuesday 19 July 2022 20:16:23 +0000 (0:00:00.478) 0:00:06.656 ********** ok: [/cache/centos-9.qcow2.snap -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.003731", "end": "2022-07-19 20:16:23.866678", "rc": 0, "start": "2022-07-19 20:16:23.862947" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmpdnmqn6um/tests/tests_key_rotation.yml:17 Tuesday 19 July 2022 20:16:23 +0000 (0:00:00.199) 0:00:06.856 ********** TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:16:23 +0000 (0:00:00.050) 0:00:06.906 ********** included: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:16:23 +0000 (0:00:00.044) 0:00:06.951 ********** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Tuesday 19 July 2022 20:16:24 +0000 (0:00:00.526) 0:00:07.477 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/vars/CentOS_9.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:16:24 +0000 (0:00:00.064) 0:00:07.542 ********** included: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:16:24 +0000 (0:00:00.033) 0:00:07.575 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:16:25 +0000 (0:00:00.830) 0:00:08.406 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "cryptsetup-pre.target clevis-luks-askpass.service", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "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 16:15:08 EDT", "StateChangeTimestampMonotonic": "38518092", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:16:25 +0000 (0:00:00.530) 0:00:08.936 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:16:26 +0000 (0:00:00.858) 0:00:09.794 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:16:27 +0000 (0:00:00.722) 0:00:10.516 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.fxlkotagnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:16:28 +0000 (0:00:00.514) 0:00:11.031 ********** skipping: [/cache/centos-9.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:16:28 +0000 (0:00:00.045) 0:00:11.077 ********** NOTIFIED HANDLER linux-system-roles.nbde_client : nbde_client update initramfs for /cache/centos-9.qcow2.snap changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:16:34 +0000 (0:00:05.981) 0:00:17.059 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.fxlkotagnbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:16:34 +0000 (0:00:00.416) 0:00:17.475 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:16:35 +0000 (0:00:00.647) 0:00:18.123 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:16:35 +0000 (0:00:00.646) 0:00:18.770 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpdnmqn6um/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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:16:36 +0000 (0:00:01.158) 0:00:19.929 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.049074", "end": "2022-07-19 16:16:36.818318", "rc": 0, "start": "2022-07-19 16:16:36.769244" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:16:37 +0000 (0:00:00.419) 0:00:20.348 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:16:38 +0000 (0:00:00.689) 0:00:21.038 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "nbde_client-network-flush.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "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": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "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 16:15:22 EDT", "StateChangeTimestampMonotonic": "52720794", "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": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/centos-9.qcow2.snap TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmpdnmqn6um/tests/tests_key_rotation.yml:21 Tuesday 19 July 2022 20:16:38 +0000 (0:00:00.542) 0:00:21.581 ********** included: /tmp/tmpdnmqn6um/tests/tasks/verify_unlock_device.yml for /cache/centos-9.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmpdnmqn6um/tests/tasks/verify_unlock_device.yml:2 Tuesday 19 July 2022 20:16:38 +0000 (0:00:00.026) 0:00:21.607 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:03.879337", "end": "2022-07-19 16:16:42.331781", "rc": 0, "start": "2022-07-19 16:16:38.452444" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmpdnmqn6um/tests/tasks/verify_unlock_device.yml:10 Tuesday 19 July 2022 20:16:42 +0000 (0:00:04.254) 0:00:25.861 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.030716", "end": "2022-07-19 16:16:42.736081", "rc": 0, "start": "2022-07-19 16:16:42.705365" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmpdnmqn6um/tests/tests_key_rotation.yml:24 Tuesday 19 July 2022 20:16:43 +0000 (0:00:00.404) 0:00:26.266 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmpdnmqn6um/tests/tests_key_rotation.yml:30 Tuesday 19 July 2022 20:16:43 +0000 (0:00:00.031) 0:00:26.297 ********** included: /tmp/tmpdnmqn6um/tests/tasks/verify_idempotency.yml for /cache/centos-9.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmpdnmqn6um/tests/tasks/verify_idempotency.yml:2 Tuesday 19 July 2022 20:16:43 +0000 (0:00:00.027) 0:00:26.324 ********** TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:16:43 +0000 (0:00:00.025) 0:00:26.350 ********** included: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:16:43 +0000 (0:00:00.025) 0:00:26.375 ********** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Tuesday 19 July 2022 20:16:43 +0000 (0:00:00.560) 0:00:26.936 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/vars/CentOS_9.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:16:44 +0000 (0:00:00.075) 0:00:27.012 ********** included: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:16:44 +0000 (0:00:00.034) 0:00:27.047 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:16:44 +0000 (0:00:00.850) 0:00:27.897 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "cryptsetup-pre.target clevis-luks-askpass.service", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "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 16:15:08 EDT", "StateChangeTimestampMonotonic": "38518092", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:16:45 +0000 (0:00:00.547) 0:00:28.445 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:16:46 +0000 (0:00:00.718) 0:00:29.163 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:16:48 +0000 (0:00:02.400) 0:00:31.563 ********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:16:48 +0000 (0:00:00.023) 0:00:31.587 ********** skipping: [/cache/centos-9.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:16:48 +0000 (0:00:00.040) 0:00:31.627 ********** skipping: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:16:48 +0000 (0:00:00.034) 0:00:31.662 ********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:16:48 +0000 (0:00:00.026) 0:00:31.688 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:16:49 +0000 (0:00:00.629) 0:00:32.318 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:16:50 +0000 (0:00:00.635) 0:00:32.954 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpdnmqn6um/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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:16:51 +0000 (0:00:01.136) 0:00:34.090 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.047325", "end": "2022-07-19 16:16:50.977158", "rc": 0, "start": "2022-07-19 16:16:50.929833" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:16:51 +0000 (0:00:00.421) 0:00:34.512 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:16:52 +0000 (0:00:00.641) 0:00:35.153 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target systemd-journald.socket system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "nbde_client-network-flush.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "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", "RuntimeRandomizedExtraUSec": "0", "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 16:15:22 EDT", "StateChangeTimestampMonotonic": "52720794", "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": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/centos-9.qcow2.snap TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmpdnmqn6um/tests/tasks/verify_idempotency.yml:6 Tuesday 19 July 2022 20:16:53 +0000 (0:00:01.546) 0:00:36.699 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Rotate keys] ************************************************************* task path: /tmp/tmpdnmqn6um/tests/tests_key_rotation.yml:33 Tuesday 19 July 2022 20:16:53 +0000 (0:00:00.033) 0:00:36.733 ********** included: /tmp/tmpdnmqn6um/tests/tasks/rotate_keys.yml for /cache/centos-9.qcow2.snap TASK [Rotate NBDE keys for testing] ******************************************** task path: /tmp/tmpdnmqn6um/tests/tasks/rotate_keys.yml:2 Tuesday 19 July 2022 20:16:53 +0000 (0:00:00.029) 0:00:36.762 ********** 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:16:53 +0000 (0:00:00.029) 0:00:36.792 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/centos-9.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:16:53 +0000 (0:00:00.026) 0:00:36.818 ********** ok: [/cache/centos-9.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:16:54 +0000 (0:00:00.528) 0:00:37.347 ********** ok: [/cache/centos-9.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:16:54 +0000 (0:00:00.038) 0:00:37.385 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/centos-9.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:16:54 +0000 (0:00:00.028) 0:00:37.414 ********** ok: [/cache/centos-9.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:16:55 +0000 (0:00:00.823) 0:00:38.238 ********** changed: [/cache/centos-9.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-rotated", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-rotated" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Tuesday 19 July 2022 20:16:55 +0000 (0:00:00.414) 0:00:38.653 ********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Tuesday 19 July 2022 20:16:55 +0000 (0:00:00.034) 0:00:38.687 ********** skipping: [/cache/centos-9.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:16:55 +0000 (0:00:00.032) 0:00:38.719 ********** ok: [/cache/centos-9.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 16:14:47 EDT", "ActiveEnterTimestampMonotonic": "17918993", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-19 16:14:47 EDT", "AssertTimestampMonotonic": "17916707", "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": "13457000", "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 16:14:47 EDT", "ConditionTimestampMonotonic": "17916686", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-19 16:14:47 EDT", "InactiveExitTimestampMonotonic": "17918993", "InvocationID": "418e0ba527c14fb69c424c718dfadea1", "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": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "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": "18", "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": "system.slice sysinit.target", "RestartKillSignal": "15", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-07-19 16:14:47 EDT", "StateChangeTimestampMonotonic": "17918993", "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": "10920", "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/centos-9.qcow2.snap TASK [Use nbde_client role - idempotency check - change expected] ************** task path: /tmp/tmpdnmqn6um/tests/tests_key_rotation.yml:36 Tuesday 19 July 2022 20:16:56 +0000 (0:00:00.554) 0:00:39.273 ********** TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:16:56 +0000 (0:00:00.031) 0:00:39.305 ********** included: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:16:56 +0000 (0:00:00.026) 0:00:39.331 ********** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Tuesday 19 July 2022 20:16:56 +0000 (0:00:00.574) 0:00:39.905 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/vars/CentOS_9.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:16:57 +0000 (0:00:00.072) 0:00:39.977 ********** included: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:16:57 +0000 (0:00:00.033) 0:00:40.010 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:16:57 +0000 (0:00:00.847) 0:00:40.858 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "cryptsetup-pre.target clevis-luks-askpass.service", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "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 16:15:08 EDT", "StateChangeTimestampMonotonic": "38518092", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:16:58 +0000 (0:00:00.562) 0:00:41.421 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:16:59 +0000 (0:00:00.653) 0:00:42.075 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:17:01 +0000 (0:00:02.400) 0:00:44.475 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.cczorxdhnbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:17:01 +0000 (0:00:00.424) 0:00:44.899 ********** skipping: [/cache/centos-9.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:17:01 +0000 (0:00:00.044) 0:00:44.944 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:17:13 +0000 (0:00:11.594) 0:00:56.538 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.cczorxdhnbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:17:13 +0000 (0:00:00.385) 0:00:56.924 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:17:14 +0000 (0:00:00.644) 0:00:57.569 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:17:15 +0000 (0:00:00.647) 0:00:58.217 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpdnmqn6um/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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:17:16 +0000 (0:00:01.138) 0:00:59.355 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.051538", "end": "2022-07-19 16:17:16.246436", "rc": 0, "start": "2022-07-19 16:17:16.194898" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:17:16 +0000 (0:00:00.422) 0:00:59.778 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:17:17 +0000 (0:00:00.668) 0:01:00.447 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "nbde_client-network-flush.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "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", "RuntimeRandomizedExtraUSec": "0", "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 16:15:22 EDT", "StateChangeTimestampMonotonic": "52720794", "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": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/centos-9.qcow2.snap TASK [Assert change happened after key rotation] ******************************* task path: /tmp/tmpdnmqn6um/tests/tests_key_rotation.yml:40 Tuesday 19 July 2022 20:17:18 +0000 (0:00:00.516) 0:01:00.963 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency again - change not expected] ************************** task path: /tmp/tmpdnmqn6um/tests/tests_key_rotation.yml:45 Tuesday 19 July 2022 20:17:18 +0000 (0:00:00.031) 0:01:00.995 ********** included: /tmp/tmpdnmqn6um/tests/tasks/verify_idempotency.yml for /cache/centos-9.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmpdnmqn6um/tests/tasks/verify_idempotency.yml:2 Tuesday 19 July 2022 20:17:18 +0000 (0:00:00.028) 0:01:01.023 ********** TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:17:18 +0000 (0:00:00.024) 0:01:01.048 ********** included: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:17:18 +0000 (0:00:00.025) 0:01:01.073 ********** ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Tuesday 19 July 2022 20:17:18 +0000 (0:00:00.521) 0:01:01.595 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/vars/CentOS_9.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:17:18 +0000 (0:00:00.037) 0:01:01.632 ********** included: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:17:18 +0000 (0:00:00.032) 0:01:01.665 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:17:19 +0000 (0:00:00.872) 0:01:02.537 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "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 16:15:08 EDT", "StateChangeTimestampMonotonic": "38518092", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:17:20 +0000 (0:00:00.504) 0:01:03.041 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:17:20 +0000 (0:00:00.634) 0:01:03.676 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:17:23 +0000 (0:00:02.709) 0:01:06.385 ********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:17:23 +0000 (0:00:00.023) 0:01:06.409 ********** skipping: [/cache/centos-9.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:17:23 +0000 (0:00:00.038) 0:01:06.447 ********** skipping: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:17:23 +0000 (0:00:00.023) 0:01:06.470 ********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:17:23 +0000 (0:00:00.023) 0:01:06.494 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:17:24 +0000 (0:00:00.673) 0:01:07.167 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:17:24 +0000 (0:00:00.622) 0:01:07.789 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpdnmqn6um/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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:17:25 +0000 (0:00:01.130) 0:01:08.920 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.043216", "end": "2022-07-19 16:17:25.837225", "rc": 0, "start": "2022-07-19 16:17:25.794009" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:17:26 +0000 (0:00:00.448) 0:01:09.369 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:17:27 +0000 (0:00:00.664) 0:01:10.034 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket sysinit.target basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "nbde_client-network-flush.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "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", "RuntimeRandomizedExtraUSec": "0", "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 16:15:22 EDT", "StateChangeTimestampMonotonic": "52720794", "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": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/centos-9.qcow2.snap TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmpdnmqn6um/tests/tasks/verify_idempotency.yml:6 Tuesday 19 July 2022 20:17:27 +0000 (0:00:00.556) 0:01:10.590 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmpdnmqn6um/tests/tests_key_rotation.yml:49 Tuesday 19 July 2022 20:17:27 +0000 (0:00:00.031) 0:01:10.622 ********** included: /tmp/tmpdnmqn6um/tests/tasks/cleanup_test.yml for /cache/centos-9.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmpdnmqn6um/tests/tasks/cleanup_test.yml:2 Tuesday 19 July 2022 20:17:27 +0000 (0:00:00.029) 0:01:10.651 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmpdnmqn6um/tests/tasks/cleanup_test.yml:7 Tuesday 19 July 2022 20:17:28 +0000 (0:00:00.389) 0:01:11.041 ********** changed: [/cache/centos-9.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/tmpdnmqn6um/tests/tasks/cleanup_test.yml:13 Tuesday 19 July 2022 20:17:28 +0000 (0:00:00.196) 0:01:11.238 ********** ok: [/cache/centos-9.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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 Tuesday 19 July 2022 20:17:28 +0000 (0:00:00.356) 0:01:11.594 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:22.675472", "end": "2022-07-19 16:17:51.123974", "rc": 0, "start": "2022-07-19 16:17:28.448502" } STDERR: dracut: Executing: /usr/bin/dracut --kver=5.14.0-105.el9.x86_64 -fv dracut: dracut module 'systemd-networkd' will not be installed, because command 'networkctl' could not be found! dracut: dracut module 'systemd-networkd' will not be installed, because command '/usr/lib/systemd/systemd-networkd' could not be found! dracut: dracut module 'systemd-networkd' will not be installed, because command '/usr/lib/systemd/systemd-networkd-wait-online' could not be found! dracut: dracut module 'systemd-resolved' will not be installed, because command 'resolvectl' could not be found! dracut: dracut module 'systemd-resolved' will not be installed, because command '/usr/lib/systemd/systemd-resolved' could not be found! dracut: dracut module 'systemd-timesyncd' will not be installed, because command '/usr/lib/systemd/systemd-timesyncd' could not be found! dracut: dracut module 'systemd-timesyncd' will not be installed, because command '/usr/lib/systemd/systemd-time-wait-sync' could not be found! dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found! dracut: dracut module 'dbus-daemon' will not be installed, because command 'dbus-daemon' could not be found! dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found! dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found! dracut: 62bluetooth: Could not find any command of '/usr/lib/bluetooth/bluetoothd /usr/libexec/bluetooth/bluetoothd'! dracut: dracut module 'lvmmerge' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found! dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found! dracut: dracut module 'multipath' will not be installed, because command 'multipath' could not be found! dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found! dracut: dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found! dracut: 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: modsign *** 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: prefixdevname *** dracut: *** Including module: crypt *** dracut: *** Including module: dm *** dracut: Skipping udev rule: 64-device-mapper.rules dracut: Skipping udev rule: 60-persistent-storage-dm.rules dracut: Skipping udev rule: 55-dm.rules dracut: *** Including module: kernel-modules *** dracut: *** Including module: kernel-modules-extra *** dracut: *** Including module: kernel-network-modules *** dracut: *** Including module: nvdimm *** dracut: *** Including module: qemu *** dracut: *** Including module: qemu-net *** dracut: *** Including module: lunmask *** dracut: *** Including module: nfs *** dracut: *** Including module: resume *** dracut: *** Including module: rootfs-block *** dracut: *** Including module: terminfo *** dracut: *** Including module: 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: microcode_ctl-fw_dir_override *** dracut: microcode_ctl module: mangling fw_dir dracut: microcode_ctl: reset fw_dir to "/lib/firmware/updates /lib/firmware" dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel"... intel: model '', path ' intel-ucode/*', kvers '' dracut: microcode_ctl: intel: caveats check for kernel version "5.14.0-105.el9.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel" to fw_dir variable dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07"... intel-06-2d-07: model 'GenuineIntel 06-2d-07', path ' intel-ucode/06-2d-07', kvers '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-2d-07: caveats check for kernel version "5.14.0-105.el9.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07" to fw_dir variable dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4e-03"... intel-06-4e-03: model 'GenuineIntel 06-4e-03', path ' intel-ucode/06-4e-03', kvers '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 intel-06-4e-03: caveat is disabled in configuration dracut: microcode_ctl: kernel version "5.14.0-105.el9.x86_64" failed early load check for "intel-06-4e-03", skipping dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4f-01"... intel-06-4f-01: model 'GenuineIntel 06-4f-01', path ' intel-ucode/06-4f-01', kvers ' 4.17.0 3.10.0-894 3.10.0-862.6.1 3.10.0-693.35.1 3.10.0-514.52.1 3.10.0-327.70.1 2.6.32-754.1.1 2.6.32-573.58.1 2.6.32-504.71.1 2.6.32-431.90.1 2.6.32-358.90.1' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 intel-06-4f-01: caveat is disabled in configuration dracut: microcode_ctl: kernel version "5.14.0-105.el9.x86_64" failed early load check for "intel-06-4f-01", skipping dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04"... intel-06-55-04: model 'GenuineIntel 06-55-04', path ' intel-ucode/06-55-04', kvers '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-55-04: caveats check for kernel version "5.14.0-105.el9.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04" to fw_dir variable dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03"... intel-06-5e-03: model 'GenuineIntel 06-5e-03', path ' intel-ucode/06-5e-03', kvers '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-5e-03: caveats check for kernel version "5.14.0-105.el9.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03" to fw_dir variable dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8c-01"... intel-06-8c-01: model 'GenuineIntel 06-8c-01', path ' intel-ucode/06-8c-01', kvers '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-8c-01: caveats check for kernel version "5.14.0-105.el9.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8c-01" to fw_dir variable dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-0xca"... intel-06-8e-9e-0x-0xca: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 intel-06-8e-9e-0x-0xca: caveat is disabled in configuration dracut: microcode_ctl: kernel version "5.14.0-105.el9.x86_64" failed early load check for "intel-06-8e-9e-0x-0xca", skipping dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-dell"... intel-06-8e-9e-0x-dell: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-8e-9e-0x-dell: caveats check for kernel version "5.14.0-105.el9.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-dell" to fw_dir variable dracut: microcode_ctl: final fw_dir: "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-dell /usr/share/microcode_ctl/ucode_with_caveats/intel-06-8c-01 /usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03 /usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04 /usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07 /usr/share/microcode_ctl/ucode_with_caveats/intel /lib/firmware/updates /lib/firmware" 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: 1803 dracut: Linked: 9 files dracut: Compared: 0 xattrs dracut: Compared: 430 files dracut: Saved: 1.06 MiB dracut: Duration: 0.051035 seconds dracut: *** Hardlinking files done *** dracut: Could not find 'strip'. Not stripping the initramfs. dracut: *** Generating early-microcode cpio image *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Store current command line parameters *** dracut: *** Creating image file '/boot/initramfs-5.14.0-105.el9.x86_64.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-5.14.0-105.el9.x86_64.img' done *** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=101 changed=12 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Tuesday 19 July 2022 20:17:51 +0000 (0:00:23.072) 0:01:34.667 ********** =============================================================================== linux-system-roles.nbde_client : nbde_client update initramfs ---------- 23.07s /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 linux-system-roles.nbde_client : Perform clevis operations ------------- 11.59s /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 linux-system-roles.nbde_client : Perform clevis operations -------------- 5.98s /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Verify we can unlock the device ----------------------------------------- 4.25s /tmp/tmpdnmqn6um/tests/tasks/verify_unlock_device.yml:2 ----------------------- linux-system-roles.nbde_client : Check whether devices are at the desired state --- 2.71s /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 2.40s /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 2.40s /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Enable network flushing service -------- 1.55s /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.16s /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.15s /tmp/tmpdnmqn6um/tests/tests_key_rotation.yml:2 ------------------------------- linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.14s /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.14s /tmp/tmpdnmqn6um/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/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Install required packages for nbde_client tests ------------------------- 0.97s /tmp/tmpdnmqn6um/tests/tasks/setup_test.yml:24 -------------------------------- linux-system-roles.nbde_client : Ensure required packages are installed --- 0.87s /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.86s /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 0.85s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_client : Ensure required packages are installed --- 0.85s /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Ensure required packages are installed --- 0.85s /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Ensure required packages are installed --- 0.83s /tmp/tmpdnmqn6um/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpd9gazgv_ 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_key_rotation.yml *********************************************** 1 plays in /tmp/tmp5akq02wi/tests/nbde_client/tests_key_rotation.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5akq02wi/tests/nbde_client/tests_key_rotation.yml:2 Tuesday 19 July 2022 20:28:27 +0000 (0:00:00.013) 0:00:00.013 ********** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmp5akq02wi/tests/nbde_client/tests_key_rotation.yml:12 Tuesday 19 July 2022 20:28:28 +0000 (0:00:01.080) 0:00:01.093 ********** included: /tmp/tmp5akq02wi/tests/nbde_client/tasks/setup_test.yml for /cache/centos-9.qcow2.snap TASK [Include general tests variables] ***************************************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/setup_test.yml:2 Tuesday 19 July 2022 20:28:28 +0000 (0:00:00.030) 0:00:01.124 ********** ok: [/cache/centos-9.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/tmp5akq02wi/tests/nbde_client/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/setup_test.yml:5 Tuesday 19 July 2022 20:28:29 +0000 (0:00:00.054) 0:00:01.178 ********** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "nbde_client_test_packages": [] }, "ansible_included_var_files": [ "/tmp/tmp5akq02wi/tests/nbde_client/vars/default.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/setup_test.yml:18 Tuesday 19 July 2022 20:28:29 +0000 (0:00:00.077) 0:00:01.255 ********** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "all_ipv4_addresses": [ "10.0.2.15" ], "all_ipv6_addresses": [ "fec0::5054:ff:fe12:3456", "fe80::5054:ff:fe12:3456" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "04/01/2014", "bios_vendor": "SeaBIOS", "bios_version": "1.14.0-4.fc34", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "QEMU", "chassis_version": "pc-i440fx-5.2", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-5.14.0-105.el9.x86_64", "console": "ttyS0,115200n8", "crashkernel": "1G-4G:192M,4G-64G:256M,64G-:512M", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "date_time": { "date": "2022-07-19", "day": "19", "epoch": "1658262507", "epoch_int": "1658262507", "hour": "16", "iso8601": "2022-07-19T20:28:27Z", "iso8601_basic": "20220719T162827877270", "iso8601_basic_short": "20220719T162827", "iso8601_micro": "2022-07-19T20:28:27.877270Z", "minute": "28", "month": "07", "second": "27", "time": "16:28:27", "tz": "EDT", "tz_dst": "EDT", "tz_offset": "-0400", "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", "scsi-0QEMU_QEMU_DVD-ROM_QM00003", "scsi-1ATA_QEMU_DVD-ROM_QM00003" ] }, "labels": { "sr0": [ "cidata" ], "vdb1": [ "yumcache" ], "vdc1": [ "yumvarlib" ] }, "masters": {}, "uuids": { "sr0": [ "2022-07-19-20-26-43-00" ], "vda1": [ "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" ], "vdb1": [ "6307e659-58ff-4813-a502-a94e5191da7b" ], "vdc1": [ "e45d6b1b-696d-4210-9b4b-ed676068d6ed" ] } }, "devices": { "loop0": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": {}, "removable": "0", "rotational": "1", "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", "scsi-0QEMU_QEMU_DVD-ROM_QM00003", "scsi-1ATA_QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-07-19-20-26-43-00" ] }, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "mq-deadline", "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": [ "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" ] }, "sectors": "20969439", "sectorsize": 512, "size": "10.00 GB", "start": "2048", "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "20971520", "sectorsize": "512", "size": "10.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": [ "6307e659-58ff-4813-a502-a94e5191da7b" ] }, "sectors": "4192256", "sectorsize": 512, "size": "2.00 GB", "start": "2048", "uuid": "6307e659-58ff-4813-a502-a94e5191da7b" } }, "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": [ "e45d6b1b-696d-4210-9b4b-ed676068d6ed" ] }, "sectors": "4192256", "sectorsize": 512, "size": "2.00 GB", "start": "2048", "uuid": "e45d6b1b-696d-4210-9b4b-ed676068d6ed" } }, "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 } }, "discovered_interpreter_python": "/usr/bin/python3", "distribution": "CentOS", "distribution_file_parsed": true, "distribution_file_path": "/etc/centos-release", "distribution_file_variety": "CentOS", "distribution_major_version": "9", "distribution_release": "Stream", "distribution_version": "9", "dns": { "nameservers": [ "10.0.2.3" ], "search": [ "virt.pnr.lab.eng.rdu2.redhat.com" ] }, "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", "HOME": "/root", "LANG": "en_US.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 52718 22", "SSH_CONNECTION": "10.0.2.2 52718 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "TC_LIB_DIR": "/usr/lib64/tc", "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", "features": { "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "off [requested on]", "highdma": "on [fixed]", "hsr_dup_offload": "off [fixed]", "hsr_fwd_offload": "off [fixed]", "hsr_tag_ins_offload": "off [fixed]", "hsr_tag_rm_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "off [fixed]", "macsec_hw_offload": "off [fixed]", "netns_local": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "off [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off", "rx_gro_list": "off", "rx_udp_gro_forwarding": "off", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "on [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "off", "tcp_segmentation_offload": "off", "tls_hw_record": "off [fixed]", "tls_hw_rx_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "tx_checksumming": "off", "tx_esp_segmentation": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_lockless": "off [fixed]", "tx_nocache_copy": "off", "tx_scatter_gather": "off [fixed]", "tx_scatter_gather_fraglist": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_tcp6_segmentation": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off [fixed]", "tx_tcp_segmentation": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "vlan_challenged": "off [fixed]" }, "hw_timestamp_filters": [], "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, "timestamping": [], "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": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "5.14.0-105.el9.x86_64", "kernel_version": "#1 SMP PREEMPT_DYNAMIC Fri Jun 3 10:10:03 UTC 2022", "lo": { "active": true, "device": "lo", "features": { "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "on [fixed]", "hsr_dup_offload": "off [fixed]", "hsr_fwd_offload": "off [fixed]", "hsr_tag_ins_offload": "off [fixed]", "hsr_tag_rm_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "on [fixed]", "macsec_hw_offload": "off [fixed]", "netns_local": "on [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_gro_list": "off", "rx_udp_gro_forwarding": "off", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tls_hw_record": "off [fixed]", "tls_hw_rx_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "tx_checksumming": "on", "tx_esp_segmentation": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_list": "on", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_lockless": "on [fixed]", "tx_nocache_copy": "off [fixed]", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tx_sctp_segmentation": "on", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp_segmentation": "on", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_udp_segmentation": "on", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "vlan_challenged": "on [fixed]" }, "hw_timestamp_filters": [], "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, "timestamping": [], "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "830d6d92a81b4275a8c1d0dab3ec6a26", "memfree_mb": 1288, "memory_mb": { "nocache": { "free": 1563, "used": 207 }, "real": { "free": 1288, "total": 1770, "used": 482 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 1770, "module_setup": true, "mounts": [ { "block_available": 2349753, "block_size": 4096, "block_total": 2618619, "block_used": 268866, "device": "/dev/vda1", "fstype": "xfs", "inode_available": 5209270, "inode_total": 5242304, "inode_used": 33034, "mount": "/", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 9624588288, "size_total": 10725863424, "uuid": "4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, { "block_available": 475563, "block_size": 4096, "block_total": 506074, "block_used": 30511, "device": "/dev/vdc1", "fstype": "ext4", "inode_available": 131049, "inode_total": 131072, "inode_used": 23, "mount": "/var/lib/dnf", "options": "rw,seclabel,relatime", "size_available": 1947906048, "size_total": 2072879104, "uuid": "e45d6b1b-696d-4210-9b4b-ed676068d6ed" }, { "block_available": 463920, "block_size": 4096, "block_total": 506074, "block_used": 42154, "device": "/dev/vdb1", "fstype": "ext4", "inode_available": 131007, "inode_total": 131072, "inode_used": 65, "mount": "/var/cache/dnf", "options": "rw,seclabel,relatime", "size_available": 1900216320, "size_total": 2072879104, "uuid": "6307e659-58ff-4813-a502-a94e5191da7b" } ], "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,msdos1)/boot/vmlinuz-5.14.0-105.el9.x86_64", "console": "ttyS0,115200n8", "crashkernel": "1G-4G:192M,4G-64G:256M,64G-:512M", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=4a8e5519-5f4a-41ef-bec6-391aaa7a9737" }, "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": 10, "minor": 9, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 9, 10, "final", 0 ] }, "python_version": "3.9.10", "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_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHcbkHoCQXxkpxZTfp066j4ZfFXqa4cHjsHaKGLje7MJex1kJVkgp+xWZameyD5fQRuOBwFNJfYOVIPrjMr/v0U=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIOKQObdJ/re0iwfWR8f7Sqh9KnvUsqaPwoVvsEThGabZ", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDblVBKgCqKoEJaag8kbEXvqqek64HpeNUsJK74UtR/hhEgRl/oN4T23Cg8l/er/logSDO4e74i/J3eqjIXBJJB2cgz0xTSIIUCMjg9Tex8RWz2Go+lkhfPJCBCeRcGm5nJdr5O+CrrASyHa0wqzxStRXLir5r5hMrx6kCyY7eTta6pv1iYTKqo1g2Pu9Qq66YFXFsCb41t/yn+MWnlXJS40P1okrIS3UVvD7bYG1snIHIfkFMqo7ga6sBjovFYfhaW1cW+GRYzBQ7dNGj0cZSVLumhRFekItVjIeMA9s6jW8DeowoH10BJd/3h8IOagd556f0VB8CClul6XmVd4iZfw7hytILUL3620OG4btQwtiq4+zYm8+83m02FTkawrOYaqSNacNsrjsFdo95j9GiNdIeJhsOmdKo5F8LWiNy1XFGjMwOHfvKfv39A1LV8/RDLZoRbYGJt2tjZerxmqZPLUO/6374Kg64wedLGwZaJ0Fwe2bJz9Dh5fvvTkARcqUk=", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "QEMU", "uptime_seconds": 101, "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/tmp5akq02wi/tests/nbde_client/tasks/setup_test.yml:22 Tuesday 19 July 2022 20:28:29 +0000 (0:00:00.042) 0:00:01.297 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/setup_test.yml:26 Tuesday 19 July 2022 20:28:30 +0000 (0:00:00.903) 0:00:02.201 ********** ok: [/cache/centos-9.qcow2.snap -> localhost] => { "after": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "before": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/setup_test.yml:33 Tuesday 19 July 2022 20:28:30 +0000 (0:00:00.524) 0:00:02.726 ********** 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:28:30 +0000 (0:00:00.034) 0:00:02.760 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/centos-9.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:28:30 +0000 (0:00:00.026) 0:00:02.787 ********** ok: [/cache/centos-9.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:28:31 +0000 (0:00:00.499) 0:00:03.286 ********** ok: [/cache/centos-9.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:28:31 +0000 (0:00:00.038) 0:00:03.325 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/centos-9.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:28:31 +0000 (0:00:00.028) 0:00:03.354 ********** ok: [/cache/centos-9.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:28:31 +0000 (0:00:00.773) 0:00:04.127 ********** skipping: [/cache/centos-9.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:28:31 +0000 (0:00:00.032) 0:00:04.160 ********** ok: [/cache/centos-9.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:28:32 +0000 (0:00:00.476) 0:00:04.636 ********** skipping: [/cache/centos-9.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:28:32 +0000 (0:00:00.033) 0:00:04.669 ********** ok: [/cache/centos-9.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 16:27:03 EDT", "ActiveEnterTimestampMonotonic": "17343461", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-19 16:27:03 EDT", "AssertTimestampMonotonic": "17341617", "Backlog": "4096", "Before": "sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "7264000", "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 16:27:03 EDT", "ConditionTimestampMonotonic": "17341616", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-19 16:27:03 EDT", "InactiveExitTimestampMonotonic": "17343461", "InvocationID": "e32c08accb7047f8b6c6db50a31ab78d", "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": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "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": "12", "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 16:27:03 EDT", "StateChangeTimestampMonotonic": "17343461", "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": "10920", "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/centos-9.qcow2.snap TASK [Create device for testing] *********************************************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/setup_test.yml:37 Tuesday 19 July 2022 20:28:33 +0000 (0:00:00.744) 0:00:05.413 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.003196", "end": "2022-07-19 16:28:32.730913", "rc": 0, "start": "2022-07-19 16:28:32.727717" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/setup_test.yml:41 Tuesday 19 July 2022 20:28:33 +0000 (0:00:00.469) 0:00:05.883 ********** ok: [/cache/centos-9.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.094170", "end": "2022-07-19 16:28:33.171475", "rc": 0, "start": "2022-07-19 16:28:33.077305" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/setup_test.yml:49 Tuesday 19 July 2022 20:28:34 +0000 (0:00:00.446) 0:00:06.329 ********** ok: [/cache/centos-9.qcow2.snap -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.003578", "end": "2022-07-19 20:28:34.326416", "rc": 0, "start": "2022-07-19 20:28:34.322838" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tests_key_rotation.yml:17 Tuesday 19 July 2022 20:28:34 +0000 (0:00:00.199) 0:00:06.529 ********** TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:28:34 +0000 (0:00:00.037) 0:00:06.567 ********** included: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:28:34 +0000 (0:00:00.028) 0:00:06.596 ********** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Tuesday 19 July 2022 20:28:34 +0000 (0:00:00.504) 0:00:07.100 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/CentOS_9.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:28:34 +0000 (0:00:00.039) 0:00:07.140 ********** included: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:28:35 +0000 (0:00:00.037) 0:00:07.178 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:28:35 +0000 (0:00:00.807) 0:00:07.985 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "cryptsetup-pre.target clevis-luks-askpass.service", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "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 16:27:21 EDT", "StateChangeTimestampMonotonic": "35277257", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:28:36 +0000 (0:00:00.520) 0:00:08.506 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:28:37 +0000 (0:00:00.860) 0:00:09.366 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:28:37 +0000 (0:00:00.668) 0:00:10.035 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.ledgrq6_nbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:28:38 +0000 (0:00:00.488) 0:00:10.523 ********** skipping: [/cache/centos-9.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:28:38 +0000 (0:00:00.045) 0:00:10.569 ********** NOTIFIED HANDLER fedora.linux_system_roles.nbde_client : nbde_client update initramfs for /cache/centos-9.qcow2.snap changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:28:44 +0000 (0:00:05.985) 0:00:16.554 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.ledgrq6_nbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:28:44 +0000 (0:00:00.371) 0:00:16.925 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:28:45 +0000 (0:00:00.604) 0:00:17.530 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:28:45 +0000 (0:00:00.602) 0:00:18.133 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpd9gazgv_/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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:28:47 +0000 (0:00:01.046) 0:00:19.180 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.043359", "end": "2022-07-19 16:28:46.417822", "rc": 0, "start": "2022-07-19 16:28:46.374463" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:28:47 +0000 (0:00:00.394) 0:00:19.574 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:28:48 +0000 (0:00:00.596) 0:00:20.171 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "nbde_client-network-flush.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "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", "RuntimeRandomizedExtraUSec": "0", "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 16:27:34 EDT", "StateChangeTimestampMonotonic": "48870225", "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": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/centos-9.qcow2.snap TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmp5akq02wi/tests/nbde_client/tests_key_rotation.yml:21 Tuesday 19 July 2022 20:28:48 +0000 (0:00:00.510) 0:00:20.682 ********** included: /tmp/tmp5akq02wi/tests/nbde_client/tasks/verify_unlock_device.yml for /cache/centos-9.qcow2.snap TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/verify_unlock_device.yml:2 Tuesday 19 July 2022 20:28:48 +0000 (0:00:00.026) 0:00:20.708 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:03.877253", "end": "2022-07-19 16:28:51.772915", "rc": 0, "start": "2022-07-19 16:28:47.895662" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/verify_unlock_device.yml:10 Tuesday 19 July 2022 20:28:52 +0000 (0:00:04.222) 0:00:24.930 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.036202", "end": "2022-07-19 16:28:52.162176", "rc": 0, "start": "2022-07-19 16:28:52.125974" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmp5akq02wi/tests/nbde_client/tests_key_rotation.yml:24 Tuesday 19 July 2022 20:28:53 +0000 (0:00:00.386) 0:00:25.317 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tests_key_rotation.yml:30 Tuesday 19 July 2022 20:28:53 +0000 (0:00:00.032) 0:00:25.350 ********** included: /tmp/tmp5akq02wi/tests/nbde_client/tasks/verify_idempotency.yml for /cache/centos-9.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/verify_idempotency.yml:2 Tuesday 19 July 2022 20:28:53 +0000 (0:00:00.026) 0:00:25.376 ********** TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:28:53 +0000 (0:00:00.024) 0:00:25.400 ********** included: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:28:53 +0000 (0:00:00.025) 0:00:25.426 ********** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Tuesday 19 July 2022 20:28:53 +0000 (0:00:00.497) 0:00:25.923 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/CentOS_9.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:28:53 +0000 (0:00:00.038) 0:00:25.961 ********** included: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:28:53 +0000 (0:00:00.037) 0:00:25.998 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:28:54 +0000 (0:00:00.794) 0:00:26.793 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "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 16:27:21 EDT", "StateChangeTimestampMonotonic": "35277257", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:28:55 +0000 (0:00:00.484) 0:00:27.277 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:28:55 +0000 (0:00:00.599) 0:00:27.877 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:28:57 +0000 (0:00:02.233) 0:00:30.110 ********** skipping: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:28:57 +0000 (0:00:00.024) 0:00:30.135 ********** skipping: [/cache/centos-9.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:28:58 +0000 (0:00:00.035) 0:00:30.171 ********** skipping: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:28:58 +0000 (0:00:00.022) 0:00:30.193 ********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:28:58 +0000 (0:00:00.021) 0:00:30.215 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:28:58 +0000 (0:00:00.639) 0:00:30.854 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:28:59 +0000 (0:00:00.641) 0:00:31.495 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpd9gazgv_/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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:29:00 +0000 (0:00:01.101) 0:00:32.597 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.045174", "end": "2022-07-19 16:28:59.834025", "rc": 0, "start": "2022-07-19 16:28:59.788851" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:29:00 +0000 (0:00:00.394) 0:00:32.992 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:29:01 +0000 (0:00:00.604) 0:00:33.597 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice basic.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "nbde_client-network-flush.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "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": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "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 16:27:34 EDT", "StateChangeTimestampMonotonic": "48870225", "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": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/centos-9.qcow2.snap TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/verify_idempotency.yml:6 Tuesday 19 July 2022 20:29:01 +0000 (0:00:00.517) 0:00:34.114 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Rotate keys] ************************************************************* task path: /tmp/tmp5akq02wi/tests/nbde_client/tests_key_rotation.yml:33 Tuesday 19 July 2022 20:29:01 +0000 (0:00:00.033) 0:00:34.148 ********** included: /tmp/tmp5akq02wi/tests/nbde_client/tasks/rotate_keys.yml for /cache/centos-9.qcow2.snap TASK [Rotate NBDE keys for testing] ******************************************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/rotate_keys.yml:2 Tuesday 19 July 2022 20:29:02 +0000 (0:00:00.029) 0:00:34.178 ********** 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:29:02 +0000 (0:00:00.031) 0:00:34.210 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/centos-9.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:29:02 +0000 (0:00:00.026) 0:00:34.237 ********** ok: [/cache/centos-9.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:29:02 +0000 (0:00:00.512) 0:00:34.749 ********** ok: [/cache/centos-9.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:29:02 +0000 (0:00:00.038) 0:00:34.787 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/centos-9.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:29:02 +0000 (0:00:00.030) 0:00:34.818 ********** ok: [/cache/centos-9.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:29:03 +0000 (0:00:00.831) 0:00:35.649 ********** changed: [/cache/centos-9.qcow2.snap] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-rotated", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-rotated" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Tuesday 19 July 2022 20:29:03 +0000 (0:00:00.398) 0:00:36.048 ********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Tuesday 19 July 2022 20:29:03 +0000 (0:00:00.032) 0:00:36.080 ********** skipping: [/cache/centos-9.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:29:03 +0000 (0:00:00.031) 0:00:36.111 ********** ok: [/cache/centos-9.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 16:27:03 EDT", "ActiveEnterTimestampMonotonic": "17343461", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-19 16:27:03 EDT", "AssertTimestampMonotonic": "17341617", "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": "11360000", "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 16:27:03 EDT", "ConditionTimestampMonotonic": "17341616", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-19 16:27:03 EDT", "InactiveExitTimestampMonotonic": "17343461", "InvocationID": "e32c08accb7047f8b6c6db50a31ab78d", "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": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "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": "18", "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 16:27:03 EDT", "StateChangeTimestampMonotonic": "17343461", "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": "10920", "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/centos-9.qcow2.snap TASK [Use nbde_client role - idempotency check - change expected] ************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tests_key_rotation.yml:36 Tuesday 19 July 2022 20:29:04 +0000 (0:00:00.512) 0:00:36.624 ********** TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:29:04 +0000 (0:00:00.032) 0:00:36.656 ********** included: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:29:04 +0000 (0:00:00.026) 0:00:36.683 ********** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Tuesday 19 July 2022 20:29:05 +0000 (0:00:00.493) 0:00:37.176 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/CentOS_9.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:29:05 +0000 (0:00:00.039) 0:00:37.216 ********** included: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:29:05 +0000 (0:00:00.037) 0:00:37.254 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:29:05 +0000 (0:00:00.773) 0:00:38.027 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "cryptsetup-pre.target clevis-luks-askpass.service", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "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 16:27:21 EDT", "StateChangeTimestampMonotonic": "35277257", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:29:06 +0000 (0:00:00.503) 0:00:38.530 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:29:06 +0000 (0:00:00.612) 0:00:39.143 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:29:09 +0000 (0:00:02.252) 0:00:41.395 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.hlygk3v_nbde_client_encryption_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:29:09 +0000 (0:00:00.413) 0:00:41.809 ********** skipping: [/cache/centos-9.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:29:09 +0000 (0:00:00.045) 0:00:41.854 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:29:20 +0000 (0:00:10.431) 0:00:52.285 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "path": "/tmp/ansible.hlygk3v_nbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:29:20 +0000 (0:00:00.386) 0:00:52.672 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:29:21 +0000 (0:00:00.595) 0:00:53.267 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:29:21 +0000 (0:00:00.612) 0:00:53.880 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpd9gazgv_/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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:29:22 +0000 (0:00:01.066) 0:00:54.946 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.040529", "end": "2022-07-19 16:29:22.181662", "rc": 0, "start": "2022-07-19 16:29:22.141133" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:29:23 +0000 (0:00:00.394) 0:00:55.341 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:29:23 +0000 (0:00:00.629) 0:00:55.970 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "nbde_client-network-flush.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "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": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "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 16:27:34 EDT", "StateChangeTimestampMonotonic": "48870225", "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": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/centos-9.qcow2.snap TASK [Assert change happened after key rotation] ******************************* task path: /tmp/tmp5akq02wi/tests/nbde_client/tests_key_rotation.yml:40 Tuesday 19 July 2022 20:29:24 +0000 (0:00:00.522) 0:00:56.493 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency again - change not expected] ************************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tests_key_rotation.yml:45 Tuesday 19 July 2022 20:29:24 +0000 (0:00:00.034) 0:00:56.527 ********** included: /tmp/tmp5akq02wi/tests/nbde_client/tasks/verify_idempotency.yml for /cache/centos-9.qcow2.snap TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/verify_idempotency.yml:2 Tuesday 19 July 2022 20:29:24 +0000 (0:00:00.031) 0:00:56.558 ********** TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:29:24 +0000 (0:00:00.027) 0:00:56.586 ********** included: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:29:24 +0000 (0:00:00.029) 0:00:56.615 ********** ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Tuesday 19 July 2022 20:29:24 +0000 (0:00:00.495) 0:00:57.111 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/CentOS_9.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:29:24 +0000 (0:00:00.041) 0:00:57.152 ********** included: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:29:25 +0000 (0:00:00.039) 0:00:57.191 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:29:25 +0000 (0:00:00.793) 0:00:57.985 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service cryptsetup-pre.target", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "DefaultDependencies": "no", "Description": "Forward Password Requests to Clevis Directory Watch", "DirectoryMode": "0755", "Documentation": "\"man:clevis-luks-unlockers(7)\"", "FailureAction": "none", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "FreezerState": "running", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "LoadState": "loaded", "MakeDirectory": "yes", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "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 16:27:21 EDT", "StateChangeTimestampMonotonic": "35277257", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "Transient": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:29:26 +0000 (0:00:00.499) 0:00:58.485 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:29:26 +0000 (0:00:00.612) 0:00:59.097 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:29:29 +0000 (0:00:02.429) 0:01:01.527 ********** skipping: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:29:29 +0000 (0:00:00.026) 0:01:01.553 ********** skipping: [/cache/centos-9.qcow2.snap] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:29:29 +0000 (0:00:00.038) 0:01:01.592 ********** skipping: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:29:29 +0000 (0:00:00.023) 0:01:01.616 ********** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:29:29 +0000 (0:00:00.023) 0:01:01.639 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:29:30 +0000 (0:00:00.606) 0:01:02.245 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:29:30 +0000 (0:00:00.633) 0:01:02.878 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpd9gazgv_/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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:29:31 +0000 (0:00:01.111) 0:01:03.990 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.045629", "end": "2022-07-19 16:29:31.245825", "rc": 0, "start": "2022-07-19 16:29:31.200196" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:29:32 +0000 (0:00:00.417) 0:01:04.408 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:29:32 +0000 (0:00:00.610) 0:01:05.018 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket sysinit.target basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "nbde_client-network-flush.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6825", "LimitNPROCSoft": "6825", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6825", "LimitSIGPENDINGSoft": "6825", "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": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "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 16:27:34 EDT", "StateChangeTimestampMonotonic": "48870225", "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": "10920", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } META: role_complete for /cache/centos-9.qcow2.snap TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/verify_idempotency.yml:6 Tuesday 19 July 2022 20:29:33 +0000 (0:00:00.523) 0:01:05.542 ********** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmp5akq02wi/tests/nbde_client/tests_key_rotation.yml:49 Tuesday 19 July 2022 20:29:33 +0000 (0:00:00.034) 0:01:05.576 ********** included: /tmp/tmp5akq02wi/tests/nbde_client/tasks/cleanup_test.yml for /cache/centos-9.qcow2.snap TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/cleanup_test.yml:2 Tuesday 19 July 2022 20:29:33 +0000 (0:00:00.030) 0:01:05.607 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmp5akq02wi/tests/nbde_client/tasks/cleanup_test.yml:7 Tuesday 19 July 2022 20:29:33 +0000 (0:00:00.417) 0:01:06.024 ********** changed: [/cache/centos-9.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/tmp5akq02wi/tests/nbde_client/tasks/cleanup_test.yml:13 Tuesday 19 July 2022 20:29:34 +0000 (0:00:00.242) 0:01:06.267 ********** ok: [/cache/centos-9.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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Tuesday 19 July 2022 20:29:34 +0000 (0:00:00.395) 0:01:06.662 ********** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:21.558083", "end": "2022-07-19 16:29:55.445118", "rc": 0, "start": "2022-07-19 16:29:33.887035" } STDERR: dracut: Executing: /usr/bin/dracut --kver=5.14.0-105.el9.x86_64 -fv dracut: dracut module 'systemd-networkd' will not be installed, because command 'networkctl' could not be found! dracut: dracut module 'systemd-networkd' will not be installed, because command '/usr/lib/systemd/systemd-networkd' could not be found! dracut: dracut module 'systemd-networkd' will not be installed, because command '/usr/lib/systemd/systemd-networkd-wait-online' could not be found! dracut: dracut module 'systemd-resolved' will not be installed, because command 'resolvectl' could not be found! dracut: dracut module 'systemd-resolved' will not be installed, because command '/usr/lib/systemd/systemd-resolved' could not be found! dracut: dracut module 'systemd-timesyncd' will not be installed, because command '/usr/lib/systemd/systemd-timesyncd' could not be found! dracut: dracut module 'systemd-timesyncd' will not be installed, because command '/usr/lib/systemd/systemd-time-wait-sync' could not be found! dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found! dracut: dracut module 'dbus-daemon' will not be installed, because command 'dbus-daemon' could not be found! dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found! dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found! dracut: 62bluetooth: Could not find any command of '/usr/lib/bluetooth/bluetoothd /usr/libexec/bluetooth/bluetoothd'! dracut: dracut module 'lvmmerge' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'btrfs' will not be installed, because command 'btrfs' could not be found! dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found! dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found! dracut: dracut module 'multipath' will not be installed, because command 'multipath' could not be found! dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found! dracut: dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found! dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found! dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found! dracut: dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found! dracut: 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: modsign *** 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: prefixdevname *** dracut: *** Including module: crypt *** dracut: *** Including module: dm *** dracut: Skipping udev rule: 64-device-mapper.rules dracut: Skipping udev rule: 60-persistent-storage-dm.rules dracut: Skipping udev rule: 55-dm.rules dracut: *** Including module: kernel-modules *** dracut: *** Including module: kernel-modules-extra *** dracut: *** Including module: kernel-network-modules *** dracut: *** Including module: nvdimm *** dracut: *** Including module: qemu *** dracut: *** Including module: qemu-net *** dracut: *** Including module: lunmask *** dracut: *** Including module: nfs *** dracut: *** Including module: resume *** dracut: *** Including module: rootfs-block *** dracut: *** Including module: terminfo *** dracut: *** Including module: 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: microcode_ctl-fw_dir_override *** dracut: microcode_ctl module: mangling fw_dir dracut: microcode_ctl: reset fw_dir to "/lib/firmware/updates /lib/firmware" dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel"... intel: model '', path ' intel-ucode/*', kvers '' dracut: microcode_ctl: intel: caveats check for kernel version "5.14.0-105.el9.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel" to fw_dir variable dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07"... intel-06-2d-07: model 'GenuineIntel 06-2d-07', path ' intel-ucode/06-2d-07', kvers '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-2d-07: caveats check for kernel version "5.14.0-105.el9.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07" to fw_dir variable dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4e-03"... intel-06-4e-03: model 'GenuineIntel 06-4e-03', path ' intel-ucode/06-4e-03', kvers '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 intel-06-4e-03: caveat is disabled in configuration dracut: microcode_ctl: kernel version "5.14.0-105.el9.x86_64" failed early load check for "intel-06-4e-03", skipping dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-4f-01"... intel-06-4f-01: model 'GenuineIntel 06-4f-01', path ' intel-ucode/06-4f-01', kvers ' 4.17.0 3.10.0-894 3.10.0-862.6.1 3.10.0-693.35.1 3.10.0-514.52.1 3.10.0-327.70.1 2.6.32-754.1.1 2.6.32-573.58.1 2.6.32-504.71.1 2.6.32-431.90.1 2.6.32-358.90.1' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 intel-06-4f-01: caveat is disabled in configuration dracut: microcode_ctl: kernel version "5.14.0-105.el9.x86_64" failed early load check for "intel-06-4f-01", skipping dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04"... intel-06-55-04: model 'GenuineIntel 06-55-04', path ' intel-ucode/06-55-04', kvers '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-55-04: caveats check for kernel version "5.14.0-105.el9.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04" to fw_dir variable dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03"... intel-06-5e-03: model 'GenuineIntel 06-5e-03', path ' intel-ucode/06-5e-03', kvers '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-5e-03: caveats check for kernel version "5.14.0-105.el9.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03" to fw_dir variable dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8c-01"... intel-06-8c-01: model 'GenuineIntel 06-8c-01', path ' intel-ucode/06-8c-01', kvers '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-8c-01: caveats check for kernel version "5.14.0-105.el9.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8c-01" to fw_dir variable dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-0xca"... intel-06-8e-9e-0x-0xca: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 intel-06-8e-9e-0x-0xca: caveat is disabled in configuration dracut: microcode_ctl: kernel version "5.14.0-105.el9.x86_64" failed early load check for "intel-06-8e-9e-0x-0xca", skipping dracut: microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-dell"... intel-06-8e-9e-0x-dell: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel: calling check_caveat 'intel' '1' match_model=0 intel: model '', path ' intel-ucode/*', kvers '' Dependency check for required intel succeeded: result=0 dracut: microcode_ctl: intel-06-8e-9e-0x-dell: caveats check for kernel version "5.14.0-105.el9.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-dell" to fw_dir variable dracut: microcode_ctl: final fw_dir: "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8e-9e-0x-dell /usr/share/microcode_ctl/ucode_with_caveats/intel-06-8c-01 /usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03 /usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04 /usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07 /usr/share/microcode_ctl/ucode_with_caveats/intel /lib/firmware/updates /lib/firmware" 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: 1803 dracut: Linked: 9 files dracut: Compared: 0 xattrs dracut: Compared: 430 files dracut: Saved: 1.06 MiB dracut: Duration: 0.047555 seconds dracut: *** Hardlinking files done *** dracut: Could not find 'strip'. Not stripping the initramfs. dracut: *** Generating early-microcode cpio image *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Store current command line parameters *** dracut: *** Creating image file '/boot/initramfs-5.14.0-105.el9.x86_64.img' *** dracut: *** Creating initramfs image file '/boot/initramfs-5.14.0-105.el9.x86_64.img' done *** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=101 changed=12 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Tuesday 19 July 2022 20:29:56 +0000 (0:00:21.950) 0:01:28.613 ********** =============================================================================== fedora.linux_system_roles.nbde_client : nbde_client update initramfs --- 21.95s /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 fedora.linux_system_roles.nbde_client : Perform clevis operations ------ 10.43s /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 5.99s /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Verify we can unlock the device ----------------------------------------- 4.22s /tmp/tmp5akq02wi/tests/nbde_client/tasks/verify_unlock_device.yml:2 ----------- fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 2.43s /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 2.25s /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 2.23s /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.11s /tmp/tmpd9gazgv_/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/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmp5akq02wi/tests/nbde_client/tests_key_rotation.yml:2 ------------------- fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.07s /tmp/tmpd9gazgv_/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.05s /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Install required packages for nbde_client tests ------------------------- 0.90s /tmp/tmp5akq02wi/tests/nbde_client/tasks/setup_test.yml:22 -------------------- fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.86s /tmp/tmpd9gazgv_/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 tang is installed --- 0.83s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 0.81s /tmp/tmpd9gazgv_/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 --- 0.79s /tmp/tmpd9gazgv_/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 --- 0.79s /tmp/tmpd9gazgv_/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 --- 0.77s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 0.77s /tmp/tmpd9gazgv_/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2