2026-04-28 18:40:42,459 - INFO - Domain Default found not creating 2026-04-28 18:40:42,635 - INFO - Project ctest-TestPorts-89681723 not found, creating it 2026-04-28 18:40:43,132 - INFO - Created Project:ctest-TestPorts-89681723, ID : 4d021293-321f-4a00-8799-822dc2b11a23 2026-04-28 18:40:44,667 - INFO - ================================================================================ 2026-04-28 18:40:44,667 - INFO - STARTING TEST : test_ports_bindings 2026-04-28 18:40:44,667 - 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 2026-04-28 18:40:44,933 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-28 18:40:44,933 - INFO - Initial checks done. Running the testcase now 2026-04-28 18:40:44,933 - INFO - 2026-04-28 18:40:45,486 - DEBUG - Response for create_network : {'network': {'id': '496b9a33-6c17-4b87-b984-d6c4fd0268ab', 'name': 'ctest-vn-28218634', 'tenant_id': '4d021293321f4a008799822dc2b11a23', 'project_id': '4d021293321f4a008799822dc2b11a23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89681723', 'ctest-vn-28218634'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 18:40:45,697 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0c88e53-9a97-4ce3-824a-762ceee3f919', 'name': '', 'tenant_id': '4d021293321f4a008799822dc2b11a23', 'network_id': '496b9a33-6c17-4b87-b984-d6c4fd0268ab', 'ip_version': 4, 'cidr': '27.202.152.128/26', 'allocation_pools': [{'start': '27.202.152.130', 'end': '27.202.152.190'}], 'gateway_ip': '27.202.152.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.202.152.130', 'tags': [], 'project_id': '4d021293321f4a008799822dc2b11a23'}} 2026-04-28 18:40:45,715 - INFO - Created VN ctest-vn-28218634 2026-04-28 18:40:45,768 - DEBUG - VN ctest-vn-28218634 UUID is 496b9a33-6c17-4b87-b984-d6c4fd0268ab 2026-04-28 18:40:45,881 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-89681723', 'ctest-vmi-23131029']} 2026-04-28 18:40:46,208 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-23131029', 'id': 'd230a377-efa9-4ec2-9800-0dbd3883a80c', 'tenant_id': '4d021293321f4a008799822dc2b11a23', 'network_id': '496b9a33-6c17-4b87-b984-d6c4fd0268ab', 'mac_address': '02:d2:30:a3:77:ef', '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': '27.202.152.131', 'subnet_id': 'b0c88e53-9a97-4ce3-824a-762ceee3f919'}], 'security_groups': ['26fce930-7e02-49ed-90f5-7530d7bd5d67'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4d021293321f4a008799822dc2b11a23'}} 2026-04-28 18:40:46,208 - DEBUG - Created port d230a377-efa9-4ec2-9800-0dbd3883a80c 2026-04-28 18:40:46,320 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d230a377-efa9-4ec2-9800-0dbd3883a80c 2026-04-28 18:40:46,612 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d230a377-efa9-4ec2-9800-0dbd3883a80c 2026-04-28 18:40:46,650 - INFO - VMI d230a377-efa9-4ec2-9800-0dbd3883a80c verification in API Server passed 2026-04-28 18:40:46,744 - DEBUG - Response for delete_port : () 2026-04-28 18:40:46,744 - INFO - Deleted port d230a377-efa9-4ec2-9800-0dbd3883a80c 2026-04-28 18:40:46,744 - INFO - Deleting VN ctest-vn-28218634 2026-04-28 18:40:46,853 - DEBUG - Response for deleting network () 2026-04-28 18:40:47,109 - DEBUG - No XMPP flaps were noticed during the test
2026-04-28 18:40:47,109 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-04-28 18:40:47,109 - INFO - -------------------------------------------------------------------------------- 2026-04-28 18:40:47,112 - INFO - ================================================================================ 2026-04-28 18:40:47,112 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-28 18:40:47,112 - 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 2026-04-28 18:40:47,398 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-28 18:40:47,398 - INFO - Initial checks done. Running the testcase now 2026-04-28 18:40:47,398 - INFO - 2026-04-28 18:40:47,569 - DEBUG - Response for create_network : {'network': {'id': '2626c02c-1c76-4ff2-8037-0f312a4d80c5', 'name': 'ctest-vn1-49803289', 'tenant_id': '4d021293321f4a008799822dc2b11a23', 'project_id': '4d021293321f4a008799822dc2b11a23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89681723', 'ctest-vn1-49803289'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 18:40:47,787 - DEBUG - Response for create_subnet : {'subnet': {'id': '50d38723-49db-43d0-984b-92b46d1049b9', 'name': '', 'tenant_id': '4d021293321f4a008799822dc2b11a23', 'network_id': '2626c02c-1c76-4ff2-8037-0f312a4d80c5', 'ip_version': 4, 'cidr': '161.56.237.192/26', 'allocation_pools': [{'start': '161.56.237.194', 'end': '161.56.237.254'}], 'gateway_ip': '161.56.237.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.56.237.194', 'tags': [], 'project_id': '4d021293321f4a008799822dc2b11a23'}} 2026-04-28 18:40:47,929 - DEBUG - Response for create_subnet : {'subnet': {'id': '36699da2-245f-4626-a5ae-35be169ca041', 'name': '', 'tenant_id': '4d021293321f4a008799822dc2b11a23', 'network_id': '2626c02c-1c76-4ff2-8037-0f312a4d80c5', 'ip_version': 4, 'cidr': '84.29.28.0/26', 'allocation_pools': [{'start': '84.29.28.2', 'end': '84.29.28.62'}], 'gateway_ip': '84.29.28.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.29.28.2', 'tags': [], 'project_id': '4d021293321f4a008799822dc2b11a23'}} 2026-04-28 18:40:47,948 - INFO - Created VN ctest-vn1-49803289 2026-04-28 18:40:48,000 - DEBUG - VN ctest-vn1-49803289 UUID is 2626c02c-1c76-4ff2-8037-0f312a4d80c5 2026-04-28 18:40:48,288 - DEBUG - Response for create_port : {'port': {'name': '2da0621c-4194-4d85-9969-469f763708c1', 'id': '2da0621c-4194-4d85-9969-469f763708c1', 'tenant_id': '4d021293321f4a008799822dc2b11a23', 'network_id': '2626c02c-1c76-4ff2-8037-0f312a4d80c5', 'mac_address': '02:2d:a0:62:1c:41', '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': '161.56.237.197', 'subnet_id': '50d38723-49db-43d0-984b-92b46d1049b9'}], 'security_groups': ['26fce930-7e02-49ed-90f5-7530d7bd5d67'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4d021293321f4a008799822dc2b11a23'}} 2026-04-28 18:40:48,455 - DEBUG - Response for create_port : {'port': {'name': '04e2d1d5-3228-44d9-b65b-7fbab45a9089', 'id': '04e2d1d5-3228-44d9-b65b-7fbab45a9089', 'tenant_id': '4d021293321f4a008799822dc2b11a23', 'network_id': '2626c02c-1c76-4ff2-8037-0f312a4d80c5', 'mac_address': '02:04:e2:d1:d5:32', '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': '84.29.28.5', 'subnet_id': '36699da2-245f-4626-a5ae-35be169ca041'}], 'security_groups': ['26fce930-7e02-49ed-90f5-7530d7bd5d67'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4d021293321f4a008799822dc2b11a23'}} 2026-04-28 18:40:48,514 - DEBUG - Services list from nova: [, , ] 2026-04-28 18:40:48,837 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5705-1) 2026-04-28 18:40:49,234 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5705-1) 2026-04-28 18:40:49,234 - INFO - Waiting for VM ctest-vn1-vm1-73228533 to be up.. 2026-04-28 18:40:49,276 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-28 18:40:54,352 - DEBUG - VM is in ACTIVE state now 2026-04-28 18:40:54,352 - INFO - VM name : ctest-vn1-vm1-73228533 2026-04-28 18:40:54,435 - DEBUG - VM ctest-vn1-vm1-73228533 ID is 142d9b80-5ddf-4d0c-8c02-84d7c6a2bada 2026-04-28 18:40:54,457 - DEBUG - VM ctest-vn1-vm1-73228533 launched on Node cn-jenkins-deploy-platform-ansible-os-5705-1 2026-04-28 18:40:54,535 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/142d9b80-5ddf-4d0c-8c02-84d7c6a2bada 2026-04-28 18:40:54,544 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2da0621c-4194-4d85-9969-469f763708c1 2026-04-28 18:40:57,786 - 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 1003ms') 2026-04-28 18:40:57,786 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73228533 failed! 2026-04-28 18:40:57,844 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89681723:ctest-vn1-49803289 is 161.56.237.193 and allocation pool is NOT set 2026-04-28 18:40:57,844 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89681723:ctest-vn1-49803289 is 84.29.28.1 and allocation pool is NOT set 2026-04-28 18:41:01,908 - 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=8.65 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 8.647/8.647/8.647/0.000 ms') 2026-04-28 18:41:01,908 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73228533 passed 2026-04-28 18:41:02,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 18:41:02,060 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73228533, IP 161.56.237.197, Port 22 2026-04-28 18:41:02,216 - DEBUG - VM ctest-vn1-vm1-73228533 is ready for SSH connections 2026-04-28 18:41:02,216 - INFO - Waiting for VM ctest-vn1-vm2-03041026 to be up.. 2026-04-28 18:41:02,300 - DEBUG - VM is in ACTIVE state now 2026-04-28 18:41:02,300 - INFO - VM name : ctest-vn1-vm2-03041026 2026-04-28 18:41:02,372 - DEBUG - VM ctest-vn1-vm2-03041026 ID is 85b56bbc-a6a3-443e-98c7-45631ec1dfc8 2026-04-28 18:41:02,372 - DEBUG - VM ctest-vn1-vm2-03041026 launched on Node cn-jenkins-deploy-platform-ansible-os-5705-1 2026-04-28 18:41:02,449 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/85b56bbc-a6a3-443e-98c7-45631ec1dfc8 2026-04-28 18:41:02,459 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/04e2d1d5-3228-44d9-b65b-7fbab45a9089 2026-04-28 18:41:03,701 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.544 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.544/1.808/3.072/1.264 ms') 2026-04-28 18:41:03,701 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-03041026 passed 2026-04-28 18:41:03,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 18:41:03,852 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-03041026, IP 84.29.28.5, Port 22 2026-04-28 18:41:04,007 - DEBUG - VM ctest-vn1-vm2-03041026 is ready for SSH connections 2026-04-28 18:41:04,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 18:41:04,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 18:41:04,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 18:41:04,007 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.56.237.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-28 18:41:04,007 - DEBUG - ping -s 56 -c 3 -W 1 161.56.237.197 2026-04-28 18:41:06,679 - DEBUG - PING 161.56.237.197 (161.56.237.197): 56 data bytes 64 bytes from 161.56.237.197: seq=0 ttl=63 time=3.918 ms 64 bytes from 161.56.237.197: seq=1 ttl=63 time=1.004 ms 64 bytes from 161.56.237.197: seq=2 ttl=63 time=0.792 ms --- 161.56.237.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.792/1.904/3.918 ms 2026-04-28 18:41:06,679 - INFO - Ping to IP 161.56.237.197 from VM ctest-vn1-vm2-03041026 passed 2026-04-28 18:41:06,679 - INFO - Detaching port 04e2d1d5-3228-44d9-b65b-7fbab45a9089 from VM ctest-vn1-vm2-03041026 2026-04-28 18:41:06,733 - INFO - Deleting VM ctest-vn1-vm2-03041026 2026-04-28 18:41:06,807 - INFO - Detaching port 2da0621c-4194-4d85-9969-469f763708c1 from VM ctest-vn1-vm1-73228533 2026-04-28 18:41:06,841 - INFO - Deleting VM ctest-vn1-vm1-73228533 2026-04-28 18:41:07,099 - DEBUG - Response for delete_port : () 2026-04-28 18:41:07,265 - DEBUG - Response for delete_port : () 2026-04-28 18:41:07,265 - INFO - Deleting VN ctest-vn1-49803289 2026-04-28 18:41:07,408 - DEBUG - Response for deleting network () 2026-04-28 18:41:07,675 - DEBUG - No XMPP flaps were noticed during the test
2026-04-28 18:41:07,676 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2026-04-28 18:41:07,676 - INFO - -------------------------------------------------------------------------------- 2026-04-28 18:41:08,353 - INFO - Deleted project: ctest-TestPorts-89681723, ID : 4d021293-321f-4a00-8799-822dc2b11a23