2025-11-13 12:32:05,279 - INFO - Domain Default found not creating 2025-11-13 12:32:05,458 - INFO - Project ctest-TestPorts-86014372 not found, creating it 2025-11-13 12:32:05,923 - INFO - Created Project:ctest-TestPorts-86014372, ID : 13c0d903-68b5-4ce2-ae01-59a8a921fb8c 2025-11-13 12:32:07,443 - INFO - ================================================================================ 2025-11-13 12:32:07,443 - INFO - STARTING TEST : test_ports_bindings 2025-11-13 12:32:07,443 - 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-11-13 12:32:07,709 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-13 12:32:07,709 - INFO - Initial checks done. Running the testcase now 2025-11-13 12:32:07,709 - INFO - 2025-11-13 12:32:08,287 - DEBUG - Response for create_network : {'network': {'id': 'fd1a44b7-97ed-482c-baa9-8c48cef4d5cc', 'name': 'ctest-vn-05841438', 'tenant_id': '13c0d90368b54ce2ae0159a8a921fb8c', 'project_id': '13c0d90368b54ce2ae0159a8a921fb8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86014372', 'ctest-vn-05841438'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 12:32:08,476 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c2da830-e354-4b6e-b8e4-01de644f2aa4', 'name': '', 'tenant_id': '13c0d90368b54ce2ae0159a8a921fb8c', 'network_id': 'fd1a44b7-97ed-482c-baa9-8c48cef4d5cc', 'ip_version': 4, 'cidr': '178.30.64.0/26', 'allocation_pools': [{'start': '178.30.64.2', 'end': '178.30.64.62'}], 'gateway_ip': '178.30.64.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.30.64.2', 'tags': [], 'project_id': '13c0d90368b54ce2ae0159a8a921fb8c'}} 2025-11-13 12:32:08,496 - INFO - Created VN ctest-vn-05841438 2025-11-13 12:32:08,550 - DEBUG - VN ctest-vn-05841438 UUID is fd1a44b7-97ed-482c-baa9-8c48cef4d5cc 2025-11-13 12:32:08,652 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86014372', 'ctest-vmi-10259220']} 2025-11-13 12:32:08,922 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-10259220', 'id': 'c442a5e3-5988-4400-9dfe-a35d2872b179', 'tenant_id': '13c0d90368b54ce2ae0159a8a921fb8c', 'network_id': 'fd1a44b7-97ed-482c-baa9-8c48cef4d5cc', 'mac_address': '02:c4:42:a5:e3:59', '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': '178.30.64.3', 'subnet_id': '4c2da830-e354-4b6e-b8e4-01de644f2aa4'}], 'security_groups': ['ea8f08d6-e039-40c7-84ab-cf83a9b197ca'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '13c0d90368b54ce2ae0159a8a921fb8c'}} 2025-11-13 12:32:08,922 - DEBUG - Created port c442a5e3-5988-4400-9dfe-a35d2872b179 2025-11-13 12:32:09,026 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c442a5e3-5988-4400-9dfe-a35d2872b179 2025-11-13 12:32:09,349 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c442a5e3-5988-4400-9dfe-a35d2872b179 2025-11-13 12:32:09,388 - INFO - VMI c442a5e3-5988-4400-9dfe-a35d2872b179 verification in API Server passed 2025-11-13 12:32:09,476 - DEBUG - Response for delete_port : () 2025-11-13 12:32:09,476 - INFO - Deleted port c442a5e3-5988-4400-9dfe-a35d2872b179 2025-11-13 12:32:09,476 - INFO - Deleting VN ctest-vn-05841438 2025-11-13 12:32:09,588 - DEBUG - Response for deleting network () 2025-11-13 12:32:09,847 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 12:32:09,847 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-13 12:32:09,847 - INFO - -------------------------------------------------------------------------------- 2025-11-13 12:32:09,850 - INFO - ================================================================================ 2025-11-13 12:32:09,850 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-13 12:32:09,850 - 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-11-13 12:32:10,136 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-13 12:32:10,136 - INFO - Initial checks done. Running the testcase now 2025-11-13 12:32:10,136 - INFO - 2025-11-13 12:32:10,316 - DEBUG - Response for create_network : {'network': {'id': 'd595c7dc-3bb2-46cb-8375-ffffe83298e5', 'name': 'ctest-vn1-13239758', 'tenant_id': '13c0d90368b54ce2ae0159a8a921fb8c', 'project_id': '13c0d90368b54ce2ae0159a8a921fb8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86014372', 'ctest-vn1-13239758'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 12:32:10,515 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f708dff-c3d6-4aad-97f2-9759a15afb0f', 'name': '', 'tenant_id': '13c0d90368b54ce2ae0159a8a921fb8c', 'network_id': 'd595c7dc-3bb2-46cb-8375-ffffe83298e5', 'ip_version': 4, 'cidr': '42.91.156.128/26', 'allocation_pools': [{'start': '42.91.156.130', 'end': '42.91.156.190'}], 'gateway_ip': '42.91.156.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.91.156.130', 'tags': [], 'project_id': '13c0d90368b54ce2ae0159a8a921fb8c'}} 2025-11-13 12:32:10,724 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f6d5173-d1a8-426b-89e4-b980064738a5', 'name': '', 'tenant_id': '13c0d90368b54ce2ae0159a8a921fb8c', 'network_id': 'd595c7dc-3bb2-46cb-8375-ffffe83298e5', 'ip_version': 4, 'cidr': '80.231.99.64/26', 'allocation_pools': [{'start': '80.231.99.66', 'end': '80.231.99.126'}], 'gateway_ip': '80.231.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.231.99.66', 'tags': [], 'project_id': '13c0d90368b54ce2ae0159a8a921fb8c'}} 2025-11-13 12:32:10,743 - INFO - Created VN ctest-vn1-13239758 2025-11-13 12:32:10,798 - DEBUG - VN ctest-vn1-13239758 UUID is d595c7dc-3bb2-46cb-8375-ffffe83298e5 2025-11-13 12:32:11,083 - DEBUG - Response for create_port : {'port': {'name': '35bbdd93-f930-472d-bc48-8b85572919c8', 'id': '35bbdd93-f930-472d-bc48-8b85572919c8', 'tenant_id': '13c0d90368b54ce2ae0159a8a921fb8c', 'network_id': 'd595c7dc-3bb2-46cb-8375-ffffe83298e5', 'mac_address': '02:35:bb:dd:93:f9', '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': '42.91.156.133', 'subnet_id': '4f708dff-c3d6-4aad-97f2-9759a15afb0f'}], 'security_groups': ['ea8f08d6-e039-40c7-84ab-cf83a9b197ca'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '13c0d90368b54ce2ae0159a8a921fb8c'}} 2025-11-13 12:32:11,247 - DEBUG - Response for create_port : {'port': {'name': '0de9315c-f285-4617-aea8-bf0ca905dde0', 'id': '0de9315c-f285-4617-aea8-bf0ca905dde0', 'tenant_id': '13c0d90368b54ce2ae0159a8a921fb8c', 'network_id': 'd595c7dc-3bb2-46cb-8375-ffffe83298e5', 'mac_address': '02:0d:e9:31:5c:f2', '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': '80.231.99.69', 'subnet_id': '7f6d5173-d1a8-426b-89e4-b980064738a5'}], 'security_groups': ['ea8f08d6-e039-40c7-84ab-cf83a9b197ca'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '13c0d90368b54ce2ae0159a8a921fb8c'}} 2025-11-13 12:32:11,306 - DEBUG - Services list from nova: [, , ] 2025-11-13 12:32:11,629 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4720-1) 2025-11-13 12:32:11,992 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4720-1) 2025-11-13 12:32:11,993 - INFO - Waiting for VM ctest-vn1-vm1-79357563 to be up.. 2025-11-13 12:32:12,028 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 12:32:17,102 - DEBUG - VM is in ACTIVE state now 2025-11-13 12:32:17,102 - INFO - VM name : ctest-vn1-vm1-79357563 2025-11-13 12:32:17,172 - DEBUG - VM ctest-vn1-vm1-79357563 ID is 5722e538-ee12-48d3-8eea-9da16fc7c2d3 2025-11-13 12:32:17,190 - DEBUG - VM ctest-vn1-vm1-79357563 launched on Node cn-jenkins-deploy-platform-ansible-os-4720-1 2025-11-13 12:32:17,257 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5722e538-ee12-48d3-8eea-9da16fc7c2d3 2025-11-13 12:32:17,266 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/35bbdd93-f930-472d-bc48-8b85572919c8 2025-11-13 12:32:20,505 - 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') 2025-11-13 12:32:20,505 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79357563 failed! 2025-11-13 12:32:20,569 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86014372:ctest-vn1-13239758 is 42.91.156.129 and allocation pool is NOT set 2025-11-13 12:32:20,569 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86014372:ctest-vn1-13239758 is 80.231.99.65 and allocation pool is NOT set 2025-11-13 12:32:22,629 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.519 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 = 0.519/2.151/3.784/1.632 ms') 2025-11-13 12:32:22,629 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79357563 passed 2025-11-13 12:32:22,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:32:22,778 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79357563, IP 42.91.156.133, Port 22 2025-11-13 12:32:22,937 - DEBUG - VM ctest-vn1-vm1-79357563 is ready for SSH connections 2025-11-13 12:32:22,937 - INFO - Waiting for VM ctest-vn1-vm2-65399793 to be up.. 2025-11-13 12:32:23,030 - DEBUG - VM is in ACTIVE state now 2025-11-13 12:32:23,030 - INFO - VM name : ctest-vn1-vm2-65399793 2025-11-13 12:32:23,105 - DEBUG - VM ctest-vn1-vm2-65399793 ID is 0f39167e-1776-4dbe-af79-8fbdd0483013 2025-11-13 12:32:23,105 - DEBUG - VM ctest-vn1-vm2-65399793 launched on Node cn-jenkins-deploy-platform-ansible-os-4720-1 2025-11-13 12:32:23,181 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0f39167e-1776-4dbe-af79-8fbdd0483013 2025-11-13 12:32:23,189 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0de9315c-f285-4617-aea8-bf0ca905dde0 2025-11-13 12:32:24,425 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.593 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.593/1.944/3.295/1.351 ms') 2025-11-13 12:32:24,425 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-65399793 passed 2025-11-13 12:32:24,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:32:24,578 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-65399793, IP 80.231.99.69, Port 22 2025-11-13 12:32:24,734 - DEBUG - VM ctest-vn1-vm2-65399793 is ready for SSH connections 2025-11-13 12:32:24,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:32:24,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:32:24,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:32:24,734 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.91.156.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-13 12:32:24,734 - DEBUG - ping -s 56 -c 3 -W 1 42.91.156.133 2025-11-13 12:32:27,636 - DEBUG - PING 42.91.156.133 (42.91.156.133): 56 data bytes 64 bytes from 42.91.156.133: seq=0 ttl=63 time=4.190 ms 64 bytes from 42.91.156.133: seq=1 ttl=63 time=0.912 ms 64 bytes from 42.91.156.133: seq=2 ttl=63 time=1.253 ms --- 42.91.156.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.912/2.118/4.190 ms 2025-11-13 12:32:27,636 - INFO - Ping to IP 42.91.156.133 from VM ctest-vn1-vm2-65399793 passed 2025-11-13 12:32:27,636 - INFO - Detaching port 0de9315c-f285-4617-aea8-bf0ca905dde0 from VM ctest-vn1-vm2-65399793 2025-11-13 12:32:27,689 - INFO - Deleting VM ctest-vn1-vm2-65399793 2025-11-13 12:32:27,772 - INFO - Detaching port 35bbdd93-f930-472d-bc48-8b85572919c8 from VM ctest-vn1-vm1-79357563 2025-11-13 12:32:27,826 - INFO - Deleting VM ctest-vn1-vm1-79357563 2025-11-13 12:32:28,188 - DEBUG - Response for delete_port : () 2025-11-13 12:32:28,390 - DEBUG - Response for delete_port : () 2025-11-13 12:32:28,390 - INFO - Deleting VN ctest-vn1-13239758 2025-11-13 12:32:28,571 - DEBUG - Response for deleting network () 2025-11-13 12:32:28,850 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 12:32:28,851 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-11-13 12:32:28,851 - INFO - -------------------------------------------------------------------------------- 2025-11-13 12:32:29,562 - INFO - Deleted project: ctest-TestPorts-86014372, ID : 13c0d903-68b5-4ce2-ae01-59a8a921fb8c