2025-07-23 17:18:26,499 - INFO - Domain Default found not creating 2025-07-23 17:18:26,637 - INFO - Project ctest-TestPorts-15258338 not found, creating it 2025-07-23 17:18:27,087 - INFO - Created Project:ctest-TestPorts-15258338, ID : 29e67510-0896-41a0-a2f7-23b8512a40bd 2025-07-23 17:18:28,468 - INFO - ================================================================================ 2025-07-23 17:18:28,468 - INFO - STARTING TEST : test_ports_bindings 2025-07-23 17:18:28,468 - 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-23 17:18:28,724 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.18': '0'}} with 2025-07-23 17:18:28,724 - INFO - Initial checks done. Running the testcase now 2025-07-23 17:18:28,724 - INFO - 2025-07-23 17:18:29,468 - DEBUG - Response for create_network : {'network': {'id': 'c9c83808-f21d-4a5a-95aa-0fecbe2ea8dc', 'name': 'ctest-vn-12199326', 'tenant_id': '29e67510089641a0a2f723b8512a40bd', 'project_id': '29e67510089641a0a2f723b8512a40bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15258338', 'ctest-vn-12199326'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 17:18:29,659 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd250efc2-bbf4-45d7-aedb-6ed603445b91', 'name': '', 'tenant_id': '29e67510089641a0a2f723b8512a40bd', 'network_id': 'c9c83808-f21d-4a5a-95aa-0fecbe2ea8dc', 'ip_version': 4, 'cidr': '145.83.227.64/26', 'allocation_pools': [{'start': '145.83.227.66', 'end': '145.83.227.126'}], 'gateway_ip': '145.83.227.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.83.227.66', 'tags': [], 'project_id': '29e67510089641a0a2f723b8512a40bd'}} 2025-07-23 17:18:29,680 - INFO - Created VN ctest-vn-12199326 2025-07-23 17:18:29,735 - DEBUG - VN ctest-vn-12199326 UUID is c9c83808-f21d-4a5a-95aa-0fecbe2ea8dc 2025-07-23 17:18:29,843 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15258338', 'ctest-vmi-19302296']} 2025-07-23 17:18:30,121 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-19302296', 'id': 'ae05606e-61b2-4d07-850b-faf2d8e083a5', 'tenant_id': '29e67510089641a0a2f723b8512a40bd', 'network_id': 'c9c83808-f21d-4a5a-95aa-0fecbe2ea8dc', 'mac_address': '02:ae:05:60:6e:61', '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.83.227.67', 'subnet_id': 'd250efc2-bbf4-45d7-aedb-6ed603445b91'}], 'security_groups': ['ffbed75f-e06b-4141-afea-1f2f16c5bc18'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '29e67510089641a0a2f723b8512a40bd'}} 2025-07-23 17:18:30,121 - DEBUG - Created port ae05606e-61b2-4d07-850b-faf2d8e083a5 2025-07-23 17:18:30,231 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ae05606e-61b2-4d07-850b-faf2d8e083a5 2025-07-23 17:18:30,525 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ae05606e-61b2-4d07-850b-faf2d8e083a5 2025-07-23 17:18:30,560 - INFO - VMI ae05606e-61b2-4d07-850b-faf2d8e083a5 verification in API Server passed 2025-07-23 17:18:30,653 - DEBUG - Response for delete_port : () 2025-07-23 17:18:30,653 - INFO - Deleted port ae05606e-61b2-4d07-850b-faf2d8e083a5 2025-07-23 17:18:30,653 - INFO - Deleting VN ctest-vn-12199326 2025-07-23 17:18:30,763 - DEBUG - Response for deleting network () 2025-07-23 17:18:31,016 - DEBUG - No XMPP flaps were noticed during the test 2025-07-23 17:18:31,016 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-07-23 17:18:31,016 - INFO - -------------------------------------------------------------------------------- 2025-07-23 17:18:31,019 - INFO - ================================================================================ 2025-07-23 17:18:31,019 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-23 17:18:31,019 - 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-23 17:18:31,304 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.18': '0'}} with 2025-07-23 17:18:31,304 - INFO - Initial checks done. Running the testcase now 2025-07-23 17:18:31,304 - INFO - 2025-07-23 17:18:31,526 - DEBUG - Response for create_network : {'network': {'id': '63977f81-b530-4742-8dce-f63c9f6bb105', 'name': 'ctest-vn1-17464497', 'tenant_id': '29e67510089641a0a2f723b8512a40bd', 'project_id': '29e67510089641a0a2f723b8512a40bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15258338', 'ctest-vn1-17464497'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 17:18:31,737 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d5fd12b-435c-4a49-86b2-105f3ae1adab', 'name': '', 'tenant_id': '29e67510089641a0a2f723b8512a40bd', 'network_id': '63977f81-b530-4742-8dce-f63c9f6bb105', 'ip_version': 4, 'cidr': '22.22.228.192/26', 'allocation_pools': [{'start': '22.22.228.194', 'end': '22.22.228.254'}], 'gateway_ip': '22.22.228.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.22.228.194', 'tags': [], 'project_id': '29e67510089641a0a2f723b8512a40bd'}} 2025-07-23 17:18:31,896 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa85a81c-8776-4941-ad74-d5bd90c4d316', 'name': '', 'tenant_id': '29e67510089641a0a2f723b8512a40bd', 'network_id': '63977f81-b530-4742-8dce-f63c9f6bb105', 'ip_version': 4, 'cidr': '53.96.187.0/26', 'allocation_pools': [{'start': '53.96.187.2', 'end': '53.96.187.62'}], 'gateway_ip': '53.96.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.96.187.2', 'tags': [], 'project_id': '29e67510089641a0a2f723b8512a40bd'}} 2025-07-23 17:18:31,914 - INFO - Created VN ctest-vn1-17464497 2025-07-23 17:18:31,966 - DEBUG - VN ctest-vn1-17464497 UUID is 63977f81-b530-4742-8dce-f63c9f6bb105 2025-07-23 17:18:32,263 - DEBUG - Response for create_port : {'port': {'name': 'b0e4361a-0faf-4849-b550-45116cc4770f', 'id': 'b0e4361a-0faf-4849-b550-45116cc4770f', 'tenant_id': '29e67510089641a0a2f723b8512a40bd', 'network_id': '63977f81-b530-4742-8dce-f63c9f6bb105', 'mac_address': '02:b0:e4:36:1a:0f', '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.22.228.197', 'subnet_id': '0d5fd12b-435c-4a49-86b2-105f3ae1adab'}], 'security_groups': ['ffbed75f-e06b-4141-afea-1f2f16c5bc18'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '29e67510089641a0a2f723b8512a40bd'}} 2025-07-23 17:18:32,436 - DEBUG - Response for create_port : {'port': {'name': '143287ef-5683-4da2-9905-109b9331de11', 'id': '143287ef-5683-4da2-9905-109b9331de11', 'tenant_id': '29e67510089641a0a2f723b8512a40bd', 'network_id': '63977f81-b530-4742-8dce-f63c9f6bb105', 'mac_address': '02:14:32:87:ef: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': '53.96.187.5', 'subnet_id': 'aa85a81c-8776-4941-ad74-d5bd90c4d316'}], 'security_groups': ['ffbed75f-e06b-4141-afea-1f2f16c5bc18'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '29e67510089641a0a2f723b8512a40bd'}} 2025-07-23 17:18:32,489 - DEBUG - Services list from nova: [, , ] 2025-07-23 17:18:32,797 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3708-1) 2025-07-23 17:18:33,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3708-1) 2025-07-23 17:18:33,167 - INFO - Waiting for VM ctest-vn1-vm1-25277782 to be up.. 2025-07-23 17:18:33,207 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 17:18:38,290 - DEBUG - VM is in ACTIVE state now 2025-07-23 17:18:38,290 - INFO - VM name : ctest-vn1-vm1-25277782 2025-07-23 17:18:38,366 - DEBUG - VM ctest-vn1-vm1-25277782 ID is c63cd239-bcc8-4b09-8629-cce687f9221f 2025-07-23 17:18:38,385 - DEBUG - VM ctest-vn1-vm1-25277782 launched on Node cn-jenkins-deploy-platform-ansible-os-3708-1 2025-07-23 17:18:38,453 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c63cd239-bcc8-4b09-8629-cce687f9221f 2025-07-23 17:18:38,463 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b0e4361a-0faf-4849-b550-45116cc4770f 2025-07-23 17:18:41,722 - 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 1020ms') 2025-07-23 17:18:41,722 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25277782 failed! 2025-07-23 17:18:41,779 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15258338:ctest-vn1-17464497 is 22.22.228.193 and allocation pool is NOT set 2025-07-23 17:18:41,779 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15258338:ctest-vn1-17464497 is 53.96.187.1 and allocation pool is NOT set 2025-07-23 17:18:43,835 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.304 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.304/1.541/2.778/1.237 ms') 2025-07-23 17:18:43,835 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25277782 passed 2025-07-23 17:18:43,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:18:43,989 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25277782, IP 22.22.228.197, Port 22 2025-07-23 17:18:44,150 - DEBUG - VM ctest-vn1-vm1-25277782 is ready for SSH connections 2025-07-23 17:18:44,150 - INFO - Waiting for VM ctest-vn1-vm2-79409420 to be up.. 2025-07-23 17:18:44,219 - DEBUG - VM is in ACTIVE state now 2025-07-23 17:18:44,220 - INFO - VM name : ctest-vn1-vm2-79409420 2025-07-23 17:18:44,281 - DEBUG - VM ctest-vn1-vm2-79409420 ID is bb2a5297-a576-490d-b7a7-ffd6ac5d3b3d 2025-07-23 17:18:44,281 - DEBUG - VM ctest-vn1-vm2-79409420 launched on Node cn-jenkins-deploy-platform-ansible-os-3708-1 2025-07-23 17:18:44,342 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bb2a5297-a576-490d-b7a7-ffd6ac5d3b3d 2025-07-23 17:18:44,349 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/143287ef-5683-4da2-9905-109b9331de11 2025-07-23 17:18:45,582 - 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=3.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.365 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.365/1.722/3.079/1.357 ms') 2025-07-23 17:18:45,582 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-79409420 passed 2025-07-23 17:18:45,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:18:45,739 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-79409420, IP 53.96.187.5, Port 22 2025-07-23 17:18:45,890 - DEBUG - VM ctest-vn1-vm2-79409420 is ready for SSH connections 2025-07-23 17:18:45,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:18:45,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:18:45,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:18:45,891 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.22.228.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-23 17:18:45,891 - DEBUG - ping -s 56 -c 3 -W 1 22.22.228.197 2025-07-23 17:18:48,859 - DEBUG - PING 22.22.228.197 (22.22.228.197): 56 data bytes 64 bytes from 22.22.228.197: seq=0 ttl=63 time=4.047 ms 64 bytes from 22.22.228.197: seq=1 ttl=63 time=0.848 ms 64 bytes from 22.22.228.197: seq=2 ttl=63 time=0.899 ms --- 22.22.228.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/1.931/4.047 ms 2025-07-23 17:18:48,859 - INFO - Ping to IP 22.22.228.197 from VM ctest-vn1-vm2-79409420 passed 2025-07-23 17:18:48,859 - INFO - Detaching port 143287ef-5683-4da2-9905-109b9331de11 from VM ctest-vn1-vm2-79409420 2025-07-23 17:18:48,909 - INFO - Deleting VM ctest-vn1-vm2-79409420 2025-07-23 17:18:48,981 - INFO - Detaching port b0e4361a-0faf-4849-b550-45116cc4770f from VM ctest-vn1-vm1-25277782 2025-07-23 17:18:49,028 - INFO - Deleting VM ctest-vn1-vm1-25277782 2025-07-23 17:18:49,289 - DEBUG - Response for delete_port : () 2025-07-23 17:18:49,461 - DEBUG - Response for delete_port : () 2025-07-23 17:18:49,463 - INFO - Deleting VN ctest-vn1-17464497 2025-07-23 17:18:49,615 - DEBUG - Response for deleting network () 2025-07-23 17:18:49,872 - DEBUG - No XMPP flaps were noticed during the test 2025-07-23 17:18:49,873 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-07-23 17:18:49,873 - INFO - -------------------------------------------------------------------------------- 2025-07-23 17:18:50,569 - INFO - Deleted project: ctest-TestPorts-15258338, ID : 29e67510-0896-41a0-a2f7-23b8512a40bd