2025-10-30 14:03:01,191 - INFO - Domain Default found not creating 2025-10-30 14:03:01,335 - INFO - Project ctest-TestPorts-83618726 not found, creating it 2025-10-30 14:03:01,792 - INFO - Created Project:ctest-TestPorts-83618726, ID : fc40b016-3c4e-4af4-bee7-155021693fe2 2025-10-30 14:03:03,248 - INFO - ================================================================================ 2025-10-30 14:03:03,249 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 14:03:03,249 - 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-30 14:03:03,503 - DEBUG - Nothing to compare xmpp stats {'10.0.0.128': {'10.20.0.14': '0'}} with 2025-10-30 14:03:03,503 - INFO - Initial checks done. Running the testcase now 2025-10-30 14:03:03,503 - INFO - 2025-10-30 14:03:04,063 - DEBUG - Response for create_network : {'network': {'id': '42b8c7ab-7e7c-4796-91d9-8d9bf45375d1', 'name': 'ctest-vn-75630141', 'tenant_id': 'fc40b0163c4e4af4bee7155021693fe2', 'project_id': 'fc40b0163c4e4af4bee7155021693fe2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83618726', 'ctest-vn-75630141'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:03:04,297 - DEBUG - Response for create_subnet : {'subnet': {'id': '6076cecb-03d1-424a-939f-13d9516e34ee', 'name': '', 'tenant_id': 'fc40b0163c4e4af4bee7155021693fe2', 'network_id': '42b8c7ab-7e7c-4796-91d9-8d9bf45375d1', 'ip_version': 4, 'cidr': '13.198.161.64/26', 'allocation_pools': [{'start': '13.198.161.66', 'end': '13.198.161.126'}], 'gateway_ip': '13.198.161.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.198.161.66', 'tags': [], 'project_id': 'fc40b0163c4e4af4bee7155021693fe2'}} 2025-10-30 14:03:04,317 - INFO - Created VN ctest-vn-75630141 2025-10-30 14:03:04,368 - DEBUG - VN ctest-vn-75630141 UUID is 42b8c7ab-7e7c-4796-91d9-8d9bf45375d1 2025-10-30 14:03:04,487 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-83618726', 'ctest-vmi-55902785']} 2025-10-30 14:03:04,733 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-55902785', 'id': '83332b16-070a-4400-a814-d31615fa88a3', 'tenant_id': 'fc40b0163c4e4af4bee7155021693fe2', 'network_id': '42b8c7ab-7e7c-4796-91d9-8d9bf45375d1', 'mac_address': '02:83:33:2b:16:07', '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': '13.198.161.67', 'subnet_id': '6076cecb-03d1-424a-939f-13d9516e34ee'}], 'security_groups': ['6594ccfb-c49a-4692-b654-127b918629a9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fc40b0163c4e4af4bee7155021693fe2'}} 2025-10-30 14:03:04,733 - DEBUG - Created port 83332b16-070a-4400-a814-d31615fa88a3 2025-10-30 14:03:04,840 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/83332b16-070a-4400-a814-d31615fa88a3 2025-10-30 14:03:05,131 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/83332b16-070a-4400-a814-d31615fa88a3 2025-10-30 14:03:05,164 - INFO - VMI 83332b16-070a-4400-a814-d31615fa88a3 verification in API Server passed 2025-10-30 14:03:05,262 - DEBUG - Response for delete_port : () 2025-10-30 14:03:05,262 - INFO - Deleted port 83332b16-070a-4400-a814-d31615fa88a3 2025-10-30 14:03:05,262 - INFO - Deleting VN ctest-vn-75630141 2025-10-30 14:03:05,369 - DEBUG - Response for deleting network () 2025-10-30 14:03:05,621 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 14:03:05,621 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-30 14:03:05,621 - INFO - -------------------------------------------------------------------------------- 2025-10-30 14:03:05,623 - INFO - ================================================================================ 2025-10-30 14:03:05,624 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 14:03:05,624 - 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-30 14:03:05,914 - DEBUG - Nothing to compare xmpp stats {'10.0.0.128': {'10.20.0.14': '0'}} with 2025-10-30 14:03:05,914 - INFO - Initial checks done. Running the testcase now 2025-10-30 14:03:05,914 - INFO - 2025-10-30 14:03:06,089 - DEBUG - Response for create_network : {'network': {'id': 'c61975dd-2a2f-434e-a7e7-6a5346731590', 'name': 'ctest-vn1-13542252', 'tenant_id': 'fc40b0163c4e4af4bee7155021693fe2', 'project_id': 'fc40b0163c4e4af4bee7155021693fe2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83618726', 'ctest-vn1-13542252'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:03:06,247 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f171df38-e39c-485d-b4d1-626ffbe63308', 'name': '', 'tenant_id': 'fc40b0163c4e4af4bee7155021693fe2', 'network_id': 'c61975dd-2a2f-434e-a7e7-6a5346731590', 'ip_version': 4, 'cidr': '190.177.138.64/26', 'allocation_pools': [{'start': '190.177.138.66', 'end': '190.177.138.126'}], 'gateway_ip': '190.177.138.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.177.138.66', 'tags': [], 'project_id': 'fc40b0163c4e4af4bee7155021693fe2'}} 2025-10-30 14:03:06,431 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e0f61d0-125b-4737-a651-840aa25254bc', 'name': '', 'tenant_id': 'fc40b0163c4e4af4bee7155021693fe2', 'network_id': 'c61975dd-2a2f-434e-a7e7-6a5346731590', 'ip_version': 4, 'cidr': '164.102.148.0/26', 'allocation_pools': [{'start': '164.102.148.2', 'end': '164.102.148.62'}], 'gateway_ip': '164.102.148.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.102.148.2', 'tags': [], 'project_id': 'fc40b0163c4e4af4bee7155021693fe2'}} 2025-10-30 14:03:06,451 - INFO - Created VN ctest-vn1-13542252 2025-10-30 14:03:06,504 - DEBUG - VN ctest-vn1-13542252 UUID is c61975dd-2a2f-434e-a7e7-6a5346731590 2025-10-30 14:03:06,814 - DEBUG - Response for create_port : {'port': {'name': '4e6b2857-546a-43dd-9465-cb51b45db94c', 'id': '4e6b2857-546a-43dd-9465-cb51b45db94c', 'tenant_id': 'fc40b0163c4e4af4bee7155021693fe2', 'network_id': 'c61975dd-2a2f-434e-a7e7-6a5346731590', 'mac_address': '02:4e:6b:28:57:54', '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': '190.177.138.69', 'subnet_id': 'f171df38-e39c-485d-b4d1-626ffbe63308'}], 'security_groups': ['6594ccfb-c49a-4692-b654-127b918629a9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fc40b0163c4e4af4bee7155021693fe2'}} 2025-10-30 14:03:06,984 - DEBUG - Response for create_port : {'port': {'name': '54af246e-00d0-46bb-86e1-7858079bc3ae', 'id': '54af246e-00d0-46bb-86e1-7858079bc3ae', 'tenant_id': 'fc40b0163c4e4af4bee7155021693fe2', 'network_id': 'c61975dd-2a2f-434e-a7e7-6a5346731590', 'mac_address': '02:54:af:24:6e:00', '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': '164.102.148.5', 'subnet_id': '6e0f61d0-125b-4737-a651-840aa25254bc'}], 'security_groups': ['6594ccfb-c49a-4692-b654-127b918629a9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fc40b0163c4e4af4bee7155021693fe2'}} 2025-10-30 14:03:07,055 - DEBUG - Services list from nova: [, , ] 2025-10-30 14:03:07,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4544-1) 2025-10-30 14:03:07,847 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4544-1) 2025-10-30 14:03:07,847 - INFO - Waiting for VM ctest-vn1-vm1-49858768 to be up.. 2025-10-30 14:03:07,887 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 14:03:12,963 - DEBUG - VM is in ACTIVE state now 2025-10-30 14:03:12,963 - INFO - VM name : ctest-vn1-vm1-49858768 2025-10-30 14:03:13,050 - DEBUG - VM ctest-vn1-vm1-49858768 ID is e37b0d6d-0adf-44c9-a94e-61137548ab94 2025-10-30 14:03:13,070 - DEBUG - VM ctest-vn1-vm1-49858768 launched on Node cn-jenkins-deploy-platform-ansible-os-4544-1 2025-10-30 14:03:13,162 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/e37b0d6d-0adf-44c9-a94e-61137548ab94 2025-10-30 14:03:13,171 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/4e6b2857-546a-43dd-9465-cb51b45db94c 2025-10-30 14:03:16,425 - 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 1011ms') 2025-10-30 14:03:16,425 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49858768 failed! 2025-10-30 14:03:16,480 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83618726:ctest-vn1-13542252 is 190.177.138.65 and allocation pool is NOT set 2025-10-30 14:03:16,480 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83618726:ctest-vn1-13542252 is 164.102.148.1 and allocation pool is NOT set 2025-10-30 14:03:20,548 - 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=10.1 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 = 10.055/10.055/10.055/0.000 ms') 2025-10-30 14:03:20,548 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49858768 passed 2025-10-30 14:03:20,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:03:20,696 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49858768, IP 190.177.138.69, Port 22 2025-10-30 14:03:20,863 - DEBUG - VM ctest-vn1-vm1-49858768 is ready for SSH connections 2025-10-30 14:03:20,863 - INFO - Waiting for VM ctest-vn1-vm2-24902997 to be up.. 2025-10-30 14:03:20,933 - DEBUG - VM is in ACTIVE state now 2025-10-30 14:03:20,933 - INFO - VM name : ctest-vn1-vm2-24902997 2025-10-30 14:03:21,014 - DEBUG - VM ctest-vn1-vm2-24902997 ID is e9f4ea3f-1496-4113-abc3-bcbf7706ea61 2025-10-30 14:03:21,014 - DEBUG - VM ctest-vn1-vm2-24902997 launched on Node cn-jenkins-deploy-platform-ansible-os-4544-1 2025-10-30 14:03:21,085 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/e9f4ea3f-1496-4113-abc3-bcbf7706ea61 2025-10-30 14:03:21,094 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/54af246e-00d0-46bb-86e1-7858079bc3ae 2025-10-30 14:03:22,333 - 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=2.05 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 = 2.049/3.514/4.980/1.465 ms') 2025-10-30 14:03:22,333 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-24902997 passed 2025-10-30 14:03:22,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:03:22,488 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-24902997, IP 164.102.148.5, Port 22 2025-10-30 14:03:22,643 - DEBUG - VM ctest-vn1-vm2-24902997 is ready for SSH connections 2025-10-30 14:03:22,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:03:22,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:03:22,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:03:22,644 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.177.138.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2025-10-30 14:03:22,644 - DEBUG - ping -s 56 -c 3 -W 1 190.177.138.69 2025-10-30 14:03:25,345 - DEBUG - PING 190.177.138.69 (190.177.138.69): 56 data bytes 64 bytes from 190.177.138.69: seq=0 ttl=63 time=4.170 ms 64 bytes from 190.177.138.69: seq=1 ttl=63 time=1.169 ms 64 bytes from 190.177.138.69: seq=2 ttl=63 time=0.856 ms --- 190.177.138.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.856/2.065/4.170 ms 2025-10-30 14:03:25,345 - INFO - Ping to IP 190.177.138.69 from VM ctest-vn1-vm2-24902997 passed 2025-10-30 14:03:25,345 - INFO - Detaching port 54af246e-00d0-46bb-86e1-7858079bc3ae from VM ctest-vn1-vm2-24902997 2025-10-30 14:03:25,409 - INFO - Deleting VM ctest-vn1-vm2-24902997 2025-10-30 14:03:25,495 - INFO - Detaching port 4e6b2857-546a-43dd-9465-cb51b45db94c from VM ctest-vn1-vm1-49858768 2025-10-30 14:03:25,536 - INFO - Deleting VM ctest-vn1-vm1-49858768 2025-10-30 14:03:25,768 - DEBUG - Response for delete_port : () 2025-10-30 14:03:25,950 - DEBUG - Response for delete_port : () 2025-10-30 14:03:25,950 - INFO - Deleting VN ctest-vn1-13542252 2025-10-30 14:03:26,090 - DEBUG - Response for deleting network () 2025-10-30 14:03:26,345 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 14:03:26,346 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-30 14:03:26,346 - INFO - -------------------------------------------------------------------------------- 2025-10-30 14:03:27,140 - INFO - Deleted project: ctest-TestPorts-83618726, ID : fc40b016-3c4e-4af4-bee7-155021693fe2