2025-10-24 19:40:38,262 - INFO - Domain Default found not creating 2025-10-24 19:40:38,428 - INFO - Project ctest-TestPorts-67128513 not found, creating it 2025-10-24 19:40:38,917 - INFO - Created Project:ctest-TestPorts-67128513, ID : 92d30d77-25b5-468e-ba55-ea148cccb770 2025-10-24 19:40:40,307 - INFO - ================================================================================ 2025-10-24 19:40:40,307 - INFO - STARTING TEST : test_ports_bindings 2025-10-24 19:40:40,307 - 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-10-24 19:40:40,570 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-24 19:40:40,570 - INFO - Initial checks done. Running the testcase now 2025-10-24 19:40:40,570 - INFO - 2025-10-24 19:40:41,111 - DEBUG - Response for create_network : {'network': {'id': '60a2745e-3f46-4fd1-90a4-f85bba13c17a', 'name': 'ctest-vn-12657364', 'tenant_id': '92d30d7725b5468eba55ea148cccb770', 'project_id': '92d30d7725b5468eba55ea148cccb770', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67128513', 'ctest-vn-12657364'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 19:40:41,276 - DEBUG - Response for create_subnet : {'subnet': {'id': '60bed790-e13c-4d58-b695-f979be6e4cb7', 'name': '', 'tenant_id': '92d30d7725b5468eba55ea148cccb770', 'network_id': '60a2745e-3f46-4fd1-90a4-f85bba13c17a', 'ip_version': 4, 'cidr': '157.8.157.192/26', 'allocation_pools': [{'start': '157.8.157.194', 'end': '157.8.157.254'}], 'gateway_ip': '157.8.157.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.8.157.194', 'tags': [], 'project_id': '92d30d7725b5468eba55ea148cccb770'}} 2025-10-24 19:40:41,292 - INFO - Created VN ctest-vn-12657364 2025-10-24 19:40:41,344 - DEBUG - VN ctest-vn-12657364 UUID is 60a2745e-3f46-4fd1-90a4-f85bba13c17a 2025-10-24 19:40:41,450 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-67128513', 'ctest-vmi-20695673']} 2025-10-24 19:40:41,744 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-20695673', 'id': '9fd5db58-b2c3-4350-9822-bc6ac4d627d9', 'tenant_id': '92d30d7725b5468eba55ea148cccb770', 'network_id': '60a2745e-3f46-4fd1-90a4-f85bba13c17a', 'mac_address': '02:9f:d5:db:58:b2', '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': '157.8.157.195', 'subnet_id': '60bed790-e13c-4d58-b695-f979be6e4cb7'}], 'security_groups': ['5ed26109-f141-4c0e-8236-25ade2bab157'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '92d30d7725b5468eba55ea148cccb770'}} 2025-10-24 19:40:41,744 - DEBUG - Created port 9fd5db58-b2c3-4350-9822-bc6ac4d627d9 2025-10-24 19:40:41,852 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9fd5db58-b2c3-4350-9822-bc6ac4d627d9 2025-10-24 19:40:42,140 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9fd5db58-b2c3-4350-9822-bc6ac4d627d9 2025-10-24 19:40:42,169 - INFO - VMI 9fd5db58-b2c3-4350-9822-bc6ac4d627d9 verification in API Server passed 2025-10-24 19:40:42,255 - DEBUG - Response for delete_port : () 2025-10-24 19:40:42,255 - INFO - Deleted port 9fd5db58-b2c3-4350-9822-bc6ac4d627d9 2025-10-24 19:40:42,256 - INFO - Deleting VN ctest-vn-12657364 2025-10-24 19:40:42,361 - DEBUG - Response for deleting network () 2025-10-24 19:40:42,617 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 19:40:42,617 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-24 19:40:42,617 - INFO - -------------------------------------------------------------------------------- 2025-10-24 19:40:42,619 - INFO - ================================================================================ 2025-10-24 19:40:42,619 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-24 19:40:42,619 - 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-10-24 19:40:42,906 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-24 19:40:42,906 - INFO - Initial checks done. Running the testcase now 2025-10-24 19:40:42,906 - INFO - 2025-10-24 19:40:43,074 - DEBUG - Response for create_network : {'network': {'id': '5c2f1fc0-dbfc-4c35-b8db-d0244da335fd', 'name': 'ctest-vn1-22332482', 'tenant_id': '92d30d7725b5468eba55ea148cccb770', 'project_id': '92d30d7725b5468eba55ea148cccb770', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67128513', 'ctest-vn1-22332482'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 19:40:43,287 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc93999c-2451-4b07-b9d3-68cfdae343bb', 'name': '', 'tenant_id': '92d30d7725b5468eba55ea148cccb770', 'network_id': '5c2f1fc0-dbfc-4c35-b8db-d0244da335fd', 'ip_version': 4, 'cidr': '9.154.84.0/26', 'allocation_pools': [{'start': '9.154.84.2', 'end': '9.154.84.62'}], 'gateway_ip': '9.154.84.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.154.84.2', 'tags': [], 'project_id': '92d30d7725b5468eba55ea148cccb770'}} 2025-10-24 19:40:43,473 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed739b96-d90a-45da-ba9e-6f7b59342bca', 'name': '', 'tenant_id': '92d30d7725b5468eba55ea148cccb770', 'network_id': '5c2f1fc0-dbfc-4c35-b8db-d0244da335fd', 'ip_version': 4, 'cidr': '96.86.163.192/26', 'allocation_pools': [{'start': '96.86.163.194', 'end': '96.86.163.254'}], 'gateway_ip': '96.86.163.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.86.163.194', 'tags': [], 'project_id': '92d30d7725b5468eba55ea148cccb770'}} 2025-10-24 19:40:43,491 - INFO - Created VN ctest-vn1-22332482 2025-10-24 19:40:43,540 - DEBUG - VN ctest-vn1-22332482 UUID is 5c2f1fc0-dbfc-4c35-b8db-d0244da335fd 2025-10-24 19:40:43,832 - DEBUG - Response for create_port : {'port': {'name': 'cbf5f60c-035b-40a6-b758-736e639cd48c', 'id': 'cbf5f60c-035b-40a6-b758-736e639cd48c', 'tenant_id': '92d30d7725b5468eba55ea148cccb770', 'network_id': '5c2f1fc0-dbfc-4c35-b8db-d0244da335fd', 'mac_address': '02:cb:f5:f6:0c:03', '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': '9.154.84.5', 'subnet_id': 'cc93999c-2451-4b07-b9d3-68cfdae343bb'}], 'security_groups': ['5ed26109-f141-4c0e-8236-25ade2bab157'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '92d30d7725b5468eba55ea148cccb770'}} 2025-10-24 19:40:43,983 - DEBUG - Response for create_port : {'port': {'name': '7916365e-22d4-469c-bba2-68bdb0d1e5fa', 'id': '7916365e-22d4-469c-bba2-68bdb0d1e5fa', 'tenant_id': '92d30d7725b5468eba55ea148cccb770', 'network_id': '5c2f1fc0-dbfc-4c35-b8db-d0244da335fd', 'mac_address': '02:79:16:36:5e:22', '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': '96.86.163.197', 'subnet_id': 'ed739b96-d90a-45da-ba9e-6f7b59342bca'}], 'security_groups': ['5ed26109-f141-4c0e-8236-25ade2bab157'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '92d30d7725b5468eba55ea148cccb770'}} 2025-10-24 19:40:44,038 - DEBUG - Services list from nova: [, , ] 2025-10-24 19:40:44,372 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4480-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4480-1) 2025-10-24 19:40:44,868 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4480-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4480-1) 2025-10-24 19:40:44,868 - INFO - Waiting for VM ctest-vn1-vm1-17836976 to be up.. 2025-10-24 19:40:44,907 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 19:40:49,979 - DEBUG - VM is in ACTIVE state now 2025-10-24 19:40:49,980 - INFO - VM name : ctest-vn1-vm1-17836976 2025-10-24 19:40:50,052 - DEBUG - VM ctest-vn1-vm1-17836976 ID is 23092aad-0bd8-456b-8fc7-d865bdf847e4 2025-10-24 19:40:50,070 - DEBUG - VM ctest-vn1-vm1-17836976 launched on Node cn-jenkins-deploy-platform-ansible-os-4480-1 2025-10-24 19:40:50,139 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/23092aad-0bd8-456b-8fc7-d865bdf847e4 2025-10-24 19:40:50,148 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/cbf5f60c-035b-40a6-b758-736e639cd48c 2025-10-24 19:40:53,405 - 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 1027ms') 2025-10-24 19:40:53,405 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17836976 failed! 2025-10-24 19:40:53,464 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67128513:ctest-vn1-22332482 is 9.154.84.1 and allocation pool is NOT set 2025-10-24 19:40:53,464 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67128513:ctest-vn1-22332482 is 96.86.163.193 and allocation pool is NOT set 2025-10-24 19:40:57,542 - 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=5.73 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 5.731/5.731/5.731/0.000 ms') 2025-10-24 19:40:57,542 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17836976 passed 2025-10-24 19:40:57,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:40:57,704 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17836976, IP 9.154.84.5, Port 22 2025-10-24 19:40:57,869 - DEBUG - VM ctest-vn1-vm1-17836976 is ready for SSH connections 2025-10-24 19:40:57,869 - INFO - Waiting for VM ctest-vn1-vm2-84223037 to be up.. 2025-10-24 19:40:57,939 - DEBUG - VM is in ACTIVE state now 2025-10-24 19:40:57,939 - INFO - VM name : ctest-vn1-vm2-84223037 2025-10-24 19:40:58,003 - DEBUG - VM ctest-vn1-vm2-84223037 ID is 995b2ea5-59ee-4013-b754-2a8db33b775a 2025-10-24 19:40:58,003 - DEBUG - VM ctest-vn1-vm2-84223037 launched on Node cn-jenkins-deploy-platform-ansible-os-4480-1 2025-10-24 19:40:58,072 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/995b2ea5-59ee-4013-b754-2a8db33b775a 2025-10-24 19:40:58,084 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/7916365e-22d4-469c-bba2-68bdb0d1e5fa 2025-10-24 19:40:59,315 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 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.412/1.621/2.830/1.209 ms') 2025-10-24 19:40:59,315 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-84223037 passed 2025-10-24 19:40:59,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:40:59,464 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-84223037, IP 96.86.163.197, Port 22 2025-10-24 19:40:59,615 - DEBUG - VM ctest-vn1-vm2-84223037 is ready for SSH connections 2025-10-24 19:40:59,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:40:59,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:40:59,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:40:59,616 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.154.84.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-24 19:40:59,616 - DEBUG - ping -s 56 -c 3 -W 1 9.154.84.5 2025-10-24 19:41:02,319 - DEBUG - PING 9.154.84.5 (9.154.84.5): 56 data bytes 64 bytes from 9.154.84.5: seq=0 ttl=63 time=4.153 ms 64 bytes from 9.154.84.5: seq=1 ttl=63 time=0.777 ms 64 bytes from 9.154.84.5: seq=2 ttl=63 time=0.929 ms --- 9.154.84.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.777/1.953/4.153 ms 2025-10-24 19:41:02,319 - INFO - Ping to IP 9.154.84.5 from VM ctest-vn1-vm2-84223037 passed 2025-10-24 19:41:02,320 - INFO - Detaching port 7916365e-22d4-469c-bba2-68bdb0d1e5fa from VM ctest-vn1-vm2-84223037 2025-10-24 19:41:02,372 - INFO - Deleting VM ctest-vn1-vm2-84223037 2025-10-24 19:41:02,443 - INFO - Detaching port cbf5f60c-035b-40a6-b758-736e639cd48c from VM ctest-vn1-vm1-17836976 2025-10-24 19:41:02,474 - INFO - Deleting VM ctest-vn1-vm1-17836976 2025-10-24 19:41:02,685 - DEBUG - Response for delete_port : () 2025-10-24 19:41:02,819 - DEBUG - Response for delete_port : () 2025-10-24 19:41:02,819 - INFO - Deleting VN ctest-vn1-22332482 2025-10-24 19:41:02,940 - DEBUG - Response for deleting network () 2025-10-24 19:41:03,201 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 19:41:03,201 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-24 19:41:03,201 - INFO - -------------------------------------------------------------------------------- 2025-10-24 19:41:03,868 - INFO - Deleted project: ctest-TestPorts-67128513, ID : 92d30d77-25b5-468e-ba55-ea148cccb770