2025-10-30 21:55:56,891 - INFO - Domain Default found not creating 2025-10-30 21:55:57,383 - INFO - Project ctest-TestPorts-84522198 not found, creating it 2025-10-30 21:55:58,197 - INFO - Created Project:ctest-TestPorts-84522198, ID : ade3897d-62a4-4e3d-a80a-8fb72221140a 2025-10-30 21:56:00,407 - INFO - ================================================================================ 2025-10-30 21:56:00,407 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 21:56:00,407 - 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-30 21:56:00,713 - DEBUG - Nothing to compare xmpp stats {'10.0.0.245': {'10.20.0.14': '0'}} with 2025-10-30 21:56:00,713 - INFO - Initial checks done. Running the testcase now 2025-10-30 21:56:00,714 - INFO - 2025-10-30 21:56:01,518 - DEBUG - Response for create_network : {'network': {'id': '55986194-dcae-4756-a75e-c7985eff96ad', 'name': 'ctest-vn-57326114', 'tenant_id': 'ade3897d62a44e3da80a8fb72221140a', 'project_id': 'ade3897d62a44e3da80a8fb72221140a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-84522198', 'ctest-vn-57326114'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:56:01,749 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a34e0d4-3616-4443-8751-e8cbb6046e38', 'name': '', 'tenant_id': 'ade3897d62a44e3da80a8fb72221140a', 'network_id': '55986194-dcae-4756-a75e-c7985eff96ad', 'ip_version': 4, 'cidr': '109.133.112.128/26', 'allocation_pools': [{'start': '109.133.112.130', 'end': '109.133.112.190'}], 'gateway_ip': '109.133.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.133.112.130', 'tags': [], 'project_id': 'ade3897d62a44e3da80a8fb72221140a'}} 2025-10-30 21:56:01,776 - INFO - Created VN ctest-vn-57326114 2025-10-30 21:56:01,834 - DEBUG - VN ctest-vn-57326114 UUID is 55986194-dcae-4756-a75e-c7985eff96ad 2025-10-30 21:56:01,948 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-84522198', 'ctest-vmi-25897238']} 2025-10-30 21:56:02,327 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-25897238', 'id': '28bb87a2-f4e4-4da1-8aa4-2e83fae65217', 'tenant_id': 'ade3897d62a44e3da80a8fb72221140a', 'network_id': '55986194-dcae-4756-a75e-c7985eff96ad', 'mac_address': '02:28:bb:87:a2: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': '109.133.112.131', 'subnet_id': '1a34e0d4-3616-4443-8751-e8cbb6046e38'}], 'security_groups': ['b2ea4ee1-4a86-45bb-82fc-044317f48525'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ade3897d62a44e3da80a8fb72221140a'}} 2025-10-30 21:56:02,328 - DEBUG - Created port 28bb87a2-f4e4-4da1-8aa4-2e83fae65217 2025-10-30 21:56:02,438 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/28bb87a2-f4e4-4da1-8aa4-2e83fae65217 2025-10-30 21:56:02,790 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/28bb87a2-f4e4-4da1-8aa4-2e83fae65217 2025-10-30 21:56:02,841 - INFO - VMI 28bb87a2-f4e4-4da1-8aa4-2e83fae65217 verification in API Server passed 2025-10-30 21:56:03,056 - DEBUG - Response for delete_port : () 2025-10-30 21:56:03,056 - INFO - Deleted port 28bb87a2-f4e4-4da1-8aa4-2e83fae65217 2025-10-30 21:56:03,056 - INFO - Deleting VN ctest-vn-57326114 2025-10-30 21:56:03,170 - DEBUG - Response for deleting network () 2025-10-30 21:56:03,484 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 21:56:03,484 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-30 21:56:03,484 - INFO - -------------------------------------------------------------------------------- 2025-10-30 21:56:03,491 - INFO - ================================================================================ 2025-10-30 21:56:03,491 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 21:56:03,491 - 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-30 21:56:03,842 - DEBUG - Nothing to compare xmpp stats {'10.0.0.245': {'10.20.0.14': '0'}} with 2025-10-30 21:56:03,842 - INFO - Initial checks done. Running the testcase now 2025-10-30 21:56:03,843 - INFO - 2025-10-30 21:56:04,227 - DEBUG - Response for create_network : {'network': {'id': '6e44a928-84b5-460c-ad02-bd9cdcbace85', 'name': 'ctest-vn1-20322076', 'tenant_id': 'ade3897d62a44e3da80a8fb72221140a', 'project_id': 'ade3897d62a44e3da80a8fb72221140a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-84522198', 'ctest-vn1-20322076'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:56:04,414 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a29a4979-4ec2-4f6a-a3e7-91e56e82bdc9', 'name': '', 'tenant_id': 'ade3897d62a44e3da80a8fb72221140a', 'network_id': '6e44a928-84b5-460c-ad02-bd9cdcbace85', 'ip_version': 4, 'cidr': '107.17.215.192/26', 'allocation_pools': [{'start': '107.17.215.194', 'end': '107.17.215.254'}], 'gateway_ip': '107.17.215.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.17.215.194', 'tags': [], 'project_id': 'ade3897d62a44e3da80a8fb72221140a'}} 2025-10-30 21:56:04,633 - DEBUG - Response for create_subnet : {'subnet': {'id': '40221493-8002-49b0-bb0a-9ff05dcfc200', 'name': '', 'tenant_id': 'ade3897d62a44e3da80a8fb72221140a', 'network_id': '6e44a928-84b5-460c-ad02-bd9cdcbace85', 'ip_version': 4, 'cidr': '207.98.229.0/26', 'allocation_pools': [{'start': '207.98.229.2', 'end': '207.98.229.62'}], 'gateway_ip': '207.98.229.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.98.229.2', 'tags': [], 'project_id': 'ade3897d62a44e3da80a8fb72221140a'}} 2025-10-30 21:56:04,663 - INFO - Created VN ctest-vn1-20322076 2025-10-30 21:56:04,722 - DEBUG - VN ctest-vn1-20322076 UUID is 6e44a928-84b5-460c-ad02-bd9cdcbace85 2025-10-30 21:56:05,354 - DEBUG - Response for create_port : {'port': {'name': 'a6c1a5c7-2bdb-4ec0-b64b-e71ac41d7e85', 'id': 'a6c1a5c7-2bdb-4ec0-b64b-e71ac41d7e85', 'tenant_id': 'ade3897d62a44e3da80a8fb72221140a', 'network_id': '6e44a928-84b5-460c-ad02-bd9cdcbace85', 'mac_address': '02:a6:c1:a5:c7:2b', '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': '107.17.215.197', 'subnet_id': 'a29a4979-4ec2-4f6a-a3e7-91e56e82bdc9'}], 'security_groups': ['b2ea4ee1-4a86-45bb-82fc-044317f48525'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ade3897d62a44e3da80a8fb72221140a'}} 2025-10-30 21:56:05,771 - DEBUG - Response for create_port : {'port': {'name': '6eb238a1-3ac5-42e4-8cd7-5660c1a1ef36', 'id': '6eb238a1-3ac5-42e4-8cd7-5660c1a1ef36', 'tenant_id': 'ade3897d62a44e3da80a8fb72221140a', 'network_id': '6e44a928-84b5-460c-ad02-bd9cdcbace85', 'mac_address': '02:6e:b2:38:a1:3a', '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': '207.98.229.5', 'subnet_id': '40221493-8002-49b0-bb0a-9ff05dcfc200'}], 'security_groups': ['b2ea4ee1-4a86-45bb-82fc-044317f48525'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ade3897d62a44e3da80a8fb72221140a'}} 2025-10-30 21:56:05,842 - DEBUG - Services list from nova: [, , ] 2025-10-30 21:56:06,216 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4555-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4555-1) 2025-10-30 21:56:07,182 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4555-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4555-1) 2025-10-30 21:56:07,183 - INFO - Waiting for VM ctest-vn1-vm1-18623509 to be up.. 2025-10-30 21:56:07,299 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 21:56:12,471 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:56:12,471 - INFO - VM name : ctest-vn1-vm1-18623509 2025-10-30 21:56:12,630 - DEBUG - VM ctest-vn1-vm1-18623509 ID is bdda53ad-1492-4773-9e38-450ca2ade0d6 2025-10-30 21:56:12,674 - DEBUG - VM ctest-vn1-vm1-18623509 launched on Node cn-jenkins-deploy-platform-ansible-os-4555-1 2025-10-30 21:56:12,875 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/bdda53ad-1492-4773-9e38-450ca2ade0d6 2025-10-30 21:56:12,897 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/a6c1a5c7-2bdb-4ec0-b64b-e71ac41d7e85 2025-10-30 21:56:16,237 - 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 1023ms') 2025-10-30 21:56:16,237 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18623509 failed! 2025-10-30 21:56:16,306 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-84522198:ctest-vn1-20322076 is 107.17.215.193 and allocation pool is NOT set 2025-10-30 21:56:16,307 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-84522198:ctest-vn1-20322076 is 207.98.229.1 and allocation pool is NOT set 2025-10-30 21:56:20,400 - 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=2 ttl=63 time=12.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 12.207/12.207/12.207/0.000 ms') 2025-10-30 21:56:20,400 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18623509 passed 2025-10-30 21:56:20,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:56:20,570 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18623509, IP 107.17.215.197, Port 22 2025-10-30 21:56:20,779 - DEBUG - VM ctest-vn1-vm1-18623509 is ready for SSH connections 2025-10-30 21:56:20,779 - INFO - Waiting for VM ctest-vn1-vm2-41926422 to be up.. 2025-10-30 21:56:20,944 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:56:20,944 - INFO - VM name : ctest-vn1-vm2-41926422 2025-10-30 21:56:21,039 - DEBUG - VM ctest-vn1-vm2-41926422 ID is 318ec578-a29d-4750-a59c-c682ef60a69a 2025-10-30 21:56:21,039 - DEBUG - VM ctest-vn1-vm2-41926422 launched on Node cn-jenkins-deploy-platform-ansible-os-4555-1 2025-10-30 21:56:21,166 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/318ec578-a29d-4750-a59c-c682ef60a69a 2025-10-30 21:56:21,185 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/6eb238a1-3ac5-42e4-8cd7-5660c1a1ef36 2025-10-30 21:56:22,469 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.04 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 = 4.042/4.118/4.194/0.076 ms') 2025-10-30 21:56:22,469 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-41926422 passed 2025-10-30 21:56:22,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:56:22,651 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41926422, IP 207.98.229.5, Port 22 2025-10-30 21:56:22,861 - DEBUG - VM ctest-vn1-vm2-41926422 is ready for SSH connections 2025-10-30 21:56:22,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:56:22,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:56:22,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:56:22,862 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.17.215.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-30 21:56:22,862 - DEBUG - ping -s 56 -c 3 -W 1 107.17.215.197 2025-10-30 21:56:25,875 - DEBUG - PING 107.17.215.197 (107.17.215.197): 56 data bytes 64 bytes from 107.17.215.197: seq=0 ttl=63 time=4.543 ms 64 bytes from 107.17.215.197: seq=1 ttl=63 time=1.698 ms 64 bytes from 107.17.215.197: seq=2 ttl=63 time=1.834 ms --- 107.17.215.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.698/2.691/4.543 ms 2025-10-30 21:56:25,876 - INFO - Ping to IP 107.17.215.197 from VM ctest-vn1-vm2-41926422 passed 2025-10-30 21:56:25,876 - INFO - Detaching port 6eb238a1-3ac5-42e4-8cd7-5660c1a1ef36 from VM ctest-vn1-vm2-41926422 2025-10-30 21:56:25,974 - INFO - Deleting VM ctest-vn1-vm2-41926422 2025-10-30 21:56:26,059 - INFO - Detaching port a6c1a5c7-2bdb-4ec0-b64b-e71ac41d7e85 from VM ctest-vn1-vm1-18623509 2025-10-30 21:56:26,097 - INFO - Deleting VM ctest-vn1-vm1-18623509 2025-10-30 21:56:26,369 - DEBUG - Response for delete_port : () 2025-10-30 21:56:26,533 - DEBUG - Response for delete_port : () 2025-10-30 21:56:26,533 - INFO - Deleting VN ctest-vn1-20322076 2025-10-30 21:56:26,706 - DEBUG - Response for deleting network () 2025-10-30 21:56:26,996 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 21:56:26,996 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-10-30 21:56:26,996 - INFO - -------------------------------------------------------------------------------- 2025-10-30 21:56:27,806 - INFO - Deleted project: ctest-TestPorts-84522198, ID : ade3897d-62a4-4e3d-a80a-8fb72221140a