2025-10-23 07:00:47,627 - INFO - Domain Default found not creating 2025-10-23 07:00:47,769 - INFO - Project ctest-TestPorts-10663643 not found, creating it 2025-10-23 07:00:48,224 - INFO - Created Project:ctest-TestPorts-10663643, ID : 4896fb15-a0a4-4121-bceb-38e19bd72efe 2025-10-23 07:00:49,620 - INFO - ================================================================================ 2025-10-23 07:00:49,620 - INFO - STARTING TEST : test_ports_bindings 2025-10-23 07:00:49,621 - 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-10-23 07:00:49,883 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-23 07:00:49,883 - INFO - Initial checks done. Running the testcase now 2025-10-23 07:00:49,883 - INFO - 2025-10-23 07:00:50,430 - DEBUG - Response for create_network : {'network': {'id': 'f089011c-ef12-4e93-84af-bb100876bab8', 'name': 'ctest-vn-53303125', 'tenant_id': '4896fb15a0a44121bceb38e19bd72efe', 'project_id': '4896fb15a0a44121bceb38e19bd72efe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10663643', 'ctest-vn-53303125'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 07:00:50,587 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d2a5565-11b5-4145-b0b7-24581226a314', 'name': '', 'tenant_id': '4896fb15a0a44121bceb38e19bd72efe', 'network_id': 'f089011c-ef12-4e93-84af-bb100876bab8', 'ip_version': 4, 'cidr': '105.80.36.128/26', 'allocation_pools': [{'start': '105.80.36.130', 'end': '105.80.36.190'}], 'gateway_ip': '105.80.36.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.80.36.130', 'tags': [], 'project_id': '4896fb15a0a44121bceb38e19bd72efe'}} 2025-10-23 07:00:50,610 - INFO - Created VN ctest-vn-53303125 2025-10-23 07:00:50,660 - DEBUG - VN ctest-vn-53303125 UUID is f089011c-ef12-4e93-84af-bb100876bab8 2025-10-23 07:00:50,763 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-10663643', 'ctest-vmi-83213861']} 2025-10-23 07:00:51,059 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-83213861', 'id': 'a4807a59-6bd4-43a7-8f8e-5406393bc6be', 'tenant_id': '4896fb15a0a44121bceb38e19bd72efe', 'network_id': 'f089011c-ef12-4e93-84af-bb100876bab8', 'mac_address': '02:a4:80:7a:59:6b', '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': '105.80.36.131', 'subnet_id': '1d2a5565-11b5-4145-b0b7-24581226a314'}], 'security_groups': ['68527b6c-78b4-478d-8e71-b7763a8ef1bd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4896fb15a0a44121bceb38e19bd72efe'}} 2025-10-23 07:00:51,059 - DEBUG - Created port a4807a59-6bd4-43a7-8f8e-5406393bc6be 2025-10-23 07:00:51,176 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a4807a59-6bd4-43a7-8f8e-5406393bc6be 2025-10-23 07:00:51,467 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a4807a59-6bd4-43a7-8f8e-5406393bc6be 2025-10-23 07:00:51,499 - INFO - VMI a4807a59-6bd4-43a7-8f8e-5406393bc6be verification in API Server passed 2025-10-23 07:00:51,602 - DEBUG - Response for delete_port : () 2025-10-23 07:00:51,602 - INFO - Deleted port a4807a59-6bd4-43a7-8f8e-5406393bc6be 2025-10-23 07:00:51,602 - INFO - Deleting VN ctest-vn-53303125 2025-10-23 07:00:51,705 - DEBUG - Response for deleting network () 2025-10-23 07:00:51,965 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 07:00:51,965 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-23 07:00:51,965 - INFO - -------------------------------------------------------------------------------- 2025-10-23 07:00:51,967 - INFO - ================================================================================ 2025-10-23 07:00:51,967 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-23 07:00:51,967 - 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-10-23 07:00:52,253 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-23 07:00:52,253 - INFO - Initial checks done. Running the testcase now 2025-10-23 07:00:52,253 - INFO - 2025-10-23 07:00:52,429 - DEBUG - Response for create_network : {'network': {'id': 'f812be56-0373-47c2-981e-dbe49d9a033e', 'name': 'ctest-vn1-39247404', 'tenant_id': '4896fb15a0a44121bceb38e19bd72efe', 'project_id': '4896fb15a0a44121bceb38e19bd72efe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10663643', 'ctest-vn1-39247404'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 07:00:52,582 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c935aec0-763b-4c00-8696-56d70dc66cfe', 'name': '', 'tenant_id': '4896fb15a0a44121bceb38e19bd72efe', 'network_id': 'f812be56-0373-47c2-981e-dbe49d9a033e', 'ip_version': 4, 'cidr': '22.215.106.128/26', 'allocation_pools': [{'start': '22.215.106.130', 'end': '22.215.106.190'}], 'gateway_ip': '22.215.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.215.106.130', 'tags': [], 'project_id': '4896fb15a0a44121bceb38e19bd72efe'}} 2025-10-23 07:00:52,791 - DEBUG - Response for create_subnet : {'subnet': {'id': '9dc4fa73-127e-4e81-a5f7-ae4d3fba820e', 'name': '', 'tenant_id': '4896fb15a0a44121bceb38e19bd72efe', 'network_id': 'f812be56-0373-47c2-981e-dbe49d9a033e', 'ip_version': 4, 'cidr': '189.235.168.64/26', 'allocation_pools': [{'start': '189.235.168.66', 'end': '189.235.168.126'}], 'gateway_ip': '189.235.168.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.235.168.66', 'tags': [], 'project_id': '4896fb15a0a44121bceb38e19bd72efe'}} 2025-10-23 07:00:52,811 - INFO - Created VN ctest-vn1-39247404 2025-10-23 07:00:52,864 - DEBUG - VN ctest-vn1-39247404 UUID is f812be56-0373-47c2-981e-dbe49d9a033e 2025-10-23 07:00:53,197 - DEBUG - Response for create_port : {'port': {'name': 'a8c316d8-1e79-433e-a058-81a57f2d927c', 'id': 'a8c316d8-1e79-433e-a058-81a57f2d927c', 'tenant_id': '4896fb15a0a44121bceb38e19bd72efe', 'network_id': 'f812be56-0373-47c2-981e-dbe49d9a033e', 'mac_address': '02:a8:c3:16:d8:1e', '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': '22.215.106.133', 'subnet_id': 'c935aec0-763b-4c00-8696-56d70dc66cfe'}], 'security_groups': ['68527b6c-78b4-478d-8e71-b7763a8ef1bd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4896fb15a0a44121bceb38e19bd72efe'}} 2025-10-23 07:00:53,376 - DEBUG - Response for create_port : {'port': {'name': '6ab1296a-5302-472b-8fce-65633f21a185', 'id': '6ab1296a-5302-472b-8fce-65633f21a185', 'tenant_id': '4896fb15a0a44121bceb38e19bd72efe', 'network_id': 'f812be56-0373-47c2-981e-dbe49d9a033e', 'mac_address': '02:6a:b1:29:6a:53', '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': '189.235.168.69', 'subnet_id': '9dc4fa73-127e-4e81-a5f7-ae4d3fba820e'}], 'security_groups': ['68527b6c-78b4-478d-8e71-b7763a8ef1bd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4896fb15a0a44121bceb38e19bd72efe'}} 2025-10-23 07:00:53,434 - DEBUG - Services list from nova: [, , ] 2025-10-23 07:00:53,778 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4454-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4454-1) 2025-10-23 07:00:54,179 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4454-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4454-1) 2025-10-23 07:00:54,179 - INFO - Waiting for VM ctest-vn1-vm1-66086789 to be up.. 2025-10-23 07:00:54,222 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 07:00:59,334 - DEBUG - VM is in ACTIVE state now 2025-10-23 07:00:59,334 - INFO - VM name : ctest-vn1-vm1-66086789 2025-10-23 07:00:59,418 - DEBUG - VM ctest-vn1-vm1-66086789 ID is 06f586ec-c20d-4653-97eb-d241ec44810f 2025-10-23 07:00:59,441 - DEBUG - VM ctest-vn1-vm1-66086789 launched on Node cn-jenkins-deploy-platform-ansible-os-4454-1 2025-10-23 07:00:59,517 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/06f586ec-c20d-4653-97eb-d241ec44810f 2025-10-23 07:00:59,526 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a8c316d8-1e79-433e-a058-81a57f2d927c 2025-10-23 07:01:02,790 - 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 1018ms') 2025-10-23 07:01:02,790 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-66086789 failed! 2025-10-23 07:01:02,844 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10663643:ctest-vn1-39247404 is 22.215.106.129 and allocation pool is NOT set 2025-10-23 07:01:02,844 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10663643:ctest-vn1-39247404 is 189.235.168.65 and allocation pool is NOT set 2025-10-23 07:01:06,912 - 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=9.25 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 9.247/9.247/9.247/0.000 ms') 2025-10-23 07:01:06,912 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-66086789 passed 2025-10-23 07:01:07,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 07:01:07,068 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66086789, IP 22.215.106.133, Port 22 2025-10-23 07:01:07,242 - DEBUG - VM ctest-vn1-vm1-66086789 is ready for SSH connections 2025-10-23 07:01:07,242 - INFO - Waiting for VM ctest-vn1-vm2-06809626 to be up.. 2025-10-23 07:01:07,445 - DEBUG - VM is in ACTIVE state now 2025-10-23 07:01:07,445 - INFO - VM name : ctest-vn1-vm2-06809626 2025-10-23 07:01:07,520 - DEBUG - VM ctest-vn1-vm2-06809626 ID is 8666de28-df42-43a3-9886-b924c9d02f43 2025-10-23 07:01:07,520 - DEBUG - VM ctest-vn1-vm2-06809626 launched on Node cn-jenkins-deploy-platform-ansible-os-4454-1 2025-10-23 07:01:07,604 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8666de28-df42-43a3-9886-b924c9d02f43 2025-10-23 07:01:07,615 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6ab1296a-5302-472b-8fce-65633f21a185 2025-10-23 07:01:08,857 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.574 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.574/2.237/3.900/1.663 ms') 2025-10-23 07:01:08,857 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-06809626 passed 2025-10-23 07:01:09,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 07:01:09,009 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-06809626, IP 189.235.168.69, Port 22 2025-10-23 07:01:09,168 - DEBUG - VM ctest-vn1-vm2-06809626 is ready for SSH connections 2025-10-23 07:01:09,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 07:01:09,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 07:01:09,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 07:01:09,168 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.215.106.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 07:01:09,168 - DEBUG - ping -s 56 -c 3 -W 1 22.215.106.133 2025-10-23 07:01:13,175 - DEBUG - PING 22.215.106.133 (22.215.106.133): 56 data bytes 64 bytes from 22.215.106.133: seq=0 ttl=63 time=4.669 ms 64 bytes from 22.215.106.133: seq=1 ttl=63 time=0.808 ms 64 bytes from 22.215.106.133: seq=2 ttl=63 time=1.171 ms --- 22.215.106.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/2.216/4.669 ms 2025-10-23 07:01:13,175 - INFO - Ping to IP 22.215.106.133 from VM ctest-vn1-vm2-06809626 passed 2025-10-23 07:01:13,175 - INFO - Detaching port 6ab1296a-5302-472b-8fce-65633f21a185 from VM ctest-vn1-vm2-06809626 2025-10-23 07:01:13,226 - INFO - Deleting VM ctest-vn1-vm2-06809626 2025-10-23 07:01:13,303 - INFO - Detaching port a8c316d8-1e79-433e-a058-81a57f2d927c from VM ctest-vn1-vm1-66086789 2025-10-23 07:01:13,338 - INFO - Deleting VM ctest-vn1-vm1-66086789 2025-10-23 07:01:13,568 - DEBUG - Response for delete_port : () 2025-10-23 07:01:13,734 - DEBUG - Response for delete_port : () 2025-10-23 07:01:13,734 - INFO - Deleting VN ctest-vn1-39247404 2025-10-23 07:01:13,869 - DEBUG - Response for deleting network () 2025-10-23 07:01:14,135 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 07:01:14,135 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-10-23 07:01:14,135 - INFO - -------------------------------------------------------------------------------- 2025-10-23 07:01:14,831 - INFO - Deleted project: ctest-TestPorts-10663643, ID : 4896fb15-a0a4-4121-bceb-38e19bd72efe