2025-10-21 17:05:21,013 - INFO - Domain Default found not creating 2025-10-21 17:05:21,190 - INFO - Project ctest-TestPorts-93866384 not found, creating it 2025-10-21 17:05:21,691 - INFO - Created Project:ctest-TestPorts-93866384, ID : 29b454f2-ce3b-4ae3-b783-e288de64fa05 2025-10-21 17:05:23,258 - INFO - ================================================================================ 2025-10-21 17:05:23,258 - INFO - STARTING TEST : test_ports_bindings 2025-10-21 17:05:23,258 - 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:05:23,515 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-10-21 17:05:23,515 - INFO - Initial checks done. Running the testcase now 2025-10-21 17:05:23,515 - INFO - 2025-10-21 17:05:24,087 - DEBUG - Response for create_network : {'network': {'id': 'dfda1b69-46db-40b9-8d8b-aade77925abe', 'name': 'ctest-vn-57608192', 'tenant_id': '29b454f2ce3b4ae3b783e288de64fa05', 'project_id': '29b454f2ce3b4ae3b783e288de64fa05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93866384', 'ctest-vn-57608192'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:05:24,317 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2d89e26-8f87-41ab-ad35-38e28ae5fb57', 'name': '', 'tenant_id': '29b454f2ce3b4ae3b783e288de64fa05', 'network_id': 'dfda1b69-46db-40b9-8d8b-aade77925abe', 'ip_version': 4, 'cidr': '173.44.240.0/26', 'allocation_pools': [{'start': '173.44.240.2', 'end': '173.44.240.62'}], 'gateway_ip': '173.44.240.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.44.240.2', 'tags': [], 'project_id': '29b454f2ce3b4ae3b783e288de64fa05'}} 2025-10-21 17:05:24,335 - INFO - Created VN ctest-vn-57608192 2025-10-21 17:05:24,389 - DEBUG - VN ctest-vn-57608192 UUID is dfda1b69-46db-40b9-8d8b-aade77925abe 2025-10-21 17:05:24,522 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-93866384', 'ctest-vmi-40680896']} 2025-10-21 17:05:24,823 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-40680896', 'id': '11f13473-8382-4e66-a1ad-2dfc56af69cd', 'tenant_id': '29b454f2ce3b4ae3b783e288de64fa05', 'network_id': 'dfda1b69-46db-40b9-8d8b-aade77925abe', 'mac_address': '02:11:f1:34:73:83', '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': '173.44.240.3', 'subnet_id': 'f2d89e26-8f87-41ab-ad35-38e28ae5fb57'}], 'security_groups': ['366b6e36-34e4-4404-9b89-07758a27a1db'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '29b454f2ce3b4ae3b783e288de64fa05'}} 2025-10-21 17:05:24,823 - DEBUG - Created port 11f13473-8382-4e66-a1ad-2dfc56af69cd 2025-10-21 17:05:24,933 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/11f13473-8382-4e66-a1ad-2dfc56af69cd 2025-10-21 17:05:25,229 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/11f13473-8382-4e66-a1ad-2dfc56af69cd 2025-10-21 17:05:25,261 - INFO - VMI 11f13473-8382-4e66-a1ad-2dfc56af69cd verification in API Server passed 2025-10-21 17:05:25,374 - DEBUG - Response for delete_port : () 2025-10-21 17:05:25,374 - INFO - Deleted port 11f13473-8382-4e66-a1ad-2dfc56af69cd 2025-10-21 17:05:25,374 - INFO - Deleting VN ctest-vn-57608192 2025-10-21 17:05:25,494 - DEBUG - Response for deleting network () 2025-10-21 17:05:25,760 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 17:05:25,760 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-21 17:05:25,761 - INFO - -------------------------------------------------------------------------------- 2025-10-21 17:05:25,764 - INFO - ================================================================================ 2025-10-21 17:05:25,765 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-21 17:05:25,765 - 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:05:26,045 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-10-21 17:05:26,045 - INFO - Initial checks done. Running the testcase now 2025-10-21 17:05:26,046 - INFO - 2025-10-21 17:05:26,225 - DEBUG - Response for create_network : {'network': {'id': '4d18dee2-f4e1-4753-843f-5bfd5a2fa613', 'name': 'ctest-vn1-21012331', 'tenant_id': '29b454f2ce3b4ae3b783e288de64fa05', 'project_id': '29b454f2ce3b4ae3b783e288de64fa05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93866384', 'ctest-vn1-21012331'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:05:26,428 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2ef3c8e-f231-4782-9e8c-c672bd80ce30', 'name': '', 'tenant_id': '29b454f2ce3b4ae3b783e288de64fa05', 'network_id': '4d18dee2-f4e1-4753-843f-5bfd5a2fa613', 'ip_version': 4, 'cidr': '208.134.237.128/26', 'allocation_pools': [{'start': '208.134.237.130', 'end': '208.134.237.190'}], 'gateway_ip': '208.134.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.134.237.130', 'tags': [], 'project_id': '29b454f2ce3b4ae3b783e288de64fa05'}} 2025-10-21 17:05:26,581 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a633db27-15f9-4c51-86f2-fc33af4b2990', 'name': '', 'tenant_id': '29b454f2ce3b4ae3b783e288de64fa05', 'network_id': '4d18dee2-f4e1-4753-843f-5bfd5a2fa613', 'ip_version': 4, 'cidr': '82.91.55.192/26', 'allocation_pools': [{'start': '82.91.55.194', 'end': '82.91.55.254'}], 'gateway_ip': '82.91.55.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.91.55.194', 'tags': [], 'project_id': '29b454f2ce3b4ae3b783e288de64fa05'}} 2025-10-21 17:05:26,606 - INFO - Created VN ctest-vn1-21012331 2025-10-21 17:05:26,661 - DEBUG - VN ctest-vn1-21012331 UUID is 4d18dee2-f4e1-4753-843f-5bfd5a2fa613 2025-10-21 17:05:27,042 - DEBUG - Response for create_port : {'port': {'name': '803a1d93-2ad4-4e4d-81cc-cba98c6c3bd6', 'id': '803a1d93-2ad4-4e4d-81cc-cba98c6c3bd6', 'tenant_id': '29b454f2ce3b4ae3b783e288de64fa05', 'network_id': '4d18dee2-f4e1-4753-843f-5bfd5a2fa613', 'mac_address': '02:80:3a:1d:93:2a', '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.134.237.133', 'subnet_id': 'e2ef3c8e-f231-4782-9e8c-c672bd80ce30'}], 'security_groups': ['366b6e36-34e4-4404-9b89-07758a27a1db'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '29b454f2ce3b4ae3b783e288de64fa05'}} 2025-10-21 17:05:27,232 - DEBUG - Response for create_port : {'port': {'name': '8f273a19-9db6-43ff-be81-f48750fd39d2', 'id': '8f273a19-9db6-43ff-be81-f48750fd39d2', 'tenant_id': '29b454f2ce3b4ae3b783e288de64fa05', 'network_id': '4d18dee2-f4e1-4753-843f-5bfd5a2fa613', 'mac_address': '02:8f:27:3a:19:9d', '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': '82.91.55.197', 'subnet_id': 'a633db27-15f9-4c51-86f2-fc33af4b2990'}], 'security_groups': ['366b6e36-34e4-4404-9b89-07758a27a1db'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '29b454f2ce3b4ae3b783e288de64fa05'}} 2025-10-21 17:05:27,297 - DEBUG - Services list from nova: [, , ] 2025-10-21 17:05:27,686 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4399-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4399-1) 2025-10-21 17:05:28,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4399-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4399-1) 2025-10-21 17:05:28,147 - INFO - Waiting for VM ctest-vn1-vm1-66881312 to be up.. 2025-10-21 17:05:28,196 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 17:05:33,286 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:05:33,286 - INFO - VM name : ctest-vn1-vm1-66881312 2025-10-21 17:05:33,370 - DEBUG - VM ctest-vn1-vm1-66881312 ID is d9e56d21-97d8-417e-82dd-865a70dff3d0 2025-10-21 17:05:33,397 - DEBUG - VM ctest-vn1-vm1-66881312 launched on Node cn-jenkins-deploy-platform-ansible-os-4399-1 2025-10-21 17:05:33,485 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d9e56d21-97d8-417e-82dd-865a70dff3d0 2025-10-21 17:05:33,494 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/803a1d93-2ad4-4e4d-81cc-cba98c6c3bd6 2025-10-21 17:05:36,749 - 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 1009ms') 2025-10-21 17:05:36,749 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66881312 failed! 2025-10-21 17:05:36,805 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93866384:ctest-vn1-21012331 is 208.134.237.129 and allocation pool is NOT set 2025-10-21 17:05:36,805 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93866384:ctest-vn1-21012331 is 82.91.55.193 and allocation pool is NOT set 2025-10-21 17:05:40,875 - 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=9.12 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 9.118/9.118/9.118/0.000 ms') 2025-10-21 17:05:40,875 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66881312 passed 2025-10-21 17:05:41,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:05:41,030 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66881312, IP 208.134.237.133, Port 22 2025-10-21 17:05:41,204 - DEBUG - VM ctest-vn1-vm1-66881312 is ready for SSH connections 2025-10-21 17:05:41,204 - INFO - Waiting for VM ctest-vn1-vm2-73959257 to be up.. 2025-10-21 17:05:41,292 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:05:41,292 - INFO - VM name : ctest-vn1-vm2-73959257 2025-10-21 17:05:41,377 - DEBUG - VM ctest-vn1-vm2-73959257 ID is 63f59e7a-49b8-4864-84c6-7fe9e2ba6c93 2025-10-21 17:05:41,377 - DEBUG - VM ctest-vn1-vm2-73959257 launched on Node cn-jenkins-deploy-platform-ansible-os-4399-1 2025-10-21 17:05:41,483 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/63f59e7a-49b8-4864-84c6-7fe9e2ba6c93 2025-10-21 17:05:41,492 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8f273a19-9db6-43ff-be81-f48750fd39d2 2025-10-21 17:05:42,734 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.508 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 = 0.508/2.009/3.511/1.501 ms') 2025-10-21 17:05:42,734 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-73959257 passed 2025-10-21 17:05:42,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:05:42,893 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-73959257, IP 82.91.55.197, Port 22 2025-10-21 17:05:43,053 - DEBUG - VM ctest-vn1-vm2-73959257 is ready for SSH connections 2025-10-21 17:05:43,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:05:43,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:05:43,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:05:43,054 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.134.237.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-21 17:05:43,054 - DEBUG - ping -s 56 -c 3 -W 1 208.134.237.133 2025-10-21 17:05:45,737 - DEBUG - PING 208.134.237.133 (208.134.237.133): 56 data bytes 64 bytes from 208.134.237.133: seq=0 ttl=63 time=3.559 ms 64 bytes from 208.134.237.133: seq=1 ttl=63 time=1.249 ms 64 bytes from 208.134.237.133: seq=2 ttl=63 time=0.951 ms --- 208.134.237.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.951/1.919/3.559 ms 2025-10-21 17:05:45,737 - INFO - Ping to IP 208.134.237.133 from VM ctest-vn1-vm2-73959257 passed 2025-10-21 17:05:45,737 - INFO - Detaching port 8f273a19-9db6-43ff-be81-f48750fd39d2 from VM ctest-vn1-vm2-73959257 2025-10-21 17:05:45,793 - INFO - Deleting VM ctest-vn1-vm2-73959257 2025-10-21 17:05:45,873 - INFO - Detaching port 803a1d93-2ad4-4e4d-81cc-cba98c6c3bd6 from VM ctest-vn1-vm1-66881312 2025-10-21 17:05:45,921 - INFO - Deleting VM ctest-vn1-vm1-66881312 2025-10-21 17:05:46,180 - DEBUG - Response for delete_port : () 2025-10-21 17:05:46,407 - DEBUG - Response for delete_port : () 2025-10-21 17:05:46,408 - INFO - Deleting VN ctest-vn1-21012331 2025-10-21 17:05:46,572 - DEBUG - Response for deleting network () 2025-10-21 17:05:46,853 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 17:05:46,853 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-21 17:05:46,853 - INFO - -------------------------------------------------------------------------------- 2025-10-21 17:05:47,580 - INFO - Deleted project: ctest-TestPorts-93866384, ID : 29b454f2-ce3b-4ae3-b783-e288de64fa05