2025-07-30 12:18:30,234 - INFO - Domain Default found not creating 2025-07-30 12:18:30,374 - INFO - Project ctest-TestPorts-00142372 not found, creating it 2025-07-30 12:18:30,837 - INFO - Created Project:ctest-TestPorts-00142372, ID : 9625b327-73b4-45dc-ba55-6d110af1a12b 2025-07-30 12:18:32,254 - INFO - ================================================================================ 2025-07-30 12:18:32,254 - INFO - STARTING TEST : test_ports_bindings 2025-07-30 12:18:32,254 - 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-07-30 12:18:32,515 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-07-30 12:18:32,515 - INFO - Initial checks done. Running the testcase now 2025-07-30 12:18:32,515 - INFO - 2025-07-30 12:18:33,051 - DEBUG - Response for create_network : {'network': {'id': '1b1f2934-9595-4694-b35c-064a5bd1fd11', 'name': 'ctest-vn-81010756', 'tenant_id': '9625b32773b445dcba556d110af1a12b', 'project_id': '9625b32773b445dcba556d110af1a12b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00142372', 'ctest-vn-81010756'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 12:18:33,233 - DEBUG - Response for create_subnet : {'subnet': {'id': '2022ac8a-4261-485b-8d0c-a80f7b99f4b7', 'name': '', 'tenant_id': '9625b32773b445dcba556d110af1a12b', 'network_id': '1b1f2934-9595-4694-b35c-064a5bd1fd11', 'ip_version': 4, 'cidr': '181.247.47.0/26', 'allocation_pools': [{'start': '181.247.47.2', 'end': '181.247.47.62'}], 'gateway_ip': '181.247.47.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.247.47.2', 'tags': [], 'project_id': '9625b32773b445dcba556d110af1a12b'}} 2025-07-30 12:18:33,376 - INFO - Created VN ctest-vn-81010756 2025-07-30 12:18:33,428 - DEBUG - VN ctest-vn-81010756 UUID is 1b1f2934-9595-4694-b35c-064a5bd1fd11 2025-07-30 12:18:33,540 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-00142372', 'ctest-vmi-07636196']} 2025-07-30 12:18:33,785 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07636196', 'id': '01d40566-a3d6-42c6-8ef4-686b9398600e', 'tenant_id': '9625b32773b445dcba556d110af1a12b', 'network_id': '1b1f2934-9595-4694-b35c-064a5bd1fd11', 'mac_address': '02:01:d4:05:66:a3', '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': '181.247.47.3', 'subnet_id': '2022ac8a-4261-485b-8d0c-a80f7b99f4b7'}], 'security_groups': ['a28f2cd0-1616-449e-a0f0-2d951110465a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9625b32773b445dcba556d110af1a12b'}} 2025-07-30 12:18:33,785 - DEBUG - Created port 01d40566-a3d6-42c6-8ef4-686b9398600e 2025-07-30 12:18:33,892 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/01d40566-a3d6-42c6-8ef4-686b9398600e 2025-07-30 12:18:34,185 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/01d40566-a3d6-42c6-8ef4-686b9398600e 2025-07-30 12:18:34,220 - INFO - VMI 01d40566-a3d6-42c6-8ef4-686b9398600e verification in API Server passed 2025-07-30 12:18:34,308 - DEBUG - Response for delete_port : () 2025-07-30 12:18:34,308 - INFO - Deleted port 01d40566-a3d6-42c6-8ef4-686b9398600e 2025-07-30 12:18:34,308 - INFO - Deleting VN ctest-vn-81010756 2025-07-30 12:18:34,413 - DEBUG - Response for deleting network () 2025-07-30 12:18:34,679 - DEBUG - No XMPP flaps were noticed during the test
2025-07-30 12:18:34,679 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-07-30 12:18:34,679 - INFO - -------------------------------------------------------------------------------- 2025-07-30 12:18:34,682 - INFO - ================================================================================ 2025-07-30 12:18:34,682 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-30 12:18:34,682 - 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-07-30 12:18:34,966 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-07-30 12:18:34,966 - INFO - Initial checks done. Running the testcase now 2025-07-30 12:18:34,967 - INFO - 2025-07-30 12:18:35,140 - DEBUG - Response for create_network : {'network': {'id': '6a162f13-53ab-4a27-b9ac-11a8bc6d80da', 'name': 'ctest-vn1-30941531', 'tenant_id': '9625b32773b445dcba556d110af1a12b', 'project_id': '9625b32773b445dcba556d110af1a12b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00142372', 'ctest-vn1-30941531'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 12:18:35,303 - DEBUG - Response for create_subnet : {'subnet': {'id': '50a38ef5-0547-486e-905f-aa0628daf9e5', 'name': '', 'tenant_id': '9625b32773b445dcba556d110af1a12b', 'network_id': '6a162f13-53ab-4a27-b9ac-11a8bc6d80da', 'ip_version': 4, 'cidr': '177.35.64.128/26', 'allocation_pools': [{'start': '177.35.64.130', 'end': '177.35.64.190'}], 'gateway_ip': '177.35.64.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.35.64.130', 'tags': [], 'project_id': '9625b32773b445dcba556d110af1a12b'}} 2025-07-30 12:18:35,451 - DEBUG - Response for create_subnet : {'subnet': {'id': '57ab9065-3e01-487e-8e55-224284b44f32', 'name': '', 'tenant_id': '9625b32773b445dcba556d110af1a12b', 'network_id': '6a162f13-53ab-4a27-b9ac-11a8bc6d80da', 'ip_version': 4, 'cidr': '14.251.35.0/26', 'allocation_pools': [{'start': '14.251.35.2', 'end': '14.251.35.62'}], 'gateway_ip': '14.251.35.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.251.35.2', 'tags': [], 'project_id': '9625b32773b445dcba556d110af1a12b'}} 2025-07-30 12:18:35,478 - INFO - Created VN ctest-vn1-30941531 2025-07-30 12:18:35,532 - DEBUG - VN ctest-vn1-30941531 UUID is 6a162f13-53ab-4a27-b9ac-11a8bc6d80da 2025-07-30 12:18:35,848 - DEBUG - Response for create_port : {'port': {'name': 'cf6e1012-0681-413d-97b2-939cdba3f534', 'id': 'cf6e1012-0681-413d-97b2-939cdba3f534', 'tenant_id': '9625b32773b445dcba556d110af1a12b', 'network_id': '6a162f13-53ab-4a27-b9ac-11a8bc6d80da', 'mac_address': '02:cf:6e:10:12:06', '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': '177.35.64.133', 'subnet_id': '50a38ef5-0547-486e-905f-aa0628daf9e5'}], 'security_groups': ['a28f2cd0-1616-449e-a0f0-2d951110465a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9625b32773b445dcba556d110af1a12b'}} 2025-07-30 12:18:36,035 - DEBUG - Response for create_port : {'port': {'name': 'd3a5836a-81b3-49e8-acac-db74ed2acd95', 'id': 'd3a5836a-81b3-49e8-acac-db74ed2acd95', 'tenant_id': '9625b32773b445dcba556d110af1a12b', 'network_id': '6a162f13-53ab-4a27-b9ac-11a8bc6d80da', 'mac_address': '02:d3:a5:83:6a:81', '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.251.35.5', 'subnet_id': '57ab9065-3e01-487e-8e55-224284b44f32'}], 'security_groups': ['a28f2cd0-1616-449e-a0f0-2d951110465a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9625b32773b445dcba556d110af1a12b'}} 2025-07-30 12:18:36,088 - DEBUG - Services list from nova: [, , ] 2025-07-30 12:18:36,410 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3723-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3723-1) 2025-07-30 12:18:36,787 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3723-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3723-1) 2025-07-30 12:18:36,787 - INFO - Waiting for VM ctest-vn1-vm1-93287395 to be up.. 2025-07-30 12:18:36,831 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-30 12:18:41,958 - DEBUG - VM is in ACTIVE state now 2025-07-30 12:18:41,958 - INFO - VM name : ctest-vn1-vm1-93287395 2025-07-30 12:18:42,028 - DEBUG - VM ctest-vn1-vm1-93287395 ID is 4b0ce427-ae25-4fe3-a318-8e8f47440ba8 2025-07-30 12:18:42,045 - DEBUG - VM ctest-vn1-vm1-93287395 launched on Node cn-jenkins-deploy-platform-ansible-os-3723-1 2025-07-30 12:18:42,113 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4b0ce427-ae25-4fe3-a318-8e8f47440ba8 2025-07-30 12:18:42,122 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cf6e1012-0681-413d-97b2-939cdba3f534 2025-07-30 12:18:45,368 - 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-07-30 12:18:45,368 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93287395 failed! 2025-07-30 12:18:45,424 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00142372:ctest-vn1-30941531 is 177.35.64.129 and allocation pool is NOT set 2025-07-30 12:18:45,425 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00142372:ctest-vn1-30941531 is 14.251.35.1 and allocation pool is NOT set 2025-07-30 12:18:47,493 - 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=4.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.757 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.757/2.667/4.577/1.910 ms') 2025-07-30 12:18:47,494 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93287395 passed 2025-07-30 12:18:47,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 12:18:47,649 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-93287395, IP 177.35.64.133, Port 22 2025-07-30 12:18:47,804 - DEBUG - VM ctest-vn1-vm1-93287395 is ready for SSH connections 2025-07-30 12:18:47,804 - INFO - Waiting for VM ctest-vn1-vm2-17798164 to be up.. 2025-07-30 12:18:47,874 - DEBUG - VM is in ACTIVE state now 2025-07-30 12:18:47,874 - INFO - VM name : ctest-vn1-vm2-17798164 2025-07-30 12:18:47,951 - DEBUG - VM ctest-vn1-vm2-17798164 ID is 66e27575-e8c1-42e2-a4a9-716b81759df0 2025-07-30 12:18:47,951 - DEBUG - VM ctest-vn1-vm2-17798164 launched on Node cn-jenkins-deploy-platform-ansible-os-3723-1 2025-07-30 12:18:48,024 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/66e27575-e8c1-42e2-a4a9-716b81759df0 2025-07-30 12:18:48,035 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d3a5836a-81b3-49e8-acac-db74ed2acd95 2025-07-30 12:18:49,283 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.36 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 = 2.357/3.049/3.741/0.692 ms') 2025-07-30 12:18:49,283 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17798164 passed 2025-07-30 12:18:49,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 12:18:49,437 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17798164, IP 14.251.35.5, Port 22 2025-07-30 12:18:49,593 - DEBUG - VM ctest-vn1-vm2-17798164 is ready for SSH connections 2025-07-30 12:18:49,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 12:18:49,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 12:18:49,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 12:18:49,593 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.35.64.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-30 12:18:49,593 - DEBUG - ping -s 56 -c 3 -W 1 177.35.64.133 2025-07-30 12:18:52,237 - DEBUG - PING 177.35.64.133 (177.35.64.133): 56 data bytes 64 bytes from 177.35.64.133: seq=0 ttl=63 time=5.579 ms 64 bytes from 177.35.64.133: seq=1 ttl=63 time=0.775 ms 64 bytes from 177.35.64.133: seq=2 ttl=63 time=0.727 ms --- 177.35.64.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.727/2.360/5.579 ms 2025-07-30 12:18:52,237 - INFO - Ping to IP 177.35.64.133 from VM ctest-vn1-vm2-17798164 passed 2025-07-30 12:18:52,237 - INFO - Detaching port d3a5836a-81b3-49e8-acac-db74ed2acd95 from VM ctest-vn1-vm2-17798164 2025-07-30 12:18:52,293 - INFO - Deleting VM ctest-vn1-vm2-17798164 2025-07-30 12:18:52,363 - INFO - Detaching port cf6e1012-0681-413d-97b2-939cdba3f534 from VM ctest-vn1-vm1-93287395 2025-07-30 12:18:52,394 - INFO - Deleting VM ctest-vn1-vm1-93287395 2025-07-30 12:18:52,609 - DEBUG - Response for delete_port : () 2025-07-30 12:18:52,776 - DEBUG - Response for delete_port : () 2025-07-30 12:18:52,776 - INFO - Deleting VN ctest-vn1-30941531 2025-07-30 12:18:52,917 - DEBUG - Response for deleting network () 2025-07-30 12:18:53,173 - DEBUG - No XMPP flaps were noticed during the test
2025-07-30 12:18:53,173 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-07-30 12:18:53,173 - INFO - -------------------------------------------------------------------------------- 2025-07-30 12:18:53,856 - INFO - Deleted project: ctest-TestPorts-00142372, ID : 9625b327-73b4-45dc-ba55-6d110af1a12b