2025-12-09 06:06:49,134 - INFO - Domain Default found not creating 2025-12-09 06:06:49,291 - INFO - Project ctest-TestPorts-55199128 not found, creating it 2025-12-09 06:06:49,738 - INFO - Created Project:ctest-TestPorts-55199128, ID : f7f40158-4ca5-4ee2-9442-bdda8d6bc433 2025-12-09 06:06:51,141 - INFO - ================================================================================ 2025-12-09 06:06:51,141 - INFO - STARTING TEST : test_ports_bindings 2025-12-09 06:06:51,141 - 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-12-09 06:06:51,399 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-09 06:06:51,400 - INFO - Initial checks done. Running the testcase now 2025-12-09 06:06:51,400 - INFO - 2025-12-09 06:06:51,912 - DEBUG - Response for create_network : {'network': {'id': 'e948d4aa-8369-4d64-baa6-04b51d14cd36', 'name': 'ctest-vn-38482246', 'tenant_id': 'f7f401584ca54ee29442bdda8d6bc433', 'project_id': 'f7f401584ca54ee29442bdda8d6bc433', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55199128', 'ctest-vn-38482246'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 06:06:52,056 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9e96c6f-dfe9-4157-89ad-4976e0d5d109', 'name': '', 'tenant_id': 'f7f401584ca54ee29442bdda8d6bc433', 'network_id': 'e948d4aa-8369-4d64-baa6-04b51d14cd36', 'ip_version': 4, 'cidr': '206.37.24.128/26', 'allocation_pools': [{'start': '206.37.24.130', 'end': '206.37.24.190'}], 'gateway_ip': '206.37.24.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.37.24.130', 'tags': [], 'project_id': 'f7f401584ca54ee29442bdda8d6bc433'}} 2025-12-09 06:06:52,072 - INFO - Created VN ctest-vn-38482246 2025-12-09 06:06:52,127 - DEBUG - VN ctest-vn-38482246 UUID is e948d4aa-8369-4d64-baa6-04b51d14cd36 2025-12-09 06:06:52,228 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-55199128', 'ctest-vmi-80872672']} 2025-12-09 06:06:52,497 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-80872672', 'id': 'ca6c18c1-c020-494c-9695-2791525f225e', 'tenant_id': 'f7f401584ca54ee29442bdda8d6bc433', 'network_id': 'e948d4aa-8369-4d64-baa6-04b51d14cd36', 'mac_address': '02:ca:6c:18:c1:c0', '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': '206.37.24.131', 'subnet_id': 'f9e96c6f-dfe9-4157-89ad-4976e0d5d109'}], 'security_groups': ['3e364da5-c29b-42a4-a38d-ab83b7e1f746'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f7f401584ca54ee29442bdda8d6bc433'}} 2025-12-09 06:06:52,497 - DEBUG - Created port ca6c18c1-c020-494c-9695-2791525f225e 2025-12-09 06:06:52,599 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ca6c18c1-c020-494c-9695-2791525f225e 2025-12-09 06:06:52,856 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ca6c18c1-c020-494c-9695-2791525f225e 2025-12-09 06:06:52,886 - INFO - VMI ca6c18c1-c020-494c-9695-2791525f225e verification in API Server passed 2025-12-09 06:06:52,956 - DEBUG - Response for delete_port : () 2025-12-09 06:06:52,956 - INFO - Deleted port ca6c18c1-c020-494c-9695-2791525f225e 2025-12-09 06:06:52,956 - INFO - Deleting VN ctest-vn-38482246 2025-12-09 06:06:53,042 - DEBUG - Response for deleting network () 2025-12-09 06:06:53,298 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 06:06:53,298 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-09 06:06:53,298 - INFO - -------------------------------------------------------------------------------- 2025-12-09 06:06:53,300 - INFO - ================================================================================ 2025-12-09 06:06:53,300 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-09 06:06:53,300 - 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-12-09 06:06:53,595 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-09 06:06:53,595 - INFO - Initial checks done. Running the testcase now 2025-12-09 06:06:53,595 - INFO - 2025-12-09 06:06:53,762 - DEBUG - Response for create_network : {'network': {'id': 'cd43600c-2a66-4076-b23d-9c1db9c66b27', 'name': 'ctest-vn1-56353145', 'tenant_id': 'f7f401584ca54ee29442bdda8d6bc433', 'project_id': 'f7f401584ca54ee29442bdda8d6bc433', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55199128', 'ctest-vn1-56353145'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 06:06:53,913 - DEBUG - Response for create_subnet : {'subnet': {'id': '4afccc02-0feb-45ed-9a6c-2a42ccfe2a70', 'name': '', 'tenant_id': 'f7f401584ca54ee29442bdda8d6bc433', 'network_id': 'cd43600c-2a66-4076-b23d-9c1db9c66b27', 'ip_version': 4, 'cidr': '21.207.176.64/26', 'allocation_pools': [{'start': '21.207.176.66', 'end': '21.207.176.126'}], 'gateway_ip': '21.207.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.207.176.66', 'tags': [], 'project_id': 'f7f401584ca54ee29442bdda8d6bc433'}} 2025-12-09 06:06:54,073 - DEBUG - Response for create_subnet : {'subnet': {'id': '44c50291-6c7b-4746-b3fd-960987a48adb', 'name': '', 'tenant_id': 'f7f401584ca54ee29442bdda8d6bc433', 'network_id': 'cd43600c-2a66-4076-b23d-9c1db9c66b27', 'ip_version': 4, 'cidr': '176.46.169.64/26', 'allocation_pools': [{'start': '176.46.169.66', 'end': '176.46.169.126'}], 'gateway_ip': '176.46.169.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.46.169.66', 'tags': [], 'project_id': 'f7f401584ca54ee29442bdda8d6bc433'}} 2025-12-09 06:06:54,088 - INFO - Created VN ctest-vn1-56353145 2025-12-09 06:06:54,138 - DEBUG - VN ctest-vn1-56353145 UUID is cd43600c-2a66-4076-b23d-9c1db9c66b27 2025-12-09 06:06:54,400 - DEBUG - Response for create_port : {'port': {'name': '044cf30c-804d-487b-84c7-b55bc7b81210', 'id': '044cf30c-804d-487b-84c7-b55bc7b81210', 'tenant_id': 'f7f401584ca54ee29442bdda8d6bc433', 'network_id': 'cd43600c-2a66-4076-b23d-9c1db9c66b27', 'mac_address': '02:04:4c:f3:0c:80', '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': '21.207.176.69', 'subnet_id': '4afccc02-0feb-45ed-9a6c-2a42ccfe2a70'}], 'security_groups': ['3e364da5-c29b-42a4-a38d-ab83b7e1f746'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f7f401584ca54ee29442bdda8d6bc433'}} 2025-12-09 06:06:54,562 - DEBUG - Response for create_port : {'port': {'name': 'a637252a-c2c7-4d74-b86b-bd21bed26bd7', 'id': 'a637252a-c2c7-4d74-b86b-bd21bed26bd7', 'tenant_id': 'f7f401584ca54ee29442bdda8d6bc433', 'network_id': 'cd43600c-2a66-4076-b23d-9c1db9c66b27', 'mac_address': '02:a6:37:25:2a:c2', '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': '176.46.169.69', 'subnet_id': '44c50291-6c7b-4746-b3fd-960987a48adb'}], 'security_groups': ['3e364da5-c29b-42a4-a38d-ab83b7e1f746'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f7f401584ca54ee29442bdda8d6bc433'}} 2025-12-09 06:06:54,615 - DEBUG - Services list from nova: [, , ] 2025-12-09 06:06:54,904 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4866-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4866-1) 2025-12-09 06:06:55,379 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4866-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4866-1) 2025-12-09 06:06:55,380 - INFO - Waiting for VM ctest-vn1-vm1-75663852 to be up.. 2025-12-09 06:06:55,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 06:07:00,492 - DEBUG - VM is in ACTIVE state now 2025-12-09 06:07:00,492 - INFO - VM name : ctest-vn1-vm1-75663852 2025-12-09 06:07:00,559 - DEBUG - VM ctest-vn1-vm1-75663852 ID is a3318f6a-2b70-47ce-aa90-dfbdec85fff5 2025-12-09 06:07:00,581 - DEBUG - VM ctest-vn1-vm1-75663852 launched on Node cn-jenkins-deploy-platform-ansible-os-4866-1 2025-12-09 06:07:00,658 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a3318f6a-2b70-47ce-aa90-dfbdec85fff5 2025-12-09 06:07:00,667 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/044cf30c-804d-487b-84c7-b55bc7b81210 2025-12-09 06:07:03,916 - 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 1019ms') 2025-12-09 06:07:03,917 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75663852 failed! 2025-12-09 06:07:03,971 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55199128:ctest-vn1-56353145 is 21.207.176.65 and allocation pool is NOT set 2025-12-09 06:07:03,971 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55199128:ctest-vn1-56353145 is 176.46.169.65 and allocation pool is NOT set 2025-12-09 06:07:06,035 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.416 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.416/2.110/3.805/1.694 ms') 2025-12-09 06:07:06,035 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75663852 passed 2025-12-09 06:07:06,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 06:07:06,187 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75663852, IP 21.207.176.69, Port 22 2025-12-09 06:07:06,343 - DEBUG - VM ctest-vn1-vm1-75663852 is ready for SSH connections 2025-12-09 06:07:06,343 - INFO - Waiting for VM ctest-vn1-vm2-23320695 to be up.. 2025-12-09 06:07:06,419 - DEBUG - VM is in ACTIVE state now 2025-12-09 06:07:06,419 - INFO - VM name : ctest-vn1-vm2-23320695 2025-12-09 06:07:06,482 - DEBUG - VM ctest-vn1-vm2-23320695 ID is 8295139c-be57-48c9-a34d-eaa091fb09f3 2025-12-09 06:07:06,482 - DEBUG - VM ctest-vn1-vm2-23320695 launched on Node cn-jenkins-deploy-platform-ansible-os-4866-1 2025-12-09 06:07:06,555 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8295139c-be57-48c9-a34d-eaa091fb09f3 2025-12-09 06:07:06,562 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a637252a-c2c7-4d74-b86b-bd21bed26bd7 2025-12-09 06:07:07,788 - 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=2.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.376/1.678/2.980/1.302 ms') 2025-12-09 06:07:07,788 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-23320695 passed 2025-12-09 06:07:07,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 06:07:07,935 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23320695, IP 176.46.169.69, Port 22 2025-12-09 06:07:08,090 - DEBUG - VM ctest-vn1-vm2-23320695 is ready for SSH connections 2025-12-09 06:07:08,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 06:07:08,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 06:07:08,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 06:07:08,090 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.207.176.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 06:07:08,090 - DEBUG - ping -s 56 -c 3 -W 1 21.207.176.69 2025-12-09 06:07:11,013 - DEBUG - PING 21.207.176.69 (21.207.176.69): 56 data bytes 64 bytes from 21.207.176.69: seq=0 ttl=63 time=4.987 ms 64 bytes from 21.207.176.69: seq=1 ttl=63 time=0.906 ms 64 bytes from 21.207.176.69: seq=2 ttl=63 time=0.769 ms --- 21.207.176.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/2.220/4.987 ms 2025-12-09 06:07:11,013 - INFO - Ping to IP 21.207.176.69 from VM ctest-vn1-vm2-23320695 passed 2025-12-09 06:07:11,013 - INFO - Detaching port a637252a-c2c7-4d74-b86b-bd21bed26bd7 from VM ctest-vn1-vm2-23320695 2025-12-09 06:07:11,058 - INFO - Deleting VM ctest-vn1-vm2-23320695 2025-12-09 06:07:11,124 - INFO - Detaching port 044cf30c-804d-487b-84c7-b55bc7b81210 from VM ctest-vn1-vm1-75663852 2025-12-09 06:07:11,157 - INFO - Deleting VM ctest-vn1-vm1-75663852 2025-12-09 06:07:11,365 - DEBUG - Response for delete_port : () 2025-12-09 06:07:11,513 - DEBUG - Response for delete_port : () 2025-12-09 06:07:11,513 - INFO - Deleting VN ctest-vn1-56353145 2025-12-09 06:07:11,642 - DEBUG - Response for deleting network () 2025-12-09 06:07:11,895 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 06:07:11,895 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-12-09 06:07:11,895 - INFO - -------------------------------------------------------------------------------- 2025-12-09 06:07:12,536 - INFO - Deleted project: ctest-TestPorts-55199128, ID : f7f40158-4ca5-4ee2-9442-bdda8d6bc433