2025-09-17 14:20:26,127 - INFO - Domain Default found not creating 2025-09-17 14:20:26,294 - INFO - Project ctest-TestPorts-99779299 not found, creating it 2025-09-17 14:20:26,787 - INFO - Created Project:ctest-TestPorts-99779299, ID : 3ef2e12d-84fb-43c5-8e9b-9c454c526c68 2025-09-17 14:20:28,239 - INFO - ================================================================================ 2025-09-17 14:20:28,239 - INFO - STARTING TEST : test_ports_bindings 2025-09-17 14:20:28,239 - 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-17 14:20:28,495 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-17 14:20:28,495 - INFO - Initial checks done. Running the testcase now 2025-09-17 14:20:28,495 - INFO - 2025-09-17 14:20:29,058 - DEBUG - Response for create_network : {'network': {'id': '8f78d1f1-3f4a-4192-be2e-183030a5660b', 'name': 'ctest-vn-66028994', 'tenant_id': '3ef2e12d84fb43c58e9b9c454c526c68', 'project_id': '3ef2e12d84fb43c58e9b9c454c526c68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99779299', 'ctest-vn-66028994'], 'port_security_enabled': True, 'description': ''}} 2025-09-17 14:20:29,270 - DEBUG - Response for create_subnet : {'subnet': {'id': '00914ec9-41a8-4623-9081-d6c77143ce54', 'name': '', 'tenant_id': '3ef2e12d84fb43c58e9b9c454c526c68', 'network_id': '8f78d1f1-3f4a-4192-be2e-183030a5660b', 'ip_version': 4, 'cidr': '15.175.158.64/26', 'allocation_pools': [{'start': '15.175.158.66', 'end': '15.175.158.126'}], 'gateway_ip': '15.175.158.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.175.158.66', 'tags': [], 'project_id': '3ef2e12d84fb43c58e9b9c454c526c68'}} 2025-09-17 14:20:29,290 - INFO - Created VN ctest-vn-66028994 2025-09-17 14:20:29,344 - DEBUG - VN ctest-vn-66028994 UUID is 8f78d1f1-3f4a-4192-be2e-183030a5660b 2025-09-17 14:20:29,460 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99779299', 'ctest-vmi-75102347']} 2025-09-17 14:20:29,698 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-75102347', 'id': '56ff889c-cd1f-44e6-b965-f225df42dd35', 'tenant_id': '3ef2e12d84fb43c58e9b9c454c526c68', 'network_id': '8f78d1f1-3f4a-4192-be2e-183030a5660b', 'mac_address': '02:56:ff:88:9c:cd', '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': '15.175.158.67', 'subnet_id': '00914ec9-41a8-4623-9081-d6c77143ce54'}], 'security_groups': ['ccacc70a-a0ef-4ddb-bc39-7204e8afa3e8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3ef2e12d84fb43c58e9b9c454c526c68'}} 2025-09-17 14:20:29,698 - DEBUG - Created port 56ff889c-cd1f-44e6-b965-f225df42dd35 2025-09-17 14:20:29,804 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/56ff889c-cd1f-44e6-b965-f225df42dd35 2025-09-17 14:20:30,105 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/56ff889c-cd1f-44e6-b965-f225df42dd35 2025-09-17 14:20:30,139 - INFO - VMI 56ff889c-cd1f-44e6-b965-f225df42dd35 verification in API Server passed 2025-09-17 14:20:30,245 - DEBUG - Response for delete_port : () 2025-09-17 14:20:30,245 - INFO - Deleted port 56ff889c-cd1f-44e6-b965-f225df42dd35 2025-09-17 14:20:30,245 - INFO - Deleting VN ctest-vn-66028994 2025-09-17 14:20:30,348 - DEBUG - Response for deleting network () 2025-09-17 14:20:30,617 - DEBUG - No XMPP flaps were noticed during the test
2025-09-17 14:20:30,617 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-17 14:20:30,617 - INFO - -------------------------------------------------------------------------------- 2025-09-17 14:20:30,620 - INFO - ================================================================================ 2025-09-17 14:20:30,620 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-17 14:20:30,620 - 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-17 14:20:30,911 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-17 14:20:30,911 - INFO - Initial checks done. Running the testcase now 2025-09-17 14:20:30,911 - INFO - 2025-09-17 14:20:31,125 - DEBUG - Response for create_network : {'network': {'id': '57d9260f-479d-40cf-a78b-46bcae691e2e', 'name': 'ctest-vn1-60287028', 'tenant_id': '3ef2e12d84fb43c58e9b9c454c526c68', 'project_id': '3ef2e12d84fb43c58e9b9c454c526c68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99779299', 'ctest-vn1-60287028'], 'port_security_enabled': True, 'description': ''}} 2025-09-17 14:20:31,330 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a60ce0ea-81ac-4dc6-85c2-9f4297027a57', 'name': '', 'tenant_id': '3ef2e12d84fb43c58e9b9c454c526c68', 'network_id': '57d9260f-479d-40cf-a78b-46bcae691e2e', 'ip_version': 4, 'cidr': '75.53.39.64/26', 'allocation_pools': [{'start': '75.53.39.66', 'end': '75.53.39.126'}], 'gateway_ip': '75.53.39.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.53.39.66', 'tags': [], 'project_id': '3ef2e12d84fb43c58e9b9c454c526c68'}} 2025-09-17 14:20:31,550 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1be114a-7812-4153-ac5f-7b172b9d952e', 'name': '', 'tenant_id': '3ef2e12d84fb43c58e9b9c454c526c68', 'network_id': '57d9260f-479d-40cf-a78b-46bcae691e2e', 'ip_version': 4, 'cidr': '23.153.108.64/26', 'allocation_pools': [{'start': '23.153.108.66', 'end': '23.153.108.126'}], 'gateway_ip': '23.153.108.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.153.108.66', 'tags': [], 'project_id': '3ef2e12d84fb43c58e9b9c454c526c68'}} 2025-09-17 14:20:31,572 - INFO - Created VN ctest-vn1-60287028 2025-09-17 14:20:31,628 - DEBUG - VN ctest-vn1-60287028 UUID is 57d9260f-479d-40cf-a78b-46bcae691e2e 2025-09-17 14:20:31,963 - DEBUG - Response for create_port : {'port': {'name': '9d022919-a0d7-4859-9e31-05f6a92e083d', 'id': '9d022919-a0d7-4859-9e31-05f6a92e083d', 'tenant_id': '3ef2e12d84fb43c58e9b9c454c526c68', 'network_id': '57d9260f-479d-40cf-a78b-46bcae691e2e', 'mac_address': '02:9d:02:29:19:a0', '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': '75.53.39.69', 'subnet_id': 'a60ce0ea-81ac-4dc6-85c2-9f4297027a57'}], 'security_groups': ['ccacc70a-a0ef-4ddb-bc39-7204e8afa3e8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3ef2e12d84fb43c58e9b9c454c526c68'}} 2025-09-17 14:20:32,148 - DEBUG - Response for create_port : {'port': {'name': '496a758d-433a-472c-b7ce-f77e4f6082e7', 'id': '496a758d-433a-472c-b7ce-f77e4f6082e7', 'tenant_id': '3ef2e12d84fb43c58e9b9c454c526c68', 'network_id': '57d9260f-479d-40cf-a78b-46bcae691e2e', 'mac_address': '02:49:6a:75:8d: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': '23.153.108.69', 'subnet_id': 'c1be114a-7812-4153-ac5f-7b172b9d952e'}], 'security_groups': ['ccacc70a-a0ef-4ddb-bc39-7204e8afa3e8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3ef2e12d84fb43c58e9b9c454c526c68'}} 2025-09-17 14:20:32,214 - DEBUG - Services list from nova: [, , ] 2025-09-17 14:20:32,570 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4128-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4128-1) 2025-09-17 14:20:32,989 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4128-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4128-1) 2025-09-17 14:20:32,989 - INFO - Waiting for VM ctest-vn1-vm1-05077966 to be up.. 2025-09-17 14:20:33,030 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-17 14:20:38,119 - DEBUG - VM is in ACTIVE state now 2025-09-17 14:20:38,119 - INFO - VM name : ctest-vn1-vm1-05077966 2025-09-17 14:20:38,203 - DEBUG - VM ctest-vn1-vm1-05077966 ID is 38db6a77-a93b-45b2-b762-3728bee1b4e4 2025-09-17 14:20:38,223 - DEBUG - VM ctest-vn1-vm1-05077966 launched on Node cn-jenkins-deploy-platform-ansible-os-4128-1 2025-09-17 14:20:38,300 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/38db6a77-a93b-45b2-b762-3728bee1b4e4 2025-09-17 14:20:38,309 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9d022919-a0d7-4859-9e31-05f6a92e083d 2025-09-17 14:20:41,583 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2025-09-17 14:20:41,583 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-05077966 failed! 2025-09-17 14:20:41,636 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99779299:ctest-vn1-60287028 is 75.53.39.65 and allocation pool is NOT set 2025-09-17 14:20:41,636 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99779299:ctest-vn1-60287028 is 23.153.108.65 and allocation pool is NOT set 2025-09-17 14:20:45,708 - 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=2 ttl=63 time=7.92 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 7.924/7.924/7.924/0.000 ms') 2025-09-17 14:20:45,708 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-05077966 passed 2025-09-17 14:20:45,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 14:20:45,856 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05077966, IP 75.53.39.69, Port 22 2025-09-17 14:20:46,022 - DEBUG - VM ctest-vn1-vm1-05077966 is ready for SSH connections 2025-09-17 14:20:46,023 - INFO - Waiting for VM ctest-vn1-vm2-70737257 to be up.. 2025-09-17 14:20:46,112 - DEBUG - VM is in ACTIVE state now 2025-09-17 14:20:46,112 - INFO - VM name : ctest-vn1-vm2-70737257 2025-09-17 14:20:46,188 - DEBUG - VM ctest-vn1-vm2-70737257 ID is f01c00aa-8636-4ad1-9fca-9fa8aa352caa 2025-09-17 14:20:46,189 - DEBUG - VM ctest-vn1-vm2-70737257 launched on Node cn-jenkins-deploy-platform-ansible-os-4128-1 2025-09-17 14:20:46,273 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f01c00aa-8636-4ad1-9fca-9fa8aa352caa 2025-09-17 14:20:46,283 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/496a758d-433a-472c-b7ce-f77e4f6082e7 2025-09-17 14:20:47,521 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.467 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 = 0.467/1.731/2.995/1.264 ms') 2025-09-17 14:20:47,521 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-70737257 passed 2025-09-17 14:20:47,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 14:20:47,668 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-70737257, IP 23.153.108.69, Port 22 2025-09-17 14:20:47,824 - DEBUG - VM ctest-vn1-vm2-70737257 is ready for SSH connections 2025-09-17 14:20:47,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 14:20:47,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 14:20:47,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 14:20:47,824 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.53.39.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-17 14:20:47,824 - DEBUG - ping -s 56 -c 3 -W 1 75.53.39.69 2025-09-17 14:20:51,534 - DEBUG - PING 75.53.39.69 (75.53.39.69): 56 data bytes 64 bytes from 75.53.39.69: seq=0 ttl=63 time=4.151 ms 64 bytes from 75.53.39.69: seq=1 ttl=63 time=1.155 ms 64 bytes from 75.53.39.69: seq=2 ttl=63 time=0.947 ms --- 75.53.39.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.947/2.084/4.151 ms 2025-09-17 14:20:51,534 - INFO - Ping to IP 75.53.39.69 from VM ctest-vn1-vm2-70737257 passed 2025-09-17 14:20:51,534 - INFO - Detaching port 496a758d-433a-472c-b7ce-f77e4f6082e7 from VM ctest-vn1-vm2-70737257 2025-09-17 14:20:51,592 - INFO - Deleting VM ctest-vn1-vm2-70737257 2025-09-17 14:20:51,662 - INFO - Detaching port 9d022919-a0d7-4859-9e31-05f6a92e083d from VM ctest-vn1-vm1-05077966 2025-09-17 14:20:51,700 - INFO - Deleting VM ctest-vn1-vm1-05077966 2025-09-17 14:20:51,958 - DEBUG - Response for delete_port : () 2025-09-17 14:20:52,136 - DEBUG - Response for delete_port : () 2025-09-17 14:20:52,136 - INFO - Deleting VN ctest-vn1-60287028 2025-09-17 14:20:52,296 - DEBUG - Response for deleting network () 2025-09-17 14:20:52,554 - DEBUG - No XMPP flaps were noticed during the test
2025-09-17 14:20:52,555 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-09-17 14:20:52,555 - INFO - -------------------------------------------------------------------------------- 2025-09-17 14:20:53,337 - INFO - Deleted project: ctest-TestPorts-99779299, ID : 3ef2e12d-84fb-43c5-8e9b-9c454c526c68