2025-10-20 13:57:06,757 - INFO - Reading existing Domain with UUID 359ab6ea-20cc-44f4-9df6-3d9ae739b7c5 2025-10-20 13:57:06,768 - INFO - Using existing domain ['admin_domain'](359ab6ea-20cc-44f4-9df6-3d9ae739b7c5) 2025-10-20 13:57:06,972 - INFO - Project ctest-TestPorts-19023170 not found, creating it 2025-10-20 13:57:07,503 - INFO - Created Project:ctest-TestPorts-19023170, ID : 4d11ca00-e21a-4c3e-b49a-4bf688408044 2025-10-20 13:57:09,221 - INFO - ================================================================================ 2025-10-20 13:57:09,221 - INFO - STARTING TEST : test_ports_bindings 2025-10-20 13:57:09,221 - 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-20 13:57:09,613 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.0.0.137': '0'}} with 2025-10-20 13:57:09,613 - INFO - Initial checks done. Running the testcase now 2025-10-20 13:57:09,613 - INFO - 2025-10-20 13:57:10,390 - DEBUG - Response for create_network : {'network': {'id': '4b6547f7-901c-484e-b75f-1ae48b7a6c22', 'name': 'ctest-vn-48908385', 'tenant_id': '4d11ca00e21a4c3eb49a4bf688408044', 'project_id': '4d11ca00e21a4c3eb49a4bf688408044', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-19023170', 'ctest-vn-48908385'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-20 13:57:10,601 - DEBUG - Response for create_subnet : {'subnet': {'id': '46e02cf2-548c-4978-935f-d34eb5edda18', 'name': '', 'tenant_id': '4d11ca00e21a4c3eb49a4bf688408044', 'network_id': '4b6547f7-901c-484e-b75f-1ae48b7a6c22', 'ip_version': 4, 'cidr': '92.179.153.128/26', 'allocation_pools': [{'start': '92.179.153.130', 'end': '92.179.153.190'}], 'gateway_ip': '92.179.153.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-20T13:57:10.502711', 'updated_at': '2025-10-20T13:57:10.502711', 'dns_server_address': '92.179.153.130', 'tags': [], 'project_id': '4d11ca00e21a4c3eb49a4bf688408044'}} 2025-10-20 13:57:10,666 - INFO - Created VN ctest-vn-48908385 2025-10-20 13:57:10,720 - DEBUG - VN ctest-vn-48908385 UUID is 4b6547f7-901c-484e-b75f-1ae48b7a6c22 2025-10-20 13:57:10,919 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-19023170', 'ctest-vmi-93388337']} 2025-10-20 13:57:11,220 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-93388337', 'id': '45320a1a-e740-4e02-a3bf-f163c4b1abb4', 'tenant_id': '4d11ca00e21a4c3eb49a4bf688408044', 'network_id': '4b6547f7-901c-484e-b75f-1ae48b7a6c22', 'mac_address': '02:45:32:0a:1a:e7', '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': '92.179.153.131', 'subnet_id': '46e02cf2-548c-4978-935f-d34eb5edda18'}], 'security_groups': ['db298cd0-81d5-49df-80a4-962f2c548cda'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-20T13:57:11.025307', 'updated_at': '2025-10-20T13:57:11.089626', 'project_id': '4d11ca00e21a4c3eb49a4bf688408044'}} 2025-10-20 13:57:11,220 - DEBUG - Created port 45320a1a-e740-4e02-a3bf-f163c4b1abb4 2025-10-20 13:57:11,328 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine-interface/45320a1a-e740-4e02-a3bf-f163c4b1abb4 2025-10-20 13:57:11,666 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine-interface/45320a1a-e740-4e02-a3bf-f163c4b1abb4 2025-10-20 13:57:11,762 - INFO - VMI 45320a1a-e740-4e02-a3bf-f163c4b1abb4 verification in API Server passed 2025-10-20 13:57:11,925 - DEBUG - Response for delete_port : () 2025-10-20 13:57:11,925 - INFO - Deleted port 45320a1a-e740-4e02-a3bf-f163c4b1abb4 2025-10-20 13:57:11,925 - INFO - Deleting VN ctest-vn-48908385 2025-10-20 13:57:12,113 - DEBUG - Response for deleting network () 2025-10-20 13:57:12,505 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 13:57:12,505 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-20 13:57:12,505 - INFO - -------------------------------------------------------------------------------- 2025-10-20 13:57:12,508 - INFO - ================================================================================ 2025-10-20 13:57:12,508 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-20 13:57:12,508 - 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-20 13:57:12,889 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.0.0.137': '0'}} with 2025-10-20 13:57:12,889 - INFO - Initial checks done. Running the testcase now 2025-10-20 13:57:12,889 - INFO - 2025-10-20 13:57:13,304 - DEBUG - Response for create_network : {'network': {'id': 'd4b0185e-66eb-4a02-8a15-48daff03ecaa', 'name': 'ctest-vn1-12863500', 'tenant_id': '4d11ca00e21a4c3eb49a4bf688408044', 'project_id': '4d11ca00e21a4c3eb49a4bf688408044', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-19023170', 'ctest-vn1-12863500'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-20 13:57:13,737 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f427035c-2488-45ed-9b0f-23b86d7ede83', 'name': '', 'tenant_id': '4d11ca00e21a4c3eb49a4bf688408044', 'network_id': 'd4b0185e-66eb-4a02-8a15-48daff03ecaa', 'ip_version': 4, 'cidr': '41.205.216.0/26', 'allocation_pools': [{'start': '41.205.216.2', 'end': '41.205.216.62'}], 'gateway_ip': '41.205.216.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-20T13:57:13.631856', 'updated_at': '2025-10-20T13:57:13.631856', 'dns_server_address': '41.205.216.2', 'tags': [], 'project_id': '4d11ca00e21a4c3eb49a4bf688408044'}} 2025-10-20 13:57:13,993 - DEBUG - Response for create_subnet : {'subnet': {'id': '00d8593d-6b0b-4f22-b140-1d8d34dc08d2', 'name': '', 'tenant_id': '4d11ca00e21a4c3eb49a4bf688408044', 'network_id': 'd4b0185e-66eb-4a02-8a15-48daff03ecaa', 'ip_version': 4, 'cidr': '106.53.114.128/26', 'allocation_pools': [{'start': '106.53.114.130', 'end': '106.53.114.190'}], 'gateway_ip': '106.53.114.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-20T13:57:13.893874', 'updated_at': '2025-10-20T13:57:13.893874', 'dns_server_address': '106.53.114.130', 'tags': [], 'project_id': '4d11ca00e21a4c3eb49a4bf688408044'}} 2025-10-20 13:57:14,058 - INFO - Created VN ctest-vn1-12863500 2025-10-20 13:57:14,112 - DEBUG - VN ctest-vn1-12863500 UUID is d4b0185e-66eb-4a02-8a15-48daff03ecaa 2025-10-20 13:57:14,628 - DEBUG - Response for create_port : {'port': {'name': '2f90dee9-e2dc-4db8-b0ce-68f9dfcbb07e', 'id': '2f90dee9-e2dc-4db8-b0ce-68f9dfcbb07e', 'tenant_id': '4d11ca00e21a4c3eb49a4bf688408044', 'network_id': 'd4b0185e-66eb-4a02-8a15-48daff03ecaa', 'mac_address': '02:2f:90:de:e9:e2', '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': '41.205.216.5', 'subnet_id': 'f427035c-2488-45ed-9b0f-23b86d7ede83'}], 'security_groups': ['db298cd0-81d5-49df-80a4-962f2c548cda'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-20T13:57:14.451125', 'updated_at': '2025-10-20T13:57:14.513781', 'project_id': '4d11ca00e21a4c3eb49a4bf688408044'}} 2025-10-20 13:57:14,876 - DEBUG - Response for create_port : {'port': {'name': '4e178d9d-313d-4c0d-adf1-0097fb3e0349', 'id': '4e178d9d-313d-4c0d-adf1-0097fb3e0349', 'tenant_id': '4d11ca00e21a4c3eb49a4bf688408044', 'network_id': 'd4b0185e-66eb-4a02-8a15-48daff03ecaa', 'mac_address': '02:4e:17:8d:9d:31', '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.53.114.133', 'subnet_id': '00d8593d-6b0b-4f22-b140-1d8d34dc08d2'}], 'security_groups': ['db298cd0-81d5-49df-80a4-962f2c548cda'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-20T13:57:14.688925', 'updated_at': '2025-10-20T13:57:14.759777', 'project_id': '4d11ca00e21a4c3eb49a4bf688408044'}} 2025-10-20 13:57:14,939 - DEBUG - Services list from nova: [, , ] 2025-10-20 13:57:16,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-599-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-599-1) 2025-10-20 13:57:17,610 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-599-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-599-1) 2025-10-20 13:57:17,610 - INFO - Waiting for VM ctest-vn1-vm1-22081588 to be up.. 2025-10-20 13:57:17,702 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 13:57:22,850 - DEBUG - VM is in ACTIVE state now 2025-10-20 13:57:22,850 - INFO - VM name : ctest-vn1-vm1-22081588 2025-10-20 13:57:22,985 - DEBUG - VM ctest-vn1-vm1-22081588 ID is 65033d4e-3814-47a6-85e7-3f384a73b83a 2025-10-20 13:57:23,017 - DEBUG - VM ctest-vn1-vm1-22081588 launched on Node cn-jenkins-deploy-platform-juju-os-599-1 2025-10-20 13:57:23,164 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine/65033d4e-3814-47a6-85e7-3f384a73b83a 2025-10-20 13:57:23,217 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine-interface/2f90dee9-e2dc-4db8-b0ce-68f9dfcbb07e 2025-10-20 13:57:26,672 - 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 1003ms') 2025-10-20 13:57:26,672 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22081588 failed! 2025-10-20 13:57:26,728 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-19023170:ctest-vn1-12863500 is 41.205.216.1 and allocation pool is NOT set 2025-10-20 13:57:26,728 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-19023170:ctest-vn1-12863500 is 106.53.114.129 and allocation pool is NOT set 2025-10-20 13:57:30,834 - 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=7.36 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1022ms\r\nrtt min/avg/max/mdev = 7.355/7.355/7.355/0.000 ms') 2025-10-20 13:57:30,835 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22081588 passed 2025-10-20 13:57:30,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:57:30,992 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22081588, IP 41.205.216.5, Port 22 2025-10-20 13:57:31,207 - DEBUG - VM ctest-vn1-vm1-22081588 is ready for SSH connections 2025-10-20 13:57:31,207 - INFO - Waiting for VM ctest-vn1-vm2-11701286 to be up.. 2025-10-20 13:57:31,360 - DEBUG - VM is in ACTIVE state now 2025-10-20 13:57:31,360 - INFO - VM name : ctest-vn1-vm2-11701286 2025-10-20 13:57:31,488 - DEBUG - VM ctest-vn1-vm2-11701286 ID is f829b65d-439e-4971-a85a-8f90d5a73cd4 2025-10-20 13:57:31,488 - DEBUG - VM ctest-vn1-vm2-11701286 launched on Node cn-jenkins-deploy-platform-juju-os-599-1 2025-10-20 13:57:31,619 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine/f829b65d-439e-4971-a85a-8f90d5a73cd4 2025-10-20 13:57:31,673 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine-interface/4e178d9d-313d-4c0d-adf1-0097fb3e0349 2025-10-20 13:57:33,118 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.481 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.481/1.874/3.267/1.393 ms') 2025-10-20 13:57:33,118 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11701286 passed 2025-10-20 13:57:33,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:57:33,268 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11701286, IP 106.53.114.133, Port 22 2025-10-20 13:57:33,482 - DEBUG - VM ctest-vn1-vm2-11701286 is ready for SSH connections 2025-10-20 13:57:33,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:57:33,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:57:33,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:57:33,483 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.205.216.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-20 13:57:33,483 - DEBUG - ping -s 56 -c 3 -W 1 41.205.216.5 2025-10-20 13:57:36,129 - DEBUG - PING 41.205.216.5 (41.205.216.5): 56 data bytes 64 bytes from 41.205.216.5: seq=0 ttl=63 time=3.701 ms 64 bytes from 41.205.216.5: seq=1 ttl=63 time=1.204 ms 64 bytes from 41.205.216.5: seq=2 ttl=63 time=1.105 ms --- 41.205.216.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.105/2.003/3.701 ms 2025-10-20 13:57:36,130 - INFO - Ping to IP 41.205.216.5 from VM ctest-vn1-vm2-11701286 passed 2025-10-20 13:57:36,130 - INFO - Detaching port 4e178d9d-313d-4c0d-adf1-0097fb3e0349 from VM ctest-vn1-vm2-11701286 2025-10-20 13:57:36,200 - INFO - Deleting VM ctest-vn1-vm2-11701286 2025-10-20 13:57:36,349 - INFO - Detaching port 2f90dee9-e2dc-4db8-b0ce-68f9dfcbb07e from VM ctest-vn1-vm1-22081588 2025-10-20 13:57:36,433 - INFO - Deleting VM ctest-vn1-vm1-22081588 2025-10-20 13:57:36,844 - DEBUG - Response for delete_port : () 2025-10-20 13:57:37,128 - DEBUG - Response for delete_port : () 2025-10-20 13:57:37,128 - INFO - Deleting VN ctest-vn1-12863500 2025-10-20 13:57:37,361 - DEBUG - Response for deleting network () 2025-10-20 13:57:37,749 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 13:57:37,750 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25] 2025-10-20 13:57:37,750 - INFO - -------------------------------------------------------------------------------- 2025-10-20 13:57:38,493 - INFO - Deleted project: ctest-TestPorts-19023170, ID : 4d11ca00-e21a-4c3e-b49a-4bf688408044