2025-09-18 12:41:54,770 - INFO - Domain Default found not creating 2025-09-18 12:41:54,903 - INFO - Project ctest-TestPorts-25612730 not found, creating it 2025-09-18 12:41:55,333 - INFO - Created Project:ctest-TestPorts-25612730, ID : c15b409f-eae6-4c2f-80b0-83c0bbfad4ef 2025-09-18 12:41:56,684 - INFO - ================================================================================ 2025-09-18 12:41:56,685 - INFO - STARTING TEST : test_ports_bindings 2025-09-18 12:41:56,685 - 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-18 12:41:56,940 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-09-18 12:41:56,940 - INFO - Initial checks done. Running the testcase now 2025-09-18 12:41:56,940 - INFO - 2025-09-18 12:41:57,450 - DEBUG - Response for create_network : {'network': {'id': '5b7de1d3-39b7-496c-bac2-bd49f841d700', 'name': 'ctest-vn-34869685', 'tenant_id': 'c15b409feae64c2f80b083c0bbfad4ef', 'project_id': 'c15b409feae64c2f80b083c0bbfad4ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25612730', 'ctest-vn-34869685'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:41:57,608 - DEBUG - Response for create_subnet : {'subnet': {'id': '77ba9cc9-88fb-4744-a763-8b3a8efdbbac', 'name': '', 'tenant_id': 'c15b409feae64c2f80b083c0bbfad4ef', 'network_id': '5b7de1d3-39b7-496c-bac2-bd49f841d700', 'ip_version': 4, 'cidr': '13.85.80.192/26', 'allocation_pools': [{'start': '13.85.80.194', 'end': '13.85.80.254'}], 'gateway_ip': '13.85.80.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.85.80.194', 'tags': [], 'project_id': 'c15b409feae64c2f80b083c0bbfad4ef'}} 2025-09-18 12:41:57,623 - INFO - Created VN ctest-vn-34869685 2025-09-18 12:41:57,675 - DEBUG - VN ctest-vn-34869685 UUID is 5b7de1d3-39b7-496c-bac2-bd49f841d700 2025-09-18 12:41:57,773 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-25612730', 'ctest-vmi-92545974']} 2025-09-18 12:41:58,031 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-92545974', 'id': '24388571-d26a-487d-b32a-121e62571116', 'tenant_id': 'c15b409feae64c2f80b083c0bbfad4ef', 'network_id': '5b7de1d3-39b7-496c-bac2-bd49f841d700', 'mac_address': '02:24:38:85:71:d2', '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.85.80.195', 'subnet_id': '77ba9cc9-88fb-4744-a763-8b3a8efdbbac'}], 'security_groups': ['d122ed19-ddf4-493d-a553-66853e7a4cd3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c15b409feae64c2f80b083c0bbfad4ef'}} 2025-09-18 12:41:58,032 - DEBUG - Created port 24388571-d26a-487d-b32a-121e62571116 2025-09-18 12:41:58,135 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/24388571-d26a-487d-b32a-121e62571116 2025-09-18 12:41:58,422 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/24388571-d26a-487d-b32a-121e62571116 2025-09-18 12:41:58,450 - INFO - VMI 24388571-d26a-487d-b32a-121e62571116 verification in API Server passed 2025-09-18 12:41:58,532 - DEBUG - Response for delete_port : () 2025-09-18 12:41:58,532 - INFO - Deleted port 24388571-d26a-487d-b32a-121e62571116 2025-09-18 12:41:58,533 - INFO - Deleting VN ctest-vn-34869685 2025-09-18 12:41:58,613 - DEBUG - Response for deleting network () 2025-09-18 12:41:58,863 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 12:41:58,863 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-18 12:41:58,863 - INFO - -------------------------------------------------------------------------------- 2025-09-18 12:41:58,865 - INFO - ================================================================================ 2025-09-18 12:41:58,866 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-18 12:41:58,866 - 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-18 12:41:59,151 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-09-18 12:41:59,151 - INFO - Initial checks done. Running the testcase now 2025-09-18 12:41:59,151 - INFO - 2025-09-18 12:41:59,315 - DEBUG - Response for create_network : {'network': {'id': 'be2c7d00-ac0a-4c9f-9dcb-8c57ba2f13be', 'name': 'ctest-vn1-20257641', 'tenant_id': 'c15b409feae64c2f80b083c0bbfad4ef', 'project_id': 'c15b409feae64c2f80b083c0bbfad4ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25612730', 'ctest-vn1-20257641'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:41:59,469 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2c1d4f3-9c84-4b3f-8e20-7a8cbe1eb604', 'name': '', 'tenant_id': 'c15b409feae64c2f80b083c0bbfad4ef', 'network_id': 'be2c7d00-ac0a-4c9f-9dcb-8c57ba2f13be', 'ip_version': 4, 'cidr': '52.109.178.192/26', 'allocation_pools': [{'start': '52.109.178.194', 'end': '52.109.178.254'}], 'gateway_ip': '52.109.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.109.178.194', 'tags': [], 'project_id': 'c15b409feae64c2f80b083c0bbfad4ef'}} 2025-09-18 12:41:59,627 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df3d4453-9696-410a-a57d-205bdd87a219', 'name': '', 'tenant_id': 'c15b409feae64c2f80b083c0bbfad4ef', 'network_id': 'be2c7d00-ac0a-4c9f-9dcb-8c57ba2f13be', 'ip_version': 4, 'cidr': '33.188.223.128/26', 'allocation_pools': [{'start': '33.188.223.130', 'end': '33.188.223.190'}], 'gateway_ip': '33.188.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.188.223.130', 'tags': [], 'project_id': 'c15b409feae64c2f80b083c0bbfad4ef'}} 2025-09-18 12:41:59,644 - INFO - Created VN ctest-vn1-20257641 2025-09-18 12:41:59,695 - DEBUG - VN ctest-vn1-20257641 UUID is be2c7d00-ac0a-4c9f-9dcb-8c57ba2f13be 2025-09-18 12:41:59,979 - DEBUG - Response for create_port : {'port': {'name': '447f35b4-c951-43dc-99b9-6b5c213e891b', 'id': '447f35b4-c951-43dc-99b9-6b5c213e891b', 'tenant_id': 'c15b409feae64c2f80b083c0bbfad4ef', 'network_id': 'be2c7d00-ac0a-4c9f-9dcb-8c57ba2f13be', 'mac_address': '02:44:7f:35:b4:c9', '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': '52.109.178.197', 'subnet_id': 'b2c1d4f3-9c84-4b3f-8e20-7a8cbe1eb604'}], 'security_groups': ['d122ed19-ddf4-493d-a553-66853e7a4cd3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c15b409feae64c2f80b083c0bbfad4ef'}} 2025-09-18 12:42:00,147 - DEBUG - Response for create_port : {'port': {'name': 'fede1202-9ae6-4655-91a6-0c58be194bc2', 'id': 'fede1202-9ae6-4655-91a6-0c58be194bc2', 'tenant_id': 'c15b409feae64c2f80b083c0bbfad4ef', 'network_id': 'be2c7d00-ac0a-4c9f-9dcb-8c57ba2f13be', 'mac_address': '02:fe:de:12:02:9a', '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': '33.188.223.133', 'subnet_id': 'df3d4453-9696-410a-a57d-205bdd87a219'}], 'security_groups': ['d122ed19-ddf4-493d-a553-66853e7a4cd3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c15b409feae64c2f80b083c0bbfad4ef'}} 2025-09-18 12:42:00,200 - DEBUG - Services list from nova: [, , ] 2025-09-18 12:42:00,519 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4137-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4137-1) 2025-09-18 12:42:00,909 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4137-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4137-1) 2025-09-18 12:42:00,909 - INFO - Waiting for VM ctest-vn1-vm1-39676396 to be up.. 2025-09-18 12:42:00,951 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 12:42:06,024 - DEBUG - VM is in ACTIVE state now 2025-09-18 12:42:06,024 - INFO - VM name : ctest-vn1-vm1-39676396 2025-09-18 12:42:06,094 - DEBUG - VM ctest-vn1-vm1-39676396 ID is 20993dbc-3e8e-4654-9d8f-ac1307944c0c 2025-09-18 12:42:06,114 - DEBUG - VM ctest-vn1-vm1-39676396 launched on Node cn-jenkins-deploy-platform-ansible-os-4137-1 2025-09-18 12:42:06,193 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/20993dbc-3e8e-4654-9d8f-ac1307944c0c 2025-09-18 12:42:06,203 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/447f35b4-c951-43dc-99b9-6b5c213e891b 2025-09-18 12:42:09,460 - 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 1023ms') 2025-09-18 12:42:09,460 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39676396 failed! 2025-09-18 12:42:09,515 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25612730:ctest-vn1-20257641 is 52.109.178.193 and allocation pool is NOT set 2025-09-18 12:42:09,515 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25612730:ctest-vn1-20257641 is 33.188.223.129 and allocation pool is NOT set 2025-09-18 12:42:13,593 - 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=9.98 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 = 9.984/9.984/9.984/0.000 ms') 2025-09-18 12:42:13,593 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39676396 passed 2025-09-18 12:42:13,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:13,747 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39676396, IP 52.109.178.197, Port 22 2025-09-18 12:42:13,902 - DEBUG - VM ctest-vn1-vm1-39676396 is ready for SSH connections 2025-09-18 12:42:13,902 - INFO - Waiting for VM ctest-vn1-vm2-17776882 to be up.. 2025-09-18 12:42:13,974 - DEBUG - VM is in ACTIVE state now 2025-09-18 12:42:13,974 - INFO - VM name : ctest-vn1-vm2-17776882 2025-09-18 12:42:14,049 - DEBUG - VM ctest-vn1-vm2-17776882 ID is 54e46b94-e543-4c31-89c2-cefeffe1f3d8 2025-09-18 12:42:14,049 - DEBUG - VM ctest-vn1-vm2-17776882 launched on Node cn-jenkins-deploy-platform-ansible-os-4137-1 2025-09-18 12:42:14,118 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/54e46b94-e543-4c31-89c2-cefeffe1f3d8 2025-09-18 12:42:14,126 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/fede1202-9ae6-4655-91a6-0c58be194bc2 2025-09-18 12:42:15,364 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.410/1.607/2.804/1.197 ms') 2025-09-18 12:42:15,364 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17776882 passed 2025-09-18 12:42:15,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:15,511 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17776882, IP 33.188.223.133, Port 22 2025-09-18 12:42:15,662 - DEBUG - VM ctest-vn1-vm2-17776882 is ready for SSH connections 2025-09-18 12:42:15,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:15,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:15,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:15,663 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.109.178.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-18 12:42:15,663 - DEBUG - ping -s 56 -c 3 -W 1 52.109.178.197 2025-09-18 12:42:18,618 - DEBUG - PING 52.109.178.197 (52.109.178.197): 56 data bytes 64 bytes from 52.109.178.197: seq=0 ttl=63 time=4.368 ms 64 bytes from 52.109.178.197: seq=1 ttl=63 time=0.986 ms 64 bytes from 52.109.178.197: seq=2 ttl=63 time=0.881 ms --- 52.109.178.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.881/2.078/4.368 ms 2025-09-18 12:42:18,618 - INFO - Ping to IP 52.109.178.197 from VM ctest-vn1-vm2-17776882 passed 2025-09-18 12:42:18,618 - INFO - Detaching port fede1202-9ae6-4655-91a6-0c58be194bc2 from VM ctest-vn1-vm2-17776882 2025-09-18 12:42:18,679 - INFO - Deleting VM ctest-vn1-vm2-17776882 2025-09-18 12:42:18,757 - INFO - Detaching port 447f35b4-c951-43dc-99b9-6b5c213e891b from VM ctest-vn1-vm1-39676396 2025-09-18 12:42:18,790 - INFO - Deleting VM ctest-vn1-vm1-39676396 2025-09-18 12:42:19,004 - DEBUG - Response for delete_port : () 2025-09-18 12:42:19,175 - DEBUG - Response for delete_port : () 2025-09-18 12:42:19,176 - INFO - Deleting VN ctest-vn1-20257641 2025-09-18 12:42:19,306 - DEBUG - Response for deleting network () 2025-09-18 12:42:19,559 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 12:42:19,559 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-09-18 12:42:19,559 - INFO - -------------------------------------------------------------------------------- 2025-09-18 12:42:20,230 - INFO - Deleted project: ctest-TestPorts-25612730, ID : c15b409f-eae6-4c2f-80b0-83c0bbfad4ef