2025-11-17 17:25:54,147 - INFO - Domain Default found not creating 2025-11-17 17:25:54,431 - INFO - Project ctest-TestPorts-15719412 not found, creating it 2025-11-17 17:25:54,966 - INFO - Created Project:ctest-TestPorts-15719412, ID : 58d8c32a-a34f-4327-aade-989c064a92ef 2025-11-17 17:25:57,107 - INFO - ================================================================================ 2025-11-17 17:25:57,107 - INFO - STARTING TEST : test_ports_bindings 2025-11-17 17:25:57,108 - 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 17:25:57,431 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-17 17:25:57,431 - INFO - Initial checks done. Running the testcase now 2025-11-17 17:25:57,431 - INFO - 2025-11-17 17:25:58,140 - DEBUG - Response for create_network : {'network': {'id': 'b3ac3ce6-5389-4d98-a3dd-e9393fe4555a', 'name': 'ctest-vn-54106485', 'tenant_id': '58d8c32aa34f4327aade989c064a92ef', 'project_id': '58d8c32aa34f4327aade989c064a92ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15719412', 'ctest-vn-54106485'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 17:25:58,332 - DEBUG - Response for create_subnet : {'subnet': {'id': '55a5dcff-5145-4560-8602-b3b2e60a3476', 'name': '', 'tenant_id': '58d8c32aa34f4327aade989c064a92ef', 'network_id': 'b3ac3ce6-5389-4d98-a3dd-e9393fe4555a', 'ip_version': 4, 'cidr': '186.143.178.128/26', 'allocation_pools': [{'start': '186.143.178.130', 'end': '186.143.178.190'}], 'gateway_ip': '186.143.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.143.178.130', 'tags': [], 'project_id': '58d8c32aa34f4327aade989c064a92ef'}} 2025-11-17 17:25:58,360 - INFO - Created VN ctest-vn-54106485 2025-11-17 17:25:58,419 - DEBUG - VN ctest-vn-54106485 UUID is b3ac3ce6-5389-4d98-a3dd-e9393fe4555a 2025-11-17 17:25:58,553 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15719412', 'ctest-vmi-13554964']} 2025-11-17 17:25:58,866 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-13554964', 'id': 'ff43e8a2-9f49-4e17-8d06-c3532b78578d', 'tenant_id': '58d8c32aa34f4327aade989c064a92ef', 'network_id': 'b3ac3ce6-5389-4d98-a3dd-e9393fe4555a', 'mac_address': '02:ff:43:e8:a2:9f', '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': '186.143.178.131', 'subnet_id': '55a5dcff-5145-4560-8602-b3b2e60a3476'}], 'security_groups': ['a6cf947d-8ff3-4ad8-aaf2-2ad54ed910eb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '58d8c32aa34f4327aade989c064a92ef'}} 2025-11-17 17:25:58,866 - DEBUG - Created port ff43e8a2-9f49-4e17-8d06-c3532b78578d 2025-11-17 17:25:58,975 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ff43e8a2-9f49-4e17-8d06-c3532b78578d 2025-11-17 17:25:59,288 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ff43e8a2-9f49-4e17-8d06-c3532b78578d 2025-11-17 17:25:59,368 - INFO - VMI ff43e8a2-9f49-4e17-8d06-c3532b78578d verification in API Server passed 2025-11-17 17:25:59,540 - DEBUG - Response for delete_port : () 2025-11-17 17:25:59,540 - INFO - Deleted port ff43e8a2-9f49-4e17-8d06-c3532b78578d 2025-11-17 17:25:59,540 - INFO - Deleting VN ctest-vn-54106485 2025-11-17 17:25:59,696 - DEBUG - Response for deleting network () 2025-11-17 17:25:59,992 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 17:25:59,992 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-17 17:25:59,992 - INFO - -------------------------------------------------------------------------------- 2025-11-17 17:25:59,994 - INFO - ================================================================================ 2025-11-17 17:25:59,994 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-17 17:25:59,994 - 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 17:26:00,317 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-17 17:26:00,317 - INFO - Initial checks done. Running the testcase now 2025-11-17 17:26:00,317 - INFO - 2025-11-17 17:26:00,605 - DEBUG - Response for create_network : {'network': {'id': '8406864a-cd72-4645-9e7c-65e8cbd33100', 'name': 'ctest-vn1-79510870', 'tenant_id': '58d8c32aa34f4327aade989c064a92ef', 'project_id': '58d8c32aa34f4327aade989c064a92ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15719412', 'ctest-vn1-79510870'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 17:26:00,789 - DEBUG - Response for create_subnet : {'subnet': {'id': '5456ded8-b68e-4a92-bddb-8295d43a418c', 'name': '', 'tenant_id': '58d8c32aa34f4327aade989c064a92ef', 'network_id': '8406864a-cd72-4645-9e7c-65e8cbd33100', 'ip_version': 4, 'cidr': '21.230.216.192/26', 'allocation_pools': [{'start': '21.230.216.194', 'end': '21.230.216.254'}], 'gateway_ip': '21.230.216.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.230.216.194', 'tags': [], 'project_id': '58d8c32aa34f4327aade989c064a92ef'}} 2025-11-17 17:26:01,028 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6bb3e89-789a-4843-8076-514c8468c269', 'name': '', 'tenant_id': '58d8c32aa34f4327aade989c064a92ef', 'network_id': '8406864a-cd72-4645-9e7c-65e8cbd33100', 'ip_version': 4, 'cidr': '112.14.81.128/26', 'allocation_pools': [{'start': '112.14.81.130', 'end': '112.14.81.190'}], 'gateway_ip': '112.14.81.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.14.81.130', 'tags': [], 'project_id': '58d8c32aa34f4327aade989c064a92ef'}} 2025-11-17 17:26:01,067 - INFO - Created VN ctest-vn1-79510870 2025-11-17 17:26:01,135 - DEBUG - VN ctest-vn1-79510870 UUID is 8406864a-cd72-4645-9e7c-65e8cbd33100 2025-11-17 17:26:01,649 - DEBUG - Response for create_port : {'port': {'name': '622c4683-1d98-4193-967f-70ea508168e0', 'id': '622c4683-1d98-4193-967f-70ea508168e0', 'tenant_id': '58d8c32aa34f4327aade989c064a92ef', 'network_id': '8406864a-cd72-4645-9e7c-65e8cbd33100', 'mac_address': '02:62:2c:46:83:1d', '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': '21.230.216.197', 'subnet_id': '5456ded8-b68e-4a92-bddb-8295d43a418c'}], 'security_groups': ['a6cf947d-8ff3-4ad8-aaf2-2ad54ed910eb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '58d8c32aa34f4327aade989c064a92ef'}} 2025-11-17 17:26:01,894 - DEBUG - Response for create_port : {'port': {'name': '428aa7ea-dc28-4634-897a-1db258e3c9be', 'id': '428aa7ea-dc28-4634-897a-1db258e3c9be', 'tenant_id': '58d8c32aa34f4327aade989c064a92ef', 'network_id': '8406864a-cd72-4645-9e7c-65e8cbd33100', 'mac_address': '02:42:8a:a7:ea:dc', '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': '112.14.81.133', 'subnet_id': 'd6bb3e89-789a-4843-8076-514c8468c269'}], 'security_groups': ['a6cf947d-8ff3-4ad8-aaf2-2ad54ed910eb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '58d8c32aa34f4327aade989c064a92ef'}} 2025-11-17 17:26:01,950 - DEBUG - Services list from nova: [, , ] 2025-11-17 17:26:02,599 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4743-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4743-1) 2025-11-17 17:26:03,336 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4743-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4743-1) 2025-11-17 17:26:03,336 - INFO - Waiting for VM ctest-vn1-vm1-79867583 to be up.. 2025-11-17 17:26:03,443 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 17:26:08,552 - DEBUG - VM is in ACTIVE state now 2025-11-17 17:26:08,552 - INFO - VM name : ctest-vn1-vm1-79867583 2025-11-17 17:26:08,663 - DEBUG - VM ctest-vn1-vm1-79867583 ID is e89a8f87-aca7-4089-a09e-83acdfb73d25 2025-11-17 17:26:08,700 - DEBUG - VM ctest-vn1-vm1-79867583 launched on Node cn-jenkins-deploy-platform-ansible-os-4743-1 2025-11-17 17:26:08,808 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e89a8f87-aca7-4089-a09e-83acdfb73d25 2025-11-17 17:26:08,817 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/622c4683-1d98-4193-967f-70ea508168e0 2025-11-17 17:26:12,110 - 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 1019ms') 2025-11-17 17:26:12,110 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79867583 failed! 2025-11-17 17:26:12,192 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15719412:ctest-vn1-79510870 is 21.230.216.193 and allocation pool is NOT set 2025-11-17 17:26:12,192 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15719412:ctest-vn1-79510870 is 112.14.81.129 and allocation pool is NOT set 2025-11-17 17:26:16,268 - 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 1007ms') 2025-11-17 17:26:16,268 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79867583 failed! 2025-11-17 17:26:16,332 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15719412:ctest-vn1-79510870 is 21.230.216.193 and allocation pool is NOT set 2025-11-17 17:26:16,332 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15719412:ctest-vn1-79510870 is 112.14.81.129 and allocation pool is NOT set 2025-11-17 17:26:18,409 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.09 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 = 1.093/5.778/10.463/4.685 ms') 2025-11-17 17:26:18,409 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79867583 passed 2025-11-17 17:26:18,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 17:26:18,595 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79867583, IP 21.230.216.197, Port 22 2025-11-17 17:26:18,795 - DEBUG - VM ctest-vn1-vm1-79867583 is ready for SSH connections 2025-11-17 17:26:18,795 - INFO - Waiting for VM ctest-vn1-vm2-72157962 to be up.. 2025-11-17 17:26:18,994 - DEBUG - VM is in ACTIVE state now 2025-11-17 17:26:18,994 - INFO - VM name : ctest-vn1-vm2-72157962 2025-11-17 17:26:19,129 - DEBUG - VM ctest-vn1-vm2-72157962 ID is e7092ec5-9187-4444-bd3f-ac80931227c2 2025-11-17 17:26:19,129 - DEBUG - VM ctest-vn1-vm2-72157962 launched on Node cn-jenkins-deploy-platform-ansible-os-4743-1 2025-11-17 17:26:19,257 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e7092ec5-9187-4444-bd3f-ac80931227c2 2025-11-17 17:26:19,275 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/428aa7ea-dc28-4634-897a-1db258e3c9be 2025-11-17 17:26:20,600 - 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=4.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.675 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.675/2.479/4.283/1.804 ms') 2025-11-17 17:26:20,600 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-72157962 passed 2025-11-17 17:26:20,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 17:26:20,763 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-72157962, IP 112.14.81.133, Port 22 2025-11-17 17:26:20,965 - DEBUG - VM ctest-vn1-vm2-72157962 is ready for SSH connections 2025-11-17 17:26:20,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 17:26:20,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 17:26:20,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 17:26:20,966 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.230.216.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 17:26:20,967 - DEBUG - ping -s 56 -c 3 -W 1 21.230.216.197 2025-11-17 17:26:24,090 - DEBUG - PING 21.230.216.197 (21.230.216.197): 56 data bytes 64 bytes from 21.230.216.197: seq=0 ttl=63 time=14.306 ms 64 bytes from 21.230.216.197: seq=1 ttl=63 time=2.589 ms 64 bytes from 21.230.216.197: seq=2 ttl=63 time=1.467 ms --- 21.230.216.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.467/6.120/14.306 ms 2025-11-17 17:26:24,090 - INFO - Ping to IP 21.230.216.197 from VM ctest-vn1-vm2-72157962 passed 2025-11-17 17:26:24,091 - INFO - Detaching port 428aa7ea-dc28-4634-897a-1db258e3c9be from VM ctest-vn1-vm2-72157962 2025-11-17 17:26:24,215 - INFO - Deleting VM ctest-vn1-vm2-72157962 2025-11-17 17:26:24,311 - INFO - Detaching port 622c4683-1d98-4193-967f-70ea508168e0 from VM ctest-vn1-vm1-79867583 2025-11-17 17:26:24,389 - INFO - Deleting VM ctest-vn1-vm1-79867583 2025-11-17 17:26:24,746 - DEBUG - Response for delete_port : () 2025-11-17 17:26:24,933 - DEBUG - Response for delete_port : () 2025-11-17 17:26:24,933 - INFO - Deleting VN ctest-vn1-79510870 2025-11-17 17:26:25,072 - DEBUG - Response for deleting network () 2025-11-17 17:26:25,327 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 17:26:25,327 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26] 2025-11-17 17:26:25,327 - INFO - -------------------------------------------------------------------------------- 2025-11-17 17:26:26,061 - INFO - Deleted project: ctest-TestPorts-15719412, ID : 58d8c32a-a34f-4327-aade-989c064a92ef