2025-10-23 10:15:38,832 - INFO - Domain Default found not creating 2025-10-23 10:15:39,015 - INFO - Project ctest-TestPorts-12480743 not found, creating it 2025-10-23 10:15:39,503 - INFO - Created Project:ctest-TestPorts-12480743, ID : 6836450b-4c40-47eb-bed1-bcd77f32ff12 2025-10-23 10:15:41,120 - INFO - ================================================================================ 2025-10-23 10:15:41,120 - INFO - STARTING TEST : test_ports_bindings 2025-10-23 10:15:41,120 - 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-23 10:15:41,389 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-10-23 10:15:41,389 - INFO - Initial checks done. Running the testcase now 2025-10-23 10:15:41,389 - INFO - 2025-10-23 10:15:42,000 - DEBUG - Response for create_network : {'network': {'id': '56e76b05-5d79-4711-be2a-0d180246631e', 'name': 'ctest-vn-34515275', 'tenant_id': '6836450b4c4047ebbed1bcd77f32ff12', 'project_id': '6836450b4c4047ebbed1bcd77f32ff12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12480743', 'ctest-vn-34515275'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:15:42,184 - DEBUG - Response for create_subnet : {'subnet': {'id': '3398b6e0-df8f-4df0-9641-cc0089874ed6', 'name': '', 'tenant_id': '6836450b4c4047ebbed1bcd77f32ff12', 'network_id': '56e76b05-5d79-4711-be2a-0d180246631e', 'ip_version': 4, 'cidr': '48.113.65.128/26', 'allocation_pools': [{'start': '48.113.65.130', 'end': '48.113.65.190'}], 'gateway_ip': '48.113.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.113.65.130', 'tags': [], 'project_id': '6836450b4c4047ebbed1bcd77f32ff12'}} 2025-10-23 10:15:42,202 - INFO - Created VN ctest-vn-34515275 2025-10-23 10:15:42,255 - DEBUG - VN ctest-vn-34515275 UUID is 56e76b05-5d79-4711-be2a-0d180246631e 2025-10-23 10:15:42,374 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-12480743', 'ctest-vmi-87395415']} 2025-10-23 10:15:42,662 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-87395415', 'id': 'd8de8701-c361-4439-8a1a-fb332b3a061c', 'tenant_id': '6836450b4c4047ebbed1bcd77f32ff12', 'network_id': '56e76b05-5d79-4711-be2a-0d180246631e', 'mac_address': '02:d8:de:87:01:c3', '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': '48.113.65.131', 'subnet_id': '3398b6e0-df8f-4df0-9641-cc0089874ed6'}], 'security_groups': ['0ce3183b-3a2e-4c99-ab49-30ef2b9f6517'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6836450b4c4047ebbed1bcd77f32ff12'}} 2025-10-23 10:15:42,662 - DEBUG - Created port d8de8701-c361-4439-8a1a-fb332b3a061c 2025-10-23 10:15:42,771 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/d8de8701-c361-4439-8a1a-fb332b3a061c 2025-10-23 10:15:43,117 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/d8de8701-c361-4439-8a1a-fb332b3a061c 2025-10-23 10:15:43,152 - INFO - VMI d8de8701-c361-4439-8a1a-fb332b3a061c verification in API Server passed 2025-10-23 10:15:43,248 - DEBUG - Response for delete_port : () 2025-10-23 10:15:43,248 - INFO - Deleted port d8de8701-c361-4439-8a1a-fb332b3a061c 2025-10-23 10:15:43,249 - INFO - Deleting VN ctest-vn-34515275 2025-10-23 10:15:43,362 - DEBUG - Response for deleting network () 2025-10-23 10:15:43,616 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 10:15:43,616 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-23 10:15:43,616 - INFO - -------------------------------------------------------------------------------- 2025-10-23 10:15:43,618 - INFO - ================================================================================ 2025-10-23 10:15:43,619 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-23 10:15:43,619 - 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-23 10:15:43,913 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-10-23 10:15:43,913 - INFO - Initial checks done. Running the testcase now 2025-10-23 10:15:43,913 - INFO - 2025-10-23 10:15:44,101 - DEBUG - Response for create_network : {'network': {'id': 'ca8335fb-6caf-454b-80f5-ce52797eabad', 'name': 'ctest-vn1-42648893', 'tenant_id': '6836450b4c4047ebbed1bcd77f32ff12', 'project_id': '6836450b4c4047ebbed1bcd77f32ff12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12480743', 'ctest-vn1-42648893'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:15:44,298 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd14a645-2d3b-44b0-b1ee-a775058302dd', 'name': '', 'tenant_id': '6836450b4c4047ebbed1bcd77f32ff12', 'network_id': 'ca8335fb-6caf-454b-80f5-ce52797eabad', 'ip_version': 4, 'cidr': '199.20.38.192/26', 'allocation_pools': [{'start': '199.20.38.194', 'end': '199.20.38.254'}], 'gateway_ip': '199.20.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.20.38.194', 'tags': [], 'project_id': '6836450b4c4047ebbed1bcd77f32ff12'}} 2025-10-23 10:15:44,484 - DEBUG - Response for create_subnet : {'subnet': {'id': '79e70ef0-51f0-4cea-ba24-93c983f50e3f', 'name': '', 'tenant_id': '6836450b4c4047ebbed1bcd77f32ff12', 'network_id': 'ca8335fb-6caf-454b-80f5-ce52797eabad', 'ip_version': 4, 'cidr': '23.136.90.128/26', 'allocation_pools': [{'start': '23.136.90.130', 'end': '23.136.90.190'}], 'gateway_ip': '23.136.90.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.136.90.130', 'tags': [], 'project_id': '6836450b4c4047ebbed1bcd77f32ff12'}} 2025-10-23 10:15:44,505 - INFO - Created VN ctest-vn1-42648893 2025-10-23 10:15:44,559 - DEBUG - VN ctest-vn1-42648893 UUID is ca8335fb-6caf-454b-80f5-ce52797eabad 2025-10-23 10:15:44,908 - DEBUG - Response for create_port : {'port': {'name': '35131d4d-6820-486e-bd74-08d58ce14db6', 'id': '35131d4d-6820-486e-bd74-08d58ce14db6', 'tenant_id': '6836450b4c4047ebbed1bcd77f32ff12', 'network_id': 'ca8335fb-6caf-454b-80f5-ce52797eabad', 'mac_address': '02:35:13:1d:4d:68', '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': '199.20.38.197', 'subnet_id': 'bd14a645-2d3b-44b0-b1ee-a775058302dd'}], 'security_groups': ['0ce3183b-3a2e-4c99-ab49-30ef2b9f6517'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6836450b4c4047ebbed1bcd77f32ff12'}} 2025-10-23 10:15:45,103 - DEBUG - Response for create_port : {'port': {'name': '83b59b2b-7a3b-4478-8d27-ba8bb82cc20b', 'id': '83b59b2b-7a3b-4478-8d27-ba8bb82cc20b', 'tenant_id': '6836450b4c4047ebbed1bcd77f32ff12', 'network_id': 'ca8335fb-6caf-454b-80f5-ce52797eabad', 'mac_address': '02:83:b5:9b:2b:7a', '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': '23.136.90.133', 'subnet_id': '79e70ef0-51f0-4cea-ba24-93c983f50e3f'}], 'security_groups': ['0ce3183b-3a2e-4c99-ab49-30ef2b9f6517'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6836450b4c4047ebbed1bcd77f32ff12'}} 2025-10-23 10:15:45,161 - DEBUG - Services list from nova: [, , ] 2025-10-23 10:15:45,525 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4455-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4455-1) 2025-10-23 10:15:45,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4455-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4455-1) 2025-10-23 10:15:45,953 - INFO - Waiting for VM ctest-vn1-vm1-66322461 to be up.. 2025-10-23 10:15:45,999 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 10:15:51,086 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:15:51,086 - INFO - VM name : ctest-vn1-vm1-66322461 2025-10-23 10:15:51,167 - DEBUG - VM ctest-vn1-vm1-66322461 ID is 568e4a31-a299-400b-b2e3-98ff955391d6 2025-10-23 10:15:51,190 - DEBUG - VM ctest-vn1-vm1-66322461 launched on Node cn-jenkins-deploy-platform-ansible-os-4455-1 2025-10-23 10:15:51,317 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/568e4a31-a299-400b-b2e3-98ff955391d6 2025-10-23 10:15:51,328 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/35131d4d-6820-486e-bd74-08d58ce14db6 2025-10-23 10:15:54,601 - 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 1022ms') 2025-10-23 10:15:54,601 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66322461 failed! 2025-10-23 10:15:54,659 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12480743:ctest-vn1-42648893 is 199.20.38.193 and allocation pool is NOT set 2025-10-23 10:15:54,659 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12480743:ctest-vn1-42648893 is 23.136.90.129 and allocation pool is NOT set 2025-10-23 10:15:58,726 - 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=4.18 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 = 4.182/4.182/4.182/0.000 ms') 2025-10-23 10:15:58,726 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66322461 passed 2025-10-23 10:15:58,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:15:58,879 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66322461, IP 199.20.38.197, Port 22 2025-10-23 10:15:59,045 - DEBUG - VM ctest-vn1-vm1-66322461 is ready for SSH connections 2025-10-23 10:15:59,045 - INFO - Waiting for VM ctest-vn1-vm2-92367019 to be up.. 2025-10-23 10:15:59,125 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:15:59,125 - INFO - VM name : ctest-vn1-vm2-92367019 2025-10-23 10:15:59,201 - DEBUG - VM ctest-vn1-vm2-92367019 ID is 637bb4e0-e9cf-42ef-b52b-2e7c7aade997 2025-10-23 10:15:59,202 - DEBUG - VM ctest-vn1-vm2-92367019 launched on Node cn-jenkins-deploy-platform-ansible-os-4455-1 2025-10-23 10:15:59,278 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/637bb4e0-e9cf-42ef-b52b-2e7c7aade997 2025-10-23 10:15:59,288 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/83b59b2b-7a3b-4478-8d27-ba8bb82cc20b 2025-10-23 10:16:00,533 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.525 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.525/1.867/3.210/1.342 ms') 2025-10-23 10:16:00,533 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-92367019 passed 2025-10-23 10:16:00,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:16:00,687 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-92367019, IP 23.136.90.133, Port 22 2025-10-23 10:16:00,842 - DEBUG - VM ctest-vn1-vm2-92367019 is ready for SSH connections 2025-10-23 10:16:00,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:16:00,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:16:00,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:16:00,843 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.20.38.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-23 10:16:00,843 - DEBUG - ping -s 56 -c 3 -W 1 199.20.38.197 2025-10-23 10:16:03,558 - DEBUG - PING 199.20.38.197 (199.20.38.197): 56 data bytes 64 bytes from 199.20.38.197: seq=0 ttl=63 time=4.394 ms 64 bytes from 199.20.38.197: seq=1 ttl=63 time=0.925 ms 64 bytes from 199.20.38.197: seq=2 ttl=63 time=0.928 ms --- 199.20.38.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.925/2.082/4.394 ms 2025-10-23 10:16:03,558 - INFO - Ping to IP 199.20.38.197 from VM ctest-vn1-vm2-92367019 passed 2025-10-23 10:16:03,558 - INFO - Detaching port 83b59b2b-7a3b-4478-8d27-ba8bb82cc20b from VM ctest-vn1-vm2-92367019 2025-10-23 10:16:03,617 - INFO - Deleting VM ctest-vn1-vm2-92367019 2025-10-23 10:16:03,697 - INFO - Detaching port 35131d4d-6820-486e-bd74-08d58ce14db6 from VM ctest-vn1-vm1-66322461 2025-10-23 10:16:03,737 - INFO - Deleting VM ctest-vn1-vm1-66322461 2025-10-23 10:16:03,983 - DEBUG - Response for delete_port : () 2025-10-23 10:16:04,150 - DEBUG - Response for delete_port : () 2025-10-23 10:16:04,151 - INFO - Deleting VN ctest-vn1-42648893 2025-10-23 10:16:04,324 - DEBUG - Response for deleting network () 2025-10-23 10:16:04,590 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 10:16:04,590 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-23 10:16:04,590 - INFO - -------------------------------------------------------------------------------- 2025-10-23 10:16:05,451 - INFO - Deleted project: ctest-TestPorts-12480743, ID : 6836450b-4c40-47eb-bed1-bcd77f32ff12