2025-11-01 16:03:11,046 - INFO - Domain Default found not creating 2025-11-01 16:03:11,206 - INFO - Project ctest-TestPorts-65568080 not found, creating it 2025-11-01 16:03:11,654 - INFO - Created Project:ctest-TestPorts-65568080, ID : cd543ac8-6736-43a7-946b-75b92fdf799f 2025-11-01 16:03:13,223 - INFO - ================================================================================ 2025-11-01 16:03:13,223 - INFO - STARTING TEST : test_ports_bindings 2025-11-01 16:03:13,223 - 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-11-01 16:03:13,477 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-01 16:03:13,477 - INFO - Initial checks done. Running the testcase now 2025-11-01 16:03:13,477 - INFO - 2025-11-01 16:03:14,053 - DEBUG - Response for create_network : {'network': {'id': '9745d16c-9abe-4269-8f7c-6b9a9a5c0745', 'name': 'ctest-vn-17145631', 'tenant_id': 'cd543ac8673643a7946b75b92fdf799f', 'project_id': 'cd543ac8673643a7946b75b92fdf799f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65568080', 'ctest-vn-17145631'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 16:03:14,257 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd00108ef-a738-46b1-abb3-ab070800f4ca', 'name': '', 'tenant_id': 'cd543ac8673643a7946b75b92fdf799f', 'network_id': '9745d16c-9abe-4269-8f7c-6b9a9a5c0745', 'ip_version': 4, 'cidr': '130.163.94.64/26', 'allocation_pools': [{'start': '130.163.94.66', 'end': '130.163.94.126'}], 'gateway_ip': '130.163.94.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.163.94.66', 'tags': [], 'project_id': 'cd543ac8673643a7946b75b92fdf799f'}} 2025-11-01 16:03:14,274 - INFO - Created VN ctest-vn-17145631 2025-11-01 16:03:14,324 - DEBUG - VN ctest-vn-17145631 UUID is 9745d16c-9abe-4269-8f7c-6b9a9a5c0745 2025-11-01 16:03:14,436 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65568080', 'ctest-vmi-04672722']} 2025-11-01 16:03:14,673 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-04672722', 'id': 'b222cf9e-12de-4631-b99a-7a69b48f3dc2', 'tenant_id': 'cd543ac8673643a7946b75b92fdf799f', 'network_id': '9745d16c-9abe-4269-8f7c-6b9a9a5c0745', 'mac_address': '02:b2:22:cf:9e:12', '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': '130.163.94.67', 'subnet_id': 'd00108ef-a738-46b1-abb3-ab070800f4ca'}], 'security_groups': ['985057d5-e6a6-4f9e-b459-945ae105b005'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cd543ac8673643a7946b75b92fdf799f'}} 2025-11-01 16:03:14,673 - DEBUG - Created port b222cf9e-12de-4631-b99a-7a69b48f3dc2 2025-11-01 16:03:14,776 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b222cf9e-12de-4631-b99a-7a69b48f3dc2 2025-11-01 16:03:15,113 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b222cf9e-12de-4631-b99a-7a69b48f3dc2 2025-11-01 16:03:15,146 - INFO - VMI b222cf9e-12de-4631-b99a-7a69b48f3dc2 verification in API Server passed 2025-11-01 16:03:15,233 - DEBUG - Response for delete_port : () 2025-11-01 16:03:15,233 - INFO - Deleted port b222cf9e-12de-4631-b99a-7a69b48f3dc2 2025-11-01 16:03:15,234 - INFO - Deleting VN ctest-vn-17145631 2025-11-01 16:03:15,331 - DEBUG - Response for deleting network () 2025-11-01 16:03:15,599 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 16:03:15,599 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-01 16:03:15,599 - INFO - -------------------------------------------------------------------------------- 2025-11-01 16:03:15,601 - INFO - ================================================================================ 2025-11-01 16:03:15,601 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-01 16:03:15,602 - 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-11-01 16:03:15,889 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-01 16:03:15,889 - INFO - Initial checks done. Running the testcase now 2025-11-01 16:03:15,889 - INFO - 2025-11-01 16:03:16,290 - DEBUG - Response for create_network : {'network': {'id': '58f70594-ff19-46f9-b459-b7cc00f949c5', 'name': 'ctest-vn1-85426442', 'tenant_id': 'cd543ac8673643a7946b75b92fdf799f', 'project_id': 'cd543ac8673643a7946b75b92fdf799f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65568080', 'ctest-vn1-85426442'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 16:03:16,511 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dec761eb-d7b2-4138-8acf-240b4c7a2ab7', 'name': '', 'tenant_id': 'cd543ac8673643a7946b75b92fdf799f', 'network_id': '58f70594-ff19-46f9-b459-b7cc00f949c5', 'ip_version': 4, 'cidr': '1.131.200.64/26', 'allocation_pools': [{'start': '1.131.200.66', 'end': '1.131.200.126'}], 'gateway_ip': '1.131.200.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.131.200.66', 'tags': [], 'project_id': 'cd543ac8673643a7946b75b92fdf799f'}} 2025-11-01 16:03:16,733 - DEBUG - Response for create_subnet : {'subnet': {'id': '2134d4d1-89a4-481d-bca9-b161c413c9b2', 'name': '', 'tenant_id': 'cd543ac8673643a7946b75b92fdf799f', 'network_id': '58f70594-ff19-46f9-b459-b7cc00f949c5', 'ip_version': 4, 'cidr': '69.213.108.128/26', 'allocation_pools': [{'start': '69.213.108.130', 'end': '69.213.108.190'}], 'gateway_ip': '69.213.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.213.108.130', 'tags': [], 'project_id': 'cd543ac8673643a7946b75b92fdf799f'}} 2025-11-01 16:03:16,755 - INFO - Created VN ctest-vn1-85426442 2025-11-01 16:03:16,808 - DEBUG - VN ctest-vn1-85426442 UUID is 58f70594-ff19-46f9-b459-b7cc00f949c5 2025-11-01 16:03:17,108 - DEBUG - Response for create_port : {'port': {'name': 'b7764f03-4301-4394-816e-d982a46a2f55', 'id': 'b7764f03-4301-4394-816e-d982a46a2f55', 'tenant_id': 'cd543ac8673643a7946b75b92fdf799f', 'network_id': '58f70594-ff19-46f9-b459-b7cc00f949c5', 'mac_address': '02:b7:76:4f:03:43', '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': '1.131.200.69', 'subnet_id': 'dec761eb-d7b2-4138-8acf-240b4c7a2ab7'}], 'security_groups': ['985057d5-e6a6-4f9e-b459-945ae105b005'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cd543ac8673643a7946b75b92fdf799f'}} 2025-11-01 16:03:17,287 - DEBUG - Response for create_port : {'port': {'name': '1ec12127-0ba7-4d8f-b98c-f072834b2ab9', 'id': '1ec12127-0ba7-4d8f-b98c-f072834b2ab9', 'tenant_id': 'cd543ac8673643a7946b75b92fdf799f', 'network_id': '58f70594-ff19-46f9-b459-b7cc00f949c5', 'mac_address': '02:1e:c1:21:27:0b', '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.213.108.133', 'subnet_id': '2134d4d1-89a4-481d-bca9-b161c413c9b2'}], 'security_groups': ['985057d5-e6a6-4f9e-b459-945ae105b005'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cd543ac8673643a7946b75b92fdf799f'}} 2025-11-01 16:03:17,342 - DEBUG - Services list from nova: [, , ] 2025-11-01 16:03:17,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4590-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4590-1) 2025-11-01 16:03:18,046 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4590-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4590-1) 2025-11-01 16:03:18,046 - INFO - Waiting for VM ctest-vn1-vm1-88351366 to be up.. 2025-11-01 16:03:18,085 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 16:03:23,165 - DEBUG - VM is in ACTIVE state now 2025-11-01 16:03:23,165 - INFO - VM name : ctest-vn1-vm1-88351366 2025-11-01 16:03:23,254 - DEBUG - VM ctest-vn1-vm1-88351366 ID is 1e158e92-e82e-4d46-b74a-4e1b274025ec 2025-11-01 16:03:23,274 - DEBUG - VM ctest-vn1-vm1-88351366 launched on Node cn-jenkins-deploy-platform-ansible-os-4590-1 2025-11-01 16:03:23,347 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1e158e92-e82e-4d46-b74a-4e1b274025ec 2025-11-01 16:03:23,356 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b7764f03-4301-4394-816e-d982a46a2f55 2025-11-01 16:03:26,607 - 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 1005ms') 2025-11-01 16:03:26,607 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88351366 failed! 2025-11-01 16:03:26,664 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65568080:ctest-vn1-85426442 is 1.131.200.65 and allocation pool is NOT set 2025-11-01 16:03:26,664 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65568080:ctest-vn1-85426442 is 69.213.108.129 and allocation pool is NOT set 2025-11-01 16:03:30,728 - 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.60 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 5.603/5.603/5.603/0.000 ms') 2025-11-01 16:03:30,728 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88351366 passed 2025-11-01 16:03:30,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 16:03:30,884 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88351366, IP 1.131.200.69, Port 22 2025-11-01 16:03:31,051 - DEBUG - VM ctest-vn1-vm1-88351366 is ready for SSH connections 2025-11-01 16:03:31,051 - INFO - Waiting for VM ctest-vn1-vm2-58585916 to be up.. 2025-11-01 16:03:31,125 - DEBUG - VM is in ACTIVE state now 2025-11-01 16:03:31,125 - INFO - VM name : ctest-vn1-vm2-58585916 2025-11-01 16:03:31,202 - DEBUG - VM ctest-vn1-vm2-58585916 ID is bd42229e-4332-41a8-a0a4-3cbd5e142d03 2025-11-01 16:03:31,202 - DEBUG - VM ctest-vn1-vm2-58585916 launched on Node cn-jenkins-deploy-platform-ansible-os-4590-1 2025-11-01 16:03:31,277 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bd42229e-4332-41a8-a0a4-3cbd5e142d03 2025-11-01 16:03:31,285 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1ec12127-0ba7-4d8f-b98c-f072834b2ab9 2025-11-01 16:03:32,519 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.520 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.520/1.976/3.432/1.456 ms') 2025-11-01 16:03:32,520 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-58585916 passed 2025-11-01 16:03:32,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 16:03:32,672 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-58585916, IP 69.213.108.133, Port 22 2025-11-01 16:03:32,838 - DEBUG - VM ctest-vn1-vm2-58585916 is ready for SSH connections 2025-11-01 16:03:32,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 16:03:32,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 16:03:32,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 16:03:32,838 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.131.200.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-01 16:03:32,838 - DEBUG - ping -s 56 -c 3 -W 1 1.131.200.69 2025-11-01 16:03:35,544 - DEBUG - PING 1.131.200.69 (1.131.200.69): 56 data bytes 64 bytes from 1.131.200.69: seq=0 ttl=63 time=4.053 ms 64 bytes from 1.131.200.69: seq=1 ttl=63 time=0.898 ms 64 bytes from 1.131.200.69: seq=2 ttl=63 time=1.078 ms --- 1.131.200.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.898/2.009/4.053 ms 2025-11-01 16:03:35,544 - INFO - Ping to IP 1.131.200.69 from VM ctest-vn1-vm2-58585916 passed 2025-11-01 16:03:35,544 - INFO - Detaching port 1ec12127-0ba7-4d8f-b98c-f072834b2ab9 from VM ctest-vn1-vm2-58585916 2025-11-01 16:03:35,619 - INFO - Deleting VM ctest-vn1-vm2-58585916 2025-11-01 16:03:35,688 - INFO - Detaching port b7764f03-4301-4394-816e-d982a46a2f55 from VM ctest-vn1-vm1-88351366 2025-11-01 16:03:35,723 - INFO - Deleting VM ctest-vn1-vm1-88351366 2025-11-01 16:03:36,003 - DEBUG - Response for delete_port : () 2025-11-01 16:03:36,213 - DEBUG - Response for delete_port : () 2025-11-01 16:03:36,213 - INFO - Deleting VN ctest-vn1-85426442 2025-11-01 16:03:36,364 - DEBUG - Response for deleting network () 2025-11-01 16:03:36,635 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 16:03:36,635 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-01 16:03:36,635 - INFO - -------------------------------------------------------------------------------- 2025-11-01 16:03:37,422 - INFO - Deleted project: ctest-TestPorts-65568080, ID : cd543ac8-6736-43a7-946b-75b92fdf799f