2025-11-12 21:45:53,514 - INFO - Domain Default found not creating 2025-11-12 21:45:53,653 - INFO - Project ctest-TestPorts-77566099 not found, creating it 2025-11-12 21:45:54,111 - INFO - Created Project:ctest-TestPorts-77566099, ID : d462adfb-4a0f-4d62-a30a-b6c7a56bbaef 2025-11-12 21:45:55,614 - INFO - ================================================================================ 2025-11-12 21:45:55,614 - INFO - STARTING TEST : test_ports_bindings 2025-11-12 21:45:55,614 - 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-12 21:45:55,869 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-12 21:45:55,869 - INFO - Initial checks done. Running the testcase now 2025-11-12 21:45:55,869 - INFO - 2025-11-12 21:45:56,433 - DEBUG - Response for create_network : {'network': {'id': 'b4900391-5e81-45b8-b820-6fe55251d63d', 'name': 'ctest-vn-73190354', 'tenant_id': 'd462adfb4a0f4d62a30ab6c7a56bbaef', 'project_id': 'd462adfb4a0f4d62a30ab6c7a56bbaef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-77566099', 'ctest-vn-73190354'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 21:45:56,595 - DEBUG - Response for create_subnet : {'subnet': {'id': '494d56af-e466-4c59-b987-50b43dd3add3', 'name': '', 'tenant_id': 'd462adfb4a0f4d62a30ab6c7a56bbaef', 'network_id': 'b4900391-5e81-45b8-b820-6fe55251d63d', 'ip_version': 4, 'cidr': '124.61.121.128/26', 'allocation_pools': [{'start': '124.61.121.130', 'end': '124.61.121.190'}], 'gateway_ip': '124.61.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.61.121.130', 'tags': [], 'project_id': 'd462adfb4a0f4d62a30ab6c7a56bbaef'}} 2025-11-12 21:45:56,609 - INFO - Created VN ctest-vn-73190354 2025-11-12 21:45:56,664 - DEBUG - VN ctest-vn-73190354 UUID is b4900391-5e81-45b8-b820-6fe55251d63d 2025-11-12 21:45:56,767 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-77566099', 'ctest-vmi-25739282']} 2025-11-12 21:45:57,008 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-25739282', 'id': 'efa24478-e987-4d70-b516-5d009335607d', 'tenant_id': 'd462adfb4a0f4d62a30ab6c7a56bbaef', 'network_id': 'b4900391-5e81-45b8-b820-6fe55251d63d', 'mac_address': '02:ef:a2:44:78:e9', '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': '124.61.121.131', 'subnet_id': '494d56af-e466-4c59-b987-50b43dd3add3'}], 'security_groups': ['81838d0b-4e3e-424d-ab6d-2af308abc8f1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd462adfb4a0f4d62a30ab6c7a56bbaef'}} 2025-11-12 21:45:57,009 - DEBUG - Created port efa24478-e987-4d70-b516-5d009335607d 2025-11-12 21:45:57,112 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/efa24478-e987-4d70-b516-5d009335607d 2025-11-12 21:45:57,431 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/efa24478-e987-4d70-b516-5d009335607d 2025-11-12 21:45:57,464 - INFO - VMI efa24478-e987-4d70-b516-5d009335607d verification in API Server passed 2025-11-12 21:45:57,540 - DEBUG - Response for delete_port : () 2025-11-12 21:45:57,540 - INFO - Deleted port efa24478-e987-4d70-b516-5d009335607d 2025-11-12 21:45:57,540 - INFO - Deleting VN ctest-vn-73190354 2025-11-12 21:45:57,618 - DEBUG - Response for deleting network () 2025-11-12 21:45:57,872 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 21:45:57,872 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-12 21:45:57,873 - INFO - -------------------------------------------------------------------------------- 2025-11-12 21:45:57,875 - INFO - ================================================================================ 2025-11-12 21:45:57,875 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-12 21:45:57,876 - 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-12 21:45:58,160 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-12 21:45:58,160 - INFO - Initial checks done. Running the testcase now 2025-11-12 21:45:58,160 - INFO - 2025-11-12 21:45:58,304 - DEBUG - Response for create_network : {'network': {'id': '929a0851-77c7-4259-86c1-76b378372243', 'name': 'ctest-vn1-15106277', 'tenant_id': 'd462adfb4a0f4d62a30ab6c7a56bbaef', 'project_id': 'd462adfb4a0f4d62a30ab6c7a56bbaef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-77566099', 'ctest-vn1-15106277'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 21:45:58,511 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae31bd53-e59f-4999-b12e-a611cb741ab1', 'name': '', 'tenant_id': 'd462adfb4a0f4d62a30ab6c7a56bbaef', 'network_id': '929a0851-77c7-4259-86c1-76b378372243', 'ip_version': 4, 'cidr': '24.232.33.64/26', 'allocation_pools': [{'start': '24.232.33.66', 'end': '24.232.33.126'}], 'gateway_ip': '24.232.33.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.232.33.66', 'tags': [], 'project_id': 'd462adfb4a0f4d62a30ab6c7a56bbaef'}} 2025-11-12 21:45:58,691 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e383ef4-f082-4147-ad1b-eef86979ead7', 'name': '', 'tenant_id': 'd462adfb4a0f4d62a30ab6c7a56bbaef', 'network_id': '929a0851-77c7-4259-86c1-76b378372243', 'ip_version': 4, 'cidr': '168.175.188.0/26', 'allocation_pools': [{'start': '168.175.188.2', 'end': '168.175.188.62'}], 'gateway_ip': '168.175.188.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.175.188.2', 'tags': [], 'project_id': 'd462adfb4a0f4d62a30ab6c7a56bbaef'}} 2025-11-12 21:45:58,706 - INFO - Created VN ctest-vn1-15106277 2025-11-12 21:45:58,755 - DEBUG - VN ctest-vn1-15106277 UUID is 929a0851-77c7-4259-86c1-76b378372243 2025-11-12 21:45:59,031 - DEBUG - Response for create_port : {'port': {'name': 'aa0ec755-ca80-4f62-b689-2b9caa1e7a5c', 'id': 'aa0ec755-ca80-4f62-b689-2b9caa1e7a5c', 'tenant_id': 'd462adfb4a0f4d62a30ab6c7a56bbaef', 'network_id': '929a0851-77c7-4259-86c1-76b378372243', 'mac_address': '02:aa:0e:c7:55:ca', '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': '24.232.33.69', 'subnet_id': 'ae31bd53-e59f-4999-b12e-a611cb741ab1'}], 'security_groups': ['81838d0b-4e3e-424d-ab6d-2af308abc8f1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd462adfb4a0f4d62a30ab6c7a56bbaef'}} 2025-11-12 21:45:59,218 - DEBUG - Response for create_port : {'port': {'name': '0dd493fc-7b8b-4e72-ac6c-e70b263107b6', 'id': '0dd493fc-7b8b-4e72-ac6c-e70b263107b6', 'tenant_id': 'd462adfb4a0f4d62a30ab6c7a56bbaef', 'network_id': '929a0851-77c7-4259-86c1-76b378372243', 'mac_address': '02:0d:d4:93:fc:7b', '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': '168.175.188.5', 'subnet_id': '1e383ef4-f082-4147-ad1b-eef86979ead7'}], 'security_groups': ['81838d0b-4e3e-424d-ab6d-2af308abc8f1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd462adfb4a0f4d62a30ab6c7a56bbaef'}} 2025-11-12 21:45:59,267 - DEBUG - Services list from nova: [, , ] 2025-11-12 21:45:59,539 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4711-1) 2025-11-12 21:45:59,875 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4711-1) 2025-11-12 21:45:59,875 - INFO - Waiting for VM ctest-vn1-vm1-82391168 to be up.. 2025-11-12 21:45:59,917 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 21:46:04,984 - DEBUG - VM is in ACTIVE state now 2025-11-12 21:46:04,984 - INFO - VM name : ctest-vn1-vm1-82391168 2025-11-12 21:46:05,049 - DEBUG - VM ctest-vn1-vm1-82391168 ID is 625ef695-6546-4ba4-8d7d-bce7a66dbdfa 2025-11-12 21:46:05,067 - DEBUG - VM ctest-vn1-vm1-82391168 launched on Node cn-jenkins-deploy-platform-ansible-os-4711-1 2025-11-12 21:46:05,138 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/625ef695-6546-4ba4-8d7d-bce7a66dbdfa 2025-11-12 21:46:05,146 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/aa0ec755-ca80-4f62-b689-2b9caa1e7a5c 2025-11-12 21:46:08,392 - 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 1007ms') 2025-11-12 21:46:08,392 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82391168 failed! 2025-11-12 21:46:08,452 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-77566099:ctest-vn1-15106277 is 24.232.33.65 and allocation pool is NOT set 2025-11-12 21:46:08,452 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-77566099:ctest-vn1-15106277 is 168.175.188.1 and allocation pool is NOT set 2025-11-12 21:46:10,512 - 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=2.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.514 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.514/1.718/2.922/1.204 ms') 2025-11-12 21:46:10,513 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82391168 passed 2025-11-12 21:46:10,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 21:46:10,668 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82391168, IP 24.232.33.69, Port 22 2025-11-12 21:46:10,835 - DEBUG - VM ctest-vn1-vm1-82391168 is ready for SSH connections 2025-11-12 21:46:10,835 - INFO - Waiting for VM ctest-vn1-vm2-51306335 to be up.. 2025-11-12 21:46:10,903 - DEBUG - VM is in ACTIVE state now 2025-11-12 21:46:10,903 - INFO - VM name : ctest-vn1-vm2-51306335 2025-11-12 21:46:10,967 - DEBUG - VM ctest-vn1-vm2-51306335 ID is dcca8bee-a4f0-4352-8b14-60b653e1e11b 2025-11-12 21:46:10,967 - DEBUG - VM ctest-vn1-vm2-51306335 launched on Node cn-jenkins-deploy-platform-ansible-os-4711-1 2025-11-12 21:46:11,033 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/dcca8bee-a4f0-4352-8b14-60b653e1e11b 2025-11-12 21:46:11,042 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0dd493fc-7b8b-4e72-ac6c-e70b263107b6 2025-11-12 21:46:12,281 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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.452/1.820/3.188/1.368 ms') 2025-11-12 21:46:12,281 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-51306335 passed 2025-11-12 21:46:12,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 21:46:12,432 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-51306335, IP 168.175.188.5, Port 22 2025-11-12 21:46:12,591 - DEBUG - VM ctest-vn1-vm2-51306335 is ready for SSH connections 2025-11-12 21:46:12,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 21:46:12,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 21:46:12,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 21:46:12,591 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.232.33.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-12 21:46:12,592 - DEBUG - ping -s 56 -c 3 -W 1 24.232.33.69 2025-11-12 21:46:15,447 - DEBUG - PING 24.232.33.69 (24.232.33.69): 56 data bytes 64 bytes from 24.232.33.69: seq=0 ttl=63 time=3.501 ms 64 bytes from 24.232.33.69: seq=1 ttl=63 time=0.919 ms 64 bytes from 24.232.33.69: seq=2 ttl=63 time=1.064 ms --- 24.232.33.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.919/1.828/3.501 ms 2025-11-12 21:46:15,447 - INFO - Ping to IP 24.232.33.69 from VM ctest-vn1-vm2-51306335 passed 2025-11-12 21:46:15,447 - INFO - Detaching port 0dd493fc-7b8b-4e72-ac6c-e70b263107b6 from VM ctest-vn1-vm2-51306335 2025-11-12 21:46:15,493 - INFO - Deleting VM ctest-vn1-vm2-51306335 2025-11-12 21:46:15,571 - INFO - Detaching port aa0ec755-ca80-4f62-b689-2b9caa1e7a5c from VM ctest-vn1-vm1-82391168 2025-11-12 21:46:15,603 - INFO - Deleting VM ctest-vn1-vm1-82391168 2025-11-12 21:46:15,815 - DEBUG - Response for delete_port : () 2025-11-12 21:46:15,948 - DEBUG - Response for delete_port : () 2025-11-12 21:46:15,948 - INFO - Deleting VN ctest-vn1-15106277 2025-11-12 21:46:16,062 - DEBUG - Response for deleting network () 2025-11-12 21:46:16,320 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 21:46:16,321 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-12 21:46:16,321 - INFO - -------------------------------------------------------------------------------- 2025-11-12 21:46:17,006 - INFO - Deleted project: ctest-TestPorts-77566099, ID : d462adfb-4a0f-4d62-a30a-b6c7a56bbaef