2025-09-09 20:49:27,077 - INFO - Domain Default found not creating 2025-09-09 20:49:27,207 - INFO - Project ctest-TestPorts-41242710 not found, creating it 2025-09-09 20:49:27,640 - INFO - Created Project:ctest-TestPorts-41242710, ID : 1e032865-a71f-412e-b32f-1c262576cd4c 2025-09-09 20:49:28,969 - INFO - ================================================================================ 2025-09-09 20:49:28,969 - INFO - STARTING TEST : test_ports_bindings 2025-09-09 20:49:28,969 - 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-09 20:49:29,221 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-09 20:49:29,221 - INFO - Initial checks done. Running the testcase now 2025-09-09 20:49:29,221 - INFO - 2025-09-09 20:49:29,857 - DEBUG - Response for create_network : {'network': {'id': '1c05f41d-2ef7-46ae-ba1f-b820efee1281', 'name': 'ctest-vn-96362090', 'tenant_id': '1e032865a71f412eb32f1c262576cd4c', 'project_id': '1e032865a71f412eb32f1c262576cd4c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41242710', 'ctest-vn-96362090'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 20:49:30,021 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a67e00ee-d84e-4f09-bbc1-965c3a148a5b', 'name': '', 'tenant_id': '1e032865a71f412eb32f1c262576cd4c', 'network_id': '1c05f41d-2ef7-46ae-ba1f-b820efee1281', 'ip_version': 4, 'cidr': '151.87.91.192/26', 'allocation_pools': [{'start': '151.87.91.194', 'end': '151.87.91.254'}], 'gateway_ip': '151.87.91.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.87.91.194', 'tags': [], 'project_id': '1e032865a71f412eb32f1c262576cd4c'}} 2025-09-09 20:49:30,038 - INFO - Created VN ctest-vn-96362090 2025-09-09 20:49:30,088 - DEBUG - VN ctest-vn-96362090 UUID is 1c05f41d-2ef7-46ae-ba1f-b820efee1281 2025-09-09 20:49:30,188 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41242710', 'ctest-vmi-73102459']} 2025-09-09 20:49:30,467 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-73102459', 'id': '1dc04f70-cfe7-4349-948a-30ad2360192e', 'tenant_id': '1e032865a71f412eb32f1c262576cd4c', 'network_id': '1c05f41d-2ef7-46ae-ba1f-b820efee1281', 'mac_address': '02:1d:c0:4f:70:cf', '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': '151.87.91.195', 'subnet_id': 'a67e00ee-d84e-4f09-bbc1-965c3a148a5b'}], 'security_groups': ['5faf61ff-7936-4176-9152-d122820376f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1e032865a71f412eb32f1c262576cd4c'}} 2025-09-09 20:49:30,467 - DEBUG - Created port 1dc04f70-cfe7-4349-948a-30ad2360192e 2025-09-09 20:49:30,572 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/1dc04f70-cfe7-4349-948a-30ad2360192e 2025-09-09 20:49:30,861 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/1dc04f70-cfe7-4349-948a-30ad2360192e 2025-09-09 20:49:30,889 - INFO - VMI 1dc04f70-cfe7-4349-948a-30ad2360192e verification in API Server passed 2025-09-09 20:49:30,969 - DEBUG - Response for delete_port : () 2025-09-09 20:49:30,969 - INFO - Deleted port 1dc04f70-cfe7-4349-948a-30ad2360192e 2025-09-09 20:49:30,969 - INFO - Deleting VN ctest-vn-96362090 2025-09-09 20:49:31,061 - DEBUG - Response for deleting network () 2025-09-09 20:49:31,317 - DEBUG - No XMPP flaps were noticed during the test 2025-09-09 20:49:31,317 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-09 20:49:31,317 - INFO - -------------------------------------------------------------------------------- 2025-09-09 20:49:31,319 - INFO - ================================================================================ 2025-09-09 20:49:31,319 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-09 20:49:31,319 - 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-09 20:49:31,604 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-09 20:49:31,604 - INFO - Initial checks done. Running the testcase now 2025-09-09 20:49:31,604 - INFO - 2025-09-09 20:49:31,767 - DEBUG - Response for create_network : {'network': {'id': 'b83f5335-0980-4a60-99cd-534aadfc0024', 'name': 'ctest-vn1-21854198', 'tenant_id': '1e032865a71f412eb32f1c262576cd4c', 'project_id': '1e032865a71f412eb32f1c262576cd4c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41242710', 'ctest-vn1-21854198'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 20:49:31,921 - DEBUG - Response for create_subnet : {'subnet': {'id': '98adfab2-0552-4743-9790-f78bbe16764c', 'name': '', 'tenant_id': '1e032865a71f412eb32f1c262576cd4c', 'network_id': 'b83f5335-0980-4a60-99cd-534aadfc0024', 'ip_version': 4, 'cidr': '69.254.200.128/26', 'allocation_pools': [{'start': '69.254.200.130', 'end': '69.254.200.190'}], 'gateway_ip': '69.254.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.254.200.130', 'tags': [], 'project_id': '1e032865a71f412eb32f1c262576cd4c'}} 2025-09-09 20:49:32,089 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b28752c-5903-4ec5-aa85-5f1d82383870', 'name': '', 'tenant_id': '1e032865a71f412eb32f1c262576cd4c', 'network_id': 'b83f5335-0980-4a60-99cd-534aadfc0024', 'ip_version': 4, 'cidr': '197.12.202.128/26', 'allocation_pools': [{'start': '197.12.202.130', 'end': '197.12.202.190'}], 'gateway_ip': '197.12.202.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.12.202.130', 'tags': [], 'project_id': '1e032865a71f412eb32f1c262576cd4c'}} 2025-09-09 20:49:32,106 - INFO - Created VN ctest-vn1-21854198 2025-09-09 20:49:32,156 - DEBUG - VN ctest-vn1-21854198 UUID is b83f5335-0980-4a60-99cd-534aadfc0024 2025-09-09 20:49:32,423 - DEBUG - Response for create_port : {'port': {'name': '69d5e9c6-f3d3-49db-bece-ba946e3b6776', 'id': '69d5e9c6-f3d3-49db-bece-ba946e3b6776', 'tenant_id': '1e032865a71f412eb32f1c262576cd4c', 'network_id': 'b83f5335-0980-4a60-99cd-534aadfc0024', 'mac_address': '02:69:d5:e9:c6:f3', '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': '69.254.200.133', 'subnet_id': '98adfab2-0552-4743-9790-f78bbe16764c'}], 'security_groups': ['5faf61ff-7936-4176-9152-d122820376f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1e032865a71f412eb32f1c262576cd4c'}} 2025-09-09 20:49:32,574 - DEBUG - Response for create_port : {'port': {'name': 'c8eee3f1-948e-4708-9286-f6d070b975c0', 'id': 'c8eee3f1-948e-4708-9286-f6d070b975c0', 'tenant_id': '1e032865a71f412eb32f1c262576cd4c', 'network_id': 'b83f5335-0980-4a60-99cd-534aadfc0024', 'mac_address': '02:c8:ee:e3:f1:94', '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': '197.12.202.133', 'subnet_id': '5b28752c-5903-4ec5-aa85-5f1d82383870'}], 'security_groups': ['5faf61ff-7936-4176-9152-d122820376f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1e032865a71f412eb32f1c262576cd4c'}} 2025-09-09 20:49:32,622 - DEBUG - Services list from nova: [, , ] 2025-09-09 20:49:32,907 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4062-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4062-1) 2025-09-09 20:49:33,239 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4062-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4062-1) 2025-09-09 20:49:33,239 - INFO - Waiting for VM ctest-vn1-vm1-62570608 to be up.. 2025-09-09 20:49:33,281 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-09 20:49:38,348 - DEBUG - VM is in ACTIVE state now 2025-09-09 20:49:38,349 - INFO - VM name : ctest-vn1-vm1-62570608 2025-09-09 20:49:38,414 - DEBUG - VM ctest-vn1-vm1-62570608 ID is 65b8f612-1f36-4004-9311-433872aa60b9 2025-09-09 20:49:38,430 - DEBUG - VM ctest-vn1-vm1-62570608 launched on Node cn-jenkins-deploy-platform-ansible-os-4062-1 2025-09-09 20:49:38,508 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/65b8f612-1f36-4004-9311-433872aa60b9 2025-09-09 20:49:38,516 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/69d5e9c6-f3d3-49db-bece-ba946e3b6776 2025-09-09 20:49:41,748 - 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 1003ms') 2025-09-09 20:49:41,748 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-62570608 failed! 2025-09-09 20:49:41,801 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41242710:ctest-vn1-21854198 is 69.254.200.129 and allocation pool is NOT set 2025-09-09 20:49:41,801 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41242710:ctest-vn1-21854198 is 197.12.202.129 and allocation pool is NOT set 2025-09-09 20:49:43,895 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.34 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 = 1.335/2.614/3.893/1.279 ms') 2025-09-09 20:49:43,895 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-62570608 passed 2025-09-09 20:49:44,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 20:49:44,040 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62570608, IP 69.254.200.133, Port 22 2025-09-09 20:49:44,191 - DEBUG - VM ctest-vn1-vm1-62570608 is ready for SSH connections 2025-09-09 20:49:44,191 - INFO - Waiting for VM ctest-vn1-vm2-48905116 to be up.. 2025-09-09 20:49:44,257 - DEBUG - VM is in ACTIVE state now 2025-09-09 20:49:44,257 - INFO - VM name : ctest-vn1-vm2-48905116 2025-09-09 20:49:44,317 - DEBUG - VM ctest-vn1-vm2-48905116 ID is 5fae77c1-ffbd-4095-9093-67aeaae41238 2025-09-09 20:49:44,317 - DEBUG - VM ctest-vn1-vm2-48905116 launched on Node cn-jenkins-deploy-platform-ansible-os-4062-1 2025-09-09 20:49:44,382 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/5fae77c1-ffbd-4095-9093-67aeaae41238 2025-09-09 20:49:44,389 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c8eee3f1-948e-4708-9286-f6d070b975c0 2025-09-09 20:49:45,618 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.44 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.442/3.090/4.738/1.648 ms') 2025-09-09 20:49:45,618 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-48905116 passed 2025-09-09 20:49:45,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 20:49:45,768 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-48905116, IP 197.12.202.133, Port 22 2025-09-09 20:49:45,920 - DEBUG - VM ctest-vn1-vm2-48905116 is ready for SSH connections 2025-09-09 20:49:45,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 20:49:45,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 20:49:45,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 20:49:45,920 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.254.200.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-09 20:49:45,920 - DEBUG - ping -s 56 -c 3 -W 1 69.254.200.133 2025-09-09 20:49:49,908 - DEBUG - PING 69.254.200.133 (69.254.200.133): 56 data bytes 64 bytes from 69.254.200.133: seq=0 ttl=63 time=3.635 ms 64 bytes from 69.254.200.133: seq=1 ttl=63 time=0.740 ms 64 bytes from 69.254.200.133: seq=2 ttl=63 time=0.767 ms --- 69.254.200.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.740/1.714/3.635 ms 2025-09-09 20:49:49,908 - INFO - Ping to IP 69.254.200.133 from VM ctest-vn1-vm2-48905116 passed 2025-09-09 20:49:49,908 - INFO - Detaching port c8eee3f1-948e-4708-9286-f6d070b975c0 from VM ctest-vn1-vm2-48905116 2025-09-09 20:49:49,956 - INFO - Deleting VM ctest-vn1-vm2-48905116 2025-09-09 20:49:50,020 - INFO - Detaching port 69d5e9c6-f3d3-49db-bece-ba946e3b6776 from VM ctest-vn1-vm1-62570608 2025-09-09 20:49:50,056 - INFO - Deleting VM ctest-vn1-vm1-62570608 2025-09-09 20:49:50,262 - DEBUG - Response for delete_port : () 2025-09-09 20:49:50,395 - DEBUG - Response for delete_port : () 2025-09-09 20:49:50,395 - INFO - Deleting VN ctest-vn1-21854198 2025-09-09 20:49:50,523 - DEBUG - Response for deleting network () 2025-09-09 20:49:50,784 - DEBUG - No XMPP flaps were noticed during the test 2025-09-09 20:49:50,784 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-09-09 20:49:50,784 - INFO - -------------------------------------------------------------------------------- 2025-09-09 20:49:51,435 - INFO - Deleted project: ctest-TestPorts-41242710, ID : 1e032865-a71f-412e-b32f-1c262576cd4c