2025-11-24 17:42:57,323 - INFO - Domain Default found not creating 2025-11-24 17:42:57,496 - INFO - Project ctest-TestPorts-72916721 not found, creating it 2025-11-24 17:42:57,981 - INFO - Created Project:ctest-TestPorts-72916721, ID : 00a935c5-0823-41f2-8833-803c61414859 2025-11-24 17:42:59,619 - INFO - ================================================================================ 2025-11-24 17:42:59,619 - INFO - STARTING TEST : test_ports_bindings 2025-11-24 17:42:59,619 - 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-24 17:42:59,878 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.130': '0'}} with 2025-11-24 17:42:59,878 - INFO - Initial checks done. Running the testcase now 2025-11-24 17:42:59,878 - INFO - 2025-11-24 17:43:00,468 - DEBUG - Response for create_network : {'network': {'id': '3952fa5a-8d4e-4bb0-80e2-805a668349ef', 'name': 'ctest-vn-03289276', 'tenant_id': '00a935c5082341f28833803c61414859', 'project_id': '00a935c5082341f28833803c61414859', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72916721', 'ctest-vn-03289276'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 17:43:00,698 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e94acf00-d55d-4677-82e0-43434518e05c', 'name': '', 'tenant_id': '00a935c5082341f28833803c61414859', 'network_id': '3952fa5a-8d4e-4bb0-80e2-805a668349ef', 'ip_version': 4, 'cidr': '181.178.91.128/26', 'allocation_pools': [{'start': '181.178.91.130', 'end': '181.178.91.190'}], 'gateway_ip': '181.178.91.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.178.91.130', 'tags': [], 'project_id': '00a935c5082341f28833803c61414859'}} 2025-11-24 17:43:00,716 - INFO - Created VN ctest-vn-03289276 2025-11-24 17:43:00,769 - DEBUG - VN ctest-vn-03289276 UUID is 3952fa5a-8d4e-4bb0-80e2-805a668349ef 2025-11-24 17:43:00,885 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-72916721', 'ctest-vmi-66856723']} 2025-11-24 17:43:01,122 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-66856723', 'id': 'd2f0a2c0-5c98-4bbf-8859-214bd4e1d36f', 'tenant_id': '00a935c5082341f28833803c61414859', 'network_id': '3952fa5a-8d4e-4bb0-80e2-805a668349ef', 'mac_address': '02:d2:f0:a2:c0:5c', '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': '181.178.91.131', 'subnet_id': 'e94acf00-d55d-4677-82e0-43434518e05c'}], 'security_groups': ['57011d3b-9fd3-42c5-bd0a-670666754eb4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '00a935c5082341f28833803c61414859'}} 2025-11-24 17:43:01,122 - DEBUG - Created port d2f0a2c0-5c98-4bbf-8859-214bd4e1d36f 2025-11-24 17:43:01,225 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/d2f0a2c0-5c98-4bbf-8859-214bd4e1d36f 2025-11-24 17:43:01,563 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/d2f0a2c0-5c98-4bbf-8859-214bd4e1d36f 2025-11-24 17:43:01,601 - INFO - VMI d2f0a2c0-5c98-4bbf-8859-214bd4e1d36f verification in API Server passed 2025-11-24 17:43:01,692 - DEBUG - Response for delete_port : () 2025-11-24 17:43:01,692 - INFO - Deleted port d2f0a2c0-5c98-4bbf-8859-214bd4e1d36f 2025-11-24 17:43:01,693 - INFO - Deleting VN ctest-vn-03289276 2025-11-24 17:43:01,792 - DEBUG - Response for deleting network () 2025-11-24 17:43:02,047 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 17:43:02,047 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-24 17:43:02,047 - INFO - -------------------------------------------------------------------------------- 2025-11-24 17:43:02,050 - INFO - ================================================================================ 2025-11-24 17:43:02,050 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-24 17:43:02,050 - 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-24 17:43:02,335 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.130': '0'}} with 2025-11-24 17:43:02,335 - INFO - Initial checks done. Running the testcase now 2025-11-24 17:43:02,335 - INFO - 2025-11-24 17:43:02,523 - DEBUG - Response for create_network : {'network': {'id': '73128809-5f8d-4b18-8ba4-690fac021bbd', 'name': 'ctest-vn1-81643283', 'tenant_id': '00a935c5082341f28833803c61414859', 'project_id': '00a935c5082341f28833803c61414859', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72916721', 'ctest-vn1-81643283'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 17:43:02,684 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a52bae09-21f9-4c96-abce-9be77e6fa04f', 'name': '', 'tenant_id': '00a935c5082341f28833803c61414859', 'network_id': '73128809-5f8d-4b18-8ba4-690fac021bbd', 'ip_version': 4, 'cidr': '128.190.129.192/26', 'allocation_pools': [{'start': '128.190.129.194', 'end': '128.190.129.254'}], 'gateway_ip': '128.190.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.190.129.194', 'tags': [], 'project_id': '00a935c5082341f28833803c61414859'}} 2025-11-24 17:43:02,853 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b31f3e1-495e-4042-a8d7-c1a09f019405', 'name': '', 'tenant_id': '00a935c5082341f28833803c61414859', 'network_id': '73128809-5f8d-4b18-8ba4-690fac021bbd', 'ip_version': 4, 'cidr': '221.176.99.64/26', 'allocation_pools': [{'start': '221.176.99.66', 'end': '221.176.99.126'}], 'gateway_ip': '221.176.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.176.99.66', 'tags': [], 'project_id': '00a935c5082341f28833803c61414859'}} 2025-11-24 17:43:02,875 - INFO - Created VN ctest-vn1-81643283 2025-11-24 17:43:02,925 - DEBUG - VN ctest-vn1-81643283 UUID is 73128809-5f8d-4b18-8ba4-690fac021bbd 2025-11-24 17:43:03,236 - DEBUG - Response for create_port : {'port': {'name': 'e0fd021c-007d-44ae-a9dd-eccb0ebadd9c', 'id': 'e0fd021c-007d-44ae-a9dd-eccb0ebadd9c', 'tenant_id': '00a935c5082341f28833803c61414859', 'network_id': '73128809-5f8d-4b18-8ba4-690fac021bbd', 'mac_address': '02:e0:fd:02:1c:00', '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': '128.190.129.197', 'subnet_id': 'a52bae09-21f9-4c96-abce-9be77e6fa04f'}], 'security_groups': ['57011d3b-9fd3-42c5-bd0a-670666754eb4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '00a935c5082341f28833803c61414859'}} 2025-11-24 17:43:03,398 - DEBUG - Response for create_port : {'port': {'name': '4d8c7774-0834-47e6-9c72-780cfd41c120', 'id': '4d8c7774-0834-47e6-9c72-780cfd41c120', 'tenant_id': '00a935c5082341f28833803c61414859', 'network_id': '73128809-5f8d-4b18-8ba4-690fac021bbd', 'mac_address': '02:4d:8c:77:74:08', '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': '221.176.99.69', 'subnet_id': '9b31f3e1-495e-4042-a8d7-c1a09f019405'}], 'security_groups': ['57011d3b-9fd3-42c5-bd0a-670666754eb4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '00a935c5082341f28833803c61414859'}} 2025-11-24 17:43:03,463 - DEBUG - Services list from nova: [, , ] 2025-11-24 17:43:03,831 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4811-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4811-1) 2025-11-24 17:43:04,255 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4811-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4811-1) 2025-11-24 17:43:04,256 - INFO - Waiting for VM ctest-vn1-vm1-16132074 to be up.. 2025-11-24 17:43:04,298 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 17:43:09,375 - DEBUG - VM is in ACTIVE state now 2025-11-24 17:43:09,375 - INFO - VM name : ctest-vn1-vm1-16132074 2025-11-24 17:43:09,445 - DEBUG - VM ctest-vn1-vm1-16132074 ID is 51685254-d17a-40fb-8b9a-06a168cfe5e4 2025-11-24 17:43:09,464 - DEBUG - VM ctest-vn1-vm1-16132074 launched on Node cn-jenkins-deploy-platform-ansible-os-4811-1 2025-11-24 17:43:09,535 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/51685254-d17a-40fb-8b9a-06a168cfe5e4 2025-11-24 17:43:09,543 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/e0fd021c-007d-44ae-a9dd-eccb0ebadd9c 2025-11-24 17:43:12,811 - 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 1030ms') 2025-11-24 17:43:12,811 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16132074 failed! 2025-11-24 17:43:12,865 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72916721:ctest-vn1-81643283 is 128.190.129.193 and allocation pool is NOT set 2025-11-24 17:43:12,865 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72916721:ctest-vn1-81643283 is 221.176.99.65 and allocation pool is NOT set 2025-11-24 17:43:16,944 - 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=2 ttl=63 time=12.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 12.159/12.159/12.159/0.000 ms') 2025-11-24 17:43:16,944 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16132074 passed 2025-11-24 17:43:17,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:43:17,097 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16132074, IP 128.190.129.197, Port 22 2025-11-24 17:43:17,257 - DEBUG - VM ctest-vn1-vm1-16132074 is ready for SSH connections 2025-11-24 17:43:17,257 - INFO - Waiting for VM ctest-vn1-vm2-16645662 to be up.. 2025-11-24 17:43:17,334 - DEBUG - VM is in ACTIVE state now 2025-11-24 17:43:17,334 - INFO - VM name : ctest-vn1-vm2-16645662 2025-11-24 17:43:17,415 - DEBUG - VM ctest-vn1-vm2-16645662 ID is 33ada02a-74ed-4b60-96ad-c7e3d002a859 2025-11-24 17:43:17,415 - DEBUG - VM ctest-vn1-vm2-16645662 launched on Node cn-jenkins-deploy-platform-ansible-os-4811-1 2025-11-24 17:43:17,490 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/33ada02a-74ed-4b60-96ad-c7e3d002a859 2025-11-24 17:43:17,499 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/4d8c7774-0834-47e6-9c72-780cfd41c120 2025-11-24 17:43:18,738 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.483 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.483/1.832/3.181/1.349 ms') 2025-11-24 17:43:18,738 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-16645662 passed 2025-11-24 17:43:18,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:43:18,885 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-16645662, IP 221.176.99.69, Port 22 2025-11-24 17:43:19,040 - DEBUG - VM ctest-vn1-vm2-16645662 is ready for SSH connections 2025-11-24 17:43:19,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:43:19,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:43:19,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:43:19,040 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.190.129.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-24 17:43:19,041 - DEBUG - ping -s 56 -c 3 -W 1 128.190.129.197 2025-11-24 17:43:21,727 - DEBUG - PING 128.190.129.197 (128.190.129.197): 56 data bytes 64 bytes from 128.190.129.197: seq=0 ttl=63 time=4.128 ms 64 bytes from 128.190.129.197: seq=1 ttl=63 time=1.187 ms 64 bytes from 128.190.129.197: seq=2 ttl=63 time=0.891 ms --- 128.190.129.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.891/2.068/4.128 ms 2025-11-24 17:43:21,728 - INFO - Ping to IP 128.190.129.197 from VM ctest-vn1-vm2-16645662 passed 2025-11-24 17:43:21,728 - INFO - Detaching port 4d8c7774-0834-47e6-9c72-780cfd41c120 from VM ctest-vn1-vm2-16645662 2025-11-24 17:43:21,783 - INFO - Deleting VM ctest-vn1-vm2-16645662 2025-11-24 17:43:21,855 - INFO - Detaching port e0fd021c-007d-44ae-a9dd-eccb0ebadd9c from VM ctest-vn1-vm1-16132074 2025-11-24 17:43:21,892 - INFO - Deleting VM ctest-vn1-vm1-16132074 2025-11-24 17:43:22,120 - DEBUG - Response for delete_port : () 2025-11-24 17:43:22,286 - DEBUG - Response for delete_port : () 2025-11-24 17:43:22,286 - INFO - Deleting VN ctest-vn1-81643283 2025-11-24 17:43:22,411 - DEBUG - Response for deleting network () 2025-11-24 17:43:22,667 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 17:43:22,667 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-11-24 17:43:22,667 - INFO - -------------------------------------------------------------------------------- 2025-11-24 17:43:23,432 - INFO - Deleted project: ctest-TestPorts-72916721, ID : 00a935c5-0823-41f2-8833-803c61414859