2025-11-05 10:47:56,805 - INFO - Domain Default found not creating 2025-11-05 10:47:56,970 - INFO - Project ctest-TestPorts-36596601 not found, creating it 2025-11-05 10:47:57,437 - INFO - Created Project:ctest-TestPorts-36596601, ID : c3aa490e-7f31-48d2-9ee8-904916cf3013 2025-11-05 10:47:58,891 - INFO - ================================================================================ 2025-11-05 10:47:58,891 - INFO - STARTING TEST : test_ports_bindings 2025-11-05 10:47:58,891 - 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 10:47:59,152 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-11-05 10:47:59,152 - INFO - Initial checks done. Running the testcase now 2025-11-05 10:47:59,152 - INFO - 2025-11-05 10:47:59,712 - DEBUG - Response for create_network : {'network': {'id': 'e3bbf51e-430c-4606-a9aa-69cf420b83b1', 'name': 'ctest-vn-26102495', 'tenant_id': 'c3aa490e7f3148d29ee8904916cf3013', 'project_id': 'c3aa490e7f3148d29ee8904916cf3013', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36596601', 'ctest-vn-26102495'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 10:47:59,875 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f59d10b7-911e-4e2b-96fd-05d2e4d7598c', 'name': '', 'tenant_id': 'c3aa490e7f3148d29ee8904916cf3013', 'network_id': 'e3bbf51e-430c-4606-a9aa-69cf420b83b1', 'ip_version': 4, 'cidr': '145.37.85.192/26', 'allocation_pools': [{'start': '145.37.85.194', 'end': '145.37.85.254'}], 'gateway_ip': '145.37.85.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.37.85.194', 'tags': [], 'project_id': 'c3aa490e7f3148d29ee8904916cf3013'}} 2025-11-05 10:47:59,893 - INFO - Created VN ctest-vn-26102495 2025-11-05 10:47:59,946 - DEBUG - VN ctest-vn-26102495 UUID is e3bbf51e-430c-4606-a9aa-69cf420b83b1 2025-11-05 10:48:00,061 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-36596601', 'ctest-vmi-92728056']} 2025-11-05 10:48:00,305 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-92728056', 'id': '0b8c46e8-9061-49e0-ac9a-0169ca700173', 'tenant_id': 'c3aa490e7f3148d29ee8904916cf3013', 'network_id': 'e3bbf51e-430c-4606-a9aa-69cf420b83b1', 'mac_address': '02:0b:8c:46:e8:90', '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': '145.37.85.195', 'subnet_id': 'f59d10b7-911e-4e2b-96fd-05d2e4d7598c'}], 'security_groups': ['ef837b23-61b5-4b31-9e72-87125f0dd31e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c3aa490e7f3148d29ee8904916cf3013'}} 2025-11-05 10:48:00,306 - DEBUG - Created port 0b8c46e8-9061-49e0-ac9a-0169ca700173 2025-11-05 10:48:00,410 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0b8c46e8-9061-49e0-ac9a-0169ca700173 2025-11-05 10:48:00,715 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0b8c46e8-9061-49e0-ac9a-0169ca700173 2025-11-05 10:48:00,751 - INFO - VMI 0b8c46e8-9061-49e0-ac9a-0169ca700173 verification in API Server passed 2025-11-05 10:48:00,849 - DEBUG - Response for delete_port : () 2025-11-05 10:48:00,849 - INFO - Deleted port 0b8c46e8-9061-49e0-ac9a-0169ca700173 2025-11-05 10:48:00,849 - INFO - Deleting VN ctest-vn-26102495 2025-11-05 10:48:00,956 - DEBUG - Response for deleting network () 2025-11-05 10:48:01,216 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 10:48:01,216 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-05 10:48:01,216 - INFO - -------------------------------------------------------------------------------- 2025-11-05 10:48:01,218 - INFO - ================================================================================ 2025-11-05 10:48:01,218 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-05 10:48:01,218 - 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 10:48:01,521 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-11-05 10:48:01,521 - INFO - Initial checks done. Running the testcase now 2025-11-05 10:48:01,521 - INFO - 2025-11-05 10:48:01,712 - DEBUG - Response for create_network : {'network': {'id': 'ccf913b6-70b6-43a8-9dfd-50bc2d711d99', 'name': 'ctest-vn1-87039024', 'tenant_id': 'c3aa490e7f3148d29ee8904916cf3013', 'project_id': 'c3aa490e7f3148d29ee8904916cf3013', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36596601', 'ctest-vn1-87039024'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 10:48:01,919 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b6d8198-171e-4c1c-afdd-68cf40ee9974', 'name': '', 'tenant_id': 'c3aa490e7f3148d29ee8904916cf3013', 'network_id': 'ccf913b6-70b6-43a8-9dfd-50bc2d711d99', 'ip_version': 4, 'cidr': '163.90.154.192/26', 'allocation_pools': [{'start': '163.90.154.194', 'end': '163.90.154.254'}], 'gateway_ip': '163.90.154.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.90.154.194', 'tags': [], 'project_id': 'c3aa490e7f3148d29ee8904916cf3013'}} 2025-11-05 10:48:02,089 - DEBUG - Response for create_subnet : {'subnet': {'id': '28950be1-be42-4e6a-bce5-16bd1cb5aae0', 'name': '', 'tenant_id': 'c3aa490e7f3148d29ee8904916cf3013', 'network_id': 'ccf913b6-70b6-43a8-9dfd-50bc2d711d99', 'ip_version': 4, 'cidr': '105.221.206.0/26', 'allocation_pools': [{'start': '105.221.206.2', 'end': '105.221.206.62'}], 'gateway_ip': '105.221.206.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.221.206.2', 'tags': [], 'project_id': 'c3aa490e7f3148d29ee8904916cf3013'}} 2025-11-05 10:48:02,109 - INFO - Created VN ctest-vn1-87039024 2025-11-05 10:48:02,162 - DEBUG - VN ctest-vn1-87039024 UUID is ccf913b6-70b6-43a8-9dfd-50bc2d711d99 2025-11-05 10:48:02,466 - DEBUG - Response for create_port : {'port': {'name': 'a2cfa287-ea52-49c2-9eaf-15a7cc7e80aa', 'id': 'a2cfa287-ea52-49c2-9eaf-15a7cc7e80aa', 'tenant_id': 'c3aa490e7f3148d29ee8904916cf3013', 'network_id': 'ccf913b6-70b6-43a8-9dfd-50bc2d711d99', 'mac_address': '02:a2:cf:a2:87:ea', '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': '163.90.154.197', 'subnet_id': '4b6d8198-171e-4c1c-afdd-68cf40ee9974'}], 'security_groups': ['ef837b23-61b5-4b31-9e72-87125f0dd31e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c3aa490e7f3148d29ee8904916cf3013'}} 2025-11-05 10:48:02,659 - DEBUG - Response for create_port : {'port': {'name': 'b0fbc370-c171-4156-99c1-c648eac55333', 'id': 'b0fbc370-c171-4156-99c1-c648eac55333', 'tenant_id': 'c3aa490e7f3148d29ee8904916cf3013', 'network_id': 'ccf913b6-70b6-43a8-9dfd-50bc2d711d99', 'mac_address': '02:b0:fb:c3:70:c1', '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': '105.221.206.5', 'subnet_id': '28950be1-be42-4e6a-bce5-16bd1cb5aae0'}], 'security_groups': ['ef837b23-61b5-4b31-9e72-87125f0dd31e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c3aa490e7f3148d29ee8904916cf3013'}} 2025-11-05 10:48:02,717 - DEBUG - Services list from nova: [, , ] 2025-11-05 10:48:03,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4638-1) 2025-11-05 10:48:03,478 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4638-1) 2025-11-05 10:48:03,478 - INFO - Waiting for VM ctest-vn1-vm1-52577158 to be up.. 2025-11-05 10:48:03,519 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 10:48:08,600 - DEBUG - VM is in ACTIVE state now 2025-11-05 10:48:08,600 - INFO - VM name : ctest-vn1-vm1-52577158 2025-11-05 10:48:08,674 - DEBUG - VM ctest-vn1-vm1-52577158 ID is 1bac881e-d9a6-4bd6-be89-cf0997e1b2e7 2025-11-05 10:48:08,693 - DEBUG - VM ctest-vn1-vm1-52577158 launched on Node cn-jenkins-deploy-platform-ansible-os-4638-1 2025-11-05 10:48:08,772 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1bac881e-d9a6-4bd6-be89-cf0997e1b2e7 2025-11-05 10:48:08,780 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a2cfa287-ea52-49c2-9eaf-15a7cc7e80aa 2025-11-05 10:48:12,048 - 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 1025ms') 2025-11-05 10:48:12,048 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-52577158 failed! 2025-11-05 10:48:12,102 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36596601:ctest-vn1-87039024 is 163.90.154.193 and allocation pool is NOT set 2025-11-05 10:48:12,102 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36596601:ctest-vn1-87039024 is 105.221.206.1 and allocation pool is NOT set 2025-11-05 10:48:16,170 - 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=18.6 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 18.626/18.626/18.626/0.000 ms') 2025-11-05 10:48:16,170 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-52577158 passed 2025-11-05 10:48:16,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:48:16,318 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52577158, IP 163.90.154.197, Port 22 2025-11-05 10:48:16,474 - DEBUG - VM ctest-vn1-vm1-52577158 is ready for SSH connections 2025-11-05 10:48:16,474 - INFO - Waiting for VM ctest-vn1-vm2-37102074 to be up.. 2025-11-05 10:48:16,554 - DEBUG - VM is in ACTIVE state now 2025-11-05 10:48:16,554 - INFO - VM name : ctest-vn1-vm2-37102074 2025-11-05 10:48:16,626 - DEBUG - VM ctest-vn1-vm2-37102074 ID is 19a59169-e4c1-4fa4-be8c-5be265ccad7c 2025-11-05 10:48:16,626 - DEBUG - VM ctest-vn1-vm2-37102074 launched on Node cn-jenkins-deploy-platform-ansible-os-4638-1 2025-11-05 10:48:16,697 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/19a59169-e4c1-4fa4-be8c-5be265ccad7c 2025-11-05 10:48:16,707 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b0fbc370-c171-4156-99c1-c648eac55333 2025-11-05 10:48:17,945 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/1.685/2.945/1.260 ms') 2025-11-05 10:48:17,945 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-37102074 passed 2025-11-05 10:48:18,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:48:18,094 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-37102074, IP 105.221.206.5, Port 22 2025-11-05 10:48:18,275 - DEBUG - VM ctest-vn1-vm2-37102074 is ready for SSH connections 2025-11-05 10:48:18,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:48:18,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:48:18,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:48:18,275 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.90.154.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 10:48:18,276 - DEBUG - ping -s 56 -c 3 -W 1 163.90.154.197 2025-11-05 10:48:21,987 - DEBUG - PING 163.90.154.197 (163.90.154.197): 56 data bytes 64 bytes from 163.90.154.197: seq=0 ttl=63 time=3.305 ms 64 bytes from 163.90.154.197: seq=1 ttl=63 time=1.085 ms 64 bytes from 163.90.154.197: seq=2 ttl=63 time=1.568 ms --- 163.90.154.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.085/1.986/3.305 ms 2025-11-05 10:48:21,987 - INFO - Ping to IP 163.90.154.197 from VM ctest-vn1-vm2-37102074 passed 2025-11-05 10:48:21,987 - INFO - Detaching port b0fbc370-c171-4156-99c1-c648eac55333 from VM ctest-vn1-vm2-37102074 2025-11-05 10:48:22,041 - INFO - Deleting VM ctest-vn1-vm2-37102074 2025-11-05 10:48:22,115 - INFO - Detaching port a2cfa287-ea52-49c2-9eaf-15a7cc7e80aa from VM ctest-vn1-vm1-52577158 2025-11-05 10:48:22,154 - INFO - Deleting VM ctest-vn1-vm1-52577158 2025-11-05 10:48:22,401 - DEBUG - Response for delete_port : () 2025-11-05 10:48:22,563 - DEBUG - Response for delete_port : () 2025-11-05 10:48:22,563 - INFO - Deleting VN ctest-vn1-87039024 2025-11-05 10:48:22,711 - DEBUG - Response for deleting network () 2025-11-05 10:48:22,989 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 10:48:22,989 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-05 10:48:22,989 - INFO - -------------------------------------------------------------------------------- 2025-11-05 10:48:23,777 - INFO - Deleted project: ctest-TestPorts-36596601, ID : c3aa490e-7f31-48d2-9ee8-904916cf3013