2025-09-15 11:25:08,641 - INFO - Domain Default found not creating 2025-09-15 11:25:08,786 - INFO - Project ctest-TestPorts-38314458 not found, creating it 2025-09-15 11:25:09,248 - INFO - Created Project:ctest-TestPorts-38314458, ID : c68dcc7b-3c07-413e-8691-76683e13df7a 2025-09-15 11:25:10,823 - INFO - ================================================================================ 2025-09-15 11:25:10,823 - INFO - STARTING TEST : test_ports_bindings 2025-09-15 11:25:10,823 - INFO - TEST DESCRIPTION : Verify that we are able to create a port with custom port bindings Steps: 1) Create Port with Port bindings profile set to {'foo': 'bar'} 2) Retrieve and verify the same is set 2025-09-15 11:25:11,084 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-09-15 11:25:11,084 - INFO - Initial checks done. Running the testcase now 2025-09-15 11:25:11,084 - INFO - 2025-09-15 11:25:11,653 - DEBUG - Response for create_network : {'network': {'id': 'c8154f69-8d62-4bf2-9623-e93e07a57054', 'name': 'ctest-vn-40354734', 'tenant_id': 'c68dcc7b3c07413e869176683e13df7a', 'project_id': 'c68dcc7b3c07413e869176683e13df7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38314458', 'ctest-vn-40354734'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:25:11,885 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f4edcd3-578e-429d-8ec4-d737f5115129', 'name': '', 'tenant_id': 'c68dcc7b3c07413e869176683e13df7a', 'network_id': 'c8154f69-8d62-4bf2-9623-e93e07a57054', 'ip_version': 4, 'cidr': '13.95.135.64/26', 'allocation_pools': [{'start': '13.95.135.66', 'end': '13.95.135.126'}], 'gateway_ip': '13.95.135.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.95.135.66', 'tags': [], 'project_id': 'c68dcc7b3c07413e869176683e13df7a'}} 2025-09-15 11:25:11,904 - INFO - Created VN ctest-vn-40354734 2025-09-15 11:25:11,956 - DEBUG - VN ctest-vn-40354734 UUID is c8154f69-8d62-4bf2-9623-e93e07a57054 2025-09-15 11:25:12,073 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38314458', 'ctest-vmi-51000799']} 2025-09-15 11:25:12,325 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-51000799', 'id': 'd79e750c-2518-4bee-ace8-3a00dc488532', 'tenant_id': 'c68dcc7b3c07413e869176683e13df7a', 'network_id': 'c8154f69-8d62-4bf2-9623-e93e07a57054', 'mac_address': '02:d7:9e:75:0c:25', 'binding:profile': {'foo': 'bar'}, 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '13.95.135.67', 'subnet_id': '9f4edcd3-578e-429d-8ec4-d737f5115129'}], 'security_groups': ['97647662-4060-40ef-95aa-50194733405f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c68dcc7b3c07413e869176683e13df7a'}} 2025-09-15 11:25:12,325 - DEBUG - Created port d79e750c-2518-4bee-ace8-3a00dc488532 2025-09-15 11:25:12,428 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d79e750c-2518-4bee-ace8-3a00dc488532 2025-09-15 11:25:12,729 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d79e750c-2518-4bee-ace8-3a00dc488532 2025-09-15 11:25:12,773 - INFO - VMI d79e750c-2518-4bee-ace8-3a00dc488532 verification in API Server passed 2025-09-15 11:25:12,857 - DEBUG - Response for delete_port : () 2025-09-15 11:25:12,857 - INFO - Deleted port d79e750c-2518-4bee-ace8-3a00dc488532 2025-09-15 11:25:12,857 - INFO - Deleting VN ctest-vn-40354734 2025-09-15 11:25:12,955 - DEBUG - Response for deleting network () 2025-09-15 11:25:13,213 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 11:25:13,213 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-15 11:25:13,213 - INFO - -------------------------------------------------------------------------------- 2025-09-15 11:25:13,216 - INFO - ================================================================================ 2025-09-15 11:25:13,216 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-15 11:25:13,216 - INFO - TEST DESCRIPTION : Create ports with specific Subnet and IP Create two ports in a VN with 2 subnets and specific IPs Attach to two VMs Ping between them should pass 2025-09-15 11:25:13,501 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-09-15 11:25:13,501 - INFO - Initial checks done. Running the testcase now 2025-09-15 11:25:13,501 - INFO - 2025-09-15 11:25:13,684 - DEBUG - Response for create_network : {'network': {'id': '774ddde1-c9e8-4c7d-a473-f67eda0d8f55', 'name': 'ctest-vn1-57820023', 'tenant_id': 'c68dcc7b3c07413e869176683e13df7a', 'project_id': 'c68dcc7b3c07413e869176683e13df7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38314458', 'ctest-vn1-57820023'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:25:13,868 - DEBUG - Response for create_subnet : {'subnet': {'id': '40cfbd29-3629-4098-b152-95106f24b0b6', 'name': '', 'tenant_id': 'c68dcc7b3c07413e869176683e13df7a', 'network_id': '774ddde1-c9e8-4c7d-a473-f67eda0d8f55', 'ip_version': 4, 'cidr': '202.0.177.0/26', 'allocation_pools': [{'start': '202.0.177.2', 'end': '202.0.177.62'}], 'gateway_ip': '202.0.177.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.0.177.2', 'tags': [], 'project_id': 'c68dcc7b3c07413e869176683e13df7a'}} 2025-09-15 11:25:14,063 - DEBUG - Response for create_subnet : {'subnet': {'id': '0fc92f53-781d-4a59-b85d-47d7aa8cf2cb', 'name': '', 'tenant_id': 'c68dcc7b3c07413e869176683e13df7a', 'network_id': '774ddde1-c9e8-4c7d-a473-f67eda0d8f55', 'ip_version': 4, 'cidr': '111.146.114.64/26', 'allocation_pools': [{'start': '111.146.114.66', 'end': '111.146.114.126'}], 'gateway_ip': '111.146.114.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.146.114.66', 'tags': [], 'project_id': 'c68dcc7b3c07413e869176683e13df7a'}} 2025-09-15 11:25:14,081 - INFO - Created VN ctest-vn1-57820023 2025-09-15 11:25:14,133 - DEBUG - VN ctest-vn1-57820023 UUID is 774ddde1-c9e8-4c7d-a473-f67eda0d8f55 2025-09-15 11:25:14,436 - DEBUG - Response for create_port : {'port': {'name': '10474552-e6da-4198-b3a8-bc3411df4b5f', 'id': '10474552-e6da-4198-b3a8-bc3411df4b5f', 'tenant_id': 'c68dcc7b3c07413e869176683e13df7a', 'network_id': '774ddde1-c9e8-4c7d-a473-f67eda0d8f55', 'mac_address': '02:10:47:45:52:e6', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '202.0.177.5', 'subnet_id': '40cfbd29-3629-4098-b152-95106f24b0b6'}], 'security_groups': ['97647662-4060-40ef-95aa-50194733405f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c68dcc7b3c07413e869176683e13df7a'}} 2025-09-15 11:25:14,618 - DEBUG - Response for create_port : {'port': {'name': 'eb15cd64-da26-4215-8c7b-7857409840d5', 'id': 'eb15cd64-da26-4215-8c7b-7857409840d5', 'tenant_id': 'c68dcc7b3c07413e869176683e13df7a', 'network_id': '774ddde1-c9e8-4c7d-a473-f67eda0d8f55', 'mac_address': '02:eb:15:cd:64:da', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '111.146.114.69', 'subnet_id': '0fc92f53-781d-4a59-b85d-47d7aa8cf2cb'}], 'security_groups': ['97647662-4060-40ef-95aa-50194733405f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c68dcc7b3c07413e869176683e13df7a'}} 2025-09-15 11:25:14,671 - DEBUG - Services list from nova: [, , ] 2025-09-15 11:25:15,016 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4114-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4114-1) 2025-09-15 11:25:15,405 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4114-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4114-1) 2025-09-15 11:25:15,405 - INFO - Waiting for VM ctest-vn1-vm1-96829487 to be up.. 2025-09-15 11:25:15,447 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 11:25:20,521 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:25:20,521 - INFO - VM name : ctest-vn1-vm1-96829487 2025-09-15 11:25:20,594 - DEBUG - VM ctest-vn1-vm1-96829487 ID is 9050177c-d9fd-486d-8e30-c133dd8f467d 2025-09-15 11:25:20,614 - DEBUG - VM ctest-vn1-vm1-96829487 launched on Node cn-jenkins-deploy-platform-ansible-os-4114-1 2025-09-15 11:25:20,688 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9050177c-d9fd-486d-8e30-c133dd8f467d 2025-09-15 11:25:20,697 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/10474552-e6da-4198-b3a8-bc3411df4b5f 2025-09-15 11:25:23,946 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2025-09-15 11:25:23,946 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-96829487 failed! 2025-09-15 11:25:24,000 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38314458:ctest-vn1-57820023 is 202.0.177.1 and allocation pool is NOT set 2025-09-15 11:25:24,001 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38314458:ctest-vn1-57820023 is 111.146.114.65 and allocation pool is NOT set 2025-09-15 11:25:26,063 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=9.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.59 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.591/5.861/9.132/3.270 ms') 2025-09-15 11:25:26,063 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-96829487 passed 2025-09-15 11:25:26,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:25:26,217 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-96829487, IP 202.0.177.5, Port 22 2025-09-15 11:25:26,374 - DEBUG - VM ctest-vn1-vm1-96829487 is ready for SSH connections 2025-09-15 11:25:26,374 - INFO - Waiting for VM ctest-vn1-vm2-71623883 to be up.. 2025-09-15 11:25:26,458 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:25:26,458 - INFO - VM name : ctest-vn1-vm2-71623883 2025-09-15 11:25:26,535 - DEBUG - VM ctest-vn1-vm2-71623883 ID is 14ded2f3-9bd8-4fd8-bee0-7de97331ced6 2025-09-15 11:25:26,535 - DEBUG - VM ctest-vn1-vm2-71623883 launched on Node cn-jenkins-deploy-platform-ansible-os-4114-1 2025-09-15 11:25:26,607 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/14ded2f3-9bd8-4fd8-bee0-7de97331ced6 2025-09-15 11:25:26,615 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/eb15cd64-da26-4215-8c7b-7857409840d5 2025-09-15 11:25:27,854 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.475 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.475/2.272/4.069/1.797 ms') 2025-09-15 11:25:27,854 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-71623883 passed 2025-09-15 11:25:28,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:25:28,009 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-71623883, IP 111.146.114.69, Port 22 2025-09-15 11:25:28,164 - DEBUG - VM ctest-vn1-vm2-71623883 is ready for SSH connections 2025-09-15 11:25:28,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:25:28,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:25:28,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:25:28,165 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.0.177.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-09-15 11:25:28,165 - DEBUG - ping -s 56 -c 3 -W 1 202.0.177.5 2025-09-15 11:25:31,906 - DEBUG - PING 202.0.177.5 (202.0.177.5): 56 data bytes 64 bytes from 202.0.177.5: seq=0 ttl=63 time=3.336 ms 64 bytes from 202.0.177.5: seq=1 ttl=63 time=0.734 ms 64 bytes from 202.0.177.5: seq=2 ttl=63 time=1.040 ms --- 202.0.177.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.734/1.703/3.336 ms 2025-09-15 11:25:31,906 - INFO - Ping to IP 202.0.177.5 from VM ctest-vn1-vm2-71623883 passed 2025-09-15 11:25:31,906 - INFO - Detaching port eb15cd64-da26-4215-8c7b-7857409840d5 from VM ctest-vn1-vm2-71623883 2025-09-15 11:25:31,959 - INFO - Deleting VM ctest-vn1-vm2-71623883 2025-09-15 11:25:32,026 - INFO - Detaching port 10474552-e6da-4198-b3a8-bc3411df4b5f from VM ctest-vn1-vm1-96829487 2025-09-15 11:25:32,059 - INFO - Deleting VM ctest-vn1-vm1-96829487 2025-09-15 11:25:32,294 - DEBUG - Response for delete_port : () 2025-09-15 11:25:32,502 - DEBUG - Response for delete_port : () 2025-09-15 11:25:32,502 - INFO - Deleting VN ctest-vn1-57820023 2025-09-15 11:25:32,694 - DEBUG - Response for deleting network () 2025-09-15 11:25:32,974 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 11:25:32,974 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-09-15 11:25:32,974 - INFO - -------------------------------------------------------------------------------- 2025-09-15 11:25:33,682 - INFO - Deleted project: ctest-TestPorts-38314458, ID : c68dcc7b-3c07-413e-8691-76683e13df7a