2025-09-25 01:47:12,215 - INFO - Domain Default found not creating 2025-09-25 01:47:12,334 - INFO - Project ctest-TestPorts-95041830 not found, creating it 2025-09-25 01:47:12,751 - INFO - Created Project:ctest-TestPorts-95041830, ID : a46df161-de33-47dc-b7b2-747732c01a2f 2025-09-25 01:47:14,054 - INFO - ================================================================================ 2025-09-25 01:47:14,054 - INFO - STARTING TEST : test_ports_bindings 2025-09-25 01:47:14,054 - 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-25 01:47:14,307 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.129': '0'}} with 2025-09-25 01:47:14,307 - INFO - Initial checks done. Running the testcase now 2025-09-25 01:47:14,307 - INFO - 2025-09-25 01:47:14,837 - DEBUG - Response for create_network : {'network': {'id': 'fc2c6247-d8ad-4879-864a-016fff1b1e32', 'name': 'ctest-vn-10439474', 'tenant_id': 'a46df161de3347dcb7b2747732c01a2f', 'project_id': 'a46df161de3347dcb7b2747732c01a2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95041830', 'ctest-vn-10439474'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 01:47:15,053 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a11bc8e6-4a1e-4630-8b2b-8dfe66625f28', 'name': '', 'tenant_id': 'a46df161de3347dcb7b2747732c01a2f', 'network_id': 'fc2c6247-d8ad-4879-864a-016fff1b1e32', 'ip_version': 4, 'cidr': '125.244.153.192/26', 'allocation_pools': [{'start': '125.244.153.194', 'end': '125.244.153.254'}], 'gateway_ip': '125.244.153.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.244.153.194', 'tags': [], 'project_id': 'a46df161de3347dcb7b2747732c01a2f'}} 2025-09-25 01:47:15,069 - INFO - Created VN ctest-vn-10439474 2025-09-25 01:47:15,118 - DEBUG - VN ctest-vn-10439474 UUID is fc2c6247-d8ad-4879-864a-016fff1b1e32 2025-09-25 01:47:15,223 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-95041830', 'ctest-vmi-59482371']} 2025-09-25 01:47:15,498 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-59482371', 'id': '95124e65-ccb0-44e3-8358-38dc76a9674c', 'tenant_id': 'a46df161de3347dcb7b2747732c01a2f', 'network_id': 'fc2c6247-d8ad-4879-864a-016fff1b1e32', 'mac_address': '02:95:12:4e:65:cc', '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': '125.244.153.195', 'subnet_id': 'a11bc8e6-4a1e-4630-8b2b-8dfe66625f28'}], 'security_groups': ['d21ec7d4-1a64-4a08-97c3-ae6ecac14aa3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a46df161de3347dcb7b2747732c01a2f'}} 2025-09-25 01:47:15,498 - DEBUG - Created port 95124e65-ccb0-44e3-8358-38dc76a9674c 2025-09-25 01:47:15,602 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/95124e65-ccb0-44e3-8358-38dc76a9674c 2025-09-25 01:47:15,889 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/95124e65-ccb0-44e3-8358-38dc76a9674c 2025-09-25 01:47:15,917 - INFO - VMI 95124e65-ccb0-44e3-8358-38dc76a9674c verification in API Server passed 2025-09-25 01:47:15,990 - DEBUG - Response for delete_port : () 2025-09-25 01:47:15,991 - INFO - Deleted port 95124e65-ccb0-44e3-8358-38dc76a9674c 2025-09-25 01:47:15,991 - INFO - Deleting VN ctest-vn-10439474 2025-09-25 01:47:16,085 - DEBUG - Response for deleting network () 2025-09-25 01:47:16,343 - DEBUG - No XMPP flaps were noticed during the test 2025-09-25 01:47:16,343 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-25 01:47:16,343 - INFO - -------------------------------------------------------------------------------- 2025-09-25 01:47:16,345 - INFO - ================================================================================ 2025-09-25 01:47:16,345 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-25 01:47:16,345 - 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-25 01:47:16,632 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.129': '0'}} with 2025-09-25 01:47:16,632 - INFO - Initial checks done. Running the testcase now 2025-09-25 01:47:16,632 - INFO - 2025-09-25 01:47:16,792 - DEBUG - Response for create_network : {'network': {'id': '9ff2b1b6-ce28-42e1-8cc2-7cb1c00e220c', 'name': 'ctest-vn1-71403430', 'tenant_id': 'a46df161de3347dcb7b2747732c01a2f', 'project_id': 'a46df161de3347dcb7b2747732c01a2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95041830', 'ctest-vn1-71403430'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 01:47:16,960 - DEBUG - Response for create_subnet : {'subnet': {'id': '65832970-12c2-4fe9-8988-584e251f10fd', 'name': '', 'tenant_id': 'a46df161de3347dcb7b2747732c01a2f', 'network_id': '9ff2b1b6-ce28-42e1-8cc2-7cb1c00e220c', 'ip_version': 4, 'cidr': '125.122.136.128/26', 'allocation_pools': [{'start': '125.122.136.130', 'end': '125.122.136.190'}], 'gateway_ip': '125.122.136.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.122.136.130', 'tags': [], 'project_id': 'a46df161de3347dcb7b2747732c01a2f'}} 2025-09-25 01:47:17,155 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c7f8f1f-12d3-456a-911e-9d414ce77576', 'name': '', 'tenant_id': 'a46df161de3347dcb7b2747732c01a2f', 'network_id': '9ff2b1b6-ce28-42e1-8cc2-7cb1c00e220c', 'ip_version': 4, 'cidr': '130.114.57.128/26', 'allocation_pools': [{'start': '130.114.57.130', 'end': '130.114.57.190'}], 'gateway_ip': '130.114.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.114.57.130', 'tags': [], 'project_id': 'a46df161de3347dcb7b2747732c01a2f'}} 2025-09-25 01:47:17,172 - INFO - Created VN ctest-vn1-71403430 2025-09-25 01:47:17,222 - DEBUG - VN ctest-vn1-71403430 UUID is 9ff2b1b6-ce28-42e1-8cc2-7cb1c00e220c 2025-09-25 01:47:17,528 - DEBUG - Response for create_port : {'port': {'name': '2540d66a-3992-41bb-8232-be9c46f89971', 'id': '2540d66a-3992-41bb-8232-be9c46f89971', 'tenant_id': 'a46df161de3347dcb7b2747732c01a2f', 'network_id': '9ff2b1b6-ce28-42e1-8cc2-7cb1c00e220c', 'mac_address': '02:25:40:d6:6a:39', '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': '125.122.136.133', 'subnet_id': '65832970-12c2-4fe9-8988-584e251f10fd'}], 'security_groups': ['d21ec7d4-1a64-4a08-97c3-ae6ecac14aa3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a46df161de3347dcb7b2747732c01a2f'}} 2025-09-25 01:47:17,715 - DEBUG - Response for create_port : {'port': {'name': 'bee609d7-f9fa-46ed-bf90-df81e296ca7e', 'id': 'bee609d7-f9fa-46ed-bf90-df81e296ca7e', 'tenant_id': 'a46df161de3347dcb7b2747732c01a2f', 'network_id': '9ff2b1b6-ce28-42e1-8cc2-7cb1c00e220c', 'mac_address': '02:be:e6:09:d7:f9', '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': '130.114.57.133', 'subnet_id': '3c7f8f1f-12d3-456a-911e-9d414ce77576'}], 'security_groups': ['d21ec7d4-1a64-4a08-97c3-ae6ecac14aa3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a46df161de3347dcb7b2747732c01a2f'}} 2025-09-25 01:47:17,768 - DEBUG - Services list from nova: [, , ] 2025-09-25 01:47:18,053 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4185-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4185-1) 2025-09-25 01:47:18,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4185-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4185-1) 2025-09-25 01:47:18,404 - INFO - Waiting for VM ctest-vn1-vm1-39079972 to be up.. 2025-09-25 01:47:18,560 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 01:47:23,636 - DEBUG - VM is in ACTIVE state now 2025-09-25 01:47:23,636 - INFO - VM name : ctest-vn1-vm1-39079972 2025-09-25 01:47:23,703 - DEBUG - VM ctest-vn1-vm1-39079972 ID is 814445f2-6bd2-4b1d-ad3b-35f30a92420c 2025-09-25 01:47:23,719 - DEBUG - VM ctest-vn1-vm1-39079972 launched on Node cn-jenkins-deploy-platform-ansible-os-4185-1 2025-09-25 01:47:23,783 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/814445f2-6bd2-4b1d-ad3b-35f30a92420c 2025-09-25 01:47:23,790 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/2540d66a-3992-41bb-8232-be9c46f89971 2025-09-25 01:47:27,031 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2025-09-25 01:47:27,031 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39079972 failed! 2025-09-25 01:47:27,086 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95041830:ctest-vn1-71403430 is 125.122.136.129 and allocation pool is NOT set 2025-09-25 01:47:27,086 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95041830:ctest-vn1-71403430 is 130.114.57.129 and allocation pool is NOT set 2025-09-25 01:47:29,143 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.08 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 = 2.078/3.174/4.270/1.096 ms') 2025-09-25 01:47:29,143 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39079972 passed 2025-09-25 01:47:29,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:47:29,290 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39079972, IP 125.122.136.133, Port 22 2025-09-25 01:47:29,442 - DEBUG - VM ctest-vn1-vm1-39079972 is ready for SSH connections 2025-09-25 01:47:29,442 - INFO - Waiting for VM ctest-vn1-vm2-94295478 to be up.. 2025-09-25 01:47:29,507 - DEBUG - VM is in ACTIVE state now 2025-09-25 01:47:29,507 - INFO - VM name : ctest-vn1-vm2-94295478 2025-09-25 01:47:29,569 - DEBUG - VM ctest-vn1-vm2-94295478 ID is df512cf1-7c7e-4a6e-888b-e45781ec12dc 2025-09-25 01:47:29,570 - DEBUG - VM ctest-vn1-vm2-94295478 launched on Node cn-jenkins-deploy-platform-ansible-os-4185-1 2025-09-25 01:47:29,631 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/df512cf1-7c7e-4a6e-888b-e45781ec12dc 2025-09-25 01:47:29,637 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/bee609d7-f9fa-46ed-bf90-df81e296ca7e 2025-09-25 01:47:30,861 - 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=3.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.342 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.342/1.888/3.435/1.546 ms') 2025-09-25 01:47:30,861 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-94295478 passed 2025-09-25 01:47:31,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:47:31,010 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-94295478, IP 130.114.57.133, Port 22 2025-09-25 01:47:31,162 - DEBUG - VM ctest-vn1-vm2-94295478 is ready for SSH connections 2025-09-25 01:47:31,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:47:31,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:47:31,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:47:31,162 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.122.136.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-09-25 01:47:31,162 - DEBUG - ping -s 56 -c 3 -W 1 125.122.136.133 2025-09-25 01:47:34,085 - DEBUG - PING 125.122.136.133 (125.122.136.133): 56 data bytes 64 bytes from 125.122.136.133: seq=0 ttl=63 time=3.360 ms 64 bytes from 125.122.136.133: seq=1 ttl=63 time=0.848 ms 64 bytes from 125.122.136.133: seq=2 ttl=63 time=0.704 ms --- 125.122.136.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.704/1.637/3.360 ms 2025-09-25 01:47:34,085 - INFO - Ping to IP 125.122.136.133 from VM ctest-vn1-vm2-94295478 passed 2025-09-25 01:47:34,085 - INFO - Detaching port bee609d7-f9fa-46ed-bf90-df81e296ca7e from VM ctest-vn1-vm2-94295478 2025-09-25 01:47:34,129 - INFO - Deleting VM ctest-vn1-vm2-94295478 2025-09-25 01:47:34,184 - INFO - Detaching port 2540d66a-3992-41bb-8232-be9c46f89971 from VM ctest-vn1-vm1-39079972 2025-09-25 01:47:34,211 - INFO - Deleting VM ctest-vn1-vm1-39079972 2025-09-25 01:47:34,394 - DEBUG - Response for delete_port : () 2025-09-25 01:47:34,531 - DEBUG - Response for delete_port : () 2025-09-25 01:47:34,531 - INFO - Deleting VN ctest-vn1-71403430 2025-09-25 01:47:34,665 - DEBUG - Response for deleting network () 2025-09-25 01:47:34,914 - DEBUG - No XMPP flaps were noticed during the test 2025-09-25 01:47:34,914 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-09-25 01:47:34,915 - INFO - -------------------------------------------------------------------------------- 2025-09-25 01:47:35,573 - INFO - Deleted project: ctest-TestPorts-95041830, ID : a46df161-de33-47dc-b7b2-747732c01a2f