2025-09-05 12:43:14,998 - INFO - Domain Default found not creating 2025-09-05 12:43:15,142 - INFO - Project ctest-TestPorts-52694089 not found, creating it 2025-09-05 12:43:15,598 - INFO - Created Project:ctest-TestPorts-52694089, ID : 14cfc201-b5e0-4b0f-abe8-ebc4051076bb 2025-09-05 12:43:17,152 - INFO - ================================================================================ 2025-09-05 12:43:17,152 - INFO - STARTING TEST : test_ports_bindings 2025-09-05 12:43:17,152 - 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-05 12:43:17,420 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-05 12:43:17,420 - INFO - Initial checks done. Running the testcase now 2025-09-05 12:43:17,420 - INFO - 2025-09-05 12:43:18,281 - DEBUG - Response for create_network : {'network': {'id': 'd584cfe4-9694-492a-b512-9838f67b4c71', 'name': 'ctest-vn-69334131', 'tenant_id': '14cfc201b5e04b0fabe8ebc4051076bb', 'project_id': '14cfc201b5e04b0fabe8ebc4051076bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52694089', 'ctest-vn-69334131'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 12:43:18,452 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b32ebc5-1e88-40cf-aa05-312ab78e19c8', 'name': '', 'tenant_id': '14cfc201b5e04b0fabe8ebc4051076bb', 'network_id': 'd584cfe4-9694-492a-b512-9838f67b4c71', 'ip_version': 4, 'cidr': '41.172.252.192/26', 'allocation_pools': [{'start': '41.172.252.194', 'end': '41.172.252.254'}], 'gateway_ip': '41.172.252.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.172.252.194', 'tags': [], 'project_id': '14cfc201b5e04b0fabe8ebc4051076bb'}} 2025-09-05 12:43:18,469 - INFO - Created VN ctest-vn-69334131 2025-09-05 12:43:18,521 - DEBUG - VN ctest-vn-69334131 UUID is d584cfe4-9694-492a-b512-9838f67b4c71 2025-09-05 12:43:18,626 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-52694089', 'ctest-vmi-06309400']} 2025-09-05 12:43:18,918 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-06309400', 'id': '01bbefa4-741c-44d8-aa40-857b2f69280e', 'tenant_id': '14cfc201b5e04b0fabe8ebc4051076bb', 'network_id': 'd584cfe4-9694-492a-b512-9838f67b4c71', 'mac_address': '02:01:bb:ef:a4:74', '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': '41.172.252.195', 'subnet_id': '9b32ebc5-1e88-40cf-aa05-312ab78e19c8'}], 'security_groups': ['cb6db006-ba3d-4cbd-a5c4-d62c86a2838b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '14cfc201b5e04b0fabe8ebc4051076bb'}} 2025-09-05 12:43:18,918 - DEBUG - Created port 01bbefa4-741c-44d8-aa40-857b2f69280e 2025-09-05 12:43:19,021 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/01bbefa4-741c-44d8-aa40-857b2f69280e 2025-09-05 12:43:19,353 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/01bbefa4-741c-44d8-aa40-857b2f69280e 2025-09-05 12:43:19,383 - INFO - VMI 01bbefa4-741c-44d8-aa40-857b2f69280e verification in API Server passed 2025-09-05 12:43:19,473 - DEBUG - Response for delete_port : () 2025-09-05 12:43:19,473 - INFO - Deleted port 01bbefa4-741c-44d8-aa40-857b2f69280e 2025-09-05 12:43:19,474 - INFO - Deleting VN ctest-vn-69334131 2025-09-05 12:43:19,582 - DEBUG - Response for deleting network () 2025-09-05 12:43:19,841 - DEBUG - No XMPP flaps were noticed during the test 2025-09-05 12:43:19,841 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-05 12:43:19,842 - INFO - -------------------------------------------------------------------------------- 2025-09-05 12:43:19,844 - INFO - ================================================================================ 2025-09-05 12:43:19,844 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-05 12:43:19,844 - 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-05 12:43:20,141 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-05 12:43:20,141 - INFO - Initial checks done. Running the testcase now 2025-09-05 12:43:20,141 - INFO - 2025-09-05 12:43:20,318 - DEBUG - Response for create_network : {'network': {'id': '4ded9820-fc9e-4a7c-9228-56e1f852415d', 'name': 'ctest-vn1-04341231', 'tenant_id': '14cfc201b5e04b0fabe8ebc4051076bb', 'project_id': '14cfc201b5e04b0fabe8ebc4051076bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52694089', 'ctest-vn1-04341231'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 12:43:20,526 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aea5d4e8-a0cd-4641-afc6-2e2a13d6be43', 'name': '', 'tenant_id': '14cfc201b5e04b0fabe8ebc4051076bb', 'network_id': '4ded9820-fc9e-4a7c-9228-56e1f852415d', 'ip_version': 4, 'cidr': '154.184.136.128/26', 'allocation_pools': [{'start': '154.184.136.130', 'end': '154.184.136.190'}], 'gateway_ip': '154.184.136.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.184.136.130', 'tags': [], 'project_id': '14cfc201b5e04b0fabe8ebc4051076bb'}} 2025-09-05 12:43:20,727 - DEBUG - Response for create_subnet : {'subnet': {'id': '52dd51fd-ae79-453e-bff9-9bdec63c66d0', 'name': '', 'tenant_id': '14cfc201b5e04b0fabe8ebc4051076bb', 'network_id': '4ded9820-fc9e-4a7c-9228-56e1f852415d', 'ip_version': 4, 'cidr': '42.27.165.64/26', 'allocation_pools': [{'start': '42.27.165.66', 'end': '42.27.165.126'}], 'gateway_ip': '42.27.165.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.27.165.66', 'tags': [], 'project_id': '14cfc201b5e04b0fabe8ebc4051076bb'}} 2025-09-05 12:43:20,749 - INFO - Created VN ctest-vn1-04341231 2025-09-05 12:43:20,801 - DEBUG - VN ctest-vn1-04341231 UUID is 4ded9820-fc9e-4a7c-9228-56e1f852415d 2025-09-05 12:43:21,132 - DEBUG - Response for create_port : {'port': {'name': 'e93ae4f6-2b6e-4aba-ac3d-99e47d81bea3', 'id': 'e93ae4f6-2b6e-4aba-ac3d-99e47d81bea3', 'tenant_id': '14cfc201b5e04b0fabe8ebc4051076bb', 'network_id': '4ded9820-fc9e-4a7c-9228-56e1f852415d', 'mac_address': '02:e9:3a:e4:f6:2b', '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': '154.184.136.133', 'subnet_id': 'aea5d4e8-a0cd-4641-afc6-2e2a13d6be43'}], 'security_groups': ['cb6db006-ba3d-4cbd-a5c4-d62c86a2838b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '14cfc201b5e04b0fabe8ebc4051076bb'}} 2025-09-05 12:43:21,331 - DEBUG - Response for create_port : {'port': {'name': '1968a791-859d-4f34-a21d-365a47895b5d', 'id': '1968a791-859d-4f34-a21d-365a47895b5d', 'tenant_id': '14cfc201b5e04b0fabe8ebc4051076bb', 'network_id': '4ded9820-fc9e-4a7c-9228-56e1f852415d', 'mac_address': '02:19:68:a7:91:85', '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': '42.27.165.69', 'subnet_id': '52dd51fd-ae79-453e-bff9-9bdec63c66d0'}], 'security_groups': ['cb6db006-ba3d-4cbd-a5c4-d62c86a2838b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '14cfc201b5e04b0fabe8ebc4051076bb'}} 2025-09-05 12:43:21,390 - DEBUG - Services list from nova: [, , ] 2025-09-05 12:43:21,720 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4024-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4024-1) 2025-09-05 12:43:22,084 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4024-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4024-1) 2025-09-05 12:43:22,085 - INFO - Waiting for VM ctest-vn1-vm1-76623334 to be up.. 2025-09-05 12:43:22,125 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-05 12:43:27,205 - DEBUG - VM is in ACTIVE state now 2025-09-05 12:43:27,205 - INFO - VM name : ctest-vn1-vm1-76623334 2025-09-05 12:43:27,280 - DEBUG - VM ctest-vn1-vm1-76623334 ID is ed6178f0-1dec-4f0c-928c-d39a0d8979d4 2025-09-05 12:43:27,303 - DEBUG - VM ctest-vn1-vm1-76623334 launched on Node cn-jenkins-deploy-platform-ansible-os-4024-1 2025-09-05 12:43:27,383 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ed6178f0-1dec-4f0c-928c-d39a0d8979d4 2025-09-05 12:43:27,391 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e93ae4f6-2b6e-4aba-ac3d-99e47d81bea3 2025-09-05 12:43:30,640 - 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 1014ms') 2025-09-05 12:43:30,640 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76623334 failed! 2025-09-05 12:43:30,693 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52694089:ctest-vn1-04341231 is 154.184.136.129 and allocation pool is NOT set 2025-09-05 12:43:30,693 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52694089:ctest-vn1-04341231 is 42.27.165.65 and allocation pool is NOT set 2025-09-05 12:43:34,771 - 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=8.55 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 8.552/8.552/8.552/0.000 ms') 2025-09-05 12:43:34,771 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76623334 passed 2025-09-05 12:43:34,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:43:34,921 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76623334, IP 154.184.136.133, Port 22 2025-09-05 12:43:35,081 - DEBUG - VM ctest-vn1-vm1-76623334 is ready for SSH connections 2025-09-05 12:43:35,081 - INFO - Waiting for VM ctest-vn1-vm2-47921908 to be up.. 2025-09-05 12:43:35,167 - DEBUG - VM is in ACTIVE state now 2025-09-05 12:43:35,167 - INFO - VM name : ctest-vn1-vm2-47921908 2025-09-05 12:43:35,244 - DEBUG - VM ctest-vn1-vm2-47921908 ID is 50ed9021-60d1-4511-9c72-702df5c7b560 2025-09-05 12:43:35,244 - DEBUG - VM ctest-vn1-vm2-47921908 launched on Node cn-jenkins-deploy-platform-ansible-os-4024-1 2025-09-05 12:43:35,318 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/50ed9021-60d1-4511-9c72-702df5c7b560 2025-09-05 12:43:35,326 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1968a791-859d-4f34-a21d-365a47895b5d 2025-09-05 12:43:36,558 - 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=2.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.387 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.387/1.641/2.895/1.254 ms') 2025-09-05 12:43:36,558 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-47921908 passed 2025-09-05 12:43:36,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:43:36,705 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-47921908, IP 42.27.165.69, Port 22 2025-09-05 12:43:36,875 - DEBUG - VM ctest-vn1-vm2-47921908 is ready for SSH connections 2025-09-05 12:43:36,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:43:36,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:43:36,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:43:36,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.184.136.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-05 12:43:36,876 - DEBUG - ping -s 56 -c 3 -W 1 154.184.136.133 2025-09-05 12:43:39,549 - DEBUG - PING 154.184.136.133 (154.184.136.133): 56 data bytes 64 bytes from 154.184.136.133: seq=0 ttl=63 time=3.600 ms 64 bytes from 154.184.136.133: seq=1 ttl=63 time=1.041 ms 64 bytes from 154.184.136.133: seq=2 ttl=63 time=0.883 ms --- 154.184.136.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.883/1.841/3.600 ms 2025-09-05 12:43:39,549 - INFO - Ping to IP 154.184.136.133 from VM ctest-vn1-vm2-47921908 passed 2025-09-05 12:43:39,550 - INFO - Detaching port 1968a791-859d-4f34-a21d-365a47895b5d from VM ctest-vn1-vm2-47921908 2025-09-05 12:43:39,598 - INFO - Deleting VM ctest-vn1-vm2-47921908 2025-09-05 12:43:39,666 - INFO - Detaching port e93ae4f6-2b6e-4aba-ac3d-99e47d81bea3 from VM ctest-vn1-vm1-76623334 2025-09-05 12:43:39,698 - INFO - Deleting VM ctest-vn1-vm1-76623334 2025-09-05 12:43:39,912 - DEBUG - Response for delete_port : () 2025-09-05 12:43:40,057 - DEBUG - Response for delete_port : () 2025-09-05 12:43:40,057 - INFO - Deleting VN ctest-vn1-04341231 2025-09-05 12:43:40,188 - DEBUG - Response for deleting network () 2025-09-05 12:43:40,458 - DEBUG - No XMPP flaps were noticed during the test 2025-09-05 12:43:40,458 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-09-05 12:43:40,458 - INFO - -------------------------------------------------------------------------------- 2025-09-05 12:43:41,184 - INFO - Deleted project: ctest-TestPorts-52694089, ID : 14cfc201-b5e0-4b0f-abe8-ebc4051076bb