2025-10-21 17:48:25,332 - INFO - Domain Default found not creating 2025-10-21 17:48:25,742 - INFO - Project ctest-TestPorts-13195028 not found, creating it 2025-10-21 17:48:26,520 - INFO - Created Project:ctest-TestPorts-13195028, ID : f387cae6-6cbf-458a-854f-445449609163 2025-10-21 17:48:28,573 - INFO - ================================================================================ 2025-10-21 17:48:28,574 - INFO - STARTING TEST : test_ports_bindings 2025-10-21 17:48:28,574 - 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-21 17:48:28,867 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0'}} with 2025-10-21 17:48:28,867 - INFO - Initial checks done. Running the testcase now 2025-10-21 17:48:28,867 - INFO - 2025-10-21 17:48:29,587 - DEBUG - Response for create_network : {'network': {'id': '74aa8920-b728-4e80-898e-cd0fc324aef8', 'name': 'ctest-vn-78212389', 'tenant_id': 'f387cae66cbf458a854f445449609163', 'project_id': 'f387cae66cbf458a854f445449609163', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13195028', 'ctest-vn-78212389'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:48:29,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a13d4f0-b120-49f2-ac1f-a01b985ff176', 'name': '', 'tenant_id': 'f387cae66cbf458a854f445449609163', 'network_id': '74aa8920-b728-4e80-898e-cd0fc324aef8', 'ip_version': 4, 'cidr': '34.133.98.128/26', 'allocation_pools': [{'start': '34.133.98.130', 'end': '34.133.98.190'}], 'gateway_ip': '34.133.98.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.133.98.130', 'tags': [], 'project_id': 'f387cae66cbf458a854f445449609163'}} 2025-10-21 17:48:29,917 - INFO - Created VN ctest-vn-78212389 2025-10-21 17:48:29,983 - DEBUG - VN ctest-vn-78212389 UUID is 74aa8920-b728-4e80-898e-cd0fc324aef8 2025-10-21 17:48:30,115 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-13195028', 'ctest-vmi-71824406']} 2025-10-21 17:48:30,474 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-71824406', 'id': 'fefb0d79-7191-49ee-8bbf-d39971b57a49', 'tenant_id': 'f387cae66cbf458a854f445449609163', 'network_id': '74aa8920-b728-4e80-898e-cd0fc324aef8', 'mac_address': '02:fe:fb:0d:79:71', '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': '34.133.98.131', 'subnet_id': '9a13d4f0-b120-49f2-ac1f-a01b985ff176'}], 'security_groups': ['e944f9cf-b2ba-4dad-83df-1813c094b848'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f387cae66cbf458a854f445449609163'}} 2025-10-21 17:48:30,474 - DEBUG - Created port fefb0d79-7191-49ee-8bbf-d39971b57a49 2025-10-21 17:48:30,591 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/fefb0d79-7191-49ee-8bbf-d39971b57a49 2025-10-21 17:48:30,884 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/fefb0d79-7191-49ee-8bbf-d39971b57a49 2025-10-21 17:48:30,930 - INFO - VMI fefb0d79-7191-49ee-8bbf-d39971b57a49 verification in API Server passed 2025-10-21 17:48:31,073 - DEBUG - Response for delete_port : () 2025-10-21 17:48:31,073 - INFO - Deleted port fefb0d79-7191-49ee-8bbf-d39971b57a49 2025-10-21 17:48:31,074 - INFO - Deleting VN ctest-vn-78212389 2025-10-21 17:48:31,209 - DEBUG - Response for deleting network () 2025-10-21 17:48:31,510 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 17:48:31,510 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-21 17:48:31,510 - INFO - -------------------------------------------------------------------------------- 2025-10-21 17:48:31,519 - INFO - ================================================================================ 2025-10-21 17:48:31,519 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-21 17:48:31,519 - 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-21 17:48:31,834 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0'}} with 2025-10-21 17:48:31,834 - INFO - Initial checks done. Running the testcase now 2025-10-21 17:48:31,834 - INFO - 2025-10-21 17:48:32,185 - DEBUG - Response for create_network : {'network': {'id': '092cfc3e-ea1f-48c5-ad4e-c0b3d9f02dd9', 'name': 'ctest-vn1-09439195', 'tenant_id': 'f387cae66cbf458a854f445449609163', 'project_id': 'f387cae66cbf458a854f445449609163', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13195028', 'ctest-vn1-09439195'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:48:32,408 - DEBUG - Response for create_subnet : {'subnet': {'id': '46b34fc0-543a-4ce4-a05f-68726b29ac6d', 'name': '', 'tenant_id': 'f387cae66cbf458a854f445449609163', 'network_id': '092cfc3e-ea1f-48c5-ad4e-c0b3d9f02dd9', 'ip_version': 4, 'cidr': '106.21.187.128/26', 'allocation_pools': [{'start': '106.21.187.130', 'end': '106.21.187.190'}], 'gateway_ip': '106.21.187.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.21.187.130', 'tags': [], 'project_id': 'f387cae66cbf458a854f445449609163'}} 2025-10-21 17:48:32,672 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd67ae9e4-0f81-4f58-bb5a-0ac5da279dec', 'name': '', 'tenant_id': 'f387cae66cbf458a854f445449609163', 'network_id': '092cfc3e-ea1f-48c5-ad4e-c0b3d9f02dd9', 'ip_version': 4, 'cidr': '30.37.212.128/26', 'allocation_pools': [{'start': '30.37.212.130', 'end': '30.37.212.190'}], 'gateway_ip': '30.37.212.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.37.212.130', 'tags': [], 'project_id': 'f387cae66cbf458a854f445449609163'}} 2025-10-21 17:48:32,707 - INFO - Created VN ctest-vn1-09439195 2025-10-21 17:48:32,771 - DEBUG - VN ctest-vn1-09439195 UUID is 092cfc3e-ea1f-48c5-ad4e-c0b3d9f02dd9 2025-10-21 17:48:33,201 - DEBUG - Response for create_port : {'port': {'name': '3447a098-a7c7-4e3d-b043-05dd1962901c', 'id': '3447a098-a7c7-4e3d-b043-05dd1962901c', 'tenant_id': 'f387cae66cbf458a854f445449609163', 'network_id': '092cfc3e-ea1f-48c5-ad4e-c0b3d9f02dd9', 'mac_address': '02:34:47:a0:98:a7', '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.21.187.133', 'subnet_id': '46b34fc0-543a-4ce4-a05f-68726b29ac6d'}], 'security_groups': ['e944f9cf-b2ba-4dad-83df-1813c094b848'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f387cae66cbf458a854f445449609163'}} 2025-10-21 17:48:33,408 - DEBUG - Response for create_port : {'port': {'name': 'f2a812e3-4ffa-43b3-852e-0aa974ff9b32', 'id': 'f2a812e3-4ffa-43b3-852e-0aa974ff9b32', 'tenant_id': 'f387cae66cbf458a854f445449609163', 'network_id': '092cfc3e-ea1f-48c5-ad4e-c0b3d9f02dd9', 'mac_address': '02:f2:a8:12:e3:4f', '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': '30.37.212.133', 'subnet_id': 'd67ae9e4-0f81-4f58-bb5a-0ac5da279dec'}], 'security_groups': ['e944f9cf-b2ba-4dad-83df-1813c094b848'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f387cae66cbf458a854f445449609163'}} 2025-10-21 17:48:33,477 - DEBUG - Services list from nova: [, , ] 2025-10-21 17:48:33,988 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4402-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4402-1) 2025-10-21 17:48:34,549 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4402-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4402-1) 2025-10-21 17:48:34,549 - INFO - Waiting for VM ctest-vn1-vm1-42231322 to be up.. 2025-10-21 17:48:34,598 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 17:48:39,789 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:48:39,789 - INFO - VM name : ctest-vn1-vm1-42231322 2025-10-21 17:48:39,924 - DEBUG - VM ctest-vn1-vm1-42231322 ID is 3b5916d1-9362-42e1-8da4-a952f6fbf33e 2025-10-21 17:48:39,957 - DEBUG - VM ctest-vn1-vm1-42231322 launched on Node cn-jenkins-deploy-platform-ansible-os-4402-1 2025-10-21 17:48:40,084 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/3b5916d1-9362-42e1-8da4-a952f6fbf33e 2025-10-21 17:48:40,105 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/3447a098-a7c7-4e3d-b043-05dd1962901c 2025-10-21 17:48:43,446 - 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 1030ms') 2025-10-21 17:48:43,446 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42231322 failed! 2025-10-21 17:48:43,523 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13195028:ctest-vn1-09439195 is 106.21.187.129 and allocation pool is NOT set 2025-10-21 17:48:43,524 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13195028:ctest-vn1-09439195 is 30.37.212.129 and allocation pool is NOT set 2025-10-21 17:48:47,637 - 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 1029ms') 2025-10-21 17:48:47,637 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42231322 failed! 2025-10-21 17:48:47,695 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13195028:ctest-vn1-09439195 is 106.21.187.129 and allocation pool is NOT set 2025-10-21 17:48:47,695 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13195028:ctest-vn1-09439195 is 30.37.212.129 and allocation pool is NOT set 2025-10-21 17:48:49,755 - 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=8.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.19 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.191/4.937/8.683/3.746 ms') 2025-10-21 17:48:49,756 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42231322 passed 2025-10-21 17:48:49,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:48:49,932 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42231322, IP 106.21.187.133, Port 22 2025-10-21 17:48:50,125 - DEBUG - VM ctest-vn1-vm1-42231322 is ready for SSH connections 2025-10-21 17:48:50,126 - INFO - Waiting for VM ctest-vn1-vm2-68926141 to be up.. 2025-10-21 17:48:50,297 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:48:50,297 - INFO - VM name : ctest-vn1-vm2-68926141 2025-10-21 17:48:50,495 - DEBUG - VM ctest-vn1-vm2-68926141 ID is 96a3b5f9-df86-4859-8d8a-576f464df324 2025-10-21 17:48:50,495 - DEBUG - VM ctest-vn1-vm2-68926141 launched on Node cn-jenkins-deploy-platform-ansible-os-4402-1 2025-10-21 17:48:50,662 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/96a3b5f9-df86-4859-8d8a-576f464df324 2025-10-21 17:48:50,688 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/f2a812e3-4ffa-43b3-852e-0aa974ff9b32 2025-10-21 17:48:52,009 - 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=6.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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 = 1.099/3.886/6.674/2.787 ms') 2025-10-21 17:48:52,009 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-68926141 passed 2025-10-21 17:48:52,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:48:52,195 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-68926141, IP 30.37.212.133, Port 22 2025-10-21 17:48:52,386 - DEBUG - VM ctest-vn1-vm2-68926141 is ready for SSH connections 2025-10-21 17:48:52,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:48:52,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:48:52,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:48:52,387 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.21.187.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-21 17:48:52,387 - DEBUG - ping -s 56 -c 3 -W 1 106.21.187.133 2025-10-21 17:48:55,511 - DEBUG - PING 106.21.187.133 (106.21.187.133): 56 data bytes 64 bytes from 106.21.187.133: seq=0 ttl=63 time=4.228 ms 64 bytes from 106.21.187.133: seq=1 ttl=63 time=1.818 ms 64 bytes from 106.21.187.133: seq=2 ttl=63 time=1.796 ms --- 106.21.187.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.796/2.614/4.228 ms 2025-10-21 17:48:55,511 - INFO - Ping to IP 106.21.187.133 from VM ctest-vn1-vm2-68926141 passed 2025-10-21 17:48:55,512 - INFO - Detaching port f2a812e3-4ffa-43b3-852e-0aa974ff9b32 from VM ctest-vn1-vm2-68926141 2025-10-21 17:48:55,607 - INFO - Deleting VM ctest-vn1-vm2-68926141 2025-10-21 17:48:55,794 - INFO - Detaching port 3447a098-a7c7-4e3d-b043-05dd1962901c from VM ctest-vn1-vm1-42231322 2025-10-21 17:48:55,880 - INFO - Deleting VM ctest-vn1-vm1-42231322 2025-10-21 17:48:56,290 - DEBUG - Response for delete_port : () 2025-10-21 17:48:56,453 - DEBUG - Response for delete_port : () 2025-10-21 17:48:56,453 - INFO - Deleting VN ctest-vn1-09439195 2025-10-21 17:48:56,591 - DEBUG - Response for deleting network () 2025-10-21 17:48:56,877 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 17:48:56,877 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-10-21 17:48:56,877 - INFO - -------------------------------------------------------------------------------- 2025-10-21 17:48:57,605 - INFO - Deleted project: ctest-TestPorts-13195028, ID : f387cae6-6cbf-458a-854f-445449609163