2025-09-09 15:20:45,202 - INFO - Domain Default found not creating 2025-09-09 15:20:45,344 - INFO - Project ctest-TestPorts-93261349 not found, creating it 2025-09-09 15:20:45,779 - INFO - Created Project:ctest-TestPorts-93261349, ID : f104bc28-dcf3-4ec9-b8aa-aa6300f8e95c 2025-09-09 15:20:47,336 - INFO - ================================================================================ 2025-09-09 15:20:47,336 - INFO - STARTING TEST : test_ports_bindings 2025-09-09 15:20:47,336 - 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 15:20:47,589 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-09 15:20:47,589 - INFO - Initial checks done. Running the testcase now 2025-09-09 15:20:47,589 - INFO - 2025-09-09 15:20:48,105 - DEBUG - Response for create_network : {'network': {'id': '003e4b5b-4ff1-479a-b23e-f16009e2a417', 'name': 'ctest-vn-15257006', 'tenant_id': 'f104bc28dcf34ec9b8aaaa6300f8e95c', 'project_id': 'f104bc28dcf34ec9b8aaaa6300f8e95c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93261349', 'ctest-vn-15257006'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 15:20:48,240 - DEBUG - Response for create_subnet : {'subnet': {'id': '5762e99b-ca64-48a8-9d57-c5630754e818', 'name': '', 'tenant_id': 'f104bc28dcf34ec9b8aaaa6300f8e95c', 'network_id': '003e4b5b-4ff1-479a-b23e-f16009e2a417', 'ip_version': 4, 'cidr': '194.85.33.128/26', 'allocation_pools': [{'start': '194.85.33.130', 'end': '194.85.33.190'}], 'gateway_ip': '194.85.33.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.85.33.130', 'tags': [], 'project_id': 'f104bc28dcf34ec9b8aaaa6300f8e95c'}} 2025-09-09 15:20:48,255 - INFO - Created VN ctest-vn-15257006 2025-09-09 15:20:48,304 - DEBUG - VN ctest-vn-15257006 UUID is 003e4b5b-4ff1-479a-b23e-f16009e2a417 2025-09-09 15:20:48,401 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-93261349', 'ctest-vmi-04606820']} 2025-09-09 15:20:48,661 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-04606820', 'id': '5c75ebb5-78f0-4866-aed3-e5297366f7cc', 'tenant_id': 'f104bc28dcf34ec9b8aaaa6300f8e95c', 'network_id': '003e4b5b-4ff1-479a-b23e-f16009e2a417', 'mac_address': '02:5c:75:eb:b5:78', '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': '194.85.33.131', 'subnet_id': '5762e99b-ca64-48a8-9d57-c5630754e818'}], 'security_groups': ['21634c81-57b7-4364-9dc7-1189d230dcb4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f104bc28dcf34ec9b8aaaa6300f8e95c'}} 2025-09-09 15:20:48,662 - DEBUG - Created port 5c75ebb5-78f0-4866-aed3-e5297366f7cc 2025-09-09 15:20:48,768 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5c75ebb5-78f0-4866-aed3-e5297366f7cc 2025-09-09 15:20:49,057 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5c75ebb5-78f0-4866-aed3-e5297366f7cc 2025-09-09 15:20:49,085 - INFO - VMI 5c75ebb5-78f0-4866-aed3-e5297366f7cc verification in API Server passed 2025-09-09 15:20:49,162 - DEBUG - Response for delete_port : () 2025-09-09 15:20:49,162 - INFO - Deleted port 5c75ebb5-78f0-4866-aed3-e5297366f7cc 2025-09-09 15:20:49,162 - INFO - Deleting VN ctest-vn-15257006 2025-09-09 15:20:49,248 - DEBUG - Response for deleting network () 2025-09-09 15:20:49,501 - DEBUG - No XMPP flaps were noticed during the test 2025-09-09 15:20:49,501 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-09 15:20:49,501 - INFO - -------------------------------------------------------------------------------- 2025-09-09 15:20:49,504 - INFO - ================================================================================ 2025-09-09 15:20:49,504 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-09 15:20:49,504 - 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 15:20:49,790 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-09 15:20:49,790 - INFO - Initial checks done. Running the testcase now 2025-09-09 15:20:49,790 - INFO - 2025-09-09 15:20:49,954 - DEBUG - Response for create_network : {'network': {'id': '0eae5811-8c7f-49a0-a16d-953273324b1a', 'name': 'ctest-vn1-75465972', 'tenant_id': 'f104bc28dcf34ec9b8aaaa6300f8e95c', 'project_id': 'f104bc28dcf34ec9b8aaaa6300f8e95c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93261349', 'ctest-vn1-75465972'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 15:20:50,122 - DEBUG - Response for create_subnet : {'subnet': {'id': '22b4ac9b-dca7-4f2e-8463-5f123e3138cd', 'name': '', 'tenant_id': 'f104bc28dcf34ec9b8aaaa6300f8e95c', 'network_id': '0eae5811-8c7f-49a0-a16d-953273324b1a', 'ip_version': 4, 'cidr': '105.121.143.64/26', 'allocation_pools': [{'start': '105.121.143.66', 'end': '105.121.143.126'}], 'gateway_ip': '105.121.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.121.143.66', 'tags': [], 'project_id': 'f104bc28dcf34ec9b8aaaa6300f8e95c'}} 2025-09-09 15:20:50,265 - DEBUG - Response for create_subnet : {'subnet': {'id': '0649ea08-2982-4a8e-817e-a4dcdcef9a8f', 'name': '', 'tenant_id': 'f104bc28dcf34ec9b8aaaa6300f8e95c', 'network_id': '0eae5811-8c7f-49a0-a16d-953273324b1a', 'ip_version': 4, 'cidr': '210.35.240.0/26', 'allocation_pools': [{'start': '210.35.240.2', 'end': '210.35.240.62'}], 'gateway_ip': '210.35.240.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.35.240.2', 'tags': [], 'project_id': 'f104bc28dcf34ec9b8aaaa6300f8e95c'}} 2025-09-09 15:20:50,284 - INFO - Created VN ctest-vn1-75465972 2025-09-09 15:20:50,336 - DEBUG - VN ctest-vn1-75465972 UUID is 0eae5811-8c7f-49a0-a16d-953273324b1a 2025-09-09 15:20:50,615 - DEBUG - Response for create_port : {'port': {'name': '962c8a22-4906-4408-aa92-438ac58b1079', 'id': '962c8a22-4906-4408-aa92-438ac58b1079', 'tenant_id': 'f104bc28dcf34ec9b8aaaa6300f8e95c', 'network_id': '0eae5811-8c7f-49a0-a16d-953273324b1a', 'mac_address': '02:96:2c:8a:22:49', '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': '105.121.143.69', 'subnet_id': '22b4ac9b-dca7-4f2e-8463-5f123e3138cd'}], 'security_groups': ['21634c81-57b7-4364-9dc7-1189d230dcb4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f104bc28dcf34ec9b8aaaa6300f8e95c'}} 2025-09-09 15:20:50,760 - DEBUG - Response for create_port : {'port': {'name': '625b42c7-1396-4fa8-8610-19af97ca54c1', 'id': '625b42c7-1396-4fa8-8610-19af97ca54c1', 'tenant_id': 'f104bc28dcf34ec9b8aaaa6300f8e95c', 'network_id': '0eae5811-8c7f-49a0-a16d-953273324b1a', 'mac_address': '02:62:5b:42:c7:13', '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': '210.35.240.5', 'subnet_id': '0649ea08-2982-4a8e-817e-a4dcdcef9a8f'}], 'security_groups': ['21634c81-57b7-4364-9dc7-1189d230dcb4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f104bc28dcf34ec9b8aaaa6300f8e95c'}} 2025-09-09 15:20:50,813 - DEBUG - Services list from nova: [, , ] 2025-09-09 15:20:51,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4061-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4061-1) 2025-09-09 15:20:51,461 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4061-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4061-1) 2025-09-09 15:20:51,461 - INFO - Waiting for VM ctest-vn1-vm1-61641412 to be up.. 2025-09-09 15:20:51,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-09 15:20:56,565 - DEBUG - VM is in ACTIVE state now 2025-09-09 15:20:56,565 - INFO - VM name : ctest-vn1-vm1-61641412 2025-09-09 15:20:56,636 - DEBUG - VM ctest-vn1-vm1-61641412 ID is b641fa6d-dfed-405b-9475-04e0bffbb69f 2025-09-09 15:20:56,656 - DEBUG - VM ctest-vn1-vm1-61641412 launched on Node cn-jenkins-deploy-platform-ansible-os-4061-1 2025-09-09 15:20:56,734 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b641fa6d-dfed-405b-9475-04e0bffbb69f 2025-09-09 15:20:56,742 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/962c8a22-4906-4408-aa92-438ac58b1079 2025-09-09 15:21:00,003 - 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 1019ms') 2025-09-09 15:21:00,004 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-61641412 failed! 2025-09-09 15:21:00,060 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93261349:ctest-vn1-75465972 is 105.121.143.65 and allocation pool is NOT set 2025-09-09 15:21:00,060 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93261349:ctest-vn1-75465972 is 210.35.240.1 and allocation pool is NOT set 2025-09-09 15:21:02,126 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.08 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.082/3.028/4.975/1.946 ms') 2025-09-09 15:21:02,126 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-61641412 passed 2025-09-09 15:21:02,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 15:21:02,276 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61641412, IP 105.121.143.69, Port 22 2025-09-09 15:21:02,436 - DEBUG - VM ctest-vn1-vm1-61641412 is ready for SSH connections 2025-09-09 15:21:02,436 - INFO - Waiting for VM ctest-vn1-vm2-65380098 to be up.. 2025-09-09 15:21:02,509 - DEBUG - VM is in ACTIVE state now 2025-09-09 15:21:02,509 - INFO - VM name : ctest-vn1-vm2-65380098 2025-09-09 15:21:02,578 - DEBUG - VM ctest-vn1-vm2-65380098 ID is 233460cf-6681-4f30-8ea0-9aef6e65df40 2025-09-09 15:21:02,578 - DEBUG - VM ctest-vn1-vm2-65380098 launched on Node cn-jenkins-deploy-platform-ansible-os-4061-1 2025-09-09 15:21:02,763 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/233460cf-6681-4f30-8ea0-9aef6e65df40 2025-09-09 15:21:02,770 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/625b42c7-1396-4fa8-8610-19af97ca54c1 2025-09-09 15:21:04,003 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.78 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 = 2.776/3.649/4.522/0.873 ms') 2025-09-09 15:21:04,003 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-65380098 passed 2025-09-09 15:21:04,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 15:21:04,153 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-65380098, IP 210.35.240.5, Port 22 2025-09-09 15:21:04,308 - DEBUG - VM ctest-vn1-vm2-65380098 is ready for SSH connections 2025-09-09 15:21:04,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 15:21:04,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 15:21:04,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 15:21:04,308 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.121.143.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-09 15:21:04,309 - DEBUG - ping -s 56 -c 3 -W 1 105.121.143.69 2025-09-09 15:21:08,297 - DEBUG - PING 105.121.143.69 (105.121.143.69): 56 data bytes 64 bytes from 105.121.143.69: seq=0 ttl=63 time=3.664 ms 64 bytes from 105.121.143.69: seq=1 ttl=63 time=0.772 ms 64 bytes from 105.121.143.69: seq=2 ttl=63 time=0.950 ms --- 105.121.143.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/1.795/3.664 ms 2025-09-09 15:21:08,297 - INFO - Ping to IP 105.121.143.69 from VM ctest-vn1-vm2-65380098 passed 2025-09-09 15:21:08,297 - INFO - Detaching port 625b42c7-1396-4fa8-8610-19af97ca54c1 from VM ctest-vn1-vm2-65380098 2025-09-09 15:21:08,342 - INFO - Deleting VM ctest-vn1-vm2-65380098 2025-09-09 15:21:08,408 - INFO - Detaching port 962c8a22-4906-4408-aa92-438ac58b1079 from VM ctest-vn1-vm1-61641412 2025-09-09 15:21:08,438 - INFO - Deleting VM ctest-vn1-vm1-61641412 2025-09-09 15:21:08,645 - DEBUG - Response for delete_port : () 2025-09-09 15:21:08,796 - DEBUG - Response for delete_port : () 2025-09-09 15:21:08,796 - INFO - Deleting VN ctest-vn1-75465972 2025-09-09 15:21:08,922 - DEBUG - Response for deleting network () 2025-09-09 15:21:09,186 - DEBUG - No XMPP flaps were noticed during the test 2025-09-09 15:21:09,186 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20] 2025-09-09 15:21:09,186 - INFO - -------------------------------------------------------------------------------- 2025-09-09 15:21:09,843 - INFO - Deleted project: ctest-TestPorts-93261349, ID : f104bc28-dcf3-4ec9-b8aa-aa6300f8e95c