2025-11-20 13:36:54,956 - INFO - Domain Default found not creating 2025-11-20 13:36:55,114 - INFO - Project ctest-TestPorts-85593186 not found, creating it 2025-11-20 13:36:55,552 - INFO - Created Project:ctest-TestPorts-85593186, ID : dcb36f53-a657-4b75-81fc-0f855d51b052 2025-11-20 13:36:56,996 - INFO - ================================================================================ 2025-11-20 13:36:56,996 - INFO - STARTING TEST : test_ports_bindings 2025-11-20 13:36:56,996 - 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-20 13:36:57,252 - DEBUG - Nothing to compare xmpp stats {'10.0.0.128': {'10.20.0.241': '0'}} with 2025-11-20 13:36:57,252 - INFO - Initial checks done. Running the testcase now 2025-11-20 13:36:57,252 - INFO - 2025-11-20 13:36:57,801 - DEBUG - Response for create_network : {'network': {'id': '1c72f8bd-50fa-4cb5-8dc0-149794439e28', 'name': 'ctest-vn-36748005', 'tenant_id': 'dcb36f53a6574b7581fc0f855d51b052', 'project_id': 'dcb36f53a6574b7581fc0f855d51b052', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-85593186', 'ctest-vn-36748005'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 13:36:58,007 - DEBUG - Response for create_subnet : {'subnet': {'id': '38645cc8-5f0e-4aff-a4dc-3ef653ce10d1', 'name': '', 'tenant_id': 'dcb36f53a6574b7581fc0f855d51b052', 'network_id': '1c72f8bd-50fa-4cb5-8dc0-149794439e28', 'ip_version': 4, 'cidr': '140.62.169.0/26', 'allocation_pools': [{'start': '140.62.169.2', 'end': '140.62.169.62'}], 'gateway_ip': '140.62.169.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.62.169.2', 'tags': [], 'project_id': 'dcb36f53a6574b7581fc0f855d51b052'}} 2025-11-20 13:36:58,024 - INFO - Created VN ctest-vn-36748005 2025-11-20 13:36:58,074 - DEBUG - VN ctest-vn-36748005 UUID is 1c72f8bd-50fa-4cb5-8dc0-149794439e28 2025-11-20 13:36:58,185 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-85593186', 'ctest-vmi-66320028']} 2025-11-20 13:36:58,410 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-66320028', 'id': '0d80dc3a-b37a-4af5-980d-059f5a67f923', 'tenant_id': 'dcb36f53a6574b7581fc0f855d51b052', 'network_id': '1c72f8bd-50fa-4cb5-8dc0-149794439e28', 'mac_address': '02:0d:80:dc:3a:b3', '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': '140.62.169.3', 'subnet_id': '38645cc8-5f0e-4aff-a4dc-3ef653ce10d1'}], 'security_groups': ['c6488cf3-4f75-44e6-abae-4add3cf5ae0b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dcb36f53a6574b7581fc0f855d51b052'}} 2025-11-20 13:36:58,410 - DEBUG - Created port 0d80dc3a-b37a-4af5-980d-059f5a67f923 2025-11-20 13:36:58,518 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/0d80dc3a-b37a-4af5-980d-059f5a67f923 2025-11-20 13:36:58,812 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/0d80dc3a-b37a-4af5-980d-059f5a67f923 2025-11-20 13:36:58,853 - INFO - VMI 0d80dc3a-b37a-4af5-980d-059f5a67f923 verification in API Server passed 2025-11-20 13:36:58,936 - DEBUG - Response for delete_port : () 2025-11-20 13:36:58,936 - INFO - Deleted port 0d80dc3a-b37a-4af5-980d-059f5a67f923 2025-11-20 13:36:58,936 - INFO - Deleting VN ctest-vn-36748005 2025-11-20 13:36:59,038 - DEBUG - Response for deleting network () 2025-11-20 13:36:59,296 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 13:36:59,296 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-20 13:36:59,296 - INFO - -------------------------------------------------------------------------------- 2025-11-20 13:36:59,298 - INFO - ================================================================================ 2025-11-20 13:36:59,298 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-20 13:36:59,299 - 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-20 13:36:59,583 - DEBUG - Nothing to compare xmpp stats {'10.0.0.128': {'10.20.0.241': '0'}} with 2025-11-20 13:36:59,583 - INFO - Initial checks done. Running the testcase now 2025-11-20 13:36:59,583 - INFO - 2025-11-20 13:36:59,747 - DEBUG - Response for create_network : {'network': {'id': '9332f887-6025-4c41-97d4-699129ebba3d', 'name': 'ctest-vn1-43717959', 'tenant_id': 'dcb36f53a6574b7581fc0f855d51b052', 'project_id': 'dcb36f53a6574b7581fc0f855d51b052', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-85593186', 'ctest-vn1-43717959'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 13:36:59,916 - DEBUG - Response for create_subnet : {'subnet': {'id': '6db05008-2293-45f5-94ac-6a0c38ae0cc9', 'name': '', 'tenant_id': 'dcb36f53a6574b7581fc0f855d51b052', 'network_id': '9332f887-6025-4c41-97d4-699129ebba3d', 'ip_version': 4, 'cidr': '206.58.31.64/26', 'allocation_pools': [{'start': '206.58.31.66', 'end': '206.58.31.126'}], 'gateway_ip': '206.58.31.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.58.31.66', 'tags': [], 'project_id': 'dcb36f53a6574b7581fc0f855d51b052'}} 2025-11-20 13:37:00,110 - DEBUG - Response for create_subnet : {'subnet': {'id': '9612bc68-f48a-4075-a9f9-92d61526db4f', 'name': '', 'tenant_id': 'dcb36f53a6574b7581fc0f855d51b052', 'network_id': '9332f887-6025-4c41-97d4-699129ebba3d', 'ip_version': 4, 'cidr': '103.98.254.192/26', 'allocation_pools': [{'start': '103.98.254.194', 'end': '103.98.254.254'}], 'gateway_ip': '103.98.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.98.254.194', 'tags': [], 'project_id': 'dcb36f53a6574b7581fc0f855d51b052'}} 2025-11-20 13:37:00,129 - INFO - Created VN ctest-vn1-43717959 2025-11-20 13:37:00,178 - DEBUG - VN ctest-vn1-43717959 UUID is 9332f887-6025-4c41-97d4-699129ebba3d 2025-11-20 13:37:00,473 - DEBUG - Response for create_port : {'port': {'name': 'e04f115d-d277-4002-ac48-90e734fa5d01', 'id': 'e04f115d-d277-4002-ac48-90e734fa5d01', 'tenant_id': 'dcb36f53a6574b7581fc0f855d51b052', 'network_id': '9332f887-6025-4c41-97d4-699129ebba3d', 'mac_address': '02:e0:4f:11:5d:d2', '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': '206.58.31.69', 'subnet_id': '6db05008-2293-45f5-94ac-6a0c38ae0cc9'}], 'security_groups': ['c6488cf3-4f75-44e6-abae-4add3cf5ae0b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dcb36f53a6574b7581fc0f855d51b052'}} 2025-11-20 13:37:00,646 - DEBUG - Response for create_port : {'port': {'name': '72c0f744-ffd8-4b71-a137-3db0a616822e', 'id': '72c0f744-ffd8-4b71-a137-3db0a616822e', 'tenant_id': 'dcb36f53a6574b7581fc0f855d51b052', 'network_id': '9332f887-6025-4c41-97d4-699129ebba3d', 'mac_address': '02:72:c0:f7:44:ff', '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': '103.98.254.197', 'subnet_id': '9612bc68-f48a-4075-a9f9-92d61526db4f'}], 'security_groups': ['c6488cf3-4f75-44e6-abae-4add3cf5ae0b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dcb36f53a6574b7581fc0f855d51b052'}} 2025-11-20 13:37:00,707 - DEBUG - Services list from nova: [, , ] 2025-11-20 13:37:01,073 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4775-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4775-1) 2025-11-20 13:37:01,494 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4775-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4775-1) 2025-11-20 13:37:01,494 - INFO - Waiting for VM ctest-vn1-vm1-31078153 to be up.. 2025-11-20 13:37:01,534 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 13:37:06,615 - DEBUG - VM is in ACTIVE state now 2025-11-20 13:37:06,615 - INFO - VM name : ctest-vn1-vm1-31078153 2025-11-20 13:37:06,691 - DEBUG - VM ctest-vn1-vm1-31078153 ID is be85e0c4-242c-4f3d-b7fd-c04eb4491338 2025-11-20 13:37:06,710 - DEBUG - VM ctest-vn1-vm1-31078153 launched on Node cn-jenkins-deploy-platform-ansible-os-4775-1 2025-11-20 13:37:06,783 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/be85e0c4-242c-4f3d-b7fd-c04eb4491338 2025-11-20 13:37:06,792 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/e04f115d-d277-4002-ac48-90e734fa5d01 2025-11-20 13:37:10,050 - 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 1021ms') 2025-11-20 13:37:10,050 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31078153 failed! 2025-11-20 13:37:10,106 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-85593186:ctest-vn1-43717959 is 206.58.31.65 and allocation pool is NOT set 2025-11-20 13:37:10,106 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-85593186:ctest-vn1-43717959 is 103.98.254.193 and allocation pool is NOT set 2025-11-20 13:37:12,167 - 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=4.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.04 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 = 3.039/3.654/4.270/0.615 ms') 2025-11-20 13:37:12,167 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31078153 passed 2025-11-20 13:37:12,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:37:12,318 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31078153, IP 206.58.31.69, Port 22 2025-11-20 13:37:12,473 - DEBUG - VM ctest-vn1-vm1-31078153 is ready for SSH connections 2025-11-20 13:37:12,473 - INFO - Waiting for VM ctest-vn1-vm2-58421212 to be up.. 2025-11-20 13:37:12,548 - DEBUG - VM is in ACTIVE state now 2025-11-20 13:37:12,548 - INFO - VM name : ctest-vn1-vm2-58421212 2025-11-20 13:37:12,619 - DEBUG - VM ctest-vn1-vm2-58421212 ID is 0ef68d2e-fdb7-43e4-8945-5ccdf61c643a 2025-11-20 13:37:12,620 - DEBUG - VM ctest-vn1-vm2-58421212 launched on Node cn-jenkins-deploy-platform-ansible-os-4775-1 2025-11-20 13:37:12,690 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/0ef68d2e-fdb7-43e4-8945-5ccdf61c643a 2025-11-20 13:37:12,699 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/72c0f744-ffd8-4b71-a137-3db0a616822e 2025-11-20 13:37:13,929 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.892 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.892/1.951/3.010/1.059 ms') 2025-11-20 13:37:13,930 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-58421212 passed 2025-11-20 13:37:14,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:37:14,082 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-58421212, IP 103.98.254.197, Port 22 2025-11-20 13:37:14,234 - DEBUG - VM ctest-vn1-vm2-58421212 is ready for SSH connections 2025-11-20 13:37:14,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:37:14,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:37:14,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:37:14,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.58.31.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2025-11-20 13:37:14,234 - DEBUG - ping -s 56 -c 3 -W 1 206.58.31.69 2025-11-20 13:37:16,997 - DEBUG - PING 206.58.31.69 (206.58.31.69): 56 data bytes 64 bytes from 206.58.31.69: seq=0 ttl=63 time=3.803 ms 64 bytes from 206.58.31.69: seq=1 ttl=63 time=0.868 ms 64 bytes from 206.58.31.69: seq=2 ttl=63 time=0.891 ms --- 206.58.31.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.868/1.854/3.803 ms 2025-11-20 13:37:16,998 - INFO - Ping to IP 206.58.31.69 from VM ctest-vn1-vm2-58421212 passed 2025-11-20 13:37:16,998 - INFO - Detaching port 72c0f744-ffd8-4b71-a137-3db0a616822e from VM ctest-vn1-vm2-58421212 2025-11-20 13:37:17,052 - INFO - Deleting VM ctest-vn1-vm2-58421212 2025-11-20 13:37:17,132 - INFO - Detaching port e04f115d-d277-4002-ac48-90e734fa5d01 from VM ctest-vn1-vm1-31078153 2025-11-20 13:37:17,171 - INFO - Deleting VM ctest-vn1-vm1-31078153 2025-11-20 13:37:17,421 - DEBUG - Response for delete_port : () 2025-11-20 13:37:17,581 - DEBUG - Response for delete_port : () 2025-11-20 13:37:17,581 - INFO - Deleting VN ctest-vn1-43717959 2025-11-20 13:37:17,715 - DEBUG - Response for deleting network () 2025-11-20 13:37:17,982 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 13:37:17,982 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-11-20 13:37:17,982 - INFO - -------------------------------------------------------------------------------- 2025-11-20 13:37:18,655 - INFO - Deleted project: ctest-TestPorts-85593186, ID : dcb36f53-a657-4b75-81fc-0f855d51b052