2025-11-05 16:25:18,598 - INFO - Domain Default found not creating 2025-11-05 16:25:18,751 - INFO - Project ctest-TestPorts-36066392 not found, creating it 2025-11-05 16:25:19,207 - INFO - Created Project:ctest-TestPorts-36066392, ID : 227e6999-f29f-41dd-b0a3-93badda978da 2025-11-05 16:25:21,170 - INFO - ================================================================================ 2025-11-05 16:25:21,170 - INFO - STARTING TEST : test_ports_bindings 2025-11-05 16:25:21,170 - 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-05 16:25:21,423 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.241': '0'}} with 2025-11-05 16:25:21,423 - INFO - Initial checks done. Running the testcase now 2025-11-05 16:25:21,423 - INFO - 2025-11-05 16:25:21,930 - DEBUG - Response for create_network : {'network': {'id': '219cacf2-69b5-4079-bef3-ed79cea82719', 'name': 'ctest-vn-66436366', 'tenant_id': '227e6999f29f41ddb0a393badda978da', 'project_id': '227e6999f29f41ddb0a393badda978da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36066392', 'ctest-vn-66436366'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:25:22,146 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0c0fe56-3a13-4b43-ba75-b6a4bf96e39f', 'name': '', 'tenant_id': '227e6999f29f41ddb0a393badda978da', 'network_id': '219cacf2-69b5-4079-bef3-ed79cea82719', 'ip_version': 4, 'cidr': '22.137.221.128/26', 'allocation_pools': [{'start': '22.137.221.130', 'end': '22.137.221.190'}], 'gateway_ip': '22.137.221.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.137.221.130', 'tags': [], 'project_id': '227e6999f29f41ddb0a393badda978da'}} 2025-11-05 16:25:22,161 - INFO - Created VN ctest-vn-66436366 2025-11-05 16:25:22,214 - DEBUG - VN ctest-vn-66436366 UUID is 219cacf2-69b5-4079-bef3-ed79cea82719 2025-11-05 16:25:22,321 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-36066392', 'ctest-vmi-96411572']} 2025-11-05 16:25:22,580 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-96411572', 'id': 'e68fe440-a3f3-471d-ac33-cd5163e46986', 'tenant_id': '227e6999f29f41ddb0a393badda978da', 'network_id': '219cacf2-69b5-4079-bef3-ed79cea82719', 'mac_address': '02:e6:8f:e4:40:a3', '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': '22.137.221.131', 'subnet_id': 'b0c0fe56-3a13-4b43-ba75-b6a4bf96e39f'}], 'security_groups': ['3a0c8a46-37cb-4851-88c9-1d5983a4899d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '227e6999f29f41ddb0a393badda978da'}} 2025-11-05 16:25:22,580 - DEBUG - Created port e68fe440-a3f3-471d-ac33-cd5163e46986 2025-11-05 16:25:22,682 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/e68fe440-a3f3-471d-ac33-cd5163e46986 2025-11-05 16:25:22,970 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/e68fe440-a3f3-471d-ac33-cd5163e46986 2025-11-05 16:25:22,998 - INFO - VMI e68fe440-a3f3-471d-ac33-cd5163e46986 verification in API Server passed 2025-11-05 16:25:23,070 - DEBUG - Response for delete_port : () 2025-11-05 16:25:23,070 - INFO - Deleted port e68fe440-a3f3-471d-ac33-cd5163e46986 2025-11-05 16:25:23,070 - INFO - Deleting VN ctest-vn-66436366 2025-11-05 16:25:23,154 - DEBUG - Response for deleting network () 2025-11-05 16:25:23,410 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 16:25:23,410 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-05 16:25:23,410 - INFO - -------------------------------------------------------------------------------- 2025-11-05 16:25:23,413 - INFO - ================================================================================ 2025-11-05 16:25:23,413 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-05 16:25:23,413 - 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-05 16:25:23,695 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.241': '0'}} with 2025-11-05 16:25:23,695 - INFO - Initial checks done. Running the testcase now 2025-11-05 16:25:23,695 - INFO - 2025-11-05 16:25:23,863 - DEBUG - Response for create_network : {'network': {'id': '8d36c6b5-0cbf-4c52-bd85-ee12817bb8dc', 'name': 'ctest-vn1-06202597', 'tenant_id': '227e6999f29f41ddb0a393badda978da', 'project_id': '227e6999f29f41ddb0a393badda978da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36066392', 'ctest-vn1-06202597'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:25:24,062 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dcfc53f0-a5b5-4027-a9b2-626c588cba6a', 'name': '', 'tenant_id': '227e6999f29f41ddb0a393badda978da', 'network_id': '8d36c6b5-0cbf-4c52-bd85-ee12817bb8dc', 'ip_version': 4, 'cidr': '208.80.194.0/26', 'allocation_pools': [{'start': '208.80.194.2', 'end': '208.80.194.62'}], 'gateway_ip': '208.80.194.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.80.194.2', 'tags': [], 'project_id': '227e6999f29f41ddb0a393badda978da'}} 2025-11-05 16:25:24,210 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f11014a2-f15d-476a-bac3-6584334e2dec', 'name': '', 'tenant_id': '227e6999f29f41ddb0a393badda978da', 'network_id': '8d36c6b5-0cbf-4c52-bd85-ee12817bb8dc', 'ip_version': 4, 'cidr': '194.213.93.192/26', 'allocation_pools': [{'start': '194.213.93.194', 'end': '194.213.93.254'}], 'gateway_ip': '194.213.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.213.93.194', 'tags': [], 'project_id': '227e6999f29f41ddb0a393badda978da'}} 2025-11-05 16:25:24,227 - INFO - Created VN ctest-vn1-06202597 2025-11-05 16:25:24,278 - DEBUG - VN ctest-vn1-06202597 UUID is 8d36c6b5-0cbf-4c52-bd85-ee12817bb8dc 2025-11-05 16:25:24,536 - DEBUG - Response for create_port : {'port': {'name': '445a80ea-f74d-4021-83ef-a3b5e5d6e595', 'id': '445a80ea-f74d-4021-83ef-a3b5e5d6e595', 'tenant_id': '227e6999f29f41ddb0a393badda978da', 'network_id': '8d36c6b5-0cbf-4c52-bd85-ee12817bb8dc', 'mac_address': '02:44:5a:80:ea:f7', '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': '208.80.194.5', 'subnet_id': 'dcfc53f0-a5b5-4027-a9b2-626c588cba6a'}], 'security_groups': ['3a0c8a46-37cb-4851-88c9-1d5983a4899d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '227e6999f29f41ddb0a393badda978da'}} 2025-11-05 16:25:24,691 - DEBUG - Response for create_port : {'port': {'name': '305897c5-1806-4129-afe8-55a2ce76a130', 'id': '305897c5-1806-4129-afe8-55a2ce76a130', 'tenant_id': '227e6999f29f41ddb0a393badda978da', 'network_id': '8d36c6b5-0cbf-4c52-bd85-ee12817bb8dc', 'mac_address': '02:30:58:97:c5:18', '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.213.93.197', 'subnet_id': 'f11014a2-f15d-476a-bac3-6584334e2dec'}], 'security_groups': ['3a0c8a46-37cb-4851-88c9-1d5983a4899d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '227e6999f29f41ddb0a393badda978da'}} 2025-11-05 16:25:24,740 - DEBUG - Services list from nova: [, , ] 2025-11-05 16:25:25,028 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4650-1) 2025-11-05 16:25:25,380 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4650-1) 2025-11-05 16:25:25,380 - INFO - Waiting for VM ctest-vn1-vm1-07953277 to be up.. 2025-11-05 16:25:25,532 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 16:25:30,599 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:25:30,599 - INFO - VM name : ctest-vn1-vm1-07953277 2025-11-05 16:25:30,663 - DEBUG - VM ctest-vn1-vm1-07953277 ID is fe9800a1-e3d4-4b6c-8963-75841bb91815 2025-11-05 16:25:30,680 - DEBUG - VM ctest-vn1-vm1-07953277 launched on Node cn-jenkins-deploy-platform-ansible-os-4650-1 2025-11-05 16:25:30,747 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/fe9800a1-e3d4-4b6c-8963-75841bb91815 2025-11-05 16:25:30,754 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/445a80ea-f74d-4021-83ef-a3b5e5d6e595 2025-11-05 16:25:33,984 - 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 1004ms') 2025-11-05 16:25:33,984 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07953277 failed! 2025-11-05 16:25:34,042 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36066392:ctest-vn1-06202597 is 208.80.194.1 and allocation pool is NOT set 2025-11-05 16:25:34,042 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36066392:ctest-vn1-06202597 is 194.213.93.193 and allocation pool is NOT set 2025-11-05 16:25:36,105 - 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=3.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.80 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.800/3.088/3.376/0.288 ms') 2025-11-05 16:25:36,106 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07953277 passed 2025-11-05 16:25:36,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:25:36,254 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07953277, IP 208.80.194.5, Port 22 2025-11-05 16:25:36,409 - DEBUG - VM ctest-vn1-vm1-07953277 is ready for SSH connections 2025-11-05 16:25:36,410 - INFO - Waiting for VM ctest-vn1-vm2-15254062 to be up.. 2025-11-05 16:25:36,488 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:25:36,489 - INFO - VM name : ctest-vn1-vm2-15254062 2025-11-05 16:25:36,566 - DEBUG - VM ctest-vn1-vm2-15254062 ID is f7440192-419a-41a7-a57d-0080aa98fa00 2025-11-05 16:25:36,566 - DEBUG - VM ctest-vn1-vm2-15254062 launched on Node cn-jenkins-deploy-platform-ansible-os-4650-1 2025-11-05 16:25:36,651 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/f7440192-419a-41a7-a57d-0080aa98fa00 2025-11-05 16:25:36,659 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/305897c5-1806-4129-afe8-55a2ce76a130 2025-11-05 16:25:37,886 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/1.542/2.678/1.136 ms') 2025-11-05 16:25:37,886 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-15254062 passed 2025-11-05 16:25:38,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:25:38,042 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-15254062, IP 194.213.93.197, Port 22 2025-11-05 16:25:38,198 - DEBUG - VM ctest-vn1-vm2-15254062 is ready for SSH connections 2025-11-05 16:25:38,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:25:38,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:25:38,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:25:38,198 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.80.194.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-05 16:25:38,198 - DEBUG - ping -s 56 -c 3 -W 1 208.80.194.5 2025-11-05 16:25:41,172 - DEBUG - PING 208.80.194.5 (208.80.194.5): 56 data bytes 64 bytes from 208.80.194.5: seq=0 ttl=63 time=3.441 ms 64 bytes from 208.80.194.5: seq=1 ttl=63 time=0.744 ms 64 bytes from 208.80.194.5: seq=2 ttl=63 time=0.705 ms --- 208.80.194.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.705/1.630/3.441 ms 2025-11-05 16:25:41,173 - INFO - Ping to IP 208.80.194.5 from VM ctest-vn1-vm2-15254062 passed 2025-11-05 16:25:41,173 - INFO - Detaching port 305897c5-1806-4129-afe8-55a2ce76a130 from VM ctest-vn1-vm2-15254062 2025-11-05 16:25:41,221 - INFO - Deleting VM ctest-vn1-vm2-15254062 2025-11-05 16:25:41,315 - INFO - Detaching port 445a80ea-f74d-4021-83ef-a3b5e5d6e595 from VM ctest-vn1-vm1-07953277 2025-11-05 16:25:41,352 - INFO - Deleting VM ctest-vn1-vm1-07953277 2025-11-05 16:25:41,547 - DEBUG - Response for delete_port : () 2025-11-05 16:25:41,686 - DEBUG - Response for delete_port : () 2025-11-05 16:25:41,686 - INFO - Deleting VN ctest-vn1-06202597 2025-11-05 16:25:41,811 - DEBUG - Response for deleting network () 2025-11-05 16:25:42,066 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 16:25:42,066 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-11-05 16:25:42,066 - INFO - -------------------------------------------------------------------------------- 2025-11-05 16:25:42,800 - INFO - Deleted project: ctest-TestPorts-36066392, ID : 227e6999-f29f-41dd-b0a3-93badda978da