2025-10-24 09:51:56,827 - INFO - Domain Default found not creating 2025-10-24 09:51:56,954 - INFO - Project ctest-TestPorts-56699057 not found, creating it 2025-10-24 09:51:57,392 - INFO - Created Project:ctest-TestPorts-56699057, ID : 334f2214-d217-4b91-b385-714f9a7abd9e 2025-10-24 09:51:58,754 - INFO - ================================================================================ 2025-10-24 09:51:58,754 - INFO - STARTING TEST : test_ports_bindings 2025-10-24 09:51:58,755 - 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 09:51:59,020 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-24 09:51:59,020 - INFO - Initial checks done. Running the testcase now 2025-10-24 09:51:59,020 - INFO - 2025-10-24 09:51:59,536 - DEBUG - Response for create_network : {'network': {'id': '31f28629-28a2-49fa-89d1-13509135427e', 'name': 'ctest-vn-74913038', 'tenant_id': '334f2214d2174b91b385714f9a7abd9e', 'project_id': '334f2214d2174b91b385714f9a7abd9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56699057', 'ctest-vn-74913038'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 09:51:59,721 - DEBUG - Response for create_subnet : {'subnet': {'id': '91203456-0651-4c23-af28-27615b7ad184', 'name': '', 'tenant_id': '334f2214d2174b91b385714f9a7abd9e', 'network_id': '31f28629-28a2-49fa-89d1-13509135427e', 'ip_version': 4, 'cidr': '117.175.254.0/26', 'allocation_pools': [{'start': '117.175.254.2', 'end': '117.175.254.62'}], 'gateway_ip': '117.175.254.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.175.254.2', 'tags': [], 'project_id': '334f2214d2174b91b385714f9a7abd9e'}} 2025-10-24 09:51:59,736 - INFO - Created VN ctest-vn-74913038 2025-10-24 09:51:59,786 - DEBUG - VN ctest-vn-74913038 UUID is 31f28629-28a2-49fa-89d1-13509135427e 2025-10-24 09:51:59,886 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-56699057', 'ctest-vmi-09229142']} 2025-10-24 09:52:00,142 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-09229142', 'id': 'e47c6525-5290-4a0f-9f02-aaefd2eed009', 'tenant_id': '334f2214d2174b91b385714f9a7abd9e', 'network_id': '31f28629-28a2-49fa-89d1-13509135427e', 'mac_address': '02:e4:7c:65:25:52', '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': '117.175.254.3', 'subnet_id': '91203456-0651-4c23-af28-27615b7ad184'}], 'security_groups': ['50a6ed03-1a52-4154-a1ce-dba61640ca42'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '334f2214d2174b91b385714f9a7abd9e'}} 2025-10-24 09:52:00,142 - DEBUG - Created port e47c6525-5290-4a0f-9f02-aaefd2eed009 2025-10-24 09:52:00,246 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e47c6525-5290-4a0f-9f02-aaefd2eed009 2025-10-24 09:52:00,537 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e47c6525-5290-4a0f-9f02-aaefd2eed009 2025-10-24 09:52:00,567 - INFO - VMI e47c6525-5290-4a0f-9f02-aaefd2eed009 verification in API Server passed 2025-10-24 09:52:00,651 - DEBUG - Response for delete_port : () 2025-10-24 09:52:00,651 - INFO - Deleted port e47c6525-5290-4a0f-9f02-aaefd2eed009 2025-10-24 09:52:00,651 - INFO - Deleting VN ctest-vn-74913038 2025-10-24 09:52:00,750 - DEBUG - Response for deleting network () 2025-10-24 09:52:01,003 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 09:52:01,003 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-24 09:52:01,003 - INFO - -------------------------------------------------------------------------------- 2025-10-24 09:52:01,006 - INFO - ================================================================================ 2025-10-24 09:52:01,006 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-24 09:52:01,006 - 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 09:52:01,292 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-24 09:52:01,293 - INFO - Initial checks done. Running the testcase now 2025-10-24 09:52:01,293 - INFO - 2025-10-24 09:52:01,487 - DEBUG - Response for create_network : {'network': {'id': '6749b74a-dd7b-4876-aa94-1f97de5d516b', 'name': 'ctest-vn1-80137953', 'tenant_id': '334f2214d2174b91b385714f9a7abd9e', 'project_id': '334f2214d2174b91b385714f9a7abd9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56699057', 'ctest-vn1-80137953'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 09:52:01,654 - DEBUG - Response for create_subnet : {'subnet': {'id': '76d50348-9e62-4846-8832-fcc5984fe62e', 'name': '', 'tenant_id': '334f2214d2174b91b385714f9a7abd9e', 'network_id': '6749b74a-dd7b-4876-aa94-1f97de5d516b', 'ip_version': 4, 'cidr': '194.129.99.128/26', 'allocation_pools': [{'start': '194.129.99.130', 'end': '194.129.99.190'}], 'gateway_ip': '194.129.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.129.99.130', 'tags': [], 'project_id': '334f2214d2174b91b385714f9a7abd9e'}} 2025-10-24 09:52:01,877 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bcb710d-83be-415f-bd97-e0209e497c97', 'name': '', 'tenant_id': '334f2214d2174b91b385714f9a7abd9e', 'network_id': '6749b74a-dd7b-4876-aa94-1f97de5d516b', 'ip_version': 4, 'cidr': '90.169.168.64/26', 'allocation_pools': [{'start': '90.169.168.66', 'end': '90.169.168.126'}], 'gateway_ip': '90.169.168.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.169.168.66', 'tags': [], 'project_id': '334f2214d2174b91b385714f9a7abd9e'}} 2025-10-24 09:52:01,904 - INFO - Created VN ctest-vn1-80137953 2025-10-24 09:52:01,959 - DEBUG - VN ctest-vn1-80137953 UUID is 6749b74a-dd7b-4876-aa94-1f97de5d516b 2025-10-24 09:52:02,291 - DEBUG - Response for create_port : {'port': {'name': '926cbed3-3794-4b97-b083-164a7bec3023', 'id': '926cbed3-3794-4b97-b083-164a7bec3023', 'tenant_id': '334f2214d2174b91b385714f9a7abd9e', 'network_id': '6749b74a-dd7b-4876-aa94-1f97de5d516b', 'mac_address': '02:92:6c:be:d3:37', '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.129.99.133', 'subnet_id': '76d50348-9e62-4846-8832-fcc5984fe62e'}], 'security_groups': ['50a6ed03-1a52-4154-a1ce-dba61640ca42'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '334f2214d2174b91b385714f9a7abd9e'}} 2025-10-24 09:52:02,471 - DEBUG - Response for create_port : {'port': {'name': 'fed526a6-2f77-4cf9-a3a1-e1b065400e05', 'id': 'fed526a6-2f77-4cf9-a3a1-e1b065400e05', 'tenant_id': '334f2214d2174b91b385714f9a7abd9e', 'network_id': '6749b74a-dd7b-4876-aa94-1f97de5d516b', 'mac_address': '02:fe:d5:26:a6:2f', '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': '90.169.168.69', 'subnet_id': '9bcb710d-83be-415f-bd97-e0209e497c97'}], 'security_groups': ['50a6ed03-1a52-4154-a1ce-dba61640ca42'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '334f2214d2174b91b385714f9a7abd9e'}} 2025-10-24 09:52:02,527 - DEBUG - Services list from nova: [, , ] 2025-10-24 09:52:02,842 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4474-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4474-1) 2025-10-24 09:52:03,239 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4474-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4474-1) 2025-10-24 09:52:03,239 - INFO - Waiting for VM ctest-vn1-vm1-46413445 to be up.. 2025-10-24 09:52:03,279 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 09:52:08,354 - DEBUG - VM is in ACTIVE state now 2025-10-24 09:52:08,354 - INFO - VM name : ctest-vn1-vm1-46413445 2025-10-24 09:52:08,424 - DEBUG - VM ctest-vn1-vm1-46413445 ID is 65a59509-d4bc-4a09-ab45-d0a0909827b5 2025-10-24 09:52:08,444 - DEBUG - VM ctest-vn1-vm1-46413445 launched on Node cn-jenkins-deploy-platform-ansible-os-4474-1 2025-10-24 09:52:08,639 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/65a59509-d4bc-4a09-ab45-d0a0909827b5 2025-10-24 09:52:08,647 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/926cbed3-3794-4b97-b083-164a7bec3023 2025-10-24 09:52:11,890 - 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 1010ms') 2025-10-24 09:52:11,890 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46413445 failed! 2025-10-24 09:52:11,942 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-56699057:ctest-vn1-80137953 is 194.129.99.129 and allocation pool is NOT set 2025-10-24 09:52:11,943 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-56699057:ctest-vn1-80137953 is 90.169.168.65 and allocation pool is NOT set 2025-10-24 09:52:16,011 - 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=6.88 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 = 6.877/6.877/6.877/0.000 ms') 2025-10-24 09:52:16,012 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46413445 passed 2025-10-24 09:52:16,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 09:52:16,163 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-46413445, IP 194.129.99.133, Port 22 2025-10-24 09:52:16,318 - DEBUG - VM ctest-vn1-vm1-46413445 is ready for SSH connections 2025-10-24 09:52:16,318 - INFO - Waiting for VM ctest-vn1-vm2-63270756 to be up.. 2025-10-24 09:52:16,402 - DEBUG - VM is in ACTIVE state now 2025-10-24 09:52:16,402 - INFO - VM name : ctest-vn1-vm2-63270756 2025-10-24 09:52:16,473 - DEBUG - VM ctest-vn1-vm2-63270756 ID is afaa71e7-d25f-46f6-a07f-c84769e202c9 2025-10-24 09:52:16,473 - DEBUG - VM ctest-vn1-vm2-63270756 launched on Node cn-jenkins-deploy-platform-ansible-os-4474-1 2025-10-24 09:52:16,556 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/afaa71e7-d25f-46f6-a07f-c84769e202c9 2025-10-24 09:52:16,565 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/fed526a6-2f77-4cf9-a3a1-e1b065400e05 2025-10-24 09:52:17,804 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.791/3.193/1.401 ms') 2025-10-24 09:52:17,804 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-63270756 passed 2025-10-24 09:52:17,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 09:52:17,951 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-63270756, IP 90.169.168.69, Port 22 2025-10-24 09:52:18,102 - DEBUG - VM ctest-vn1-vm2-63270756 is ready for SSH connections 2025-10-24 09:52:18,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 09:52:18,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 09:52:18,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 09:52:18,102 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.129.99.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-24 09:52:18,102 - DEBUG - ping -s 56 -c 3 -W 1 194.129.99.133 2025-10-24 09:52:21,029 - DEBUG - PING 194.129.99.133 (194.129.99.133): 56 data bytes 64 bytes from 194.129.99.133: seq=0 ttl=63 time=3.629 ms 64 bytes from 194.129.99.133: seq=1 ttl=63 time=0.954 ms 64 bytes from 194.129.99.133: seq=2 ttl=63 time=0.843 ms --- 194.129.99.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.843/1.808/3.629 ms 2025-10-24 09:52:21,029 - INFO - Ping to IP 194.129.99.133 from VM ctest-vn1-vm2-63270756 passed 2025-10-24 09:52:21,029 - INFO - Detaching port fed526a6-2f77-4cf9-a3a1-e1b065400e05 from VM ctest-vn1-vm2-63270756 2025-10-24 09:52:21,074 - INFO - Deleting VM ctest-vn1-vm2-63270756 2025-10-24 09:52:21,136 - INFO - Detaching port 926cbed3-3794-4b97-b083-164a7bec3023 from VM ctest-vn1-vm1-46413445 2025-10-24 09:52:21,172 - INFO - Deleting VM ctest-vn1-vm1-46413445 2025-10-24 09:52:21,385 - DEBUG - Response for delete_port : () 2025-10-24 09:52:21,533 - DEBUG - Response for delete_port : () 2025-10-24 09:52:21,533 - INFO - Deleting VN ctest-vn1-80137953 2025-10-24 09:52:21,641 - DEBUG - Response for deleting network () 2025-10-24 09:52:21,908 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 09:52:21,909 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-10-24 09:52:21,909 - INFO - -------------------------------------------------------------------------------- 2025-10-24 09:52:22,601 - INFO - Deleted project: ctest-TestPorts-56699057, ID : 334f2214-d217-4b91-b385-714f9a7abd9e