2025-10-27 09:02:19,627 - INFO - Domain Default found not creating 2025-10-27 09:02:19,891 - INFO - Project ctest-TestPorts-82538827 not found, creating it 2025-10-27 09:02:20,412 - INFO - Created Project:ctest-TestPorts-82538827, ID : 90877e31-73ea-4ed6-b70e-7f635e12b0d1 2025-10-27 09:02:22,226 - INFO - ================================================================================ 2025-10-27 09:02:22,227 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 09:02:22,227 - 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-27 09:02:22,493 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-27 09:02:22,493 - INFO - Initial checks done. Running the testcase now 2025-10-27 09:02:22,493 - INFO - 2025-10-27 09:02:23,118 - DEBUG - Response for create_network : {'network': {'id': '66108af5-b048-4ad9-99c0-50cbdf4417e3', 'name': 'ctest-vn-92878197', 'tenant_id': '90877e3173ea4ed6b70e7f635e12b0d1', 'project_id': '90877e3173ea4ed6b70e7f635e12b0d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82538827', 'ctest-vn-92878197'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 09:02:23,342 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff8cdb1f-c643-45ab-a815-d0308ffd1db6', 'name': '', 'tenant_id': '90877e3173ea4ed6b70e7f635e12b0d1', 'network_id': '66108af5-b048-4ad9-99c0-50cbdf4417e3', 'ip_version': 4, 'cidr': '79.55.74.0/26', 'allocation_pools': [{'start': '79.55.74.2', 'end': '79.55.74.62'}], 'gateway_ip': '79.55.74.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.55.74.2', 'tags': [], 'project_id': '90877e3173ea4ed6b70e7f635e12b0d1'}} 2025-10-27 09:02:23,364 - INFO - Created VN ctest-vn-92878197 2025-10-27 09:02:23,416 - DEBUG - VN ctest-vn-92878197 UUID is 66108af5-b048-4ad9-99c0-50cbdf4417e3 2025-10-27 09:02:23,533 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-82538827', 'ctest-vmi-51128075']} 2025-10-27 09:02:23,808 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-51128075', 'id': 'aa83da07-6e53-4009-9ba0-f4952a9deecf', 'tenant_id': '90877e3173ea4ed6b70e7f635e12b0d1', 'network_id': '66108af5-b048-4ad9-99c0-50cbdf4417e3', 'mac_address': '02:aa:83:da:07:6e', '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': '79.55.74.3', 'subnet_id': 'ff8cdb1f-c643-45ab-a815-d0308ffd1db6'}], 'security_groups': ['5201f80f-5d55-4cf2-a312-03ffd32d5e7f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '90877e3173ea4ed6b70e7f635e12b0d1'}} 2025-10-27 09:02:23,808 - DEBUG - Created port aa83da07-6e53-4009-9ba0-f4952a9deecf 2025-10-27 09:02:23,916 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/aa83da07-6e53-4009-9ba0-f4952a9deecf 2025-10-27 09:02:24,251 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/aa83da07-6e53-4009-9ba0-f4952a9deecf 2025-10-27 09:02:24,286 - INFO - VMI aa83da07-6e53-4009-9ba0-f4952a9deecf verification in API Server passed 2025-10-27 09:02:24,387 - DEBUG - Response for delete_port : () 2025-10-27 09:02:24,387 - INFO - Deleted port aa83da07-6e53-4009-9ba0-f4952a9deecf 2025-10-27 09:02:24,387 - INFO - Deleting VN ctest-vn-92878197 2025-10-27 09:02:24,509 - DEBUG - Response for deleting network () 2025-10-27 09:02:24,767 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 09:02:24,767 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-27 09:02:24,767 - INFO - -------------------------------------------------------------------------------- 2025-10-27 09:02:24,770 - INFO - ================================================================================ 2025-10-27 09:02:24,770 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 09:02:24,770 - 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-27 09:02:25,077 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-27 09:02:25,077 - INFO - Initial checks done. Running the testcase now 2025-10-27 09:02:25,077 - INFO - 2025-10-27 09:02:25,268 - DEBUG - Response for create_network : {'network': {'id': '68302105-ec37-44d5-9cfb-21c76a316cbc', 'name': 'ctest-vn1-16759436', 'tenant_id': '90877e3173ea4ed6b70e7f635e12b0d1', 'project_id': '90877e3173ea4ed6b70e7f635e12b0d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82538827', 'ctest-vn1-16759436'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 09:02:25,444 - DEBUG - Response for create_subnet : {'subnet': {'id': '70d73d7c-33b1-4412-ad48-88f36232b6f5', 'name': '', 'tenant_id': '90877e3173ea4ed6b70e7f635e12b0d1', 'network_id': '68302105-ec37-44d5-9cfb-21c76a316cbc', 'ip_version': 4, 'cidr': '106.168.76.64/26', 'allocation_pools': [{'start': '106.168.76.66', 'end': '106.168.76.126'}], 'gateway_ip': '106.168.76.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.168.76.66', 'tags': [], 'project_id': '90877e3173ea4ed6b70e7f635e12b0d1'}} 2025-10-27 09:02:25,601 - DEBUG - Response for create_subnet : {'subnet': {'id': '17a00804-2bda-4c49-b20c-0585896beca6', 'name': '', 'tenant_id': '90877e3173ea4ed6b70e7f635e12b0d1', 'network_id': '68302105-ec37-44d5-9cfb-21c76a316cbc', 'ip_version': 4, 'cidr': '174.212.30.192/26', 'allocation_pools': [{'start': '174.212.30.194', 'end': '174.212.30.254'}], 'gateway_ip': '174.212.30.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.212.30.194', 'tags': [], 'project_id': '90877e3173ea4ed6b70e7f635e12b0d1'}} 2025-10-27 09:02:25,623 - INFO - Created VN ctest-vn1-16759436 2025-10-27 09:02:25,676 - DEBUG - VN ctest-vn1-16759436 UUID is 68302105-ec37-44d5-9cfb-21c76a316cbc 2025-10-27 09:02:26,016 - DEBUG - Response for create_port : {'port': {'name': '0fb98174-70fd-4e39-8e3d-32edab620f74', 'id': '0fb98174-70fd-4e39-8e3d-32edab620f74', 'tenant_id': '90877e3173ea4ed6b70e7f635e12b0d1', 'network_id': '68302105-ec37-44d5-9cfb-21c76a316cbc', 'mac_address': '02:0f:b9:81:74:70', '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': '106.168.76.69', 'subnet_id': '70d73d7c-33b1-4412-ad48-88f36232b6f5'}], 'security_groups': ['5201f80f-5d55-4cf2-a312-03ffd32d5e7f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '90877e3173ea4ed6b70e7f635e12b0d1'}} 2025-10-27 09:02:26,214 - DEBUG - Response for create_port : {'port': {'name': 'd3091640-7b68-43b6-ad25-b3205a93c7af', 'id': 'd3091640-7b68-43b6-ad25-b3205a93c7af', 'tenant_id': '90877e3173ea4ed6b70e7f635e12b0d1', 'network_id': '68302105-ec37-44d5-9cfb-21c76a316cbc', 'mac_address': '02:d3:09:16:40:7b', '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': '174.212.30.197', 'subnet_id': '17a00804-2bda-4c49-b20c-0585896beca6'}], 'security_groups': ['5201f80f-5d55-4cf2-a312-03ffd32d5e7f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '90877e3173ea4ed6b70e7f635e12b0d1'}} 2025-10-27 09:02:26,278 - DEBUG - Services list from nova: [, , ] 2025-10-27 09:02:26,640 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4496-1) 2025-10-27 09:02:27,086 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4496-1) 2025-10-27 09:02:27,086 - INFO - Waiting for VM ctest-vn1-vm1-10056518 to be up.. 2025-10-27 09:02:27,126 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 09:02:32,218 - DEBUG - VM is in ACTIVE state now 2025-10-27 09:02:32,218 - INFO - VM name : ctest-vn1-vm1-10056518 2025-10-27 09:02:32,297 - DEBUG - VM ctest-vn1-vm1-10056518 ID is f5d7d139-71c9-426a-bda8-f9deac23def1 2025-10-27 09:02:32,319 - DEBUG - VM ctest-vn1-vm1-10056518 launched on Node cn-jenkins-deploy-platform-ansible-os-4496-1 2025-10-27 09:02:32,402 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f5d7d139-71c9-426a-bda8-f9deac23def1 2025-10-27 09:02:32,411 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/0fb98174-70fd-4e39-8e3d-32edab620f74 2025-10-27 09:02:35,681 - 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 1031ms') 2025-10-27 09:02:35,682 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10056518 failed! 2025-10-27 09:02:35,736 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82538827:ctest-vn1-16759436 is 106.168.76.65 and allocation pool is NOT set 2025-10-27 09:02:35,736 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82538827:ctest-vn1-16759436 is 174.212.30.193 and allocation pool is NOT set 2025-10-27 09:02:39,805 - 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.34 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 8.338/8.338/8.338/0.000 ms') 2025-10-27 09:02:39,806 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10056518 passed 2025-10-27 09:02:39,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:02:39,961 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10056518, IP 106.168.76.69, Port 22 2025-10-27 09:02:40,116 - DEBUG - VM ctest-vn1-vm1-10056518 is ready for SSH connections 2025-10-27 09:02:40,116 - INFO - Waiting for VM ctest-vn1-vm2-55920642 to be up.. 2025-10-27 09:02:40,210 - DEBUG - VM is in ACTIVE state now 2025-10-27 09:02:40,210 - INFO - VM name : ctest-vn1-vm2-55920642 2025-10-27 09:02:40,297 - DEBUG - VM ctest-vn1-vm2-55920642 ID is c1482c61-6b14-45a6-8c76-9c9040a791b9 2025-10-27 09:02:40,297 - DEBUG - VM ctest-vn1-vm2-55920642 launched on Node cn-jenkins-deploy-platform-ansible-os-4496-1 2025-10-27 09:02:40,373 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c1482c61-6b14-45a6-8c76-9c9040a791b9 2025-10-27 09:02:40,382 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/d3091640-7b68-43b6-ad25-b3205a93c7af 2025-10-27 09:02:41,631 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.566 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.566/1.893/3.221/1.327 ms') 2025-10-27 09:02:41,631 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-55920642 passed 2025-10-27 09:02:41,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:02:41,785 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-55920642, IP 174.212.30.197, Port 22 2025-10-27 09:02:41,955 - DEBUG - VM ctest-vn1-vm2-55920642 is ready for SSH connections 2025-10-27 09:02:41,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:02:41,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:02:41,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:02:41,955 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.168.76.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 09:02:41,956 - DEBUG - ping -s 56 -c 3 -W 1 106.168.76.69 2025-10-27 09:02:44,788 - DEBUG - PING 106.168.76.69 (106.168.76.69): 56 data bytes 64 bytes from 106.168.76.69: seq=0 ttl=63 time=4.129 ms 64 bytes from 106.168.76.69: seq=1 ttl=63 time=0.957 ms 64 bytes from 106.168.76.69: seq=2 ttl=63 time=0.978 ms --- 106.168.76.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.957/2.021/4.129 ms 2025-10-27 09:02:44,788 - INFO - Ping to IP 106.168.76.69 from VM ctest-vn1-vm2-55920642 passed 2025-10-27 09:02:44,789 - INFO - Detaching port d3091640-7b68-43b6-ad25-b3205a93c7af from VM ctest-vn1-vm2-55920642 2025-10-27 09:02:44,847 - INFO - Deleting VM ctest-vn1-vm2-55920642 2025-10-27 09:02:44,938 - INFO - Detaching port 0fb98174-70fd-4e39-8e3d-32edab620f74 from VM ctest-vn1-vm1-10056518 2025-10-27 09:02:44,981 - INFO - Deleting VM ctest-vn1-vm1-10056518 2025-10-27 09:02:45,284 - DEBUG - Response for delete_port : () 2025-10-27 09:02:45,479 - DEBUG - Response for delete_port : () 2025-10-27 09:02:45,479 - INFO - Deleting VN ctest-vn1-16759436 2025-10-27 09:02:45,626 - DEBUG - Response for deleting network () 2025-10-27 09:02:45,902 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 09:02:45,902 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-27 09:02:45,902 - INFO - -------------------------------------------------------------------------------- 2025-10-27 09:02:46,726 - INFO - Deleted project: ctest-TestPorts-82538827, ID : 90877e31-73ea-4ed6-b70e-7f635e12b0d1