2025-11-07 15:50:07,109 - INFO - Domain Default found not creating 2025-11-07 15:50:07,288 - INFO - Project ctest-TestPorts-78121528 not found, creating it 2025-11-07 15:50:07,775 - INFO - Created Project:ctest-TestPorts-78121528, ID : a82b38f2-da0e-4bde-8bc8-da9d6e10de2e 2025-11-07 15:50:09,251 - INFO - ================================================================================ 2025-11-07 15:50:09,252 - INFO - STARTING TEST : test_ports_bindings 2025-11-07 15:50:09,252 - 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-07 15:50:09,513 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with 2025-11-07 15:50:09,513 - INFO - Initial checks done. Running the testcase now 2025-11-07 15:50:09,513 - INFO - 2025-11-07 15:50:10,067 - DEBUG - Response for create_network : {'network': {'id': 'aafc1c5d-856a-438f-8c3e-2c519ccba260', 'name': 'ctest-vn-67318823', 'tenant_id': 'a82b38f2da0e4bde8bc8da9d6e10de2e', 'project_id': 'a82b38f2da0e4bde8bc8da9d6e10de2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78121528', 'ctest-vn-67318823'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 15:50:10,254 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f678c4e-e121-47f6-9f14-541c6c1f7818', 'name': '', 'tenant_id': 'a82b38f2da0e4bde8bc8da9d6e10de2e', 'network_id': 'aafc1c5d-856a-438f-8c3e-2c519ccba260', 'ip_version': 4, 'cidr': '166.240.36.64/26', 'allocation_pools': [{'start': '166.240.36.66', 'end': '166.240.36.126'}], 'gateway_ip': '166.240.36.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.240.36.66', 'tags': [], 'project_id': 'a82b38f2da0e4bde8bc8da9d6e10de2e'}} 2025-11-07 15:50:10,273 - INFO - Created VN ctest-vn-67318823 2025-11-07 15:50:10,325 - DEBUG - VN ctest-vn-67318823 UUID is aafc1c5d-856a-438f-8c3e-2c519ccba260 2025-11-07 15:50:10,438 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-78121528', 'ctest-vmi-09381338']} 2025-11-07 15:50:10,744 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-09381338', 'id': '8814ffb5-e90a-4622-a51e-a8525c827495', 'tenant_id': 'a82b38f2da0e4bde8bc8da9d6e10de2e', 'network_id': 'aafc1c5d-856a-438f-8c3e-2c519ccba260', 'mac_address': '02:88:14:ff:b5:e9', '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': '166.240.36.67', 'subnet_id': '6f678c4e-e121-47f6-9f14-541c6c1f7818'}], 'security_groups': ['a2ef7a05-16f4-46be-a202-3397a0a97803'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a82b38f2da0e4bde8bc8da9d6e10de2e'}} 2025-11-07 15:50:10,744 - DEBUG - Created port 8814ffb5-e90a-4622-a51e-a8525c827495 2025-11-07 15:50:10,849 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/8814ffb5-e90a-4622-a51e-a8525c827495 2025-11-07 15:50:11,148 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/8814ffb5-e90a-4622-a51e-a8525c827495 2025-11-07 15:50:11,183 - INFO - VMI 8814ffb5-e90a-4622-a51e-a8525c827495 verification in API Server passed 2025-11-07 15:50:11,289 - DEBUG - Response for delete_port : () 2025-11-07 15:50:11,290 - INFO - Deleted port 8814ffb5-e90a-4622-a51e-a8525c827495 2025-11-07 15:50:11,290 - INFO - Deleting VN ctest-vn-67318823 2025-11-07 15:50:11,412 - DEBUG - Response for deleting network () 2025-11-07 15:50:11,684 - DEBUG - No XMPP flaps were noticed during the test 2025-11-07 15:50:11,684 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-07 15:50:11,684 - INFO - -------------------------------------------------------------------------------- 2025-11-07 15:50:11,689 - INFO - ================================================================================ 2025-11-07 15:50:11,689 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-07 15:50:11,689 - 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-07 15:50:11,972 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with 2025-11-07 15:50:11,973 - INFO - Initial checks done. Running the testcase now 2025-11-07 15:50:11,973 - INFO - 2025-11-07 15:50:12,169 - DEBUG - Response for create_network : {'network': {'id': '8852d135-e383-401b-bfdf-efeca82f358c', 'name': 'ctest-vn1-54370508', 'tenant_id': 'a82b38f2da0e4bde8bc8da9d6e10de2e', 'project_id': 'a82b38f2da0e4bde8bc8da9d6e10de2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78121528', 'ctest-vn1-54370508'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 15:50:12,378 - DEBUG - Response for create_subnet : {'subnet': {'id': '3dfec669-feb9-4557-a1bb-a278313cd33e', 'name': '', 'tenant_id': 'a82b38f2da0e4bde8bc8da9d6e10de2e', 'network_id': '8852d135-e383-401b-bfdf-efeca82f358c', 'ip_version': 4, 'cidr': '141.26.250.128/26', 'allocation_pools': [{'start': '141.26.250.130', 'end': '141.26.250.190'}], 'gateway_ip': '141.26.250.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.26.250.130', 'tags': [], 'project_id': 'a82b38f2da0e4bde8bc8da9d6e10de2e'}} 2025-11-07 15:50:12,549 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c0e9b55-352f-443f-ad4d-ed02c503da75', 'name': '', 'tenant_id': 'a82b38f2da0e4bde8bc8da9d6e10de2e', 'network_id': '8852d135-e383-401b-bfdf-efeca82f358c', 'ip_version': 4, 'cidr': '16.121.10.0/26', 'allocation_pools': [{'start': '16.121.10.2', 'end': '16.121.10.62'}], 'gateway_ip': '16.121.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.121.10.2', 'tags': [], 'project_id': 'a82b38f2da0e4bde8bc8da9d6e10de2e'}} 2025-11-07 15:50:12,574 - INFO - Created VN ctest-vn1-54370508 2025-11-07 15:50:12,629 - DEBUG - VN ctest-vn1-54370508 UUID is 8852d135-e383-401b-bfdf-efeca82f358c 2025-11-07 15:50:12,954 - DEBUG - Response for create_port : {'port': {'name': 'a4abbf7f-266a-44d0-9cfc-e85c7cb14fc4', 'id': 'a4abbf7f-266a-44d0-9cfc-e85c7cb14fc4', 'tenant_id': 'a82b38f2da0e4bde8bc8da9d6e10de2e', 'network_id': '8852d135-e383-401b-bfdf-efeca82f358c', 'mac_address': '02:a4:ab:bf:7f: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': '141.26.250.133', 'subnet_id': '3dfec669-feb9-4557-a1bb-a278313cd33e'}], 'security_groups': ['a2ef7a05-16f4-46be-a202-3397a0a97803'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a82b38f2da0e4bde8bc8da9d6e10de2e'}} 2025-11-07 15:50:13,145 - DEBUG - Response for create_port : {'port': {'name': '289ff288-b933-4512-8179-4427a747f079', 'id': '289ff288-b933-4512-8179-4427a747f079', 'tenant_id': 'a82b38f2da0e4bde8bc8da9d6e10de2e', 'network_id': '8852d135-e383-401b-bfdf-efeca82f358c', 'mac_address': '02:28:9f:f2:88:b9', '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': '16.121.10.5', 'subnet_id': '3c0e9b55-352f-443f-ad4d-ed02c503da75'}], 'security_groups': ['a2ef7a05-16f4-46be-a202-3397a0a97803'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a82b38f2da0e4bde8bc8da9d6e10de2e'}} 2025-11-07 15:50:13,213 - DEBUG - Services list from nova: [, , ] 2025-11-07 15:50:13,610 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4670-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4670-1) 2025-11-07 15:50:14,062 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4670-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4670-1) 2025-11-07 15:50:14,062 - INFO - Waiting for VM ctest-vn1-vm1-43211208 to be up.. 2025-11-07 15:50:14,112 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 15:50:19,206 - DEBUG - VM is in ACTIVE state now 2025-11-07 15:50:19,206 - INFO - VM name : ctest-vn1-vm1-43211208 2025-11-07 15:50:19,285 - DEBUG - VM ctest-vn1-vm1-43211208 ID is 50141e13-6b11-4521-ac05-11d26be56680 2025-11-07 15:50:19,307 - DEBUG - VM ctest-vn1-vm1-43211208 launched on Node cn-jenkins-deploy-platform-ansible-os-4670-1 2025-11-07 15:50:19,389 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/50141e13-6b11-4521-ac05-11d26be56680 2025-11-07 15:50:19,397 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a4abbf7f-266a-44d0-9cfc-e85c7cb14fc4 2025-11-07 15:50:22,666 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1029ms') 2025-11-07 15:50:22,666 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-43211208 failed! 2025-11-07 15:50:22,721 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78121528:ctest-vn1-54370508 is 141.26.250.129 and allocation pool is NOT set 2025-11-07 15:50:22,721 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78121528:ctest-vn1-54370508 is 16.121.10.1 and allocation pool is NOT set 2025-11-07 15:50:26,787 - 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=2 ttl=63 time=6.42 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 6.416/6.416/6.416/0.000 ms') 2025-11-07 15:50:26,787 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-43211208 passed 2025-11-07 15:50:26,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 15:50:26,945 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43211208, IP 141.26.250.133, Port 22 2025-11-07 15:50:27,119 - DEBUG - VM ctest-vn1-vm1-43211208 is ready for SSH connections 2025-11-07 15:50:27,120 - INFO - Waiting for VM ctest-vn1-vm2-30429584 to be up.. 2025-11-07 15:50:27,214 - DEBUG - VM is in ACTIVE state now 2025-11-07 15:50:27,214 - INFO - VM name : ctest-vn1-vm2-30429584 2025-11-07 15:50:27,313 - DEBUG - VM ctest-vn1-vm2-30429584 ID is 2a37f0a9-73b5-40cf-943e-9a78300b8508 2025-11-07 15:50:27,314 - DEBUG - VM ctest-vn1-vm2-30429584 launched on Node cn-jenkins-deploy-platform-ansible-os-4670-1 2025-11-07 15:50:27,402 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/2a37f0a9-73b5-40cf-943e-9a78300b8508 2025-11-07 15:50:27,412 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/289ff288-b933-4512-8179-4427a747f079 2025-11-07 15:50:28,655 - 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.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 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.434/1.879/3.324/1.445 ms') 2025-11-07 15:50:28,655 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-30429584 passed 2025-11-07 15:50:28,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 15:50:28,813 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-30429584, IP 16.121.10.5, Port 22 2025-11-07 15:50:28,969 - DEBUG - VM ctest-vn1-vm2-30429584 is ready for SSH connections 2025-11-07 15:50:28,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 15:50:28,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 15:50:28,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 15:50:28,969 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.26.250.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-07 15:50:28,969 - DEBUG - ping -s 56 -c 3 -W 1 141.26.250.133 2025-11-07 15:50:33,026 - DEBUG - PING 141.26.250.133 (141.26.250.133): 56 data bytes 64 bytes from 141.26.250.133: seq=0 ttl=63 time=3.952 ms 64 bytes from 141.26.250.133: seq=1 ttl=63 time=1.148 ms 64 bytes from 141.26.250.133: seq=2 ttl=63 time=2.128 ms --- 141.26.250.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.148/2.409/3.952 ms 2025-11-07 15:50:33,026 - INFO - Ping to IP 141.26.250.133 from VM ctest-vn1-vm2-30429584 passed 2025-11-07 15:50:33,027 - INFO - Detaching port 289ff288-b933-4512-8179-4427a747f079 from VM ctest-vn1-vm2-30429584 2025-11-07 15:50:33,085 - INFO - Deleting VM ctest-vn1-vm2-30429584 2025-11-07 15:50:33,161 - INFO - Detaching port a4abbf7f-266a-44d0-9cfc-e85c7cb14fc4 from VM ctest-vn1-vm1-43211208 2025-11-07 15:50:33,198 - INFO - Deleting VM ctest-vn1-vm1-43211208 2025-11-07 15:50:33,441 - DEBUG - Response for delete_port : () 2025-11-07 15:50:33,599 - DEBUG - Response for delete_port : () 2025-11-07 15:50:33,599 - INFO - Deleting VN ctest-vn1-54370508 2025-11-07 15:50:33,724 - DEBUG - Response for deleting network () 2025-11-07 15:50:33,990 - DEBUG - No XMPP flaps were noticed during the test 2025-11-07 15:50:33,990 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-11-07 15:50:33,990 - INFO - -------------------------------------------------------------------------------- 2025-11-07 15:50:34,688 - INFO - Deleted project: ctest-TestPorts-78121528, ID : a82b38f2-da0e-4bde-8bc8-da9d6e10de2e