2025-10-23 13:14:00,565 - INFO - Domain Default found not creating 2025-10-23 13:14:00,713 - INFO - Project ctest-TestPorts-48661154 not found, creating it 2025-10-23 13:14:01,155 - INFO - Created Project:ctest-TestPorts-48661154, ID : 2ac5b076-5232-42f2-a4cd-29d3e3c75b36 2025-10-23 13:14:02,557 - INFO - ================================================================================ 2025-10-23 13:14:02,557 - INFO - STARTING TEST : test_ports_bindings 2025-10-23 13:14:02,557 - 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 13:14:02,818 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-23 13:14:02,818 - INFO - Initial checks done. Running the testcase now 2025-10-23 13:14:02,819 - INFO - 2025-10-23 13:14:03,371 - DEBUG - Response for create_network : {'network': {'id': '18042377-32e0-4cea-aa3b-5056e09c6011', 'name': 'ctest-vn-88441217', 'tenant_id': '2ac5b076523242f2a4cd29d3e3c75b36', 'project_id': '2ac5b076523242f2a4cd29d3e3c75b36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48661154', 'ctest-vn-88441217'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 13:14:03,560 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c376dc8c-4932-4072-b844-918356544bc3', 'name': '', 'tenant_id': '2ac5b076523242f2a4cd29d3e3c75b36', 'network_id': '18042377-32e0-4cea-aa3b-5056e09c6011', 'ip_version': 4, 'cidr': '102.91.69.192/26', 'allocation_pools': [{'start': '102.91.69.194', 'end': '102.91.69.254'}], 'gateway_ip': '102.91.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.91.69.194', 'tags': [], 'project_id': '2ac5b076523242f2a4cd29d3e3c75b36'}} 2025-10-23 13:14:03,579 - INFO - Created VN ctest-vn-88441217 2025-10-23 13:14:03,629 - DEBUG - VN ctest-vn-88441217 UUID is 18042377-32e0-4cea-aa3b-5056e09c6011 2025-10-23 13:14:03,742 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-48661154', 'ctest-vmi-29905910']} 2025-10-23 13:14:03,957 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-29905910', 'id': 'b761dc4c-b803-481a-9634-7b807d33e58a', 'tenant_id': '2ac5b076523242f2a4cd29d3e3c75b36', 'network_id': '18042377-32e0-4cea-aa3b-5056e09c6011', 'mac_address': '02:b7:61:dc:4c:b8', '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': '102.91.69.195', 'subnet_id': 'c376dc8c-4932-4072-b844-918356544bc3'}], 'security_groups': ['cbbf55d2-ed5e-4ff7-b76f-8db854476709'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2ac5b076523242f2a4cd29d3e3c75b36'}} 2025-10-23 13:14:03,957 - DEBUG - Created port b761dc4c-b803-481a-9634-7b807d33e58a 2025-10-23 13:14:04,061 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b761dc4c-b803-481a-9634-7b807d33e58a 2025-10-23 13:14:04,361 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b761dc4c-b803-481a-9634-7b807d33e58a 2025-10-23 13:14:04,394 - INFO - VMI b761dc4c-b803-481a-9634-7b807d33e58a verification in API Server passed 2025-10-23 13:14:04,475 - DEBUG - Response for delete_port : () 2025-10-23 13:14:04,475 - INFO - Deleted port b761dc4c-b803-481a-9634-7b807d33e58a 2025-10-23 13:14:04,475 - INFO - Deleting VN ctest-vn-88441217 2025-10-23 13:14:04,577 - DEBUG - Response for deleting network () 2025-10-23 13:14:04,835 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 13:14:04,835 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-23 13:14:04,835 - INFO - -------------------------------------------------------------------------------- 2025-10-23 13:14:04,837 - INFO - ================================================================================ 2025-10-23 13:14:04,837 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-23 13:14:04,837 - 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 13:14:05,123 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-23 13:14:05,123 - INFO - Initial checks done. Running the testcase now 2025-10-23 13:14:05,123 - INFO - 2025-10-23 13:14:05,296 - DEBUG - Response for create_network : {'network': {'id': 'cb76ecaa-2d34-436c-8400-de89abca58a0', 'name': 'ctest-vn1-05874486', 'tenant_id': '2ac5b076523242f2a4cd29d3e3c75b36', 'project_id': '2ac5b076523242f2a4cd29d3e3c75b36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48661154', 'ctest-vn1-05874486'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 13:14:05,471 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b38f36dd-a279-48fb-a3a1-250f9372adb2', 'name': '', 'tenant_id': '2ac5b076523242f2a4cd29d3e3c75b36', 'network_id': 'cb76ecaa-2d34-436c-8400-de89abca58a0', 'ip_version': 4, 'cidr': '111.69.88.128/26', 'allocation_pools': [{'start': '111.69.88.130', 'end': '111.69.88.190'}], 'gateway_ip': '111.69.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.69.88.130', 'tags': [], 'project_id': '2ac5b076523242f2a4cd29d3e3c75b36'}} 2025-10-23 13:14:05,680 - DEBUG - Response for create_subnet : {'subnet': {'id': '222d5a9a-b82e-47d0-9289-8aa58b183050', 'name': '', 'tenant_id': '2ac5b076523242f2a4cd29d3e3c75b36', 'network_id': 'cb76ecaa-2d34-436c-8400-de89abca58a0', 'ip_version': 4, 'cidr': '108.199.7.192/26', 'allocation_pools': [{'start': '108.199.7.194', 'end': '108.199.7.254'}], 'gateway_ip': '108.199.7.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.199.7.194', 'tags': [], 'project_id': '2ac5b076523242f2a4cd29d3e3c75b36'}} 2025-10-23 13:14:05,698 - INFO - Created VN ctest-vn1-05874486 2025-10-23 13:14:05,749 - DEBUG - VN ctest-vn1-05874486 UUID is cb76ecaa-2d34-436c-8400-de89abca58a0 2025-10-23 13:14:06,067 - DEBUG - Response for create_port : {'port': {'name': '6db526da-52f4-485b-8713-3b5e9c42f2b1', 'id': '6db526da-52f4-485b-8713-3b5e9c42f2b1', 'tenant_id': '2ac5b076523242f2a4cd29d3e3c75b36', 'network_id': 'cb76ecaa-2d34-436c-8400-de89abca58a0', 'mac_address': '02:6d:b5:26:da:52', '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': '111.69.88.133', 'subnet_id': 'b38f36dd-a279-48fb-a3a1-250f9372adb2'}], 'security_groups': ['cbbf55d2-ed5e-4ff7-b76f-8db854476709'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2ac5b076523242f2a4cd29d3e3c75b36'}} 2025-10-23 13:14:06,246 - DEBUG - Response for create_port : {'port': {'name': '8da011bf-bd11-4ae4-8608-058d14ff295d', 'id': '8da011bf-bd11-4ae4-8608-058d14ff295d', 'tenant_id': '2ac5b076523242f2a4cd29d3e3c75b36', 'network_id': 'cb76ecaa-2d34-436c-8400-de89abca58a0', 'mac_address': '02:8d:a0:11:bf:bd', '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': '108.199.7.197', 'subnet_id': '222d5a9a-b82e-47d0-9289-8aa58b183050'}], 'security_groups': ['cbbf55d2-ed5e-4ff7-b76f-8db854476709'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2ac5b076523242f2a4cd29d3e3c75b36'}} 2025-10-23 13:14:06,311 - DEBUG - Services list from nova: [, , ] 2025-10-23 13:14:06,652 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4461-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4461-1) 2025-10-23 13:14:07,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4461-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4461-1) 2025-10-23 13:14:07,055 - INFO - Waiting for VM ctest-vn1-vm1-80488842 to be up.. 2025-10-23 13:14:07,221 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 13:14:12,297 - DEBUG - VM is in ACTIVE state now 2025-10-23 13:14:12,297 - INFO - VM name : ctest-vn1-vm1-80488842 2025-10-23 13:14:12,369 - DEBUG - VM ctest-vn1-vm1-80488842 ID is c6556c11-a5be-446a-9e72-5805ea6894d2 2025-10-23 13:14:12,388 - DEBUG - VM ctest-vn1-vm1-80488842 launched on Node cn-jenkins-deploy-platform-ansible-os-4461-1 2025-10-23 13:14:12,466 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c6556c11-a5be-446a-9e72-5805ea6894d2 2025-10-23 13:14:12,475 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6db526da-52f4-485b-8713-3b5e9c42f2b1 2025-10-23 13:14:15,716 - 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-23 13:14:15,716 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80488842 failed! 2025-10-23 13:14:15,769 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48661154:ctest-vn1-05874486 is 111.69.88.129 and allocation pool is NOT set 2025-10-23 13:14:15,770 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48661154:ctest-vn1-05874486 is 108.199.7.193 and allocation pool is NOT set 2025-10-23 13:14:17,838 - 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=7.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.56 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 = 1.557/4.333/7.110/2.776 ms') 2025-10-23 13:14:17,838 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80488842 passed 2025-10-23 13:14:17,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 13:14:17,990 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80488842, IP 111.69.88.133, Port 22 2025-10-23 13:14:18,145 - DEBUG - VM ctest-vn1-vm1-80488842 is ready for SSH connections 2025-10-23 13:14:18,145 - INFO - Waiting for VM ctest-vn1-vm2-50532736 to be up.. 2025-10-23 13:14:18,232 - DEBUG - VM is in ACTIVE state now 2025-10-23 13:14:18,233 - INFO - VM name : ctest-vn1-vm2-50532736 2025-10-23 13:14:18,327 - DEBUG - VM ctest-vn1-vm2-50532736 ID is 5241b25e-c5e9-43a1-9be3-21485d7c39c3 2025-10-23 13:14:18,327 - DEBUG - VM ctest-vn1-vm2-50532736 launched on Node cn-jenkins-deploy-platform-ansible-os-4461-1 2025-10-23 13:14:18,399 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5241b25e-c5e9-43a1-9be3-21485d7c39c3 2025-10-23 13:14:18,407 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8da011bf-bd11-4ae4-8608-058d14ff295d 2025-10-23 13:14:19,645 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.342 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.342/2.014/3.686/1.672 ms') 2025-10-23 13:14:19,645 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-50532736 passed 2025-10-23 13:14:19,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 13:14:19,798 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-50532736, IP 108.199.7.197, Port 22 2025-10-23 13:14:19,953 - DEBUG - VM ctest-vn1-vm2-50532736 is ready for SSH connections 2025-10-23 13:14:19,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 13:14:19,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 13:14:19,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 13:14:19,953 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.69.88.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-23 13:14:19,953 - DEBUG - ping -s 56 -c 3 -W 1 111.69.88.133 2025-10-23 13:14:22,621 - DEBUG - PING 111.69.88.133 (111.69.88.133): 56 data bytes 64 bytes from 111.69.88.133: seq=0 ttl=63 time=3.561 ms 64 bytes from 111.69.88.133: seq=1 ttl=63 time=0.891 ms 64 bytes from 111.69.88.133: seq=2 ttl=63 time=0.784 ms --- 111.69.88.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.784/1.745/3.561 ms 2025-10-23 13:14:22,622 - INFO - Ping to IP 111.69.88.133 from VM ctest-vn1-vm2-50532736 passed 2025-10-23 13:14:22,622 - INFO - Detaching port 8da011bf-bd11-4ae4-8608-058d14ff295d from VM ctest-vn1-vm2-50532736 2025-10-23 13:14:22,673 - INFO - Deleting VM ctest-vn1-vm2-50532736 2025-10-23 13:14:22,761 - INFO - Detaching port 6db526da-52f4-485b-8713-3b5e9c42f2b1 from VM ctest-vn1-vm1-80488842 2025-10-23 13:14:22,796 - INFO - Deleting VM ctest-vn1-vm1-80488842 2025-10-23 13:14:23,039 - DEBUG - Response for delete_port : () 2025-10-23 13:14:23,202 - DEBUG - Response for delete_port : () 2025-10-23 13:14:23,202 - INFO - Deleting VN ctest-vn1-05874486 2025-10-23 13:14:23,341 - DEBUG - Response for deleting network () 2025-10-23 13:14:23,594 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 13:14:23,594 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-23 13:14:23,594 - INFO - -------------------------------------------------------------------------------- 2025-10-23 13:14:24,254 - INFO - Deleted project: ctest-TestPorts-48661154, ID : 2ac5b076-5232-42f2-a4cd-29d3e3c75b36