# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-main3w89ohsb/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_key_rotation.yml *********************************************** 2 plays in /WORKDIR/git-main3w89ohsb/tests/tests_key_rotation.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-main3w89ohsb/tests/tests_key_rotation.yml:4 Monday 01 July 2024 13:13:22 +0000 (0:00:00.012) 0:00:00.012 *********** ok: [sut] => { "ansible_facts": { "nbde_client_test_pass": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n31303833633366333561656439323930303361333161363239346166656537323933313436\n3432386236656563343237306335323637396239616230353561330a313731623238393238\n62343064666336643930663239383936616465643134646536656532323461356237646133\n3761616633323839633232353637366266350a313163633236376666653238633435306565\n3264623032333736393535663833\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-main3w89ohsb/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Test key rotation] ******************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-main3w89ohsb/tests/tests_key_rotation.yml:8 Monday 01 July 2024 13:13:22 +0000 (0:00:00.012) 0:00:00.025 *********** ok: [sut] TASK [Set up test environment] ************************************************* task path: /WORKDIR/git-main3w89ohsb/tests/tests_key_rotation.yml:18 Monday 01 July 2024 13:13:23 +0000 (0:00:00.749) 0:00:00.775 *********** included: /WORKDIR/git-main3w89ohsb/tests/tasks/setup_test.yml for sut TASK [Include general tests variables] ***************************************** task path: /WORKDIR/git-main3w89ohsb/tests/tasks/setup_test.yml:2 Monday 01 July 2024 13:13:23 +0000 (0:00:00.012) 0:00:00.787 *********** ok: [sut] => { "ansible_facts": { "nbde_client_test_device": "/tmp/.nbde_client_dev_test" }, "ansible_included_var_files": [ "/WORKDIR/git-main3w89ohsb/tests/vars/main.yml" ], "changed": false } TASK [Ensure Ansible facts required by tests] ********************************** task path: /WORKDIR/git-main3w89ohsb/tests/tasks/setup_test.yml:5 Monday 01 July 2024 13:13:23 +0000 (0:00:00.008) 0:00:00.795 *********** ok: [sut] TASK [Set version specific variables] ****************************************** task path: /WORKDIR/git-main3w89ohsb/tests/tasks/setup_test.yml:16 Monday 01 July 2024 13:13:23 +0000 (0:00:00.239) 0:00:01.034 *********** ok: [sut] => { "ansible_facts": { "nbde_client_test_packages": [ "cryptsetup" ] }, "ansible_included_var_files": [ "/WORKDIR/git-main3w89ohsb/tests/vars/CentOS_7.yml" ], "changed": false } TASK [Print all available facts] *********************************************** task path: /WORKDIR/git-main3w89ohsb/tests/tasks/setup_test.yml:29 Monday 01 July 2024 13:13:23 +0000 (0:00:00.015) 0:00:01.050 *********** ok: [sut] => { "ansible_facts": { "all_ipv4_addresses": [ "10.31.14.243" ], "all_ipv6_addresses": [ "fe80::8ff:c5ff:fe9d:a907" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_vendor": "Xen", "bios_version": "4.2.amazon", "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": "Xen", "chassis_version": "NA", "cmdline": { "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "LANG": "en_US.UTF-8", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" }, "date_time": { "date": "2024-07-01", "day": "01", "epoch": "1719839603", "epoch_int": "1719839603", "hour": "09", "iso8601": "2024-07-01T13:13:23Z", "iso8601_basic": "20240701T091323631799", "iso8601_basic_short": "20240701T091323", "iso8601_micro": "2024-07-01T13:13:23.631799Z", "minute": "13", "month": "07", "second": "23", "time": "09:13:23", "tz": "EDT", "tz_dst": "EDT", "tz_offset": "-0400", "weekday": "Monday", "weekday_number": "1", "weeknumber": "27", "year": "2024" }, "default_ipv4": { "address": "10.31.14.243", "alias": "eth0", "broadcast": "10.31.15.255", "gateway": "10.31.12.1", "interface": "eth0", "macaddress": "0a:ff:c5:9d:a9:07", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda1": [ "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" ] } }, "devices": { "xvda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "xvda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" ] }, "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "start": "2048", "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" } }, "removable": "0", "rotational": "0", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "deadline", "sectors": "524288000", "sectorsize": "512", "size": "250.00 GB", "support_discard": "0", "vendor": null, "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python", "distribution": "CentOS", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_major_version": "7", "distribution_release": "Core", "distribution_version": "7.9", "dns": { "nameservers": [ "10.29.169.13", "10.29.170.12", "10.2.32.1" ], "search": [ "us-east-1.aws.redhat.com" ] }, "domain": "us-east-1.aws.redhat.com", "effective_group_id": 0, "effective_user_id": 0, "env": { "HOME": "/root", "LANG": "en_US.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "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.29.163.169 60258 22", "SSH_CONNECTION": "10.29.163.169 60258 10.31.14.243 22", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_ID": "5", "_": "/usr/bin/python" }, "eth0": { "active": true, "device": "eth0", "features": { "busy_poll": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "off [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": "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": "off [fixed]", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_sctp": "off [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": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_lockless": "off [fixed]", "tx_nocache_copy": "off", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "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": "off [fixed]", "vlan_challenged": "off [fixed]" }, "hw_timestamp_filters": [], "ipv4": { "address": "10.31.14.243", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22" }, "ipv6": [ { "address": "fe80::8ff:c5ff:fe9d:a907", "prefix": "64", "scope": "link" } ], "macaddress": "0a:ff:c5:9d:a9:07", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "timestamping": [ "rx_software", "software" ], "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "ip-10-31-14-243.us-east-1.aws.redhat.com", "gather_subset": [ "min" ], "hostname": "ip-10-31-14-243", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "3.10.0-1160.119.1.el7.x86_64", "kernel_version": "#1 SMP Tue Jun 4 14:43:51 UTC 2024", "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", "prefix": "8" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "timestamping": [ "rx_software", "software" ], "type": "loopback" }, "loadavg": { "15m": 0.12, "1m": 0.05, "5m": 0.15 }, "locally_reachable_ips": { "ipv4": [ "10.31.14.243", "127.0.0.0/8", "127.0.0.1" ], "ipv6": [ "::1", "fe80::8ff:c5ff:fe9d:a907" ] }, "lsb": {}, "lvm": "N/A", "machine": "x86_64", "machine_id": "5e25bb85f6254daca732c8049c4290df", "memfree_mb": 3136, "memory_mb": { "nocache": { "free": 3441, "used": 159 }, "real": { "free": 3136, "total": 3600, "used": 464 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 3600, "module_setup": true, "mounts": [ { "block_available": 61354215, "block_size": 4096, "block_total": 64490860, "block_used": 3136645, "device": "/dev/xvda1", "fstype": "ext4", "inode_available": 16320105, "inode_total": 16384000, "inode_used": 63895, "mount": "/", "options": "rw,seclabel,relatime,data=ordered", "size_available": 251306864640, "size_total": 264154562560, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" } ], "nodename": "ip-10-31-14-243.us-east-1.aws.redhat.com", "os_family": "RedHat", "pkg_mgr": "yum", "proc_cmdline": { "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "LANG": "en_US.UTF-8", "console": [ "tty0", "ttyS0,115200n8" ], "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz" ], "processor_cores": 1, "processor_count": 1, "processor_nproc": 2, "processor_threads_per_core": 2, "processor_vcpus": 2, "product_name": "HVM domU", "product_serial": "ec2abe90-2db6-25a4-3c38-d2e950f339f3", "product_uuid": "EC2ABE90-2DB6-25A4-3C38-D2E950F339F3", "product_version": "4.2.amazon", "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": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDLhgxdLl6pVPEd/biZMLjq4e9Hk93d+cIFZX/2W8ZOf4TAURC2IF9QpTl0vkjtu9IAk3OAjcbDVyEt28xJnNeA=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAICQv41kEJzqf0Fw0vfBNofL1PGsqN8YLbJvWx5Tb7CQy", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3", "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": "Xen", "uptime_seconds": 432, "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": [ "xen" ], "virtualization_tech_host": [], "virtualization_type": "xen" } } TASK [Install required packages for nbde_client tests] ************************* task path: /WORKDIR/git-main3w89ohsb/tests/tasks/setup_test.yml:33 Monday 01 July 2024 13:13:23 +0000 (0:00:00.017) 0:00:01.067 *********** fatal: [sut]: FAILED! => { "changed": false } MSG: Failure talking to yum: Cannot find a valid baseurl for repo: base/7/x86_64 to retry, use: --limit @/tmp/tests_key_rotation.retry PLAY RECAP ********************************************************************* sut : ok=7 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Monday 01 July 2024 13:13:24 +0000 (0:00:00.444) 0:00:01.512 *********** =============================================================================== Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-main3w89ohsb/tests/tests_key_rotation.yml:8 ---------------------- Install required packages for nbde_client tests ------------------------- 0.44s /WORKDIR/git-main3w89ohsb/tests/tasks/setup_test.yml:33 ----------------------- Ensure Ansible facts required by tests ---------------------------------- 0.24s /WORKDIR/git-main3w89ohsb/tests/tasks/setup_test.yml:5 ------------------------ Print all available facts ----------------------------------------------- 0.02s /WORKDIR/git-main3w89ohsb/tests/tasks/setup_test.yml:29 ----------------------- Set version specific variables ------------------------------------------ 0.02s /WORKDIR/git-main3w89ohsb/tests/tasks/setup_test.yml:16 ----------------------- Include vault variables ------------------------------------------------- 0.01s /WORKDIR/git-main3w89ohsb/tests/tests_key_rotation.yml:4 ---------------------- Set up test environment ------------------------------------------------- 0.01s /WORKDIR/git-main3w89ohsb/tests/tests_key_rotation.yml:18 --------------------- Include general tests variables ----------------------------------------- 0.01s /WORKDIR/git-main3w89ohsb/tests/tasks/setup_test.yml:2 ------------------------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---