2025-12-01 02:21:50,110 - INFO - Domain Default found not creating 2025-12-01 02:21:50,332 - INFO - Project ctest-TestPorts-66016217 not found, creating it 2025-12-01 02:21:50,857 - INFO - Created Project:ctest-TestPorts-66016217, ID : e3bd4893-6c2f-43d0-96bb-77ebaae34595 2025-12-01 02:21:52,676 - INFO - ================================================================================ 2025-12-01 02:21:52,677 - INFO - STARTING TEST : test_ports_bindings 2025-12-01 02:21:52,677 - 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-01 02:21:52,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.252': '0'}} with 2025-12-01 02:21:52,936 - INFO - Initial checks done. Running the testcase now 2025-12-01 02:21:52,936 - INFO - 2025-12-01 02:21:53,610 - DEBUG - Response for create_network : {'network': {'id': 'a603ee5d-1628-4de6-b26e-67269d5ace08', 'name': 'ctest-vn-04690405', 'tenant_id': 'e3bd48936c2f43d096bb77ebaae34595', 'project_id': 'e3bd48936c2f43d096bb77ebaae34595', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66016217', 'ctest-vn-04690405'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:21:53,789 - DEBUG - Response for create_subnet : {'subnet': {'id': '153e2aea-4ea8-44bb-9ad5-a951048e5395', 'name': '', 'tenant_id': 'e3bd48936c2f43d096bb77ebaae34595', 'network_id': 'a603ee5d-1628-4de6-b26e-67269d5ace08', 'ip_version': 4, 'cidr': '190.134.102.192/26', 'allocation_pools': [{'start': '190.134.102.194', 'end': '190.134.102.254'}], 'gateway_ip': '190.134.102.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.134.102.194', 'tags': [], 'project_id': 'e3bd48936c2f43d096bb77ebaae34595'}} 2025-12-01 02:21:53,815 - INFO - Created VN ctest-vn-04690405 2025-12-01 02:21:53,869 - DEBUG - VN ctest-vn-04690405 UUID is a603ee5d-1628-4de6-b26e-67269d5ace08 2025-12-01 02:21:53,990 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-66016217', 'ctest-vmi-62129019']} 2025-12-01 02:21:54,260 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-62129019', 'id': 'be3e81a5-f43d-4137-a793-afb7677d9243', 'tenant_id': 'e3bd48936c2f43d096bb77ebaae34595', 'network_id': 'a603ee5d-1628-4de6-b26e-67269d5ace08', 'mac_address': '02:be:3e:81:a5:f4', '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': '190.134.102.195', 'subnet_id': '153e2aea-4ea8-44bb-9ad5-a951048e5395'}], 'security_groups': ['27fe42bd-2220-4d01-b75a-b5f1a74ae266'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e3bd48936c2f43d096bb77ebaae34595'}} 2025-12-01 02:21:54,260 - DEBUG - Created port be3e81a5-f43d-4137-a793-afb7677d9243 2025-12-01 02:21:54,369 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/be3e81a5-f43d-4137-a793-afb7677d9243 2025-12-01 02:21:54,672 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/be3e81a5-f43d-4137-a793-afb7677d9243 2025-12-01 02:21:54,718 - INFO - VMI be3e81a5-f43d-4137-a793-afb7677d9243 verification in API Server passed 2025-12-01 02:21:54,844 - DEBUG - Response for delete_port : () 2025-12-01 02:21:54,844 - INFO - Deleted port be3e81a5-f43d-4137-a793-afb7677d9243 2025-12-01 02:21:54,844 - INFO - Deleting VN ctest-vn-04690405 2025-12-01 02:21:54,966 - DEBUG - Response for deleting network () 2025-12-01 02:21:55,222 - DEBUG - No XMPP flaps were noticed during the test 2025-12-01 02:21:55,222 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-12-01 02:21:55,223 - INFO - -------------------------------------------------------------------------------- 2025-12-01 02:21:55,225 - INFO - ================================================================================ 2025-12-01 02:21:55,225 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-01 02:21:55,225 - 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-01 02:21:55,528 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.252': '0'}} with 2025-12-01 02:21:55,528 - INFO - Initial checks done. Running the testcase now 2025-12-01 02:21:55,529 - INFO - 2025-12-01 02:21:55,748 - DEBUG - Response for create_network : {'network': {'id': '6d2e4f38-d167-4bb4-a0e4-6aa7140418c4', 'name': 'ctest-vn1-19257935', 'tenant_id': 'e3bd48936c2f43d096bb77ebaae34595', 'project_id': 'e3bd48936c2f43d096bb77ebaae34595', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66016217', 'ctest-vn1-19257935'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:21:55,930 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b730ded-7dab-44ac-b0b1-231321ac2d1d', 'name': '', 'tenant_id': 'e3bd48936c2f43d096bb77ebaae34595', 'network_id': '6d2e4f38-d167-4bb4-a0e4-6aa7140418c4', 'ip_version': 4, 'cidr': '23.155.132.0/26', 'allocation_pools': [{'start': '23.155.132.2', 'end': '23.155.132.62'}], 'gateway_ip': '23.155.132.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.155.132.2', 'tags': [], 'project_id': 'e3bd48936c2f43d096bb77ebaae34595'}} 2025-12-01 02:21:56,140 - DEBUG - Response for create_subnet : {'subnet': {'id': '2cb3dfa6-0cdb-4143-a9eb-709b6c24337d', 'name': '', 'tenant_id': 'e3bd48936c2f43d096bb77ebaae34595', 'network_id': '6d2e4f38-d167-4bb4-a0e4-6aa7140418c4', 'ip_version': 4, 'cidr': '88.185.166.64/26', 'allocation_pools': [{'start': '88.185.166.66', 'end': '88.185.166.126'}], 'gateway_ip': '88.185.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.185.166.66', 'tags': [], 'project_id': 'e3bd48936c2f43d096bb77ebaae34595'}} 2025-12-01 02:21:56,162 - INFO - Created VN ctest-vn1-19257935 2025-12-01 02:21:56,217 - DEBUG - VN ctest-vn1-19257935 UUID is 6d2e4f38-d167-4bb4-a0e4-6aa7140418c4 2025-12-01 02:21:56,549 - DEBUG - Response for create_port : {'port': {'name': '62f56b4e-565f-4238-9fe1-bccf446aef21', 'id': '62f56b4e-565f-4238-9fe1-bccf446aef21', 'tenant_id': 'e3bd48936c2f43d096bb77ebaae34595', 'network_id': '6d2e4f38-d167-4bb4-a0e4-6aa7140418c4', 'mac_address': '02:62:f5:6b:4e:56', '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': '23.155.132.5', 'subnet_id': '3b730ded-7dab-44ac-b0b1-231321ac2d1d'}], 'security_groups': ['27fe42bd-2220-4d01-b75a-b5f1a74ae266'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e3bd48936c2f43d096bb77ebaae34595'}} 2025-12-01 02:21:56,731 - DEBUG - Response for create_port : {'port': {'name': 'fc15b87a-391e-42d3-b372-a853ec96c30a', 'id': 'fc15b87a-391e-42d3-b372-a853ec96c30a', 'tenant_id': 'e3bd48936c2f43d096bb77ebaae34595', 'network_id': '6d2e4f38-d167-4bb4-a0e4-6aa7140418c4', 'mac_address': '02:fc:15:b8:7a:39', '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': '88.185.166.69', 'subnet_id': '2cb3dfa6-0cdb-4143-a9eb-709b6c24337d'}], 'security_groups': ['27fe42bd-2220-4d01-b75a-b5f1a74ae266'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e3bd48936c2f43d096bb77ebaae34595'}} 2025-12-01 02:21:56,793 - DEBUG - Services list from nova: [, , ] 2025-12-01 02:21:57,186 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4826-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4826-1) 2025-12-01 02:21:57,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4826-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4826-1) 2025-12-01 02:21:57,659 - INFO - Waiting for VM ctest-vn1-vm1-16171056 to be up.. 2025-12-01 02:21:57,707 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-01 02:22:02,804 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:22:02,804 - INFO - VM name : ctest-vn1-vm1-16171056 2025-12-01 02:22:02,889 - DEBUG - VM ctest-vn1-vm1-16171056 ID is 9f28c1b3-866a-43ed-990b-f62127599258 2025-12-01 02:22:02,912 - DEBUG - VM ctest-vn1-vm1-16171056 launched on Node cn-jenkins-deploy-platform-ansible-os-4826-1 2025-12-01 02:22:03,006 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9f28c1b3-866a-43ed-990b-f62127599258 2025-12-01 02:22:03,019 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/62f56b4e-565f-4238-9fe1-bccf446aef21 2025-12-01 02:22:06,293 - 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 1018ms') 2025-12-01 02:22:06,293 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16171056 failed! 2025-12-01 02:22:06,349 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66016217:ctest-vn1-19257935 is 23.155.132.1 and allocation pool is NOT set 2025-12-01 02:22:06,350 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66016217:ctest-vn1-19257935 is 88.185.166.65 and allocation pool is NOT set 2025-12-01 02:22:10,424 - 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 1001ms') 2025-12-01 02:22:10,424 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16171056 failed! 2025-12-01 02:22:10,481 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66016217:ctest-vn1-19257935 is 23.155.132.1 and allocation pool is NOT set 2025-12-01 02:22:10,481 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66016217:ctest-vn1-19257935 is 88.185.166.65 and allocation pool is NOT set 2025-12-01 02:22:12,545 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.672 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.672/1.986/3.301/1.314 ms') 2025-12-01 02:22:12,545 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16171056 passed 2025-12-01 02:22:12,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:22:12,702 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16171056, IP 23.155.132.5, Port 22 2025-12-01 02:22:12,871 - DEBUG - VM ctest-vn1-vm1-16171056 is ready for SSH connections 2025-12-01 02:22:12,871 - INFO - Waiting for VM ctest-vn1-vm2-98689847 to be up.. 2025-12-01 02:22:12,998 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:22:12,998 - INFO - VM name : ctest-vn1-vm2-98689847 2025-12-01 02:22:13,125 - DEBUG - VM ctest-vn1-vm2-98689847 ID is 0d2b3e4b-139c-4390-99bd-267bb7fdb2b7 2025-12-01 02:22:13,125 - DEBUG - VM ctest-vn1-vm2-98689847 launched on Node cn-jenkins-deploy-platform-ansible-os-4826-1 2025-12-01 02:22:13,226 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0d2b3e4b-139c-4390-99bd-267bb7fdb2b7 2025-12-01 02:22:13,237 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fc15b87a-391e-42d3-b372-a853ec96c30a 2025-12-01 02:22:14,495 - 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=4.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.605 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 = 0.605/2.674/4.743/2.069 ms') 2025-12-01 02:22:14,496 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-98689847 passed 2025-12-01 02:22:14,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:22:14,653 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-98689847, IP 88.185.166.69, Port 22 2025-12-01 02:22:14,817 - DEBUG - VM ctest-vn1-vm2-98689847 is ready for SSH connections 2025-12-01 02:22:14,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:22:14,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:22:14,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:22:14,817 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.155.132.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-01 02:22:14,817 - DEBUG - ping -s 56 -c 3 -W 1 23.155.132.5 2025-12-01 02:22:17,647 - DEBUG - PING 23.155.132.5 (23.155.132.5): 56 data bytes 64 bytes from 23.155.132.5: seq=0 ttl=63 time=8.490 ms 64 bytes from 23.155.132.5: seq=1 ttl=63 time=1.095 ms 64 bytes from 23.155.132.5: seq=2 ttl=63 time=0.990 ms --- 23.155.132.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.990/3.525/8.490 ms 2025-12-01 02:22:17,648 - INFO - Ping to IP 23.155.132.5 from VM ctest-vn1-vm2-98689847 passed 2025-12-01 02:22:17,648 - INFO - Detaching port fc15b87a-391e-42d3-b372-a853ec96c30a from VM ctest-vn1-vm2-98689847 2025-12-01 02:22:17,704 - INFO - Deleting VM ctest-vn1-vm2-98689847 2025-12-01 02:22:17,786 - INFO - Detaching port 62f56b4e-565f-4238-9fe1-bccf446aef21 from VM ctest-vn1-vm1-16171056 2025-12-01 02:22:17,832 - INFO - Deleting VM ctest-vn1-vm1-16171056 2025-12-01 02:22:18,129 - DEBUG - Response for delete_port : () 2025-12-01 02:22:18,349 - DEBUG - Response for delete_port : () 2025-12-01 02:22:18,349 - INFO - Deleting VN ctest-vn1-19257935 2025-12-01 02:22:18,552 - DEBUG - Response for deleting network () 2025-12-01 02:22:18,825 - DEBUG - No XMPP flaps were noticed during the test 2025-12-01 02:22:18,826 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-12-01 02:22:18,826 - INFO - -------------------------------------------------------------------------------- 2025-12-01 02:22:19,583 - INFO - Deleted project: ctest-TestPorts-66016217, ID : e3bd4893-6c2f-43d0-96bb-77ebaae34595