2025-10-17 21:52:16,785 - INFO - Domain Default found not creating 2025-10-17 21:52:17,141 - INFO - Project ctest-TestPorts-09511994 not found, creating it 2025-10-17 21:52:17,907 - INFO - Created Project:ctest-TestPorts-09511994, ID : 3be9e4b7-6298-4442-8842-77de958bbd70 2025-10-17 21:52:19,896 - INFO - ================================================================================ 2025-10-17 21:52:19,896 - INFO - STARTING TEST : test_ports_bindings 2025-10-17 21:52:19,896 - 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-17 21:52:20,175 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-17 21:52:20,175 - INFO - Initial checks done. Running the testcase now 2025-10-17 21:52:20,176 - INFO - 2025-10-17 21:52:20,868 - DEBUG - Response for create_network : {'network': {'id': '5d502b34-d3de-40cf-a715-44f695576e6b', 'name': 'ctest-vn-72581849', 'tenant_id': '3be9e4b762984442884277de958bbd70', 'project_id': '3be9e4b762984442884277de958bbd70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09511994', 'ctest-vn-72581849'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:52:21,042 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b362183-b6ff-46f9-a882-c6eee90fe73c', 'name': '', 'tenant_id': '3be9e4b762984442884277de958bbd70', 'network_id': '5d502b34-d3de-40cf-a715-44f695576e6b', 'ip_version': 4, 'cidr': '60.234.92.64/26', 'allocation_pools': [{'start': '60.234.92.66', 'end': '60.234.92.126'}], 'gateway_ip': '60.234.92.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.234.92.66', 'tags': [], 'project_id': '3be9e4b762984442884277de958bbd70'}} 2025-10-17 21:52:21,063 - INFO - Created VN ctest-vn-72581849 2025-10-17 21:52:21,121 - DEBUG - VN ctest-vn-72581849 UUID is 5d502b34-d3de-40cf-a715-44f695576e6b 2025-10-17 21:52:21,251 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-09511994', 'ctest-vmi-95836315']} 2025-10-17 21:52:21,621 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-95836315', 'id': '2bacb230-5b8e-4cef-994c-aefb1953730e', 'tenant_id': '3be9e4b762984442884277de958bbd70', 'network_id': '5d502b34-d3de-40cf-a715-44f695576e6b', 'mac_address': '02:2b:ac:b2:30:5b', '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': '60.234.92.67', 'subnet_id': '4b362183-b6ff-46f9-a882-c6eee90fe73c'}], 'security_groups': ['ebc1ef4b-cbad-49e5-b4de-469d991231ea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3be9e4b762984442884277de958bbd70'}} 2025-10-17 21:52:21,622 - DEBUG - Created port 2bacb230-5b8e-4cef-994c-aefb1953730e 2025-10-17 21:52:21,749 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2bacb230-5b8e-4cef-994c-aefb1953730e 2025-10-17 21:52:22,090 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2bacb230-5b8e-4cef-994c-aefb1953730e 2025-10-17 21:52:22,136 - INFO - VMI 2bacb230-5b8e-4cef-994c-aefb1953730e verification in API Server passed 2025-10-17 21:52:22,252 - DEBUG - Response for delete_port : () 2025-10-17 21:52:22,252 - INFO - Deleted port 2bacb230-5b8e-4cef-994c-aefb1953730e 2025-10-17 21:52:22,252 - INFO - Deleting VN ctest-vn-72581849 2025-10-17 21:52:22,368 - DEBUG - Response for deleting network () 2025-10-17 21:52:22,649 - DEBUG - No XMPP flaps were noticed during the test
2025-10-17 21:52:22,649 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-17 21:52:22,650 - INFO - -------------------------------------------------------------------------------- 2025-10-17 21:52:22,654 - INFO - ================================================================================ 2025-10-17 21:52:22,654 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-17 21:52:22,654 - 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-17 21:52:22,989 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-17 21:52:22,990 - INFO - Initial checks done. Running the testcase now 2025-10-17 21:52:22,990 - INFO - 2025-10-17 21:52:23,343 - DEBUG - Response for create_network : {'network': {'id': 'f902edcb-b89a-4992-8424-3468d980cd55', 'name': 'ctest-vn1-35767018', 'tenant_id': '3be9e4b762984442884277de958bbd70', 'project_id': '3be9e4b762984442884277de958bbd70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09511994', 'ctest-vn1-35767018'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:52:23,674 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bef8d81-40f0-4378-a0db-986fe09a70af', 'name': '', 'tenant_id': '3be9e4b762984442884277de958bbd70', 'network_id': 'f902edcb-b89a-4992-8424-3468d980cd55', 'ip_version': 4, 'cidr': '25.246.150.64/26', 'allocation_pools': [{'start': '25.246.150.66', 'end': '25.246.150.126'}], 'gateway_ip': '25.246.150.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.246.150.66', 'tags': [], 'project_id': '3be9e4b762984442884277de958bbd70'}} 2025-10-17 21:52:23,943 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8a596cd-f87a-4d37-9000-0f2d766234ed', 'name': '', 'tenant_id': '3be9e4b762984442884277de958bbd70', 'network_id': 'f902edcb-b89a-4992-8424-3468d980cd55', 'ip_version': 4, 'cidr': '70.93.109.128/26', 'allocation_pools': [{'start': '70.93.109.130', 'end': '70.93.109.190'}], 'gateway_ip': '70.93.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.93.109.130', 'tags': [], 'project_id': '3be9e4b762984442884277de958bbd70'}} 2025-10-17 21:52:23,977 - INFO - Created VN ctest-vn1-35767018 2025-10-17 21:52:24,042 - DEBUG - VN ctest-vn1-35767018 UUID is f902edcb-b89a-4992-8424-3468d980cd55 2025-10-17 21:52:24,565 - DEBUG - Response for create_port : {'port': {'name': '003c6f8e-75e5-4b3d-a789-3ad5dc66a3b9', 'id': '003c6f8e-75e5-4b3d-a789-3ad5dc66a3b9', 'tenant_id': '3be9e4b762984442884277de958bbd70', 'network_id': 'f902edcb-b89a-4992-8424-3468d980cd55', 'mac_address': '02:00:3c:6f:8e:75', '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': '25.246.150.69', 'subnet_id': '9bef8d81-40f0-4378-a0db-986fe09a70af'}], 'security_groups': ['ebc1ef4b-cbad-49e5-b4de-469d991231ea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3be9e4b762984442884277de958bbd70'}} 2025-10-17 21:52:24,759 - DEBUG - Response for create_port : {'port': {'name': '2145547e-26c5-487c-9431-5ab2ddbdd0c5', 'id': '2145547e-26c5-487c-9431-5ab2ddbdd0c5', 'tenant_id': '3be9e4b762984442884277de958bbd70', 'network_id': 'f902edcb-b89a-4992-8424-3468d980cd55', 'mac_address': '02:21:45:54:7e:26', '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': '70.93.109.133', 'subnet_id': 'a8a596cd-f87a-4d37-9000-0f2d766234ed'}], 'security_groups': ['ebc1ef4b-cbad-49e5-b4de-469d991231ea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3be9e4b762984442884277de958bbd70'}} 2025-10-17 21:52:24,818 - DEBUG - Services list from nova: [, , ] 2025-10-17 21:52:25,496 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4359-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4359-1) 2025-10-17 21:52:26,322 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4359-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4359-1) 2025-10-17 21:52:26,322 - INFO - Waiting for VM ctest-vn1-vm1-95786498 to be up.. 2025-10-17 21:52:26,409 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 21:52:31,601 - DEBUG - VM is in ACTIVE state now 2025-10-17 21:52:31,601 - INFO - VM name : ctest-vn1-vm1-95786498 2025-10-17 21:52:31,768 - DEBUG - VM ctest-vn1-vm1-95786498 ID is 8158b2b2-7b18-42b8-99b3-d80cebb2d724 2025-10-17 21:52:31,816 - DEBUG - VM ctest-vn1-vm1-95786498 launched on Node cn-jenkins-deploy-platform-ansible-os-4359-1 2025-10-17 21:52:31,946 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8158b2b2-7b18-42b8-99b3-d80cebb2d724 2025-10-17 21:52:31,961 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/003c6f8e-75e5-4b3d-a789-3ad5dc66a3b9 2025-10-17 21:52:35,256 - 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 1005ms') 2025-10-17 21:52:35,257 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95786498 failed! 2025-10-17 21:52:35,325 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09511994:ctest-vn1-35767018 is 25.246.150.65 and allocation pool is NOT set 2025-10-17 21:52:35,326 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09511994:ctest-vn1-35767018 is 70.93.109.129 and allocation pool is NOT set 2025-10-17 21:52:39,414 - 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 1011ms') 2025-10-17 21:52:39,414 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95786498 failed! 2025-10-17 21:52:39,481 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09511994:ctest-vn1-35767018 is 25.246.150.65 and allocation pool is NOT set 2025-10-17 21:52:39,482 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09511994:ctest-vn1-35767018 is 70.93.109.129 and allocation pool is NOT set 2025-10-17 21:52:41,569 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.48 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 = 3.345/3.411/3.478/0.066 ms') 2025-10-17 21:52:41,569 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95786498 passed 2025-10-17 21:52:41,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:52:41,754 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95786498, IP 25.246.150.69, Port 22 2025-10-17 21:52:41,964 - DEBUG - VM ctest-vn1-vm1-95786498 is ready for SSH connections 2025-10-17 21:52:41,964 - INFO - Waiting for VM ctest-vn1-vm2-55328179 to be up.. 2025-10-17 21:52:42,114 - DEBUG - VM is in ACTIVE state now 2025-10-17 21:52:42,114 - INFO - VM name : ctest-vn1-vm2-55328179 2025-10-17 21:52:42,215 - DEBUG - VM ctest-vn1-vm2-55328179 ID is d5c47b71-350c-4207-ac90-8906941ac5a1 2025-10-17 21:52:42,216 - DEBUG - VM ctest-vn1-vm2-55328179 launched on Node cn-jenkins-deploy-platform-ansible-os-4359-1 2025-10-17 21:52:42,299 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d5c47b71-350c-4207-ac90-8906941ac5a1 2025-10-17 21:52:42,311 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2145547e-26c5-487c-9431-5ab2ddbdd0c5 2025-10-17 21:52:43,591 - 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=8.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.856 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.856/4.919/8.983/4.063 ms') 2025-10-17 21:52:43,591 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-55328179 passed 2025-10-17 21:52:43,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:52:43,774 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-55328179, IP 70.93.109.133, Port 22 2025-10-17 21:52:43,971 - DEBUG - VM ctest-vn1-vm2-55328179 is ready for SSH connections 2025-10-17 21:52:43,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:52:43,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:52:43,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:52:43,972 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.246.150.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-17 21:52:43,972 - DEBUG - ping -s 56 -c 3 -W 1 25.246.150.69 2025-10-17 21:52:46,904 - DEBUG - PING 25.246.150.69 (25.246.150.69): 56 data bytes 64 bytes from 25.246.150.69: seq=0 ttl=63 time=4.002 ms 64 bytes from 25.246.150.69: seq=1 ttl=63 time=1.610 ms 64 bytes from 25.246.150.69: seq=2 ttl=63 time=1.437 ms --- 25.246.150.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.437/2.349/4.002 ms 2025-10-17 21:52:46,905 - INFO - Ping to IP 25.246.150.69 from VM ctest-vn1-vm2-55328179 passed 2025-10-17 21:52:46,905 - INFO - Detaching port 2145547e-26c5-487c-9431-5ab2ddbdd0c5 from VM ctest-vn1-vm2-55328179 2025-10-17 21:52:47,008 - INFO - Deleting VM ctest-vn1-vm2-55328179 2025-10-17 21:52:47,148 - INFO - Detaching port 003c6f8e-75e5-4b3d-a789-3ad5dc66a3b9 from VM ctest-vn1-vm1-95786498 2025-10-17 21:52:47,231 - INFO - Deleting VM ctest-vn1-vm1-95786498 2025-10-17 21:52:47,582 - DEBUG - Response for delete_port : () 2025-10-17 21:52:47,747 - DEBUG - Response for delete_port : () 2025-10-17 21:52:47,747 - INFO - Deleting VN ctest-vn1-35767018 2025-10-17 21:52:47,886 - DEBUG - Response for deleting network () 2025-10-17 21:52:48,178 - DEBUG - No XMPP flaps were noticed during the test
2025-10-17 21:52:48,178 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-10-17 21:52:48,178 - INFO - -------------------------------------------------------------------------------- 2025-10-17 21:52:48,914 - INFO - Deleted project: ctest-TestPorts-09511994, ID : 3be9e4b7-6298-4442-8842-77de958bbd70