2025-07-22 20:58:19,580 - INFO - Domain Default found not creating 2025-07-22 20:58:19,715 - INFO - Project ctest-TestPorts-07972766 not found, creating it 2025-07-22 20:58:20,174 - INFO - Created Project:ctest-TestPorts-07972766, ID : 70a9843b-a649-4ffa-8077-c6063228e31f 2025-07-22 20:58:21,531 - INFO - ================================================================================ 2025-07-22 20:58:21,531 - INFO - STARTING TEST : test_ports_bindings 2025-07-22 20:58:21,531 - 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-07-22 20:58:21,784 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-07-22 20:58:21,784 - INFO - Initial checks done. Running the testcase now 2025-07-22 20:58:21,784 - INFO - 2025-07-22 20:58:22,306 - DEBUG - Response for create_network : {'network': {'id': 'cb7e3074-8b4b-4644-ab66-2dcf1d227928', 'name': 'ctest-vn-58158850', 'tenant_id': '70a9843ba6494ffa8077c6063228e31f', 'project_id': '70a9843ba6494ffa8077c6063228e31f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07972766', 'ctest-vn-58158850'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 20:58:22,514 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd7f6cc1-bf1f-417b-845c-5846c3b99e9d', 'name': '', 'tenant_id': '70a9843ba6494ffa8077c6063228e31f', 'network_id': 'cb7e3074-8b4b-4644-ab66-2dcf1d227928', 'ip_version': 4, 'cidr': '223.18.104.192/26', 'allocation_pools': [{'start': '223.18.104.194', 'end': '223.18.104.254'}], 'gateway_ip': '223.18.104.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.18.104.194', 'tags': [], 'project_id': '70a9843ba6494ffa8077c6063228e31f'}} 2025-07-22 20:58:22,533 - INFO - Created VN ctest-vn-58158850 2025-07-22 20:58:22,590 - DEBUG - VN ctest-vn-58158850 UUID is cb7e3074-8b4b-4644-ab66-2dcf1d227928 2025-07-22 20:58:22,695 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-07972766', 'ctest-vmi-17591288']} 2025-07-22 20:58:22,990 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-17591288', 'id': '42b8bb17-8a3b-44be-97fe-7de14806e59a', 'tenant_id': '70a9843ba6494ffa8077c6063228e31f', 'network_id': 'cb7e3074-8b4b-4644-ab66-2dcf1d227928', 'mac_address': '02:42:b8:bb:17:8a', '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': '223.18.104.195', 'subnet_id': 'cd7f6cc1-bf1f-417b-845c-5846c3b99e9d'}], 'security_groups': ['1f01d522-ed66-4c9f-8a07-30337e01a42f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '70a9843ba6494ffa8077c6063228e31f'}} 2025-07-22 20:58:22,990 - DEBUG - Created port 42b8bb17-8a3b-44be-97fe-7de14806e59a 2025-07-22 20:58:23,094 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/42b8bb17-8a3b-44be-97fe-7de14806e59a 2025-07-22 20:58:23,383 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/42b8bb17-8a3b-44be-97fe-7de14806e59a 2025-07-22 20:58:23,415 - INFO - VMI 42b8bb17-8a3b-44be-97fe-7de14806e59a verification in API Server passed 2025-07-22 20:58:23,498 - DEBUG - Response for delete_port : () 2025-07-22 20:58:23,498 - INFO - Deleted port 42b8bb17-8a3b-44be-97fe-7de14806e59a 2025-07-22 20:58:23,498 - INFO - Deleting VN ctest-vn-58158850 2025-07-22 20:58:23,592 - DEBUG - Response for deleting network () 2025-07-22 20:58:23,855 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 20:58:23,855 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-07-22 20:58:23,856 - INFO - -------------------------------------------------------------------------------- 2025-07-22 20:58:23,859 - INFO - ================================================================================ 2025-07-22 20:58:23,859 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-22 20:58:23,860 - 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-07-22 20:58:24,144 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-07-22 20:58:24,144 - INFO - Initial checks done. Running the testcase now 2025-07-22 20:58:24,144 - INFO - 2025-07-22 20:58:24,312 - DEBUG - Response for create_network : {'network': {'id': '4f373e63-df27-4a9b-aa2c-6805417c652b', 'name': 'ctest-vn1-62073680', 'tenant_id': '70a9843ba6494ffa8077c6063228e31f', 'project_id': '70a9843ba6494ffa8077c6063228e31f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07972766', 'ctest-vn1-62073680'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 20:58:24,476 - DEBUG - Response for create_subnet : {'subnet': {'id': '25fa1e7b-10d2-4224-97c7-f53164b65fd7', 'name': '', 'tenant_id': '70a9843ba6494ffa8077c6063228e31f', 'network_id': '4f373e63-df27-4a9b-aa2c-6805417c652b', 'ip_version': 4, 'cidr': '92.16.110.192/26', 'allocation_pools': [{'start': '92.16.110.194', 'end': '92.16.110.254'}], 'gateway_ip': '92.16.110.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.16.110.194', 'tags': [], 'project_id': '70a9843ba6494ffa8077c6063228e31f'}} 2025-07-22 20:58:24,656 - DEBUG - Response for create_subnet : {'subnet': {'id': '64735364-049f-4cae-8faa-86e6acd876e0', 'name': '', 'tenant_id': '70a9843ba6494ffa8077c6063228e31f', 'network_id': '4f373e63-df27-4a9b-aa2c-6805417c652b', 'ip_version': 4, 'cidr': '75.33.107.0/26', 'allocation_pools': [{'start': '75.33.107.2', 'end': '75.33.107.62'}], 'gateway_ip': '75.33.107.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.33.107.2', 'tags': [], 'project_id': '70a9843ba6494ffa8077c6063228e31f'}} 2025-07-22 20:58:24,679 - INFO - Created VN ctest-vn1-62073680 2025-07-22 20:58:24,730 - DEBUG - VN ctest-vn1-62073680 UUID is 4f373e63-df27-4a9b-aa2c-6805417c652b 2025-07-22 20:58:25,057 - DEBUG - Response for create_port : {'port': {'name': '63b8a131-6b59-42ab-ae0c-2a4efcbcf153', 'id': '63b8a131-6b59-42ab-ae0c-2a4efcbcf153', 'tenant_id': '70a9843ba6494ffa8077c6063228e31f', 'network_id': '4f373e63-df27-4a9b-aa2c-6805417c652b', 'mac_address': '02:63:b8:a1:31:6b', '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': '92.16.110.197', 'subnet_id': '25fa1e7b-10d2-4224-97c7-f53164b65fd7'}], 'security_groups': ['1f01d522-ed66-4c9f-8a07-30337e01a42f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '70a9843ba6494ffa8077c6063228e31f'}} 2025-07-22 20:58:25,254 - DEBUG - Response for create_port : {'port': {'name': 'a08ca2af-2633-466e-948b-550fdec64baf', 'id': 'a08ca2af-2633-466e-948b-550fdec64baf', 'tenant_id': '70a9843ba6494ffa8077c6063228e31f', 'network_id': '4f373e63-df27-4a9b-aa2c-6805417c652b', 'mac_address': '02:a0:8c:a2:af:26', '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.33.107.5', 'subnet_id': '64735364-049f-4cae-8faa-86e6acd876e0'}], 'security_groups': ['1f01d522-ed66-4c9f-8a07-30337e01a42f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '70a9843ba6494ffa8077c6063228e31f'}} 2025-07-22 20:58:25,305 - DEBUG - Services list from nova: [, , ] 2025-07-22 20:58:25,617 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3695-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3695-1) 2025-07-22 20:58:25,973 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3695-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3695-1) 2025-07-22 20:58:25,973 - INFO - Waiting for VM ctest-vn1-vm1-64842717 to be up.. 2025-07-22 20:58:26,013 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 20:58:31,084 - DEBUG - VM is in ACTIVE state now 2025-07-22 20:58:31,084 - INFO - VM name : ctest-vn1-vm1-64842717 2025-07-22 20:58:31,148 - DEBUG - VM ctest-vn1-vm1-64842717 ID is 56fa2d9c-0e3b-48af-bc14-d2d2ece7514d 2025-07-22 20:58:31,165 - DEBUG - VM ctest-vn1-vm1-64842717 launched on Node cn-jenkins-deploy-platform-ansible-os-3695-1 2025-07-22 20:58:31,230 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/56fa2d9c-0e3b-48af-bc14-d2d2ece7514d 2025-07-22 20:58:31,238 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/63b8a131-6b59-42ab-ae0c-2a4efcbcf153 2025-07-22 20:58:34,503 - 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 1028ms') 2025-07-22 20:58:34,503 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64842717 failed! 2025-07-22 20:58:34,558 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07972766:ctest-vn1-62073680 is 92.16.110.193 and allocation pool is NOT set 2025-07-22 20:58:34,558 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07972766:ctest-vn1-62073680 is 75.33.107.1 and allocation pool is NOT set 2025-07-22 20:58:36,622 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.27 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.969/3.118/3.267/0.149 ms') 2025-07-22 20:58:36,622 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64842717 passed 2025-07-22 20:58:36,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 20:58:36,774 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64842717, IP 92.16.110.197, Port 22 2025-07-22 20:58:36,930 - DEBUG - VM ctest-vn1-vm1-64842717 is ready for SSH connections 2025-07-22 20:58:36,930 - INFO - Waiting for VM ctest-vn1-vm2-07028880 to be up.. 2025-07-22 20:58:37,022 - DEBUG - VM is in ACTIVE state now 2025-07-22 20:58:37,022 - INFO - VM name : ctest-vn1-vm2-07028880 2025-07-22 20:58:37,096 - DEBUG - VM ctest-vn1-vm2-07028880 ID is ef0021b1-89e2-450a-8750-aa4ea9c2493e 2025-07-22 20:58:37,096 - DEBUG - VM ctest-vn1-vm2-07028880 launched on Node cn-jenkins-deploy-platform-ansible-os-3695-1 2025-07-22 20:58:37,169 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ef0021b1-89e2-450a-8750-aa4ea9c2493e 2025-07-22 20:58:37,178 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a08ca2af-2633-466e-948b-550fdec64baf 2025-07-22 20:58:38,414 - 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=5.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.824 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.824/3.206/5.588/2.382 ms') 2025-07-22 20:58:38,414 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-07028880 passed 2025-07-22 20:58:38,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 20:58:38,622 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07028880, IP 75.33.107.5, Port 22 2025-07-22 20:58:38,773 - DEBUG - VM ctest-vn1-vm2-07028880 is ready for SSH connections 2025-07-22 20:58:38,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 20:58:38,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 20:58:38,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 20:58:38,774 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.16.110.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-22 20:58:38,774 - DEBUG - ping -s 56 -c 3 -W 1 92.16.110.197 2025-07-22 20:58:41,694 - DEBUG - PING 92.16.110.197 (92.16.110.197): 56 data bytes 64 bytes from 92.16.110.197: seq=0 ttl=63 time=3.260 ms 64 bytes from 92.16.110.197: seq=1 ttl=63 time=0.771 ms 64 bytes from 92.16.110.197: seq=2 ttl=63 time=0.742 ms --- 92.16.110.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.742/1.591/3.260 ms 2025-07-22 20:58:41,694 - INFO - Ping to IP 92.16.110.197 from VM ctest-vn1-vm2-07028880 passed 2025-07-22 20:58:41,695 - INFO - Detaching port a08ca2af-2633-466e-948b-550fdec64baf from VM ctest-vn1-vm2-07028880 2025-07-22 20:58:41,744 - INFO - Deleting VM ctest-vn1-vm2-07028880 2025-07-22 20:58:41,805 - INFO - Detaching port 63b8a131-6b59-42ab-ae0c-2a4efcbcf153 from VM ctest-vn1-vm1-64842717 2025-07-22 20:58:41,838 - INFO - Deleting VM ctest-vn1-vm1-64842717 2025-07-22 20:58:42,062 - DEBUG - Response for delete_port : () 2025-07-22 20:58:42,211 - DEBUG - Response for delete_port : () 2025-07-22 20:58:42,212 - INFO - Deleting VN ctest-vn1-62073680 2025-07-22 20:58:42,336 - DEBUG - Response for deleting network () 2025-07-22 20:58:42,595 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 20:58:42,595 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-07-22 20:58:42,595 - INFO - -------------------------------------------------------------------------------- 2025-07-22 20:58:43,269 - INFO - Deleted project: ctest-TestPorts-07972766, ID : 70a9843b-a649-4ffa-8077-c6063228e31f