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/tmpdusqm72k 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: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Tuesday 19 July 2022 19:48:15 +0000 (0:00:00.017) 0:00:00.017 ********** changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 19 July 2022 19:48:17 +0000 (0:00:01.305) 0:00:01.323 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.31s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_bind_high_availability.yml ************************************* 1 plays in /tmp/tmpfayf35st/tests/tests_bind_high_availability.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpfayf35st/tests/tests_bind_high_availability.yml:2 Tuesday 19 July 2022 19:48:17 +0000 (0:00:00.031) 0:00:01.354 ********** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmpfayf35st/tests/tests_bind_high_availability.yml:13 Tuesday 19 July 2022 19:48:18 +0000 (0:00:00.939) 0:00:02.294 ********** included: /tmp/tmpfayf35st/tests/tasks/setup_test.yml for /cache/rhel-7.qcow2 TASK [Include general tests variables] ***************************************** task path: /tmp/tmpfayf35st/tests/tasks/setup_test.yml:2 Tuesday 19 July 2022 19:48:18 +0000 (0:00:00.027) 0:00:02.321 ********** ok: [/cache/rhel-7.qcow2] => { "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/tmpfayf35st/tests/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmpfayf35st/tests/tasks/setup_test.yml:5 Tuesday 19 July 2022 19:48:18 +0000 (0:00:00.028) 0:00:02.349 ********** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmpfayf35st/tests/vars/RedHat_7.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmpfayf35st/tests/tasks/setup_test.yml:20 Tuesday 19 July 2022 19:48:18 +0000 (0:00:00.037) 0:00:02.387 ********** ok: [/cache/rhel-7.qcow2] => { "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": "/boot/vmlinuz-3.10.0-1160.72.1.el7.x86_64", "LANG": "en_US.UTF-8", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=e2fbf6c5-1c0e-4813-a390-28af259b29b3" }, "date_time": { "date": "2022-07-19", "day": "19", "epoch": "1658260097", "epoch_int": "1658260097", "hour": "15", "iso8601": "2022-07-19T19:48:17Z", "iso8601_basic": "20220719T154817233684", "iso8601_basic_short": "20220719T154817", "iso8601_micro": "2022-07-19T19:48:17.233684Z", "minute": "48", "month": "07", "second": "17", "time": "15:48: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" ] }, "labels": { "sr0": [ "cidata" ] }, "masters": {}, "uuids": { "sr0": [ "2022-07-19-19-48-03-00" ], "vda1": [ "e2fbf6c5-1c0e-4813-a390-28af259b29b3" ] } }, "devices": { "fd0": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "deadline", "sectors": "8", "sectorsize": "512", "size": "4.00 KB", "support_discard": "0", "vendor": null, "virtual": 1 }, "sr0": { "holders": [], "host": "", "links": { "ids": [ "ata-QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-07-19-19-48-03-00" ] }, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "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": [ "e2fbf6c5-1c0e-4813-a390-28af259b29b3" ] }, "sectors": "20969439", "sectorsize": 512, "size": "10.00 GB", "start": "2048", "uuid": "e2fbf6c5-1c0e-4813-a390-28af259b29b3" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "20971520", "sectorsize": "512", "size": "10.00 GB", "support_discard": "0", "vendor": "0x1af4", "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python", "distribution": "RedHat", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_search_string": "Red Hat", "distribution_file_variety": "RedHat", "distribution_major_version": "7", "distribution_release": "Maipo", "distribution_version": "7.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": { "HOME": "/root", "LANG": "en_US.utf8", "LC_ALL": "en_US.utf8", "LC_CTYPE": "C.UTF-8", "LC_MESSAGES": "en_US.utf8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "MAIL": "/var/mail/root", "PATH": "/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": "2", "SSH_CLIENT": "10.0.2.2 46294 22", "SSH_CONNECTION": "10.0.2.2 46294 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_ID": "1", "_": "/usr/bin/python" }, "eth0": { "active": true, "device": "eth0", "features": { "busy_poll": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "off [requested on]", "highdma": "on [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "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 [fixed]", "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", "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_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipip_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_sit_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_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "udp_fragmentation_offload": "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, "timestamping": [ "rx_software", "software" ], "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com", "gather_subset": [ "all" ], "hostname": "ibm-p8-kvm-03-guest-02", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "3.10.0-1160.72.1.el7.x86_64", "kernel_version": "#1 SMP Tue Jun 28 12:37:02 UTC 2022", "lo": { "active": true, "device": "lo", "features": { "busy_poll": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "on [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "on [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_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", "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_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipip_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_sit_segmentation": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp_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]", "udp_fragmentation_offload": "on", "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": [ "rx_software", "software" ], "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "49bb5ac704e541cba813e78193825316", "memfree_mb": 1508, "memory_mb": { "nocache": { "free": 1660, "used": 177 }, "real": { "free": 1508, "total": 1837, "used": 329 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 1837, "module_setup": true, "mounts": [ { "block_available": 2380983, "block_size": 4096, "block_total": 2618619, "block_used": 237636, "device": "/dev/vda1", "fstype": "xfs", "inode_available": 5214373, "inode_total": 5242352, "inode_used": 27979, "mount": "/", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 9752506368, "size_total": 10725863424, "uuid": "e2fbf6c5-1c0e-4813-a390-28af259b29b3" } ], "nodename": "ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com", "os_family": "RedHat", "pkg_mgr": "yum", "proc_cmdline": { "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.72.1.el7.x86_64", "LANG": "en_US.UTF-8", "console": [ "tty0", "ttyS0,115200n8" ], "crashkernel": "auto", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=e2fbf6c5-1c0e-4813-a390-28af259b29b3" }, "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/python", "has_sslcontext": true, "type": "CPython", "version": { "major": 2, "micro": 5, "minor": 7, "releaselevel": "final", "serial": 0 }, "version_info": [ 2, 7, 5, "final", 0 ] }, "python_version": "2.7.5", "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 31, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBN1vAT0pEBRjtkZMEhNMRFfTZ0UgPLbNBQ7vIacaiKOKkffy2svab9UIzko7CkH7aoIt1mquWbpOhaKoEn/Uhyk=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAINNM58XbspE5/BNoia7G2iWqgmXwHHoAEQdQ1XidMijs", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQD2UM7rwK8iMshsMj8rSVrp8rqBtEOiBr/AdVb3MhUfSjLIkSWYApdGR5lGKrdnIxe+0efxASRPR1ua6Kzuaa9MZdMrZHkVXuZaHkM51aAU1sMrv5SFGsIvMV9k1lXYI0X3XQ5zEy+16hKr+PmBgAX1Ha54RNHZ37FqsWigJ9FJVe4+Rlon7XYTQ9BlI37+cnwOr596LcGdIXImVpzUCXlm8rn5Z+SFO7dmvSfYra26CdwHVWjdn8FqjgpcLyczXyalhmCnWJl9itQbtlPcJIRHZbUgKUFmIK+FoE/QoNHytuRoRHEtQH98bUtbRB28EOo7YVXZ3gnUFSrdbamFSJ+x", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [ "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", "35", "36+ep" ], "system_capabilities_enforced": "True", "system_vendor": "QEMU", "uptime_seconds": 11, "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": [ "kvm" ], "virtualization_type": "kvm" } } TASK [Install required packages for nbde_client tests] ************************* task path: /tmp/tmpfayf35st/tests/tasks/setup_test.yml:24 Tuesday 19 July 2022 19:48:18 +0000 (0:00:00.042) 0:00:02.430 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "cryptsetup" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package cryptsetup.x86_64 0:2.0.3-6.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n cryptsetup x86_64 2.0.3-6.el7 rhel 154 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 154 k\nInstalled size: 354 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : cryptsetup-2.0.3-6.el7.x86_64 1/1 \n Verifying : cryptsetup-2.0.3-6.el7.x86_64 1/1 \n\nInstalled:\n cryptsetup.x86_64 0:2.0.3-6.el7 \n\nComplete!\n" ] } TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmpfayf35st/tests/tasks/setup_test.yml:28 Tuesday 19 July 2022 19:48:22 +0000 (0:00:04.111) 0:00:06.541 ********** ok: [/cache/rhel-7.qcow2 -> localhost] => { "after": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "before": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmpfayf35st/tests/tasks/setup_test.yml:35 Tuesday 19 July 2022 19:48:22 +0000 (0:00:00.540) 0:00:07.081 ********** 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 19:48:22 +0000 (0:00:00.034) 0:00:07.116 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/rhel-7.qcow2 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 19:48:22 +0000 (0:00:00.029) 0:00:07.145 ********** ok: [/cache/rhel-7.qcow2] 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 19:48:23 +0000 (0:00:00.395) 0:00:07.540 ********** ok: [/cache/rhel-7.qcow2] => { "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 19:48:23 +0000 (0:00:00.044) 0:00:07.585 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/rhel-7.qcow2 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 19:48:23 +0000 (0:00:00.032) 0:00:07.617 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "tang" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package tang.x86_64 0:6-2.el7 will be installed\n--> Processing Dependency: jose >= 8 for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libjose.so.0(LIBJOSE_1.0)(64bit) for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libjose.so.0()(64bit) for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libhttp_parser.so.2()(64bit) for package: tang-6-2.el7.x86_64\n--> Running transaction check\n---> Package http-parser.x86_64 0:2.7.1-9.el7 will be installed\n---> Package jose.x86_64 0:10-1.el7 will be installed\n---> Package libjose.x86_64 0:10-1.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n tang x86_64 6-2.el7 rhel 37 k\nInstalling for dependencies:\n http-parser x86_64 2.7.1-9.el7 rhel 29 k\n jose x86_64 10-1.el7 rhel 47 k\n libjose x86_64 10-1.el7 rhel 56 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+3 Dependent packages)\n\nTotal download size: 169 k\nInstalled size: 381 k\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.1 MB/s | 169 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libjose-10-1.el7.x86_64 1/4 \n Installing : jose-10-1.el7.x86_64 2/4 \n Installing : http-parser-2.7.1-9.el7.x86_64 3/4 \n Installing : tang-6-2.el7.x86_64 4/4 \n Verifying : tang-6-2.el7.x86_64 1/4 \n Verifying : libjose-10-1.el7.x86_64 2/4 \n Verifying : http-parser-2.7.1-9.el7.x86_64 3/4 \n Verifying : jose-10-1.el7.x86_64 4/4 \n\nInstalled:\n tang.x86_64 0:6-2.el7 \n\nDependency Installed:\n http-parser.x86_64 0:2.7.1-9.el7 jose.x86_64 0:10-1.el7 \n libjose.x86_64 0:10-1.el7 \n\nComplete!\n" ] } 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 19:48:25 +0000 (0:00:01.911) 0:00:09.529 ********** skipping: [/cache/rhel-7.qcow2] => { "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 19:48:25 +0000 (0:00:00.040) 0:00:09.569 ********** changed: [/cache/rhel-7.qcow2] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Tuesday 19 July 2022 19:48:25 +0000 (0:00:00.464) 0:00:10.033 ********** skipping: [/cache/rhel-7.qcow2] => { "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 19:48:25 +0000 (0:00:00.032) 0:00:10.066 ********** changed: [/cache/rhel-7.qcow2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "128", "Before": "shutdown.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "-.slice sysinit.target", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled" } } META: role_complete for /cache/rhel-7.qcow2 TASK [Create device for testing] *********************************************** task path: /tmp/tmpfayf35st/tests/tasks/setup_test.yml:39 Tuesday 19 July 2022 19:48:26 +0000 (0:00:00.789) 0:00:10.855 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.004824", "end": "2022-07-19 15:48:26.246010", "rc": 0, "start": "2022-07-19 15:48:26.241186" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmpfayf35st/tests/tasks/setup_test.yml:43 Tuesday 19 July 2022 19:48:27 +0000 (0:00:00.431) 0:00:11.286 ********** ok: [/cache/rhel-7.qcow2] => { "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.153968", "end": "2022-07-19 15:48:26.690337", "rc": 0, "start": "2022-07-19 15:48:26.536369" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmpfayf35st/tests/tasks/setup_test.yml:51 Tuesday 19 July 2022 19:48:27 +0000 (0:00:00.451) 0:00:11.737 ********** ok: [/cache/rhel-7.qcow2 -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.004182", "end": "2022-07-19 19:48:27.753648", "rc": 0, "start": "2022-07-19 19:48:27.749466" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmpfayf35st/tests/tests_bind_high_availability.yml:18 Tuesday 19 July 2022 19:48:27 +0000 (0:00:00.209) 0:00:11.947 ********** TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 19:48:27 +0000 (0:00:00.030) 0:00:11.977 ********** included: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 19:48:27 +0000 (0:00:00.026) 0:00:12.003 ********** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Tuesday 19 July 2022 19:48:28 +0000 (0:00:00.412) 0:00:12.415 ********** ok: [/cache/rhel-7.qcow2] => { "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/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/vars/RedHat_7.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 19:48:28 +0000 (0:00:00.066) 0:00:12.482 ********** included: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 19:48:28 +0000 (0:00:00.033) 0:00:12.516 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd" ] }, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "1:NetworkManager-1.18.8-2.el7_9.x86_64 providing NetworkManager is already installed", "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package clevis.x86_64 0:7-8.el7 will be installed\n--> Processing Dependency: tpm2-tools >= 3.0.0 for package: clevis-7-8.el7.x86_64\n---> Package clevis-dracut.x86_64 0:7-8.el7 will be installed\n---> Package clevis-luks.x86_64 0:7-8.el7 will be installed\n--> Processing Dependency: luksmeta >= 8 for package: clevis-luks-7-8.el7.x86_64\n---> Package clevis-systemd.x86_64 0:7-8.el7 will be installed\n--> Running transaction check\n---> Package luksmeta.x86_64 0:8-2.el7 will be installed\n--> Processing Dependency: libluksmeta(x86-64) = 8-2.el7 for package: luksmeta-8-2.el7.x86_64\n--> Processing Dependency: libluksmeta.so.0()(64bit) for package: luksmeta-8-2.el7.x86_64\n---> Package tpm2-tools.x86_64 0:3.0.4-3.el7 will be installed\n--> Processing Dependency: tpm2-tss(x86-64) >= 1.3.0-1.el7 for package: tpm2-tools-3.0.4-3.el7.x86_64\n--> Processing Dependency: libtcti-tabrmd.so.0()(64bit) for package: tpm2-tools-3.0.4-3.el7.x86_64\n--> Processing Dependency: libtcti-socket.so.0()(64bit) for package: tpm2-tools-3.0.4-3.el7.x86_64\n--> Processing Dependency: libtcti-device.so.0()(64bit) for package: tpm2-tools-3.0.4-3.el7.x86_64\n--> Processing Dependency: libsapi.so.0()(64bit) for package: tpm2-tools-3.0.4-3.el7.x86_64\n--> Running transaction check\n---> Package libluksmeta.x86_64 0:8-2.el7 will be installed\n---> Package tpm2-abrmd.x86_64 0:1.1.0-11.el7 will be installed\n---> Package tpm2-tss.x86_64 0:1.4.0-3.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n clevis x86_64 7-8.el7 rhel 46 k\n clevis-dracut x86_64 7-8.el7 rhel 6.6 k\n clevis-luks x86_64 7-8.el7 rhel 11 k\n clevis-systemd x86_64 7-8.el7 rhel 7.0 k\nInstalling for dependencies:\n libluksmeta x86_64 8-2.el7 rhel 20 k\n luksmeta x86_64 8-2.el7 rhel 15 k\n tpm2-abrmd x86_64 1.1.0-11.el7 rhel 85 k\n tpm2-tools x86_64 3.0.4-3.el7 rhel 365 k\n tpm2-tss x86_64 1.4.0-3.el7 rhel 62 k\n\nTransaction Summary\n================================================================================\nInstall 4 Packages (+5 Dependent packages)\n\nTotal download size: 619 k\nInstalled size: 2.3 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 6.5 MB/s | 619 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : tpm2-tss-1.4.0-3.el7.x86_64 1/9 \n Installing : tpm2-abrmd-1.1.0-11.el7.x86_64 2/9 \n Installing : tpm2-tools-3.0.4-3.el7.x86_64 3/9 \n Installing : clevis-7-8.el7.x86_64 4/9 \n Installing : libluksmeta-8-2.el7.x86_64 5/9 \n Installing : luksmeta-8-2.el7.x86_64 6/9 \n Installing : clevis-luks-7-8.el7.x86_64 7/9 \n Installing : clevis-systemd-7-8.el7.x86_64 8/9 \n Installing : clevis-dracut-7-8.el7.x86_64 9/9 \n Verifying : clevis-dracut-7-8.el7.x86_64 1/9 \n Verifying : libluksmeta-8-2.el7.x86_64 2/9 \n Verifying : tpm2-tools-3.0.4-3.el7.x86_64 3/9 \n Verifying : clevis-luks-7-8.el7.x86_64 4/9 \n Verifying : clevis-7-8.el7.x86_64 5/9 \n Verifying : tpm2-tss-1.4.0-3.el7.x86_64 6/9 \n Verifying : clevis-systemd-7-8.el7.x86_64 7/9 \n Verifying : luksmeta-8-2.el7.x86_64 8/9 \n Verifying : tpm2-abrmd-1.1.0-11.el7.x86_64 9/9 \n\nInstalled:\n clevis.x86_64 0:7-8.el7 clevis-dracut.x86_64 0:7-8.el7 \n clevis-luks.x86_64 0:7-8.el7 clevis-systemd.x86_64 0:7-8.el7 \n\nDependency Installed:\n libluksmeta.x86_64 0:8-2.el7 luksmeta.x86_64 0:8-2.el7 \n tpm2-abrmd.x86_64 0:1.1.0-11.el7 tpm2-tools.x86_64 0:3.0.4-3.el7 \n tpm2-tss.x86_64 0:1.4.0-3.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 19:48:30 +0000 (0:00:02.295) 0:00:14.812 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target -.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "remote-fs-pre.target shutdown.target clevis-luks-askpass.service paths.target", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "DefaultDependencies": "yes", "Description": "Clevis systemd-ask-password Watcher", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "LoadState": "loaded", "MakeDirectory": "no", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "PathChanged": "/run/systemd/ask-password", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "sysinit.target -.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StopWhenUnneeded": "no", "SubState": "dead", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "remote-fs-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 19:48:31 +0000 (0:00:00.439) 0:00:15.252 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "md5sum": "8ac814b21125f3c41430b13965169aff", "mode": "0444", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "src": "/root/.ansible/tmp/ansible-tmp-1658260111.135739-137936-47152822194341/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 19:48:31 +0000 (0:00:00.806) 0:00:16.058 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost", "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 19:48:32 +0000 (0:00:00.623) 0:00:16.682 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.b52uq1nbde_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/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 19:48:32 +0000 (0:00:00.405) 0:00:17.088 ********** skipping: [/cache/rhel-7.qcow2] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost", "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 19:48:32 +0000 (0:00:00.042) 0:00:17.130 ********** NOTIFIED HANDLER linux-system-roles.nbde_client : nbde_client update initramfs for /cache/rhel-7.qcow2 changed: [/cache/rhel-7.qcow2] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost", "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 19:48:37 +0000 (0:00:04.076) 0:00:21.207 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "path": "/tmp/ansible.b52uq1nbde_client_encryption_keys", "state": "absent" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 19:48:37 +0000 (0:00:00.425) 0:00:21.632 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "md5sum": "7947aade05c625cd8173078c3da0c37b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "src": "/root/.ansible/tmp/ansible-tmp-1658260117.514543-138030-4433382579843/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 19:48:37 +0000 (0:00:00.522) 0:00:22.154 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "md5sum": "e3a3412ce904074cd7d0dce03ae5d40c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "src": "/root/.ansible/tmp/ansible-tmp-1658260118.036207-138058-114713038164400/source", "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 19:48:38 +0000 (0:00:00.522) 0:00:22.677 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpfayf35st/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/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 19:48:39 +0000 (0:00:00.993) 0:00:23.671 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.042072", "end": "2022-07-19 15:48:38.972988", "rc": 0, "start": "2022-07-19 15:48:38.930916" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 19:48:39 +0000 (0:00:00.345) 0:00:24.017 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 19:48:40 +0000 (0:00:00.454) 0:00:24.471 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "nbde_client-network-flush.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: role_complete for /cache/rhel-7.qcow2 TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmpfayf35st/tests/tests_bind_high_availability.yml:22 Tuesday 19 July 2022 19:48:40 +0000 (0:00:00.456) 0:00:24.928 ********** included: /tmp/tmpfayf35st/tests/tasks/verify_unlock_device.yml for /cache/rhel-7.qcow2 TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmpfayf35st/tests/tasks/verify_unlock_device.yml:2 Tuesday 19 July 2022 19:48:40 +0000 (0:00:00.027) 0:00:24.955 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:02.238489", "end": "2022-07-19 15:48:42.459196", "rc": 0, "start": "2022-07-19 15:48:40.220707" } STDERR: (23) Failed writing body TASK [Close unlocked device] *************************************************** task path: /tmp/tmpfayf35st/tests/tasks/verify_unlock_device.yml:10 Tuesday 19 July 2022 19:48:43 +0000 (0:00:02.550) 0:00:27.506 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.043659", "end": "2022-07-19 15:48:42.804049", "rc": 0, "start": "2022-07-19 15:48:42.760390" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmpfayf35st/tests/tests_bind_high_availability.yml:25 Tuesday 19 July 2022 19:48:43 +0000 (0:00:00.342) 0:00:27.848 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmpfayf35st/tests/tests_bind_high_availability.yml:31 Tuesday 19 July 2022 19:48:43 +0000 (0:00:00.032) 0:00:27.881 ********** included: /tmp/tmpfayf35st/tests/tasks/verify_idempotency.yml for /cache/rhel-7.qcow2 TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmpfayf35st/tests/tasks/verify_idempotency.yml:2 Tuesday 19 July 2022 19:48:43 +0000 (0:00:00.027) 0:00:27.908 ********** TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 19:48:43 +0000 (0:00:00.024) 0:00:27.933 ********** included: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 19:48:43 +0000 (0:00:00.024) 0:00:27.957 ********** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Tuesday 19 July 2022 19:48:44 +0000 (0:00:00.390) 0:00:28.348 ********** ok: [/cache/rhel-7.qcow2] => { "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/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/vars/RedHat_7.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 19:48:44 +0000 (0:00:00.038) 0:00:28.386 ********** included: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 19:48:44 +0000 (0:00:00.035) 0:00:28.421 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "clevis-7-8.el7.x86_64 providing clevis is already installed", "clevis-dracut-7-8.el7.x86_64 providing clevis-dracut is already installed", "clevis-luks-7-8.el7.x86_64 providing clevis-luks is already installed", "clevis-systemd-7-8.el7.x86_64 providing clevis-systemd is already installed", "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "1:NetworkManager-1.18.8-2.el7_9.x86_64 providing NetworkManager is already installed" ] } TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 19:48:44 +0000 (0:00:00.501) 0:00:28.923 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target -.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target paths.target clevis-luks-askpass.service remote-fs-pre.target", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "DefaultDependencies": "yes", "Description": "Clevis systemd-ask-password Watcher", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "LoadState": "loaded", "MakeDirectory": "no", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "PathChanged": "/run/systemd/ask-password", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "sysinit.target -.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StopWhenUnneeded": "no", "SubState": "dead", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "remote-fs.target", "Wants": "remote-fs-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 19:48:45 +0000 (0:00:00.367) 0:00:29.291 ********** ok: [/cache/rhel-7.qcow2] => { "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/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 19:48:45 +0000 (0:00:00.521) 0:00:29.812 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost", "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 19:48:48 +0000 (0:00:02.674) 0:00:32.487 ********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 19:48:48 +0000 (0:00:00.025) 0:00:32.513 ********** skipping: [/cache/rhel-7.qcow2] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost", "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 19:48:48 +0000 (0:00:00.039) 0:00:32.553 ********** skipping: [/cache/rhel-7.qcow2] => { "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/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 19:48:48 +0000 (0:00:00.025) 0:00:32.579 ********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 19:48:48 +0000 (0:00:00.024) 0:00:32.603 ********** ok: [/cache/rhel-7.qcow2] => { "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/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 19:48:48 +0000 (0:00:00.498) 0:00:33.102 ********** ok: [/cache/rhel-7.qcow2] => { "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/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 19:48:49 +0000 (0:00:00.533) 0:00:33.635 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpfayf35st/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/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 19:48:50 +0000 (0:00:00.898) 0:00:34.533 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.036853", "end": "2022-07-19 15:48:49.825412", "rc": 0, "start": "2022-07-19 15:48:49.788559" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 19:48:50 +0000 (0:00:00.336) 0:00:34.869 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 19:48:51 +0000 (0:00:00.460) 0:00:35.330 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "nbde_client-network-flush.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: role_complete for /cache/rhel-7.qcow2 TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmpfayf35st/tests/tasks/verify_idempotency.yml:6 Tuesday 19 July 2022 19:48:51 +0000 (0:00:00.399) 0:00:35.730 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmpfayf35st/tests/tests_bind_high_availability.yml:35 Tuesday 19 July 2022 19:48:51 +0000 (0:00:00.034) 0:00:35.764 ********** included: /tmp/tmpfayf35st/tests/tasks/cleanup_test.yml for /cache/rhel-7.qcow2 TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmpfayf35st/tests/tasks/cleanup_test.yml:2 Tuesday 19 July 2022 19:48:51 +0000 (0:00:00.029) 0:00:35.793 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmpfayf35st/tests/tasks/cleanup_test.yml:7 Tuesday 19 July 2022 19:48:51 +0000 (0:00:00.310) 0:00:36.104 ********** changed: [/cache/rhel-7.qcow2 -> localhost] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } TASK [Clean up dummy key file on managed host] ********************************* task path: /tmp/tmpfayf35st/tests/tasks/cleanup_test.yml:13 Tuesday 19 July 2022 19:48:52 +0000 (0:00:00.209) 0:00:36.313 ********** ok: [/cache/rhel-7.qcow2] => { "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/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 Tuesday 19 July 2022 19:48:52 +0000 (0:00:00.294) 0:00:36.608 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:31.086407", "end": "2022-07-19 15:49:22.965839", "rc": 0, "start": "2022-07-19 15:48:51.879432" } STDERR: Executing: /usr/sbin/dracut --kver=3.10.0-1160.72.1.el7.x86_64 -fv dracut module 'busybox' will not be installed, because command 'busybox' could not be found! dracut module 'ifcfg' will not be installed, because it's in the list to be omitted! dracut module 'plymouth' will not be installed, because command 'plymouthd' could not be found! dracut module 'plymouth' will not be installed, because command 'plymouth' could not be found! dracut module 'nbde_client' depends on 'network-manager', which can't be installed dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut module 'dmsquash-live-ntfs' will not be installed, because command 'ntfs-3g' could not be found! dracut module 'lvm' will not be installed, because command 'lvm' could not be found! dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found! dracut module 'multipath' will not be installed, because command 'multipath' could not be found! dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found! dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found! dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found! dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found! dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found! dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found! dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found! dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found! dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found! dracut module 'iscsi' will not be installed, because command 'iscsistart' could not be found! dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found! dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found! *** Including module: bash *** *** Including module: modsign *** *** Including module: nss-softokn *** *** Including module: i18n *** *** Including module: network *** *** Including module: clevis *** *** Including module: btrfs *** *** Including module: crypt *** *** Including module: dm *** Skipping udev rule: 64-device-mapper.rules Skipping udev rule: 60-persistent-storage-dm.rules Skipping udev rule: 55-dm.rules *** Including module: kernel-modules *** *** Including module: qemu *** *** Including module: qemu-net *** *** Including module: nfs *** *** Including module: resume *** *** Including module: rootfs-block *** *** Including module: terminfo *** *** Including module: udev-rules *** Skipping udev rule: 40-redhat-cpu-hotplug.rules Skipping udev rule: 91-permissions.rules *** Including module: virtfs *** *** Including module: systemd *** *** Including module: usrmount *** *** Including module: base *** *** Including module: fs-lib *** *** Including module: microcode_ctl-fw_dir_override *** microcode_ctl module: mangling fw_dir microcode_ctl: reset fw_dir to "/lib/firmware/updates /lib/firmware" microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel"... intel: model '', path ' intel-ucode/*', kvers '' microcode_ctl: intel: caveats check for kernel version "3.10.0-1160.72.1.el7.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel" to fw_dir variable 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 microcode_ctl: intel-06-2d-07: caveats check for kernel version "3.10.0-1160.72.1.el7.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07" to fw_dir variable 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 microcode_ctl: kernel version "3.10.0-1160.72.1.el7.x86_64" failed early load check for "intel-06-4e-03", skipping 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 microcode_ctl: kernel version "3.10.0-1160.72.1.el7.x86_64" failed early load check for "intel-06-4f-01", skipping 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 microcode_ctl: intel-06-55-04: caveats check for kernel version "3.10.0-1160.72.1.el7.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04" to fw_dir variable 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 microcode_ctl: intel-06-5e-03: caveats check for kernel version "3.10.0-1160.72.1.el7.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03" to fw_dir variable 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 microcode_ctl: intel-06-8c-01: caveats check for kernel version "3.10.0-1160.72.1.el7.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8c-01" to fw_dir variable microcode_ctl: final fw_dir: "/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" *** Including module: shutdown *** *** Including modules done *** *** Installing kernel module dependencies and firmware *** *** Installing kernel module dependencies and firmware done *** *** Resolving executable dependencies *** *** Resolving executable dependencies done*** *** Hardlinking files *** *** Hardlinking files done *** *** Stripping files *** *** Stripping files done *** *** Generating early-microcode cpio image contents *** *** Constructing GenuineIntel.bin **** *** Constructing GenuineIntel.bin **** *** Constructing GenuineIntel.bin **** *** Constructing GenuineIntel.bin **** *** Constructing GenuineIntel.bin **** *** Constructing GenuineIntel.bin **** *** Store current command line parameters *** *** Creating image file *** *** Creating microcode section *** *** Created microcode section *** *** Creating image file done *** *** Creating initramfs image file '/boot/initramfs-3.10.0-1160.72.1.el7.x86_64.img' done *** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=60 changed=19 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 Tuesday 19 July 2022 19:49:23 +0000 (0:00:31.413) 0:01:08.021 ********** =============================================================================== linux-system-roles.nbde_client : nbde_client update initramfs ---------- 31.41s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/handlers/main.yml:4 Install required packages for nbde_client tests ------------------------- 4.11s /tmp/tmpfayf35st/tests/tasks/setup_test.yml:24 -------------------------------- linux-system-roles.nbde_client : Perform clevis operations -------------- 4.08s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 2.68s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Verify we can unlock the device ----------------------------------------- 2.55s /tmp/tmpfayf35st/tests/tasks/verify_unlock_device.yml:2 ----------------------- linux-system-roles.nbde_client : Ensure required packages are installed --- 2.30s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 1.91s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 set up internal repositories -------------------------------------------- 1.31s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 0.99s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmpfayf35st/tests/tests_bind_high_availability.yml:2 --------------------- linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 0.90s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.81s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.79s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_client : Check whether devices are at the desired state --- 0.62s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Clone nbde_server role for the tests ------------------------------------ 0.54s /tmp/tmpfayf35st/tests/tasks/setup_test.yml:28 -------------------------------- linux-system-roles.nbde_client : Deploy network flushing service -------- 0.53s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 linux-system-roles.nbde_client : Deploy network flushing service -------- 0.52s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 linux-system-roles.nbde_client : Deploy network flushing script --------- 0.52s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.52s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 linux-system-roles.nbde_client : Ensure required packages are installed --- 0.50s /tmp/tmpfayf35st/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/tmpdusqm72k 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: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Tuesday 19 July 2022 20:00:38 +0000 (0:00:00.018) 0:00:00.018 ********** changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 19 July 2022 20:00:39 +0000 (0:00:01.442) 0:00:01.460 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.44s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_bind_high_availability.yml ************************************* 1 plays in /tmp/tmp1ur23wmu/tests/nbde_client/tests_bind_high_availability.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1ur23wmu/tests/nbde_client/tests_bind_high_availability.yml:2 Tuesday 19 July 2022 20:00:39 +0000 (0:00:00.011) 0:00:01.472 ********** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmp1ur23wmu/tests/nbde_client/tests_bind_high_availability.yml:13 Tuesday 19 July 2022 20:00:40 +0000 (0:00:01.008) 0:00:02.480 ********** included: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/setup_test.yml for /cache/rhel-7.qcow2 TASK [Include general tests variables] ***************************************** task path: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/setup_test.yml:2 Tuesday 19 July 2022 20:00:40 +0000 (0:00:00.026) 0:00:02.507 ********** ok: [/cache/rhel-7.qcow2] => { "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/tmp1ur23wmu/tests/nbde_client/vars/main.yml" ], "changed": false } TASK [Set version specific variables] ****************************************** task path: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/setup_test.yml:5 Tuesday 19 July 2022 20:00:40 +0000 (0:00:00.024) 0:00:02.532 ********** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/tmp/tmp1ur23wmu/tests/nbde_client/vars/RedHat_7.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/setup_test.yml:18 Tuesday 19 July 2022 20:00:40 +0000 (0:00:00.035) 0:00:02.567 ********** ok: [/cache/rhel-7.qcow2] => { "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": "/boot/vmlinuz-3.10.0-1160.72.1.el7.x86_64", "LANG": "en_US.UTF-8", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=e2fbf6c5-1c0e-4813-a390-28af259b29b3" }, "date_time": { "date": "2022-07-19", "day": "19", "epoch": "1658260840", "epoch_int": "1658260840", "hour": "16", "iso8601": "2022-07-19T20:00:40Z", "iso8601_basic": "20220719T160040266245", "iso8601_basic_short": "20220719T160040", "iso8601_micro": "2022-07-19T20:00:40.266245Z", "minute": "00", "month": "07", "second": "40", "time": "16:00:40", "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" ] }, "labels": { "sr0": [ "cidata" ] }, "masters": {}, "uuids": { "sr0": [ "2022-07-19-20-00-25-00" ], "vda1": [ "e2fbf6c5-1c0e-4813-a390-28af259b29b3" ] } }, "devices": { "fd0": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "deadline", "sectors": "8", "sectorsize": "512", "size": "4.00 KB", "support_discard": "0", "vendor": null, "virtual": 1 }, "sr0": { "holders": [], "host": "", "links": { "ids": [ "ata-QEMU_DVD-ROM_QM00003" ], "labels": [ "cidata" ], "masters": [], "uuids": [ "2022-07-19-20-00-25-00" ] }, "model": "QEMU DVD-ROM", "partitions": {}, "removable": "1", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "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": [ "e2fbf6c5-1c0e-4813-a390-28af259b29b3" ] }, "sectors": "20969439", "sectorsize": 512, "size": "10.00 GB", "start": "2048", "uuid": "e2fbf6c5-1c0e-4813-a390-28af259b29b3" } }, "removable": "0", "rotational": "1", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "none", "sectors": "20971520", "sectorsize": "512", "size": "10.00 GB", "support_discard": "0", "vendor": "0x1af4", "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python", "distribution": "RedHat", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_search_string": "Red Hat", "distribution_file_variety": "RedHat", "distribution_major_version": "7", "distribution_release": "Maipo", "distribution_version": "7.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": { "HOME": "/root", "LANG": "en_US.utf8", "LC_ALL": "en_US.utf8", "LC_CTYPE": "C.UTF-8", "LC_MESSAGES": "en_US.utf8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "MAIL": "/var/mail/root", "PATH": "/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": "2", "SSH_CLIENT": "10.0.2.2 33086 22", "SSH_CONNECTION": "10.0.2.2 33086 10.0.2.15 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_ID": "1", "_": "/usr/bin/python" }, "eth0": { "active": true, "device": "eth0", "features": { "busy_poll": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "off [requested on]", "highdma": "on [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "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 [fixed]", "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", "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_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipip_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_sit_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_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "udp_fragmentation_offload": "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, "timestamping": [ "rx_software", "software" ], "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com", "gather_subset": [ "all" ], "hostname": "ibm-p8-kvm-03-guest-02", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "3.10.0-1160.72.1.el7.x86_64", "kernel_version": "#1 SMP Tue Jun 28 12:37:02 UTC 2022", "lo": { "active": true, "device": "lo", "features": { "busy_poll": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "on [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "on [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_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", "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_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipip_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_sit_segmentation": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp_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]", "udp_fragmentation_offload": "on", "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": [ "rx_software", "software" ], "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "bdf03f9503554cf9a7013918629d35aa", "memfree_mb": 1511, "memory_mb": { "nocache": { "free": 1661, "used": 176 }, "real": { "free": 1511, "total": 1837, "used": 326 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 1837, "module_setup": true, "mounts": [ { "block_available": 2380983, "block_size": 4096, "block_total": 2618619, "block_used": 237636, "device": "/dev/vda1", "fstype": "xfs", "inode_available": 5214373, "inode_total": 5242352, "inode_used": 27979, "mount": "/", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 9752506368, "size_total": 10725863424, "uuid": "e2fbf6c5-1c0e-4813-a390-28af259b29b3" } ], "nodename": "ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com", "os_family": "RedHat", "pkg_mgr": "yum", "proc_cmdline": { "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.72.1.el7.x86_64", "LANG": "en_US.UTF-8", "console": [ "tty0", "ttyS0,115200n8" ], "crashkernel": "auto", "net.ifnames": "0", "no_timer_check": true, "ro": true, "root": "UUID=e2fbf6c5-1c0e-4813-a390-28af259b29b3" }, "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/python", "has_sslcontext": true, "type": "CPython", "version": { "major": 2, "micro": 5, "minor": 7, "releaselevel": "final", "serial": 0 }, "version_info": [ 2, 7, 5, "final", 0 ] }, "python_version": "2.7.5", "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 31, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBO3SYvHrkcqOBpqPRlfr/KsX3LLJRSwG6bIEO4CbLC0m0IqVh4L03rTqqwdjpCIYlp1QhqNfzbscHkcz+Ffo+k8=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIEuZjA+6tOZ+UrzKFwSksIsLt0aqB4aCe/RroZZrwMR0", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDNteYzuVE/7FKXToJJNb+9+rOiGXjd3Z+AvHGQ9QyJkGv3pAt7Lmlc2pOEjMCKTllHVD3iuobtGHkjSXl0EuTcjBNAHU49jx78Ultshhe+BwvC8TJ+vTa8nb4uy1jl+O/kcrpBsJQcWsjintlYs3JFF/pUGEvA45A/DtYkBeUslA1Fxlpd3kxtycKHiMSN1w7YQky6TfpE+DM/6oUQKMfP4s4e/YnG7NCbA48DzRgTnNk+8E0UX+N637SuKqE45GQ/DH7f09UhZXpUqHcBojx2h50oZyeGCd3Daltf+kMxRqD1xyx3SgVBx/iV8WljYbWkc5vaguMHl4V0VQQUb9qX", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [ "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", "35", "36+ep" ], "system_capabilities_enforced": "True", "system_vendor": "QEMU", "uptime_seconds": 11, "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": [ "kvm" ], "virtualization_type": "kvm" } } TASK [Install required packages for nbde_client tests] ************************* task path: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/setup_test.yml:22 Tuesday 19 July 2022 20:00:40 +0000 (0:00:00.039) 0:00:02.607 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "cryptsetup" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package cryptsetup.x86_64 0:2.0.3-6.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n cryptsetup x86_64 2.0.3-6.el7 rhel 154 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 154 k\nInstalled size: 354 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : cryptsetup-2.0.3-6.el7.x86_64 1/1 \n Verifying : cryptsetup-2.0.3-6.el7.x86_64 1/1 \n\nInstalled:\n cryptsetup.x86_64 0:2.0.3-6.el7 \n\nComplete!\n" ] } TASK [Clone nbde_server role for the tests] ************************************ task path: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/setup_test.yml:26 Tuesday 19 July 2022 20:00:45 +0000 (0:00:04.214) 0:00:06.822 ********** ok: [/cache/rhel-7.qcow2 -> localhost] => { "after": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "before": "99f76e441cd2aa70c708e6715361f8b1b96d66c0", "changed": false, "remote_url_changed": false } TASK [Deploy NBDE server for testing] ****************************************** task path: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/setup_test.yml:33 Tuesday 19 July 2022 20:00:45 +0000 (0:00:00.521) 0:00:07.343 ********** TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:6 Tuesday 19 July 2022 20:00:45 +0000 (0:00:00.033) 0:00:07.377 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:00:45 +0000 (0:00:00.028) 0:00:07.405 ********** ok: [/cache/rhel-7.qcow2] TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Tuesday 19 July 2022 20:00:45 +0000 (0:00:00.391) 0:00:07.797 ********** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main.yml:9 Tuesday 19 July 2022 20:00:46 +0000 (0:00:00.037) 0:00:07.834 ********** included: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/rhel-7.qcow2 TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Tuesday 19 July 2022 20:00:46 +0000 (0:00:00.038) 0:00:07.873 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "tang" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package tang.x86_64 0:6-2.el7 will be installed\n--> Processing Dependency: jose >= 8 for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libjose.so.0(LIBJOSE_1.0)(64bit) for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libjose.so.0()(64bit) for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libhttp_parser.so.2()(64bit) for package: tang-6-2.el7.x86_64\n--> Running transaction check\n---> Package http-parser.x86_64 0:2.7.1-9.el7 will be installed\n---> Package jose.x86_64 0:10-1.el7 will be installed\n---> Package libjose.x86_64 0:10-1.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n tang x86_64 6-2.el7 rhel 37 k\nInstalling for dependencies:\n http-parser x86_64 2.7.1-9.el7 rhel 29 k\n jose x86_64 10-1.el7 rhel 47 k\n libjose x86_64 10-1.el7 rhel 56 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+3 Dependent packages)\n\nTotal download size: 169 k\nInstalled size: 381 k\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.4 MB/s | 169 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libjose-10-1.el7.x86_64 1/4 \n Installing : jose-10-1.el7.x86_64 2/4 \n Installing : http-parser-2.7.1-9.el7.x86_64 3/4 \n Installing : tang-6-2.el7.x86_64 4/4 \n Verifying : tang-6-2.el7.x86_64 1/4 \n Verifying : libjose-10-1.el7.x86_64 2/4 \n Verifying : http-parser-2.7.1-9.el7.x86_64 3/4 \n Verifying : jose-10-1.el7.x86_64 4/4 \n\nInstalled:\n tang.x86_64 0:6-2.el7 \n\nDependency Installed:\n http-parser.x86_64 0:2.7.1-9.el7 jose.x86_64 0:10-1.el7 \n libjose.x86_64 0:10-1.el7 \n\nComplete!\n" ] } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure keys are rotated] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Tuesday 19 July 2022 20:00:47 +0000 (0:00:01.839) 0:00:09.713 ********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure we have keys] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Tuesday 19 July 2022 20:00:47 +0000 (0:00:00.035) 0:00:09.748 ********** changed: [/cache/rhel-7.qcow2] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Tuesday 19 July 2022 20:00:48 +0000 (0:00:00.451) 0:00:10.199 ********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Tuesday 19 July 2022 20:00:48 +0000 (0:00:00.036) 0:00:10.236 ********** changed: [/cache/rhel-7.qcow2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "128", "Before": "sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "-.slice sysinit.target", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled" } } META: role_complete for /cache/rhel-7.qcow2 TASK [Create device for testing] *********************************************** task path: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/setup_test.yml:37 Tuesday 19 July 2022 20:00:49 +0000 (0:00:00.764) 0:00:11.000 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "fallocate", "-l64m", "/tmp/.nbde_client_dev_test" ], "delta": "0:00:00.004560", "end": "2022-07-19 16:00:49.230267", "rc": 0, "start": "2022-07-19 16:00:49.225707" } TASK [Format test device as LUKS] ********************************************** task path: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/setup_test.yml:41 Tuesday 19 July 2022 20:00:49 +0000 (0:00:00.415) 0:00:11.416 ********** ok: [/cache/rhel-7.qcow2] => { "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.188007", "end": "2022-07-19 16:00:49.712896", "rc": 0, "start": "2022-07-19 16:00:49.524889" } TASK [Create key file for test device] ***************************************** task path: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/setup_test.yml:49 Tuesday 19 July 2022 20:00:50 +0000 (0:00:00.493) 0:00:11.909 ********** ok: [/cache/rhel-7.qcow2 -> localhost] => { "changed": false, "cmd": "echo -n test-password-here > /tmp/.nbde_client_dev_encryption_key\n", "delta": "0:00:00.004600", "end": "2022-07-19 20:00:50.267904", "rc": 0, "start": "2022-07-19 20:00:50.263304" } TASK [Use nbde_client role] **************************************************** task path: /tmp/tmp1ur23wmu/tests/nbde_client/tests_bind_high_availability.yml:18 Tuesday 19 July 2022 20:00:50 +0000 (0:00:00.212) 0:00:12.122 ********** TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:00:50 +0000 (0:00:00.032) 0:00:12.154 ********** included: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:00:50 +0000 (0:00:00.028) 0:00:12.182 ********** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Tuesday 19 July 2022 20:00:50 +0000 (0:00:00.439) 0:00:12.621 ********** ok: [/cache/rhel-7.qcow2] => { "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/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/RedHat_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:00:50 +0000 (0:00:00.067) 0:00:12.689 ********** included: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:00:50 +0000 (0:00:00.040) 0:00:12.730 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd" ] }, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "1:NetworkManager-1.18.8-2.el7_9.x86_64 providing NetworkManager is already installed", "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package clevis.x86_64 0:7-8.el7 will be installed\n--> Processing Dependency: tpm2-tools >= 3.0.0 for package: clevis-7-8.el7.x86_64\n---> Package clevis-dracut.x86_64 0:7-8.el7 will be installed\n---> Package clevis-luks.x86_64 0:7-8.el7 will be installed\n--> Processing Dependency: luksmeta >= 8 for package: clevis-luks-7-8.el7.x86_64\n---> Package clevis-systemd.x86_64 0:7-8.el7 will be installed\n--> Running transaction check\n---> Package luksmeta.x86_64 0:8-2.el7 will be installed\n--> Processing Dependency: libluksmeta(x86-64) = 8-2.el7 for package: luksmeta-8-2.el7.x86_64\n--> Processing Dependency: libluksmeta.so.0()(64bit) for package: luksmeta-8-2.el7.x86_64\n---> Package tpm2-tools.x86_64 0:3.0.4-3.el7 will be installed\n--> Processing Dependency: tpm2-tss(x86-64) >= 1.3.0-1.el7 for package: tpm2-tools-3.0.4-3.el7.x86_64\n--> Processing Dependency: libtcti-tabrmd.so.0()(64bit) for package: tpm2-tools-3.0.4-3.el7.x86_64\n--> Processing Dependency: libtcti-socket.so.0()(64bit) for package: tpm2-tools-3.0.4-3.el7.x86_64\n--> Processing Dependency: libtcti-device.so.0()(64bit) for package: tpm2-tools-3.0.4-3.el7.x86_64\n--> Processing Dependency: libsapi.so.0()(64bit) for package: tpm2-tools-3.0.4-3.el7.x86_64\n--> Running transaction check\n---> Package libluksmeta.x86_64 0:8-2.el7 will be installed\n---> Package tpm2-abrmd.x86_64 0:1.1.0-11.el7 will be installed\n---> Package tpm2-tss.x86_64 0:1.4.0-3.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n clevis x86_64 7-8.el7 rhel 46 k\n clevis-dracut x86_64 7-8.el7 rhel 6.6 k\n clevis-luks x86_64 7-8.el7 rhel 11 k\n clevis-systemd x86_64 7-8.el7 rhel 7.0 k\nInstalling for dependencies:\n libluksmeta x86_64 8-2.el7 rhel 20 k\n luksmeta x86_64 8-2.el7 rhel 15 k\n tpm2-abrmd x86_64 1.1.0-11.el7 rhel 85 k\n tpm2-tools x86_64 3.0.4-3.el7 rhel 365 k\n tpm2-tss x86_64 1.4.0-3.el7 rhel 62 k\n\nTransaction Summary\n================================================================================\nInstall 4 Packages (+5 Dependent packages)\n\nTotal download size: 619 k\nInstalled size: 2.3 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 6.5 MB/s | 619 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : tpm2-tss-1.4.0-3.el7.x86_64 1/9 \n Installing : tpm2-abrmd-1.1.0-11.el7.x86_64 2/9 \n Installing : tpm2-tools-3.0.4-3.el7.x86_64 3/9 \n Installing : clevis-7-8.el7.x86_64 4/9 \n Installing : libluksmeta-8-2.el7.x86_64 5/9 \n Installing : luksmeta-8-2.el7.x86_64 6/9 \n Installing : clevis-luks-7-8.el7.x86_64 7/9 \n Installing : clevis-systemd-7-8.el7.x86_64 8/9 \n Installing : clevis-dracut-7-8.el7.x86_64 9/9 \n Verifying : clevis-dracut-7-8.el7.x86_64 1/9 \n Verifying : libluksmeta-8-2.el7.x86_64 2/9 \n Verifying : tpm2-tools-3.0.4-3.el7.x86_64 3/9 \n Verifying : clevis-luks-7-8.el7.x86_64 4/9 \n Verifying : clevis-7-8.el7.x86_64 5/9 \n Verifying : tpm2-tss-1.4.0-3.el7.x86_64 6/9 \n Verifying : clevis-systemd-7-8.el7.x86_64 7/9 \n Verifying : luksmeta-8-2.el7.x86_64 8/9 \n Verifying : tpm2-abrmd-1.1.0-11.el7.x86_64 9/9 \n\nInstalled:\n clevis.x86_64 0:7-8.el7 clevis-dracut.x86_64 0:7-8.el7 \n clevis-luks.x86_64 0:7-8.el7 clevis-systemd.x86_64 0:7-8.el7 \n\nDependency Installed:\n libluksmeta.x86_64 0:8-2.el7 luksmeta.x86_64 0:8-2.el7 \n tpm2-abrmd.x86_64 0:1.1.0-11.el7 tpm2-tools.x86_64 0:3.0.4-3.el7 \n tpm2-tss.x86_64 0:1.4.0-3.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:00:53 +0000 (0:00:02.577) 0:00:15.307 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "paths.target shutdown.target clevis-luks-askpass.service remote-fs-pre.target", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "DefaultDependencies": "yes", "Description": "Clevis systemd-ask-password Watcher", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "LoadState": "loaded", "MakeDirectory": "no", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "PathChanged": "/run/systemd/ask-password", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount sysinit.target", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StopWhenUnneeded": "no", "SubState": "dead", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "remote-fs-pre.target" } } TASK [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:00:53 +0000 (0:00:00.466) 0:00:15.774 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "md5sum": "8ac814b21125f3c41430b13965169aff", "mode": "0444", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "src": "/root/.ansible/tmp/ansible-tmp-1658260854.0046935-149725-99933055892860/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:00:54 +0000 (0:00:00.806) 0:00:16.581 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost", "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:00:55 +0000 (0:00:00.620) 0:00:17.201 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.TqjfeUnbde_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/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:00:55 +0000 (0:00:00.416) 0:00:17.618 ********** skipping: [/cache/rhel-7.qcow2] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost", "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:00:55 +0000 (0:00:00.043) 0:00:17.662 ********** NOTIFIED HANDLER fedora.linux_system_roles.nbde_client : nbde_client update initramfs for /cache/rhel-7.qcow2 changed: [/cache/rhel-7.qcow2] => { "changed": true, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost", "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:00:59 +0000 (0:00:04.088) 0:00:21.751 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "path": "/tmp/ansible.TqjfeUnbde_client_encryption_keys", "state": "absent" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:01:00 +0000 (0:00:00.439) 0:00:22.191 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "md5sum": "7947aade05c625cd8173078c3da0c37b", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "src": "/root/.ansible/tmp/ansible-tmp-1658260860.4205413-149819-265320182722008/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:01:00 +0000 (0:00:00.559) 0:00:22.750 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "md5sum": "e3a3412ce904074cd7d0dce03ae5d40c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "src": "/root/.ansible/tmp/ansible-tmp-1658260860.9812732-149847-202944631775715/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:01:01 +0000 (0:00:00.573) 0:00:23.323 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpdusqm72k/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/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:01:02 +0000 (0:00:00.999) 0:00:24.322 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.039024", "end": "2022-07-19 16:01:02.474959", "rc": 0, "start": "2022-07-19 16:01:02.435935" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:01:02 +0000 (0:00:00.342) 0:00:24.665 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:01:03 +0000 (0:00:00.452) 0:00:25.118 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "nbde_client-network-flush.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: role_complete for /cache/rhel-7.qcow2 TASK [Attempt to unlock device] ************************************************ task path: /tmp/tmp1ur23wmu/tests/nbde_client/tests_bind_high_availability.yml:22 Tuesday 19 July 2022 20:01:03 +0000 (0:00:00.457) 0:00:25.575 ********** included: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/verify_unlock_device.yml for /cache/rhel-7.qcow2 TASK [Verify we can unlock the device] ***************************************** task path: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/verify_unlock_device.yml:2 Tuesday 19 July 2022 20:01:03 +0000 (0:00:00.025) 0:00:25.601 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "clevis", "luks", "unlock", "-d", "/tmp/.nbde_client_dev_test", "-n", "nbde_client_unlocked" ], "delta": "0:00:02.215969", "end": "2022-07-19 16:01:05.922159", "rc": 0, "start": "2022-07-19 16:01:03.706190" } TASK [Close unlocked device] *************************************************** task path: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/verify_unlock_device.yml:10 Tuesday 19 July 2022 20:01:06 +0000 (0:00:02.511) 0:00:28.112 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cryptsetup", "close", "nbde_client_unlocked" ], "delta": "0:00:00.045665", "end": "2022-07-19 16:01:06.268074", "rc": 0, "start": "2022-07-19 16:01:06.222409" } TASK [Make sure the attempt to unlock succeeded] ******************************* task path: /tmp/tmp1ur23wmu/tests/nbde_client/tests_bind_high_availability.yml:25 Tuesday 19 July 2022 20:01:06 +0000 (0:00:00.344) 0:00:28.456 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Assert idempotency] ****************************************************** task path: /tmp/tmp1ur23wmu/tests/nbde_client/tests_bind_high_availability.yml:31 Tuesday 19 July 2022 20:01:06 +0000 (0:00:00.032) 0:00:28.489 ********** included: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/verify_idempotency.yml for /cache/rhel-7.qcow2 TASK [Use nbde_client role - idempotency check] ******************************** task path: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/verify_idempotency.yml:2 Tuesday 19 July 2022 20:01:06 +0000 (0:00:00.027) 0:00:28.516 ********** TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:01:06 +0000 (0:00:00.025) 0:00:28.542 ********** included: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:01:06 +0000 (0:00:00.028) 0:00:28.570 ********** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Tuesday 19 July 2022 20:01:07 +0000 (0:00:00.390) 0:00:28.960 ********** ok: [/cache/rhel-7.qcow2] => { "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/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/RedHat_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:01:07 +0000 (0:00:00.068) 0:00:29.029 ********** included: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:01:07 +0000 (0:00:00.039) 0:00:29.069 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "clevis-7-8.el7.x86_64 providing clevis is already installed", "clevis-dracut-7-8.el7.x86_64 providing clevis-dracut is already installed", "clevis-luks-7-8.el7.x86_64 providing clevis-luks is already installed", "clevis-systemd-7-8.el7.x86_64 providing clevis-systemd is already installed", "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "1:NetworkManager-1.18.8-2.el7_9.x86_64 providing NetworkManager is already installed" ] } TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:01:07 +0000 (0:00:00.499) 0:00:29.568 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target -.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "paths.target remote-fs-pre.target clevis-luks-askpass.service shutdown.target", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "DefaultDependencies": "yes", "Description": "Clevis systemd-ask-password Watcher", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "LoadState": "loaded", "MakeDirectory": "no", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "PathChanged": "/run/systemd/ask-password", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "sysinit.target -.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StopWhenUnneeded": "no", "SubState": "dead", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "remote-fs.target", "Wants": "remote-fs-pre.target" } } TASK [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:01:08 +0000 (0:00:00.403) 0:00:29.972 ********** ok: [/cache/rhel-7.qcow2] => { "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/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:01:08 +0000 (0:00:00.496) 0:00:30.469 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "original_bindings": [ { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "password_temporary": false, "servers": [ "http://localhost", "http://localhost" ], "slot": 1, "state": "present", "threshold": 1 } ] } TASK [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:01:11 +0000 (0:00:02.693) 0:00:33.162 ********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:01:11 +0000 (0:00:00.026) 0:00:33.189 ********** skipping: [/cache/rhel-7.qcow2] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": { "device": "/tmp/.nbde_client_dev_test", "encryption_password": "test-password-here", "servers": [ "http://localhost", "http://localhost" ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:01:11 +0000 (0:00:00.038) 0:00:33.228 ********** skipping: [/cache/rhel-7.qcow2] => { "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/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:01:11 +0000 (0:00:00.025) 0:00:33.254 ********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:01:11 +0000 (0:00:00.026) 0:00:33.280 ********** ok: [/cache/rhel-7.qcow2] => { "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/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:01:12 +0000 (0:00:00.550) 0:00:33.830 ********** ok: [/cache/rhel-7.qcow2] => { "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/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:01:12 +0000 (0:00:00.532) 0:00:34.363 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpdusqm72k/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/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:01:13 +0000 (0:00:00.910) 0:00:35.273 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.044395", "end": "2022-07-19 16:01:13.416348", "rc": 0, "start": "2022-07-19 16:01:13.371953" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:01:13 +0000 (0:00:00.332) 0:00:35.606 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:01:14 +0000 (0:00:00.448) 0:00:36.054 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "nbde_client-network-flush.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: role_complete for /cache/rhel-7.qcow2 TASK [Verify idempotency of clevis operations] ********************************* task path: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/verify_idempotency.yml:6 Tuesday 19 July 2022 20:01:14 +0000 (0:00:00.377) 0:00:36.432 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Clean up test environment] *********************************************** task path: /tmp/tmp1ur23wmu/tests/nbde_client/tests_bind_high_availability.yml:35 Tuesday 19 July 2022 20:01:14 +0000 (0:00:00.032) 0:00:36.464 ********** included: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/cleanup_test.yml for /cache/rhel-7.qcow2 TASK [Clean up dummy testing device] ******************************************* task path: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/cleanup_test.yml:2 Tuesday 19 July 2022 20:01:14 +0000 (0:00:00.026) 0:00:36.490 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "path": "/tmp/.nbde_client_dev_test", "state": "absent" } TASK [Clean up dummy key file] ************************************************* task path: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/cleanup_test.yml:7 Tuesday 19 July 2022 20:01:14 +0000 (0:00:00.302) 0:00:36.793 ********** changed: [/cache/rhel-7.qcow2 -> localhost] => { "changed": true, "path": "/tmp/.nbde_client_dev_encryption_key", "state": "absent" } TASK [Clean up dummy key file on managed host] ********************************* task path: /tmp/tmp1ur23wmu/tests/nbde_client/tasks/cleanup_test.yml:13 Tuesday 19 July 2022 20:01:15 +0000 (0:00:00.204) 0:00:36.998 ********** ok: [/cache/rhel-7.qcow2] => { "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/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Tuesday 19 July 2022 20:01:15 +0000 (0:00:00.299) 0:00:37.297 ********** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "dracut", "-fv", "--regenerate-all" ], "delta": "0:00:31.664845", "end": "2022-07-19 16:01:47.107023", "rc": 0, "start": "2022-07-19 16:01:15.442178" } STDERR: Executing: /usr/sbin/dracut --kver=3.10.0-1160.72.1.el7.x86_64 -fv dracut module 'busybox' will not be installed, because command 'busybox' could not be found! dracut module 'ifcfg' will not be installed, because it's in the list to be omitted! dracut module 'plymouth' will not be installed, because command 'plymouthd' could not be found! dracut module 'plymouth' will not be installed, because command 'plymouth' could not be found! dracut module 'nbde_client' depends on 'network-manager', which can't be installed dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found! dracut module 'dmsquash-live-ntfs' will not be installed, because command 'ntfs-3g' could not be found! dracut module 'lvm' will not be installed, because command 'lvm' could not be found! dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found! dracut module 'multipath' will not be installed, because command 'multipath' could not be found! dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found! dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found! dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found! dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found! dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found! dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found! dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found! dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found! dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found! dracut module 'iscsi' will not be installed, because command 'iscsistart' could not be found! dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found! dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found! dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found! *** Including module: bash *** *** Including module: modsign *** *** Including module: nss-softokn *** *** Including module: i18n *** *** Including module: network *** *** Including module: clevis *** *** Including module: btrfs *** *** Including module: crypt *** *** Including module: dm *** Skipping udev rule: 64-device-mapper.rules Skipping udev rule: 60-persistent-storage-dm.rules Skipping udev rule: 55-dm.rules *** Including module: kernel-modules *** *** Including module: qemu *** *** Including module: qemu-net *** *** Including module: nfs *** *** Including module: resume *** *** Including module: rootfs-block *** *** Including module: terminfo *** *** Including module: udev-rules *** Skipping udev rule: 40-redhat-cpu-hotplug.rules Skipping udev rule: 91-permissions.rules *** Including module: virtfs *** *** Including module: systemd *** *** Including module: usrmount *** *** Including module: base *** *** Including module: fs-lib *** *** Including module: microcode_ctl-fw_dir_override *** microcode_ctl module: mangling fw_dir microcode_ctl: reset fw_dir to "/lib/firmware/updates /lib/firmware" microcode_ctl: processing data directory "/usr/share/microcode_ctl/ucode_with_caveats/intel"... intel: model '', path ' intel-ucode/*', kvers '' microcode_ctl: intel: caveats check for kernel version "3.10.0-1160.72.1.el7.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel" to fw_dir variable 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 microcode_ctl: intel-06-2d-07: caveats check for kernel version "3.10.0-1160.72.1.el7.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-2d-07" to fw_dir variable 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 microcode_ctl: kernel version "3.10.0-1160.72.1.el7.x86_64" failed early load check for "intel-06-4e-03", skipping 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 microcode_ctl: kernel version "3.10.0-1160.72.1.el7.x86_64" failed early load check for "intel-06-4f-01", skipping 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 microcode_ctl: intel-06-55-04: caveats check for kernel version "3.10.0-1160.72.1.el7.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-55-04" to fw_dir variable 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 microcode_ctl: intel-06-5e-03: caveats check for kernel version "3.10.0-1160.72.1.el7.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-5e-03" to fw_dir variable 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 microcode_ctl: intel-06-8c-01: caveats check for kernel version "3.10.0-1160.72.1.el7.x86_64" passed, adding "/usr/share/microcode_ctl/ucode_with_caveats/intel-06-8c-01" to fw_dir variable microcode_ctl: final fw_dir: "/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" *** Including module: shutdown *** *** Including modules done *** *** Installing kernel module dependencies and firmware *** *** Installing kernel module dependencies and firmware done *** *** Resolving executable dependencies *** *** Resolving executable dependencies done*** *** Hardlinking files *** *** Hardlinking files done *** *** Stripping files *** *** Stripping files done *** *** Generating early-microcode cpio image contents *** *** Constructing GenuineIntel.bin **** *** Constructing GenuineIntel.bin **** *** Constructing GenuineIntel.bin **** *** Constructing GenuineIntel.bin **** *** Constructing GenuineIntel.bin **** *** Constructing GenuineIntel.bin **** *** Store current command line parameters *** *** Creating image file *** *** Creating microcode section *** *** Created microcode section *** *** Creating image file done *** *** Creating initramfs image file '/boot/initramfs-3.10.0-1160.72.1.el7.x86_64.img' done *** META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=60 changed=19 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 Tuesday 19 July 2022 20:01:47 +0000 (0:00:32.019) 0:01:09.317 ********** =============================================================================== fedora.linux_system_roles.nbde_client : nbde_client update initramfs --- 32.02s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/handlers/main.yml:4 Install required packages for nbde_client tests ------------------------- 4.21s /tmp/tmp1ur23wmu/tests/nbde_client/tasks/setup_test.yml:22 -------------------- fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 4.09s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 2.69s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 2.58s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Verify we can unlock the device ----------------------------------------- 2.51s /tmp/tmp1ur23wmu/tests/nbde_client/tasks/verify_unlock_device.yml:2 ----------- /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure tang is installed --- 1.84s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 set up internal repositories -------------------------------------------- 1.44s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmp1ur23wmu/tests/nbde_client/tests_bind_high_availability.yml:2 --------- fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 1.00s /tmp/tmpdusqm72k/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 --- 0.91s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.81s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.76s /tmp/.nbde_client_dev_roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 0.62s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Deploy network flushing service --- 0.57s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 fedora.linux_system_roles.nbde_client : Deploy network flushing script --- 0.56s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 fedora.linux_system_roles.nbde_client : Deploy network flushing script --- 0.55s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 fedora.linux_system_roles.nbde_client : Deploy network flushing service --- 0.53s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Clone nbde_server role for the tests ------------------------------------ 0.52s /tmp/tmp1ur23wmu/tests/nbde_client/tasks/setup_test.yml:26 -------------------- fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 0.50s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2