2025-10-30 13:48:55,004 - INFO - Domain Default found not creating 2025-10-30 13:48:55,144 - INFO - Project ctest-TestPorts-25515319 not found, creating it 2025-10-30 13:48:55,573 - INFO - Created Project:ctest-TestPorts-25515319, ID : ebaaacfe-0e7a-474d-b635-5a36ff9356b2 2025-10-30 13:48:57,242 - INFO - ================================================================================ 2025-10-30 13:48:57,242 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 13:48:57,242 - 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-30 13:48:57,498 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-10-30 13:48:57,498 - INFO - Initial checks done. Running the testcase now 2025-10-30 13:48:57,499 - INFO - 2025-10-30 13:48:58,016 - DEBUG - Response for create_network : {'network': {'id': 'd6daa785-d967-440e-b832-3923de680589', 'name': 'ctest-vn-14410519', 'tenant_id': 'ebaaacfe0e7a474db6355a36ff9356b2', 'project_id': 'ebaaacfe0e7a474db6355a36ff9356b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25515319', 'ctest-vn-14410519'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 13:48:58,341 - DEBUG - Response for create_subnet : {'subnet': {'id': '4226013a-9e67-402f-ba5d-435049bb9080', 'name': '', 'tenant_id': 'ebaaacfe0e7a474db6355a36ff9356b2', 'network_id': 'd6daa785-d967-440e-b832-3923de680589', 'ip_version': 4, 'cidr': '171.134.248.192/26', 'allocation_pools': [{'start': '171.134.248.194', 'end': '171.134.248.254'}], 'gateway_ip': '171.134.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.134.248.194', 'tags': [], 'project_id': 'ebaaacfe0e7a474db6355a36ff9356b2'}} 2025-10-30 13:48:58,357 - INFO - Created VN ctest-vn-14410519 2025-10-30 13:48:58,408 - DEBUG - VN ctest-vn-14410519 UUID is d6daa785-d967-440e-b832-3923de680589 2025-10-30 13:48:58,511 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-25515319', 'ctest-vmi-02073563']} 2025-10-30 13:48:58,772 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-02073563', 'id': 'f47c1256-287e-4a6d-af55-cedef7ca7e7c', 'tenant_id': 'ebaaacfe0e7a474db6355a36ff9356b2', 'network_id': 'd6daa785-d967-440e-b832-3923de680589', 'mac_address': '02:f4:7c:12:56:28', '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': '171.134.248.195', 'subnet_id': '4226013a-9e67-402f-ba5d-435049bb9080'}], 'security_groups': ['1e7a391d-ffaf-4560-9730-e2c27e7fc40e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ebaaacfe0e7a474db6355a36ff9356b2'}} 2025-10-30 13:48:58,772 - DEBUG - Created port f47c1256-287e-4a6d-af55-cedef7ca7e7c 2025-10-30 13:48:58,876 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/f47c1256-287e-4a6d-af55-cedef7ca7e7c 2025-10-30 13:48:59,165 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/f47c1256-287e-4a6d-af55-cedef7ca7e7c 2025-10-30 13:48:59,194 - INFO - VMI f47c1256-287e-4a6d-af55-cedef7ca7e7c verification in API Server passed 2025-10-30 13:48:59,277 - DEBUG - Response for delete_port : () 2025-10-30 13:48:59,277 - INFO - Deleted port f47c1256-287e-4a6d-af55-cedef7ca7e7c 2025-10-30 13:48:59,277 - INFO - Deleting VN ctest-vn-14410519 2025-10-30 13:48:59,364 - DEBUG - Response for deleting network () 2025-10-30 13:48:59,617 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 13:48:59,618 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-30 13:48:59,618 - INFO - -------------------------------------------------------------------------------- 2025-10-30 13:48:59,620 - INFO - ================================================================================ 2025-10-30 13:48:59,620 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 13:48:59,620 - 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-30 13:48:59,905 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-10-30 13:48:59,905 - INFO - Initial checks done. Running the testcase now 2025-10-30 13:48:59,905 - INFO - 2025-10-30 13:49:00,069 - DEBUG - Response for create_network : {'network': {'id': '82871b48-15d3-49e4-a150-4b97203a5d9f', 'name': 'ctest-vn1-26654767', 'tenant_id': 'ebaaacfe0e7a474db6355a36ff9356b2', 'project_id': 'ebaaacfe0e7a474db6355a36ff9356b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25515319', 'ctest-vn1-26654767'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 13:49:00,272 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a198fb3a-680d-463e-af6a-8aa295183a84', 'name': '', 'tenant_id': 'ebaaacfe0e7a474db6355a36ff9356b2', 'network_id': '82871b48-15d3-49e4-a150-4b97203a5d9f', 'ip_version': 4, 'cidr': '111.92.235.64/26', 'allocation_pools': [{'start': '111.92.235.66', 'end': '111.92.235.126'}], 'gateway_ip': '111.92.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.92.235.66', 'tags': [], 'project_id': 'ebaaacfe0e7a474db6355a36ff9356b2'}} 2025-10-30 13:49:00,483 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a20ebff-2ae7-40bc-9acb-587df0313e2e', 'name': '', 'tenant_id': 'ebaaacfe0e7a474db6355a36ff9356b2', 'network_id': '82871b48-15d3-49e4-a150-4b97203a5d9f', 'ip_version': 4, 'cidr': '202.41.45.128/26', 'allocation_pools': [{'start': '202.41.45.130', 'end': '202.41.45.190'}], 'gateway_ip': '202.41.45.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.41.45.130', 'tags': [], 'project_id': 'ebaaacfe0e7a474db6355a36ff9356b2'}} 2025-10-30 13:49:00,501 - INFO - Created VN ctest-vn1-26654767 2025-10-30 13:49:00,552 - DEBUG - VN ctest-vn1-26654767 UUID is 82871b48-15d3-49e4-a150-4b97203a5d9f 2025-10-30 13:49:00,853 - DEBUG - Response for create_port : {'port': {'name': 'ab05070a-1c27-4894-b8a2-c88829437a40', 'id': 'ab05070a-1c27-4894-b8a2-c88829437a40', 'tenant_id': 'ebaaacfe0e7a474db6355a36ff9356b2', 'network_id': '82871b48-15d3-49e4-a150-4b97203a5d9f', 'mac_address': '02:ab:05:07:0a:1c', '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': '111.92.235.69', 'subnet_id': 'a198fb3a-680d-463e-af6a-8aa295183a84'}], 'security_groups': ['1e7a391d-ffaf-4560-9730-e2c27e7fc40e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ebaaacfe0e7a474db6355a36ff9356b2'}} 2025-10-30 13:49:01,032 - DEBUG - Response for create_port : {'port': {'name': 'f6480c61-2c9a-4464-9a21-a6b2c650d879', 'id': 'f6480c61-2c9a-4464-9a21-a6b2c650d879', 'tenant_id': 'ebaaacfe0e7a474db6355a36ff9356b2', 'network_id': '82871b48-15d3-49e4-a150-4b97203a5d9f', 'mac_address': '02:f6:48:0c:61:2c', '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': '202.41.45.133', 'subnet_id': '1a20ebff-2ae7-40bc-9acb-587df0313e2e'}], 'security_groups': ['1e7a391d-ffaf-4560-9730-e2c27e7fc40e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ebaaacfe0e7a474db6355a36ff9356b2'}} 2025-10-30 13:49:01,083 - DEBUG - Services list from nova: [, , ] 2025-10-30 13:49:01,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4543-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4543-1) 2025-10-30 13:49:01,799 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4543-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4543-1) 2025-10-30 13:49:01,799 - INFO - Waiting for VM ctest-vn1-vm1-50888272 to be up.. 2025-10-30 13:49:01,841 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 13:49:06,909 - DEBUG - VM is in ACTIVE state now 2025-10-30 13:49:06,909 - INFO - VM name : ctest-vn1-vm1-50888272 2025-10-30 13:49:06,976 - DEBUG - VM ctest-vn1-vm1-50888272 ID is bc8e76cb-3363-4566-bb09-eb0c7c7285d2 2025-10-30 13:49:06,993 - DEBUG - VM ctest-vn1-vm1-50888272 launched on Node cn-jenkins-deploy-platform-ansible-os-4543-1 2025-10-30 13:49:07,057 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/bc8e76cb-3363-4566-bb09-eb0c7c7285d2 2025-10-30 13:49:07,065 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/ab05070a-1c27-4894-b8a2-c88829437a40 2025-10-30 13:49:10,311 - 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 1007ms') 2025-10-30 13:49:10,311 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50888272 failed! 2025-10-30 13:49:10,364 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25515319:ctest-vn1-26654767 is 111.92.235.65 and allocation pool is NOT set 2025-10-30 13:49:10,364 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25515319:ctest-vn1-26654767 is 202.41.45.129 and allocation pool is NOT set 2025-10-30 13:49:12,425 - 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=9.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.69 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 = 1.692/5.422/9.153/3.730 ms') 2025-10-30 13:49:12,425 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50888272 passed 2025-10-30 13:49:12,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 13:49:12,576 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50888272, IP 111.92.235.69, Port 22 2025-10-30 13:49:12,742 - DEBUG - VM ctest-vn1-vm1-50888272 is ready for SSH connections 2025-10-30 13:49:12,742 - INFO - Waiting for VM ctest-vn1-vm2-51904501 to be up.. 2025-10-30 13:49:12,824 - DEBUG - VM is in ACTIVE state now 2025-10-30 13:49:12,824 - INFO - VM name : ctest-vn1-vm2-51904501 2025-10-30 13:49:12,900 - DEBUG - VM ctest-vn1-vm2-51904501 ID is b3562259-52eb-46b8-9a9b-5d4abbbedc1f 2025-10-30 13:49:12,900 - DEBUG - VM ctest-vn1-vm2-51904501 launched on Node cn-jenkins-deploy-platform-ansible-os-4543-1 2025-10-30 13:49:12,966 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/b3562259-52eb-46b8-9a9b-5d4abbbedc1f 2025-10-30 13:49:12,973 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/f6480c61-2c9a-4464-9a21-a6b2c650d879 2025-10-30 13:49:14,209 - 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=5.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.451/2.753/5.055/2.302 ms') 2025-10-30 13:49:14,209 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-51904501 passed 2025-10-30 13:49:14,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 13:49:14,356 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-51904501, IP 202.41.45.133, Port 22 2025-10-30 13:49:14,511 - DEBUG - VM ctest-vn1-vm2-51904501 is ready for SSH connections 2025-10-30 13:49:14,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 13:49:14,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 13:49:14,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 13:49:14,512 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.92.235.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-30 13:49:14,512 - DEBUG - ping -s 56 -c 3 -W 1 111.92.235.69 2025-10-30 13:49:17,436 - DEBUG - PING 111.92.235.69 (111.92.235.69): 56 data bytes 64 bytes from 111.92.235.69: seq=0 ttl=63 time=3.986 ms 64 bytes from 111.92.235.69: seq=1 ttl=63 time=0.797 ms 64 bytes from 111.92.235.69: seq=2 ttl=63 time=0.900 ms --- 111.92.235.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.797/1.894/3.986 ms 2025-10-30 13:49:17,436 - INFO - Ping to IP 111.92.235.69 from VM ctest-vn1-vm2-51904501 passed 2025-10-30 13:49:17,436 - INFO - Detaching port f6480c61-2c9a-4464-9a21-a6b2c650d879 from VM ctest-vn1-vm2-51904501 2025-10-30 13:49:17,481 - INFO - Deleting VM ctest-vn1-vm2-51904501 2025-10-30 13:49:17,543 - INFO - Detaching port ab05070a-1c27-4894-b8a2-c88829437a40 from VM ctest-vn1-vm1-50888272 2025-10-30 13:49:17,578 - INFO - Deleting VM ctest-vn1-vm1-50888272 2025-10-30 13:49:17,762 - DEBUG - Response for delete_port : () 2025-10-30 13:49:17,908 - DEBUG - Response for delete_port : () 2025-10-30 13:49:17,908 - INFO - Deleting VN ctest-vn1-26654767 2025-10-30 13:49:18,021 - DEBUG - Response for deleting network () 2025-10-30 13:49:18,276 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 13:49:18,276 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-30 13:49:18,277 - INFO - -------------------------------------------------------------------------------- 2025-10-30 13:49:18,970 - INFO - Deleted project: ctest-TestPorts-25515319, ID : ebaaacfe-0e7a-474d-b635-5a36ff9356b2