2025-11-17 22:48:57,719 - INFO - Domain Default found not creating 2025-11-17 22:48:57,854 - INFO - Project ctest-TestPorts-50699170 not found, creating it 2025-11-17 22:48:58,266 - INFO - Created Project:ctest-TestPorts-50699170, ID : ce1396fe-b0ac-4876-9ebf-1903f65ac9bb 2025-11-17 22:48:59,594 - INFO - ================================================================================ 2025-11-17 22:48:59,594 - INFO - STARTING TEST : test_ports_bindings 2025-11-17 22:48:59,594 - 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-11-17 22:48:59,851 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-17 22:48:59,851 - INFO - Initial checks done. Running the testcase now 2025-11-17 22:48:59,851 - INFO - 2025-11-17 22:49:00,366 - DEBUG - Response for create_network : {'network': {'id': '801cdf4d-06d0-4395-b275-9be1aa7c9a61', 'name': 'ctest-vn-28155380', 'tenant_id': 'ce1396feb0ac48769ebf1903f65ac9bb', 'project_id': 'ce1396feb0ac48769ebf1903f65ac9bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50699170', 'ctest-vn-28155380'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 22:49:00,515 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdedafa3-6bf5-4bec-9438-d0fa3d8ed89a', 'name': '', 'tenant_id': 'ce1396feb0ac48769ebf1903f65ac9bb', 'network_id': '801cdf4d-06d0-4395-b275-9be1aa7c9a61', 'ip_version': 4, 'cidr': '140.216.204.128/26', 'allocation_pools': [{'start': '140.216.204.130', 'end': '140.216.204.190'}], 'gateway_ip': '140.216.204.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.216.204.130', 'tags': [], 'project_id': 'ce1396feb0ac48769ebf1903f65ac9bb'}} 2025-11-17 22:49:00,528 - INFO - Created VN ctest-vn-28155380 2025-11-17 22:49:00,579 - DEBUG - VN ctest-vn-28155380 UUID is 801cdf4d-06d0-4395-b275-9be1aa7c9a61 2025-11-17 22:49:00,673 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-50699170', 'ctest-vmi-38780051']} 2025-11-17 22:49:00,925 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-38780051', 'id': '0ae0b85c-8cea-4f8d-aaf3-90e6589894b6', 'tenant_id': 'ce1396feb0ac48769ebf1903f65ac9bb', 'network_id': '801cdf4d-06d0-4395-b275-9be1aa7c9a61', 'mac_address': '02:0a:e0:b8:5c:8c', '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': '140.216.204.131', 'subnet_id': 'bdedafa3-6bf5-4bec-9438-d0fa3d8ed89a'}], 'security_groups': ['03ea8fb7-04f6-4386-9987-80fbc9b499cf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ce1396feb0ac48769ebf1903f65ac9bb'}} 2025-11-17 22:49:00,925 - DEBUG - Created port 0ae0b85c-8cea-4f8d-aaf3-90e6589894b6 2025-11-17 22:49:01,035 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0ae0b85c-8cea-4f8d-aaf3-90e6589894b6 2025-11-17 22:49:01,322 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0ae0b85c-8cea-4f8d-aaf3-90e6589894b6 2025-11-17 22:49:01,350 - INFO - VMI 0ae0b85c-8cea-4f8d-aaf3-90e6589894b6 verification in API Server passed 2025-11-17 22:49:01,416 - DEBUG - Response for delete_port : () 2025-11-17 22:49:01,416 - INFO - Deleted port 0ae0b85c-8cea-4f8d-aaf3-90e6589894b6 2025-11-17 22:49:01,416 - INFO - Deleting VN ctest-vn-28155380 2025-11-17 22:49:01,500 - DEBUG - Response for deleting network () 2025-11-17 22:49:01,751 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 22:49:01,751 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-17 22:49:01,751 - INFO - -------------------------------------------------------------------------------- 2025-11-17 22:49:01,753 - INFO - ================================================================================ 2025-11-17 22:49:01,753 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-17 22:49:01,753 - 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-11-17 22:49:02,043 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-17 22:49:02,043 - INFO - Initial checks done. Running the testcase now 2025-11-17 22:49:02,043 - INFO - 2025-11-17 22:49:02,196 - DEBUG - Response for create_network : {'network': {'id': 'c468a8a3-0228-460a-b2f8-6ea689ecf68c', 'name': 'ctest-vn1-11919235', 'tenant_id': 'ce1396feb0ac48769ebf1903f65ac9bb', 'project_id': 'ce1396feb0ac48769ebf1903f65ac9bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50699170', 'ctest-vn1-11919235'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 22:49:02,388 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1f88a04-8407-461d-83f7-8d1ef32ec650', 'name': '', 'tenant_id': 'ce1396feb0ac48769ebf1903f65ac9bb', 'network_id': 'c468a8a3-0228-460a-b2f8-6ea689ecf68c', 'ip_version': 4, 'cidr': '50.40.204.128/26', 'allocation_pools': [{'start': '50.40.204.130', 'end': '50.40.204.190'}], 'gateway_ip': '50.40.204.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.40.204.130', 'tags': [], 'project_id': 'ce1396feb0ac48769ebf1903f65ac9bb'}} 2025-11-17 22:49:02,545 - DEBUG - Response for create_subnet : {'subnet': {'id': '6cde541f-d4f6-4851-8b4c-ae9d5087f147', 'name': '', 'tenant_id': 'ce1396feb0ac48769ebf1903f65ac9bb', 'network_id': 'c468a8a3-0228-460a-b2f8-6ea689ecf68c', 'ip_version': 4, 'cidr': '73.100.243.0/26', 'allocation_pools': [{'start': '73.100.243.2', 'end': '73.100.243.62'}], 'gateway_ip': '73.100.243.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.100.243.2', 'tags': [], 'project_id': 'ce1396feb0ac48769ebf1903f65ac9bb'}} 2025-11-17 22:49:02,561 - INFO - Created VN ctest-vn1-11919235 2025-11-17 22:49:02,611 - DEBUG - VN ctest-vn1-11919235 UUID is c468a8a3-0228-460a-b2f8-6ea689ecf68c 2025-11-17 22:49:02,874 - DEBUG - Response for create_port : {'port': {'name': 'c12804e8-7a74-4b0a-a0ca-31fef0b916a9', 'id': 'c12804e8-7a74-4b0a-a0ca-31fef0b916a9', 'tenant_id': 'ce1396feb0ac48769ebf1903f65ac9bb', 'network_id': 'c468a8a3-0228-460a-b2f8-6ea689ecf68c', 'mac_address': '02:c1:28:04:e8:7a', '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': '50.40.204.133', 'subnet_id': 'e1f88a04-8407-461d-83f7-8d1ef32ec650'}], 'security_groups': ['03ea8fb7-04f6-4386-9987-80fbc9b499cf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ce1396feb0ac48769ebf1903f65ac9bb'}} 2025-11-17 22:49:03,017 - DEBUG - Response for create_port : {'port': {'name': 'ec699343-5b42-4abf-b863-91670d0cbc13', 'id': 'ec699343-5b42-4abf-b863-91670d0cbc13', 'tenant_id': 'ce1396feb0ac48769ebf1903f65ac9bb', 'network_id': 'c468a8a3-0228-460a-b2f8-6ea689ecf68c', 'mac_address': '02:ec:69:93:43:5b', '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': '73.100.243.5', 'subnet_id': '6cde541f-d4f6-4851-8b4c-ae9d5087f147'}], 'security_groups': ['03ea8fb7-04f6-4386-9987-80fbc9b499cf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ce1396feb0ac48769ebf1903f65ac9bb'}} 2025-11-17 22:49:03,063 - DEBUG - Services list from nova: [, , ] 2025-11-17 22:49:03,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4748-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4748-1) 2025-11-17 22:49:03,630 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4748-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4748-1) 2025-11-17 22:49:03,630 - INFO - Waiting for VM ctest-vn1-vm1-89444196 to be up.. 2025-11-17 22:49:03,662 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 22:49:08,724 - DEBUG - VM is in ACTIVE state now 2025-11-17 22:49:08,724 - INFO - VM name : ctest-vn1-vm1-89444196 2025-11-17 22:49:08,794 - DEBUG - VM ctest-vn1-vm1-89444196 ID is bf975729-2fab-4891-9cbd-cb1946f43537 2025-11-17 22:49:08,813 - DEBUG - VM ctest-vn1-vm1-89444196 launched on Node cn-jenkins-deploy-platform-ansible-os-4748-1 2025-11-17 22:49:08,878 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bf975729-2fab-4891-9cbd-cb1946f43537 2025-11-17 22:49:08,885 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c12804e8-7a74-4b0a-a0ca-31fef0b916a9 2025-11-17 22:49:12,135 - 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 1024ms') 2025-11-17 22:49:12,135 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89444196 failed! 2025-11-17 22:49:12,187 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50699170:ctest-vn1-11919235 is 50.40.204.129 and allocation pool is NOT set 2025-11-17 22:49:12,187 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50699170:ctest-vn1-11919235 is 73.100.243.1 and allocation pool is NOT set 2025-11-17 22:49:14,253 - 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=2.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.367 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.367/1.512/2.657/1.145 ms') 2025-11-17 22:49:14,253 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89444196 passed 2025-11-17 22:49:14,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:49:14,395 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89444196, IP 50.40.204.133, Port 22 2025-11-17 22:49:14,550 - DEBUG - VM ctest-vn1-vm1-89444196 is ready for SSH connections 2025-11-17 22:49:14,550 - INFO - Waiting for VM ctest-vn1-vm2-67431512 to be up.. 2025-11-17 22:49:14,617 - DEBUG - VM is in ACTIVE state now 2025-11-17 22:49:14,618 - INFO - VM name : ctest-vn1-vm2-67431512 2025-11-17 22:49:14,681 - DEBUG - VM ctest-vn1-vm2-67431512 ID is d4edd4a2-83c4-4c0d-a2c1-9d45c8c46d5c 2025-11-17 22:49:14,681 - DEBUG - VM ctest-vn1-vm2-67431512 launched on Node cn-jenkins-deploy-platform-ansible-os-4748-1 2025-11-17 22:49:14,746 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d4edd4a2-83c4-4c0d-a2c1-9d45c8c46d5c 2025-11-17 22:49:14,753 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ec699343-5b42-4abf-b863-91670d0cbc13 2025-11-17 22:49:15,991 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.751 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.751/2.043/3.335/1.292 ms') 2025-11-17 22:49:15,991 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-67431512 passed 2025-11-17 22:49:16,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:49:16,139 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-67431512, IP 73.100.243.5, Port 22 2025-11-17 22:49:16,298 - DEBUG - VM ctest-vn1-vm2-67431512 is ready for SSH connections 2025-11-17 22:49:16,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:49:16,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:49:16,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:49:16,299 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.40.204.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 22:49:16,299 - DEBUG - ping -s 56 -c 3 -W 1 50.40.204.133 2025-11-17 22:49:19,213 - DEBUG - PING 50.40.204.133 (50.40.204.133): 56 data bytes 64 bytes from 50.40.204.133: seq=0 ttl=63 time=3.243 ms 64 bytes from 50.40.204.133: seq=1 ttl=63 time=0.829 ms 64 bytes from 50.40.204.133: seq=2 ttl=63 time=0.634 ms --- 50.40.204.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.634/1.568/3.243 ms 2025-11-17 22:49:19,213 - INFO - Ping to IP 50.40.204.133 from VM ctest-vn1-vm2-67431512 passed 2025-11-17 22:49:19,213 - INFO - Detaching port ec699343-5b42-4abf-b863-91670d0cbc13 from VM ctest-vn1-vm2-67431512 2025-11-17 22:49:19,255 - INFO - Deleting VM ctest-vn1-vm2-67431512 2025-11-17 22:49:19,312 - INFO - Detaching port c12804e8-7a74-4b0a-a0ca-31fef0b916a9 from VM ctest-vn1-vm1-89444196 2025-11-17 22:49:19,341 - INFO - Deleting VM ctest-vn1-vm1-89444196 2025-11-17 22:49:19,519 - DEBUG - Response for delete_port : () 2025-11-17 22:49:19,654 - DEBUG - Response for delete_port : () 2025-11-17 22:49:19,654 - INFO - Deleting VN ctest-vn1-11919235 2025-11-17 22:49:19,757 - DEBUG - Response for deleting network () 2025-11-17 22:49:20,015 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 22:49:20,015 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-17 22:49:20,015 - INFO - -------------------------------------------------------------------------------- 2025-11-17 22:49:20,660 - INFO - Deleted project: ctest-TestPorts-50699170, ID : ce1396fe-b0ac-4876-9ebf-1903f65ac9bb