2025-11-05 17:30:54,081 - INFO - Domain Default found not creating 2025-11-05 17:30:54,284 - INFO - Project ctest-TestPorts-76165755 not found, creating it 2025-11-05 17:30:54,814 - INFO - Created Project:ctest-TestPorts-76165755, ID : 8d898f70-cb70-4717-a26a-e240c83ebb0f 2025-11-05 17:30:56,567 - INFO - ================================================================================ 2025-11-05 17:30:56,567 - INFO - STARTING TEST : test_ports_bindings 2025-11-05 17:30:56,568 - 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 17:30:56,853 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2025-11-05 17:30:56,854 - INFO - Initial checks done. Running the testcase now 2025-11-05 17:30:56,854 - INFO - 2025-11-05 17:30:57,469 - DEBUG - Response for create_network : {'network': {'id': '65f357a4-b83b-4105-ad56-7bbdd44adafa', 'name': 'ctest-vn-81963107', 'tenant_id': '8d898f70cb704717a26ae240c83ebb0f', 'project_id': '8d898f70cb704717a26ae240c83ebb0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76165755', 'ctest-vn-81963107'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 17:30:57,638 - DEBUG - Response for create_subnet : {'subnet': {'id': '2cd231bf-d86f-4853-a62f-c9cd0d8a771b', 'name': '', 'tenant_id': '8d898f70cb704717a26ae240c83ebb0f', 'network_id': '65f357a4-b83b-4105-ad56-7bbdd44adafa', 'ip_version': 4, 'cidr': '187.108.6.64/26', 'allocation_pools': [{'start': '187.108.6.66', 'end': '187.108.6.126'}], 'gateway_ip': '187.108.6.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.108.6.66', 'tags': [], 'project_id': '8d898f70cb704717a26ae240c83ebb0f'}} 2025-11-05 17:30:57,656 - INFO - Created VN ctest-vn-81963107 2025-11-05 17:30:57,708 - DEBUG - VN ctest-vn-81963107 UUID is 65f357a4-b83b-4105-ad56-7bbdd44adafa 2025-11-05 17:30:57,829 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-76165755', 'ctest-vmi-87509037']} 2025-11-05 17:30:58,104 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-87509037', 'id': '3a1bfbdb-6a93-4ee1-a220-3786956e054a', 'tenant_id': '8d898f70cb704717a26ae240c83ebb0f', 'network_id': '65f357a4-b83b-4105-ad56-7bbdd44adafa', 'mac_address': '02:3a:1b:fb:db:6a', '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': '187.108.6.67', 'subnet_id': '2cd231bf-d86f-4853-a62f-c9cd0d8a771b'}], 'security_groups': ['e7ffd5f1-09fd-48db-afa9-9a97315fa7a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8d898f70cb704717a26ae240c83ebb0f'}} 2025-11-05 17:30:58,104 - DEBUG - Created port 3a1bfbdb-6a93-4ee1-a220-3786956e054a 2025-11-05 17:30:58,212 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3a1bfbdb-6a93-4ee1-a220-3786956e054a 2025-11-05 17:30:58,510 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3a1bfbdb-6a93-4ee1-a220-3786956e054a 2025-11-05 17:30:58,547 - INFO - VMI 3a1bfbdb-6a93-4ee1-a220-3786956e054a verification in API Server passed 2025-11-05 17:30:58,673 - DEBUG - Response for delete_port : () 2025-11-05 17:30:58,673 - INFO - Deleted port 3a1bfbdb-6a93-4ee1-a220-3786956e054a 2025-11-05 17:30:58,673 - INFO - Deleting VN ctest-vn-81963107 2025-11-05 17:30:58,796 - DEBUG - Response for deleting network () 2025-11-05 17:30:59,070 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 17:30:59,070 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-05 17:30:59,070 - INFO - -------------------------------------------------------------------------------- 2025-11-05 17:30:59,077 - INFO - ================================================================================ 2025-11-05 17:30:59,078 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-05 17:30:59,078 - 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 17:30:59,370 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2025-11-05 17:30:59,370 - INFO - Initial checks done. Running the testcase now 2025-11-05 17:30:59,370 - INFO - 2025-11-05 17:30:59,603 - DEBUG - Response for create_network : {'network': {'id': 'ad0720d8-247b-4dae-9d8d-2f65014d4181', 'name': 'ctest-vn1-60537091', 'tenant_id': '8d898f70cb704717a26ae240c83ebb0f', 'project_id': '8d898f70cb704717a26ae240c83ebb0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76165755', 'ctest-vn1-60537091'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 17:30:59,785 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0aaa03a-6300-44ad-94a9-3acaa72b010a', 'name': '', 'tenant_id': '8d898f70cb704717a26ae240c83ebb0f', 'network_id': 'ad0720d8-247b-4dae-9d8d-2f65014d4181', 'ip_version': 4, 'cidr': '201.86.153.64/26', 'allocation_pools': [{'start': '201.86.153.66', 'end': '201.86.153.126'}], 'gateway_ip': '201.86.153.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.86.153.66', 'tags': [], 'project_id': '8d898f70cb704717a26ae240c83ebb0f'}} 2025-11-05 17:30:59,949 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c24faee5-126d-4a4a-bd3c-d8081be04953', 'name': '', 'tenant_id': '8d898f70cb704717a26ae240c83ebb0f', 'network_id': 'ad0720d8-247b-4dae-9d8d-2f65014d4181', 'ip_version': 4, 'cidr': '198.20.67.0/26', 'allocation_pools': [{'start': '198.20.67.2', 'end': '198.20.67.62'}], 'gateway_ip': '198.20.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.20.67.2', 'tags': [], 'project_id': '8d898f70cb704717a26ae240c83ebb0f'}} 2025-11-05 17:30:59,972 - INFO - Created VN ctest-vn1-60537091 2025-11-05 17:31:00,028 - DEBUG - VN ctest-vn1-60537091 UUID is ad0720d8-247b-4dae-9d8d-2f65014d4181 2025-11-05 17:31:00,340 - DEBUG - Response for create_port : {'port': {'name': '825de9ed-2972-48b7-bc9a-e8eeaa09f266', 'id': '825de9ed-2972-48b7-bc9a-e8eeaa09f266', 'tenant_id': '8d898f70cb704717a26ae240c83ebb0f', 'network_id': 'ad0720d8-247b-4dae-9d8d-2f65014d4181', 'mac_address': '02:82:5d:e9:ed:29', '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': '201.86.153.69', 'subnet_id': 'e0aaa03a-6300-44ad-94a9-3acaa72b010a'}], 'security_groups': ['e7ffd5f1-09fd-48db-afa9-9a97315fa7a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8d898f70cb704717a26ae240c83ebb0f'}} 2025-11-05 17:31:00,509 - DEBUG - Response for create_port : {'port': {'name': 'f1e7e3c6-caa1-412a-bb83-7c1759938822', 'id': 'f1e7e3c6-caa1-412a-bb83-7c1759938822', 'tenant_id': '8d898f70cb704717a26ae240c83ebb0f', 'network_id': 'ad0720d8-247b-4dae-9d8d-2f65014d4181', 'mac_address': '02:f1:e7:e3:c6: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': '198.20.67.5', 'subnet_id': 'c24faee5-126d-4a4a-bd3c-d8081be04953'}], 'security_groups': ['e7ffd5f1-09fd-48db-afa9-9a97315fa7a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8d898f70cb704717a26ae240c83ebb0f'}} 2025-11-05 17:31:00,577 - DEBUG - Services list from nova: [, , ] 2025-11-05 17:31:00,998 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4652-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4652-1) 2025-11-05 17:31:01,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4652-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4652-1) 2025-11-05 17:31:01,472 - INFO - Waiting for VM ctest-vn1-vm1-10213787 to be up.. 2025-11-05 17:31:01,518 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 17:31:06,622 - DEBUG - VM is in ACTIVE state now 2025-11-05 17:31:06,622 - INFO - VM name : ctest-vn1-vm1-10213787 2025-11-05 17:31:06,721 - DEBUG - VM ctest-vn1-vm1-10213787 ID is dde4e050-7e97-4ab0-9297-490d7aadc8b6 2025-11-05 17:31:06,741 - DEBUG - VM ctest-vn1-vm1-10213787 launched on Node cn-jenkins-deploy-platform-ansible-os-4652-1 2025-11-05 17:31:06,829 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/dde4e050-7e97-4ab0-9297-490d7aadc8b6 2025-11-05 17:31:06,839 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/825de9ed-2972-48b7-bc9a-e8eeaa09f266 2025-11-05 17:31:10,084 - 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 1002ms') 2025-11-05 17:31:10,085 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10213787 failed! 2025-11-05 17:31:10,152 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76165755:ctest-vn1-60537091 is 201.86.153.65 and allocation pool is NOT set 2025-11-05 17:31:10,152 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76165755:ctest-vn1-60537091 is 198.20.67.1 and allocation pool is NOT set 2025-11-05 17:31:14,220 - 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 1005ms') 2025-11-05 17:31:14,220 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10213787 failed! 2025-11-05 17:31:14,276 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76165755:ctest-vn1-60537091 is 201.86.153.65 and allocation pool is NOT set 2025-11-05 17:31:14,276 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76165755:ctest-vn1-60537091 is 198.20.67.1 and allocation pool is NOT set 2025-11-05 17:31:16,342 - 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=5.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.71 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 = 1.711/3.359/5.008/1.648 ms') 2025-11-05 17:31:16,342 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10213787 passed 2025-11-05 17:31:16,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 17:31:16,496 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10213787, IP 201.86.153.69, Port 22 2025-11-05 17:31:16,679 - DEBUG - VM ctest-vn1-vm1-10213787 is ready for SSH connections 2025-11-05 17:31:16,679 - INFO - Waiting for VM ctest-vn1-vm2-67344187 to be up.. 2025-11-05 17:31:16,816 - DEBUG - VM is in ACTIVE state now 2025-11-05 17:31:16,817 - INFO - VM name : ctest-vn1-vm2-67344187 2025-11-05 17:31:16,933 - DEBUG - VM ctest-vn1-vm2-67344187 ID is ba015f71-09eb-48de-a23c-381967be7e09 2025-11-05 17:31:16,933 - DEBUG - VM ctest-vn1-vm2-67344187 launched on Node cn-jenkins-deploy-platform-ansible-os-4652-1 2025-11-05 17:31:17,046 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ba015f71-09eb-48de-a23c-381967be7e09 2025-11-05 17:31:17,058 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f1e7e3c6-caa1-412a-bb83-7c1759938822 2025-11-05 17:31:18,335 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.36 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 = 1.355/2.265/3.176/0.910 ms') 2025-11-05 17:31:18,336 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-67344187 passed 2025-11-05 17:31:18,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 17:31:18,504 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-67344187, IP 198.20.67.5, Port 22 2025-11-05 17:31:18,681 - DEBUG - VM ctest-vn1-vm2-67344187 is ready for SSH connections 2025-11-05 17:31:18,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 17:31:18,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 17:31:18,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 17:31:18,682 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.86.153.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 17:31:18,682 - DEBUG - ping -s 56 -c 3 -W 1 201.86.153.69 2025-11-05 17:31:21,389 - DEBUG - PING 201.86.153.69 (201.86.153.69): 56 data bytes 64 bytes from 201.86.153.69: seq=0 ttl=63 time=3.956 ms 64 bytes from 201.86.153.69: seq=1 ttl=63 time=1.316 ms 64 bytes from 201.86.153.69: seq=2 ttl=63 time=1.090 ms --- 201.86.153.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.090/2.120/3.956 ms 2025-11-05 17:31:21,389 - INFO - Ping to IP 201.86.153.69 from VM ctest-vn1-vm2-67344187 passed 2025-11-05 17:31:21,389 - INFO - Detaching port f1e7e3c6-caa1-412a-bb83-7c1759938822 from VM ctest-vn1-vm2-67344187 2025-11-05 17:31:21,458 - INFO - Deleting VM ctest-vn1-vm2-67344187 2025-11-05 17:31:21,547 - INFO - Detaching port 825de9ed-2972-48b7-bc9a-e8eeaa09f266 from VM ctest-vn1-vm1-10213787 2025-11-05 17:31:21,593 - INFO - Deleting VM ctest-vn1-vm1-10213787 2025-11-05 17:31:21,873 - DEBUG - Response for delete_port : () 2025-11-05 17:31:22,057 - DEBUG - Response for delete_port : () 2025-11-05 17:31:22,057 - INFO - Deleting VN ctest-vn1-60537091 2025-11-05 17:31:22,242 - DEBUG - Response for deleting network () 2025-11-05 17:31:22,511 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 17:31:22,511 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-11-05 17:31:22,511 - INFO - -------------------------------------------------------------------------------- 2025-11-05 17:31:23,327 - INFO - Deleted project: ctest-TestPorts-76165755, ID : 8d898f70-cb70-4717-a26a-e240c83ebb0f