2025-10-27 14:57:37,200 - INFO - Domain Default found not creating 2025-10-27 14:57:37,344 - INFO - Project ctest-TestPorts-57625819 not found, creating it 2025-10-27 14:57:37,807 - INFO - Created Project:ctest-TestPorts-57625819, ID : eb9899ae-d519-48c5-b8d6-2085dbea905a 2025-10-27 14:57:39,350 - INFO - ================================================================================ 2025-10-27 14:57:39,350 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 14:57:39,350 - 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 14:57:39,609 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-27 14:57:39,609 - INFO - Initial checks done. Running the testcase now 2025-10-27 14:57:39,609 - INFO - 2025-10-27 14:57:40,220 - DEBUG - Response for create_network : {'network': {'id': 'ca4962f8-5cab-4e87-8b2b-d63f4dda6330', 'name': 'ctest-vn-57682419', 'tenant_id': 'eb9899aed51948c5b8d62085dbea905a', 'project_id': 'eb9899aed51948c5b8d62085dbea905a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-57625819', 'ctest-vn-57682419'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 14:57:40,452 - DEBUG - Response for create_subnet : {'subnet': {'id': '0eb99f56-8d9d-40ef-b94f-ad3af15a8f0e', 'name': '', 'tenant_id': 'eb9899aed51948c5b8d62085dbea905a', 'network_id': 'ca4962f8-5cab-4e87-8b2b-d63f4dda6330', 'ip_version': 4, 'cidr': '14.50.179.0/26', 'allocation_pools': [{'start': '14.50.179.2', 'end': '14.50.179.62'}], 'gateway_ip': '14.50.179.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.50.179.2', 'tags': [], 'project_id': 'eb9899aed51948c5b8d62085dbea905a'}} 2025-10-27 14:57:40,476 - INFO - Created VN ctest-vn-57682419 2025-10-27 14:57:40,530 - DEBUG - VN ctest-vn-57682419 UUID is ca4962f8-5cab-4e87-8b2b-d63f4dda6330 2025-10-27 14:57:40,636 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-57625819', 'ctest-vmi-67836835']} 2025-10-27 14:57:40,914 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-67836835', 'id': '8b945935-224c-4ffa-8aeb-e7f99f0113f8', 'tenant_id': 'eb9899aed51948c5b8d62085dbea905a', 'network_id': 'ca4962f8-5cab-4e87-8b2b-d63f4dda6330', 'mac_address': '02:8b:94:59:35:22', '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': '14.50.179.3', 'subnet_id': '0eb99f56-8d9d-40ef-b94f-ad3af15a8f0e'}], 'security_groups': ['bdd6ae01-e146-4b34-ae3c-054c6a67699a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eb9899aed51948c5b8d62085dbea905a'}} 2025-10-27 14:57:40,914 - DEBUG - Created port 8b945935-224c-4ffa-8aeb-e7f99f0113f8 2025-10-27 14:57:41,018 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/8b945935-224c-4ffa-8aeb-e7f99f0113f8 2025-10-27 14:57:41,352 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/8b945935-224c-4ffa-8aeb-e7f99f0113f8 2025-10-27 14:57:41,387 - INFO - VMI 8b945935-224c-4ffa-8aeb-e7f99f0113f8 verification in API Server passed 2025-10-27 14:57:41,475 - DEBUG - Response for delete_port : () 2025-10-27 14:57:41,476 - INFO - Deleted port 8b945935-224c-4ffa-8aeb-e7f99f0113f8 2025-10-27 14:57:41,476 - INFO - Deleting VN ctest-vn-57682419 2025-10-27 14:57:41,580 - DEBUG - Response for deleting network () 2025-10-27 14:57:41,836 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 14:57:41,836 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-27 14:57:41,836 - INFO - -------------------------------------------------------------------------------- 2025-10-27 14:57:41,838 - INFO - ================================================================================ 2025-10-27 14:57:41,838 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 14:57:41,838 - 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 14:57:42,123 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-27 14:57:42,123 - INFO - Initial checks done. Running the testcase now 2025-10-27 14:57:42,123 - INFO - 2025-10-27 14:57:42,294 - DEBUG - Response for create_network : {'network': {'id': 'f7d55131-c1ef-464c-83b8-3651ec0b2276', 'name': 'ctest-vn1-49474113', 'tenant_id': 'eb9899aed51948c5b8d62085dbea905a', 'project_id': 'eb9899aed51948c5b8d62085dbea905a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-57625819', 'ctest-vn1-49474113'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 14:57:42,497 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e57f7205-692c-4d56-a73f-6356a4ee77ed', 'name': '', 'tenant_id': 'eb9899aed51948c5b8d62085dbea905a', 'network_id': 'f7d55131-c1ef-464c-83b8-3651ec0b2276', 'ip_version': 4, 'cidr': '176.177.171.192/26', 'allocation_pools': [{'start': '176.177.171.194', 'end': '176.177.171.254'}], 'gateway_ip': '176.177.171.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.177.171.194', 'tags': [], 'project_id': 'eb9899aed51948c5b8d62085dbea905a'}} 2025-10-27 14:57:42,708 - DEBUG - Response for create_subnet : {'subnet': {'id': '71285dfd-24f9-488b-9ce6-7acf196f145e', 'name': '', 'tenant_id': 'eb9899aed51948c5b8d62085dbea905a', 'network_id': 'f7d55131-c1ef-464c-83b8-3651ec0b2276', 'ip_version': 4, 'cidr': '208.217.133.64/26', 'allocation_pools': [{'start': '208.217.133.66', 'end': '208.217.133.126'}], 'gateway_ip': '208.217.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.217.133.66', 'tags': [], 'project_id': 'eb9899aed51948c5b8d62085dbea905a'}} 2025-10-27 14:57:42,728 - INFO - Created VN ctest-vn1-49474113 2025-10-27 14:57:42,779 - DEBUG - VN ctest-vn1-49474113 UUID is f7d55131-c1ef-464c-83b8-3651ec0b2276 2025-10-27 14:57:43,086 - DEBUG - Response for create_port : {'port': {'name': '9bf74e7d-3508-4532-b2fb-5a10487aef7b', 'id': '9bf74e7d-3508-4532-b2fb-5a10487aef7b', 'tenant_id': 'eb9899aed51948c5b8d62085dbea905a', 'network_id': 'f7d55131-c1ef-464c-83b8-3651ec0b2276', 'mac_address': '02:9b:f7:4e:7d:35', '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': '176.177.171.197', 'subnet_id': 'e57f7205-692c-4d56-a73f-6356a4ee77ed'}], 'security_groups': ['bdd6ae01-e146-4b34-ae3c-054c6a67699a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eb9899aed51948c5b8d62085dbea905a'}} 2025-10-27 14:57:43,262 - DEBUG - Response for create_port : {'port': {'name': 'f3c22057-1236-4e6a-89e7-1a48becc6277', 'id': 'f3c22057-1236-4e6a-89e7-1a48becc6277', 'tenant_id': 'eb9899aed51948c5b8d62085dbea905a', 'network_id': 'f7d55131-c1ef-464c-83b8-3651ec0b2276', 'mac_address': '02:f3:c2:20:57:12', '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': '208.217.133.69', 'subnet_id': '71285dfd-24f9-488b-9ce6-7acf196f145e'}], 'security_groups': ['bdd6ae01-e146-4b34-ae3c-054c6a67699a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eb9899aed51948c5b8d62085dbea905a'}} 2025-10-27 14:57:43,322 - DEBUG - Services list from nova: [, , ] 2025-10-27 14:57:43,666 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4505-1) 2025-10-27 14:57:44,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4505-1) 2025-10-27 14:57:44,064 - INFO - Waiting for VM ctest-vn1-vm1-18966213 to be up.. 2025-10-27 14:57:44,103 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 14:57:49,178 - DEBUG - VM is in ACTIVE state now 2025-10-27 14:57:49,179 - INFO - VM name : ctest-vn1-vm1-18966213 2025-10-27 14:57:49,250 - DEBUG - VM ctest-vn1-vm1-18966213 ID is c389f430-2b00-4b5f-be33-ebd197df295a 2025-10-27 14:57:49,270 - DEBUG - VM ctest-vn1-vm1-18966213 launched on Node cn-jenkins-deploy-platform-ansible-os-4505-1 2025-10-27 14:57:49,341 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c389f430-2b00-4b5f-be33-ebd197df295a 2025-10-27 14:57:49,349 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9bf74e7d-3508-4532-b2fb-5a10487aef7b 2025-10-27 14:57:52,603 - 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 1010ms') 2025-10-27 14:57:52,603 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-18966213 failed! 2025-10-27 14:57:52,658 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-57625819:ctest-vn1-49474113 is 176.177.171.193 and allocation pool is NOT set 2025-10-27 14:57:52,659 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-57625819:ctest-vn1-49474113 is 208.217.133.65 and allocation pool is NOT set 2025-10-27 14:57:56,730 - 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=13.8 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 13.811/13.811/13.811/0.000 ms') 2025-10-27 14:57:56,730 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-18966213 passed 2025-10-27 14:57:56,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 14:57:56,887 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18966213, IP 176.177.171.197, Port 22 2025-10-27 14:57:57,042 - DEBUG - VM ctest-vn1-vm1-18966213 is ready for SSH connections 2025-10-27 14:57:57,042 - INFO - Waiting for VM ctest-vn1-vm2-01070941 to be up.. 2025-10-27 14:57:57,124 - DEBUG - VM is in ACTIVE state now 2025-10-27 14:57:57,124 - INFO - VM name : ctest-vn1-vm2-01070941 2025-10-27 14:57:57,202 - DEBUG - VM ctest-vn1-vm2-01070941 ID is 88697872-5355-43a7-8bb6-72ae368f7d71 2025-10-27 14:57:57,202 - DEBUG - VM ctest-vn1-vm2-01070941 launched on Node cn-jenkins-deploy-platform-ansible-os-4505-1 2025-10-27 14:57:57,278 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/88697872-5355-43a7-8bb6-72ae368f7d71 2025-10-27 14:57:57,288 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f3c22057-1236-4e6a-89e7-1a48becc6277 2025-10-27 14:57:58,529 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.483 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.483/1.871/3.259/1.388 ms') 2025-10-27 14:57:58,529 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-01070941 passed 2025-10-27 14:57:58,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 14:57:58,683 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-01070941, IP 208.217.133.69, Port 22 2025-10-27 14:57:58,838 - DEBUG - VM ctest-vn1-vm2-01070941 is ready for SSH connections 2025-10-27 14:57:58,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 14:57:58,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 14:57:58,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 14:57:58,839 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.177.171.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 14:57:58,839 - DEBUG - ping -s 56 -c 3 -W 1 176.177.171.197 2025-10-27 14:58:02,638 - DEBUG - PING 176.177.171.197 (176.177.171.197): 56 data bytes 64 bytes from 176.177.171.197: seq=0 ttl=63 time=4.437 ms 64 bytes from 176.177.171.197: seq=1 ttl=63 time=0.848 ms 64 bytes from 176.177.171.197: seq=2 ttl=63 time=0.931 ms --- 176.177.171.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/2.072/4.437 ms 2025-10-27 14:58:02,638 - INFO - Ping to IP 176.177.171.197 from VM ctest-vn1-vm2-01070941 passed 2025-10-27 14:58:02,638 - INFO - Detaching port f3c22057-1236-4e6a-89e7-1a48becc6277 from VM ctest-vn1-vm2-01070941 2025-10-27 14:58:02,691 - INFO - Deleting VM ctest-vn1-vm2-01070941 2025-10-27 14:58:02,767 - INFO - Detaching port 9bf74e7d-3508-4532-b2fb-5a10487aef7b from VM ctest-vn1-vm1-18966213 2025-10-27 14:58:02,808 - INFO - Deleting VM ctest-vn1-vm1-18966213 2025-10-27 14:58:03,055 - DEBUG - Response for delete_port : () 2025-10-27 14:58:03,238 - DEBUG - Response for delete_port : () 2025-10-27 14:58:03,238 - INFO - Deleting VN ctest-vn1-49474113 2025-10-27 14:58:03,405 - DEBUG - Response for deleting network () 2025-10-27 14:58:03,675 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 14:58:03,675 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-10-27 14:58:03,675 - INFO - -------------------------------------------------------------------------------- 2025-10-27 14:58:04,401 - INFO - Deleted project: ctest-TestPorts-57625819, ID : eb9899ae-d519-48c5-b8d6-2085dbea905a