2025-08-12 16:32:57,937 - INFO - Domain Default found not creating 2025-08-12 16:32:58,053 - INFO - Project ctest-TestPorts-84926911 not found, creating it 2025-08-12 16:32:58,562 - INFO - Created Project:ctest-TestPorts-84926911, ID : ff6659a7-4d1e-4d8c-8d15-331b606f3256 2025-08-12 16:32:59,921 - INFO - ================================================================================ 2025-08-12 16:32:59,921 - INFO - STARTING TEST : test_ports_bindings 2025-08-12 16:32:59,921 - 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-08-12 16:33:00,174 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-12 16:33:00,175 - INFO - Initial checks done. Running the testcase now 2025-08-12 16:33:00,175 - INFO - 2025-08-12 16:33:00,685 - DEBUG - Response for create_network : {'network': {'id': 'f7f2c80f-da1f-4bf4-b87e-162a2f4a15e5', 'name': 'ctest-vn-94020512', 'tenant_id': 'ff6659a74d1e4d8c8d15331b606f3256', 'project_id': 'ff6659a74d1e4d8c8d15331b606f3256', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-84926911', 'ctest-vn-94020512'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 16:33:00,882 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ca83be6-6ab0-4ff5-99ea-68611c6ec0f1', 'name': '', 'tenant_id': 'ff6659a74d1e4d8c8d15331b606f3256', 'network_id': 'f7f2c80f-da1f-4bf4-b87e-162a2f4a15e5', 'ip_version': 4, 'cidr': '50.190.226.64/26', 'allocation_pools': [{'start': '50.190.226.66', 'end': '50.190.226.126'}], 'gateway_ip': '50.190.226.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.190.226.66', 'tags': [], 'project_id': 'ff6659a74d1e4d8c8d15331b606f3256'}} 2025-08-12 16:33:00,899 - INFO - Created VN ctest-vn-94020512 2025-08-12 16:33:00,954 - DEBUG - VN ctest-vn-94020512 UUID is f7f2c80f-da1f-4bf4-b87e-162a2f4a15e5 2025-08-12 16:33:01,048 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-84926911', 'ctest-vmi-22521493']} 2025-08-12 16:33:01,323 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-22521493', 'id': '31a83bc2-dfd3-4a22-8308-fb336ec5e108', 'tenant_id': 'ff6659a74d1e4d8c8d15331b606f3256', 'network_id': 'f7f2c80f-da1f-4bf4-b87e-162a2f4a15e5', 'mac_address': '02:31:a8:3b:c2:df', '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': '50.190.226.67', 'subnet_id': '1ca83be6-6ab0-4ff5-99ea-68611c6ec0f1'}], 'security_groups': ['15da644c-9666-41b0-8e33-398ec0dd3447'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ff6659a74d1e4d8c8d15331b606f3256'}} 2025-08-12 16:33:01,323 - DEBUG - Created port 31a83bc2-dfd3-4a22-8308-fb336ec5e108 2025-08-12 16:33:01,426 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/31a83bc2-dfd3-4a22-8308-fb336ec5e108 2025-08-12 16:33:01,712 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/31a83bc2-dfd3-4a22-8308-fb336ec5e108 2025-08-12 16:33:01,740 - INFO - VMI 31a83bc2-dfd3-4a22-8308-fb336ec5e108 verification in API Server passed 2025-08-12 16:33:01,820 - DEBUG - Response for delete_port : () 2025-08-12 16:33:01,820 - INFO - Deleted port 31a83bc2-dfd3-4a22-8308-fb336ec5e108 2025-08-12 16:33:01,820 - INFO - Deleting VN ctest-vn-94020512 2025-08-12 16:33:01,919 - DEBUG - Response for deleting network () 2025-08-12 16:33:02,178 - DEBUG - No XMPP flaps were noticed during the test 2025-08-12 16:33:02,178 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-12 16:33:02,178 - INFO - -------------------------------------------------------------------------------- 2025-08-12 16:33:02,181 - INFO - ================================================================================ 2025-08-12 16:33:02,181 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-12 16:33:02,181 - 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-08-12 16:33:02,467 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-12 16:33:02,467 - INFO - Initial checks done. Running the testcase now 2025-08-12 16:33:02,467 - INFO - 2025-08-12 16:33:02,622 - DEBUG - Response for create_network : {'network': {'id': '99ae7909-c9b2-4ca0-89d9-e7f79fa632c6', 'name': 'ctest-vn1-97856315', 'tenant_id': 'ff6659a74d1e4d8c8d15331b606f3256', 'project_id': 'ff6659a74d1e4d8c8d15331b606f3256', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-84926911', 'ctest-vn1-97856315'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 16:33:02,785 - DEBUG - Response for create_subnet : {'subnet': {'id': '729b8065-962a-4402-823c-0f2cfecb1f62', 'name': '', 'tenant_id': 'ff6659a74d1e4d8c8d15331b606f3256', 'network_id': '99ae7909-c9b2-4ca0-89d9-e7f79fa632c6', 'ip_version': 4, 'cidr': '71.90.215.128/26', 'allocation_pools': [{'start': '71.90.215.130', 'end': '71.90.215.190'}], 'gateway_ip': '71.90.215.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.90.215.130', 'tags': [], 'project_id': 'ff6659a74d1e4d8c8d15331b606f3256'}} 2025-08-12 16:33:02,924 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f0da895-f6a3-4c8f-8aff-420ed9f340ee', 'name': '', 'tenant_id': 'ff6659a74d1e4d8c8d15331b606f3256', 'network_id': '99ae7909-c9b2-4ca0-89d9-e7f79fa632c6', 'ip_version': 4, 'cidr': '27.167.111.128/26', 'allocation_pools': [{'start': '27.167.111.130', 'end': '27.167.111.190'}], 'gateway_ip': '27.167.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.167.111.130', 'tags': [], 'project_id': 'ff6659a74d1e4d8c8d15331b606f3256'}} 2025-08-12 16:33:02,940 - INFO - Created VN ctest-vn1-97856315 2025-08-12 16:33:02,990 - DEBUG - VN ctest-vn1-97856315 UUID is 99ae7909-c9b2-4ca0-89d9-e7f79fa632c6 2025-08-12 16:33:03,258 - DEBUG - Response for create_port : {'port': {'name': '3ddd2eb6-a8bb-4920-86c7-622c6ee00f98', 'id': '3ddd2eb6-a8bb-4920-86c7-622c6ee00f98', 'tenant_id': 'ff6659a74d1e4d8c8d15331b606f3256', 'network_id': '99ae7909-c9b2-4ca0-89d9-e7f79fa632c6', 'mac_address': '02:3d:dd:2e:b6:a8', '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': '71.90.215.133', 'subnet_id': '729b8065-962a-4402-823c-0f2cfecb1f62'}], 'security_groups': ['15da644c-9666-41b0-8e33-398ec0dd3447'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ff6659a74d1e4d8c8d15331b606f3256'}} 2025-08-12 16:33:03,420 - DEBUG - Response for create_port : {'port': {'name': 'f023e3ba-bb78-4c99-af4e-062e34bfdfc0', 'id': 'f023e3ba-bb78-4c99-af4e-062e34bfdfc0', 'tenant_id': 'ff6659a74d1e4d8c8d15331b606f3256', 'network_id': '99ae7909-c9b2-4ca0-89d9-e7f79fa632c6', 'mac_address': '02:f0:23:e3:ba:bb', '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': '27.167.111.133', 'subnet_id': '2f0da895-f6a3-4c8f-8aff-420ed9f340ee'}], 'security_groups': ['15da644c-9666-41b0-8e33-398ec0dd3447'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ff6659a74d1e4d8c8d15331b606f3256'}} 2025-08-12 16:33:03,467 - DEBUG - Services list from nova: [, , ] 2025-08-12 16:33:03,730 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3834-1) 2025-08-12 16:33:04,041 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3834-1) 2025-08-12 16:33:04,041 - INFO - Waiting for VM ctest-vn1-vm1-72589844 to be up.. 2025-08-12 16:33:04,072 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 16:33:09,142 - DEBUG - VM is in ACTIVE state now 2025-08-12 16:33:09,142 - INFO - VM name : ctest-vn1-vm1-72589844 2025-08-12 16:33:09,202 - DEBUG - VM ctest-vn1-vm1-72589844 ID is 36e4ce1d-86f8-4e6c-8f05-f86658c1815d 2025-08-12 16:33:09,219 - DEBUG - VM ctest-vn1-vm1-72589844 launched on Node cn-jenkins-deploy-platform-ansible-os-3834-1 2025-08-12 16:33:09,281 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/36e4ce1d-86f8-4e6c-8f05-f86658c1815d 2025-08-12 16:33:09,289 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3ddd2eb6-a8bb-4920-86c7-622c6ee00f98 2025-08-12 16:33:12,536 - 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 1012ms') 2025-08-12 16:33:12,536 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-72589844 failed! 2025-08-12 16:33:12,590 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-84926911:ctest-vn1-97856315 is 71.90.215.129 and allocation pool is NOT set 2025-08-12 16:33:12,590 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-84926911:ctest-vn1-97856315 is 27.167.111.129 and allocation pool is NOT set 2025-08-12 16:33:14,651 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.28 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 = 1.283/2.428/3.573/1.145 ms') 2025-08-12 16:33:14,651 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-72589844 passed 2025-08-12 16:33:14,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:33:14,806 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72589844, IP 71.90.215.133, Port 22 2025-08-12 16:33:14,956 - DEBUG - VM ctest-vn1-vm1-72589844 is ready for SSH connections 2025-08-12 16:33:14,957 - INFO - Waiting for VM ctest-vn1-vm2-67373811 to be up.. 2025-08-12 16:33:15,019 - DEBUG - VM is in ACTIVE state now 2025-08-12 16:33:15,019 - INFO - VM name : ctest-vn1-vm2-67373811 2025-08-12 16:33:15,079 - DEBUG - VM ctest-vn1-vm2-67373811 ID is 3d19504b-0713-4138-84be-1a87237bcdcd 2025-08-12 16:33:15,079 - DEBUG - VM ctest-vn1-vm2-67373811 launched on Node cn-jenkins-deploy-platform-ansible-os-3834-1 2025-08-12 16:33:15,140 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3d19504b-0713-4138-84be-1a87237bcdcd 2025-08-12 16:33:15,148 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f023e3ba-bb78-4c99-af4e-062e34bfdfc0 2025-08-12 16:33:16,380 - 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=2.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.324 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.324/1.456/2.588/1.132 ms') 2025-08-12 16:33:16,380 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-67373811 passed 2025-08-12 16:33:16,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:33:16,526 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-67373811, IP 27.167.111.133, Port 22 2025-08-12 16:33:16,677 - DEBUG - VM ctest-vn1-vm2-67373811 is ready for SSH connections 2025-08-12 16:33:16,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:33:16,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:33:16,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:33:16,677 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.90.215.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-12 16:33:16,677 - DEBUG - ping -s 56 -c 3 -W 1 71.90.215.133 2025-08-12 16:33:20,604 - DEBUG - PING 71.90.215.133 (71.90.215.133): 56 data bytes 64 bytes from 71.90.215.133: seq=0 ttl=63 time=3.451 ms 64 bytes from 71.90.215.133: seq=1 ttl=63 time=0.638 ms 64 bytes from 71.90.215.133: seq=2 ttl=63 time=0.605 ms --- 71.90.215.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.605/1.564/3.451 ms 2025-08-12 16:33:20,604 - INFO - Ping to IP 71.90.215.133 from VM ctest-vn1-vm2-67373811 passed 2025-08-12 16:33:20,604 - INFO - Detaching port f023e3ba-bb78-4c99-af4e-062e34bfdfc0 from VM ctest-vn1-vm2-67373811 2025-08-12 16:33:20,646 - INFO - Deleting VM ctest-vn1-vm2-67373811 2025-08-12 16:33:20,702 - INFO - Detaching port 3ddd2eb6-a8bb-4920-86c7-622c6ee00f98 from VM ctest-vn1-vm1-72589844 2025-08-12 16:33:20,728 - INFO - Deleting VM ctest-vn1-vm1-72589844 2025-08-12 16:33:20,903 - DEBUG - Response for delete_port : () 2025-08-12 16:33:21,046 - DEBUG - Response for delete_port : () 2025-08-12 16:33:21,046 - INFO - Deleting VN ctest-vn1-97856315 2025-08-12 16:33:21,166 - DEBUG - Response for deleting network () 2025-08-12 16:33:21,427 - DEBUG - No XMPP flaps were noticed during the test 2025-08-12 16:33:21,427 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-08-12 16:33:21,428 - INFO - -------------------------------------------------------------------------------- 2025-08-12 16:33:22,051 - INFO - Deleted project: ctest-TestPorts-84926911, ID : ff6659a7-4d1e-4d8c-8d15-331b606f3256