2025-08-30 22:19:36,709 - INFO - Domain Default found not creating 2025-08-30 22:19:36,926 - INFO - Project ctest-TestPorts-05983111 not found, creating it 2025-08-30 22:19:37,418 - INFO - Created Project:ctest-TestPorts-05983111, ID : aa21b6ef-b4cd-4a01-80e0-dfebda6ac622 2025-08-30 22:19:39,223 - INFO - ================================================================================ 2025-08-30 22:19:39,223 - INFO - STARTING TEST : test_ports_bindings 2025-08-30 22:19:39,224 - 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-30 22:19:39,551 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-08-30 22:19:39,551 - INFO - Initial checks done. Running the testcase now 2025-08-30 22:19:39,551 - INFO - 2025-08-30 22:19:40,355 - DEBUG - Response for create_network : {'network': {'id': '29256838-1bea-4e7a-bfc4-3ab56f4552bf', 'name': 'ctest-vn-12601294', 'tenant_id': 'aa21b6efb4cd4a0180e0dfebda6ac622', 'project_id': 'aa21b6efb4cd4a0180e0dfebda6ac622', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05983111', 'ctest-vn-12601294'], 'port_security_enabled': True, 'description': ''}} 2025-08-30 22:19:40,546 - DEBUG - Response for create_subnet : {'subnet': {'id': '677865d7-d095-44b0-bea2-e84ae8c8c665', 'name': '', 'tenant_id': 'aa21b6efb4cd4a0180e0dfebda6ac622', 'network_id': '29256838-1bea-4e7a-bfc4-3ab56f4552bf', 'ip_version': 4, 'cidr': '156.2.11.0/26', 'allocation_pools': [{'start': '156.2.11.2', 'end': '156.2.11.62'}], 'gateway_ip': '156.2.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.2.11.2', 'tags': [], 'project_id': 'aa21b6efb4cd4a0180e0dfebda6ac622'}} 2025-08-30 22:19:40,562 - INFO - Created VN ctest-vn-12601294 2025-08-30 22:19:40,617 - DEBUG - VN ctest-vn-12601294 UUID is 29256838-1bea-4e7a-bfc4-3ab56f4552bf 2025-08-30 22:19:40,786 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-05983111', 'ctest-vmi-71661453']} 2025-08-30 22:19:41,213 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-71661453', 'id': 'e1fe7544-329f-4217-b8fc-4499a6c80c49', 'tenant_id': 'aa21b6efb4cd4a0180e0dfebda6ac622', 'network_id': '29256838-1bea-4e7a-bfc4-3ab56f4552bf', 'mac_address': '02:e1:fe:75:44:32', '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': '156.2.11.3', 'subnet_id': '677865d7-d095-44b0-bea2-e84ae8c8c665'}], 'security_groups': ['701d7ed4-aa30-4080-ab59-c5160a133983'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'aa21b6efb4cd4a0180e0dfebda6ac622'}} 2025-08-30 22:19:41,213 - DEBUG - Created port e1fe7544-329f-4217-b8fc-4499a6c80c49 2025-08-30 22:19:41,337 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e1fe7544-329f-4217-b8fc-4499a6c80c49 2025-08-30 22:19:41,701 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e1fe7544-329f-4217-b8fc-4499a6c80c49 2025-08-30 22:19:41,770 - INFO - VMI e1fe7544-329f-4217-b8fc-4499a6c80c49 verification in API Server passed 2025-08-30 22:19:41,997 - DEBUG - Response for delete_port : () 2025-08-30 22:19:41,998 - INFO - Deleted port e1fe7544-329f-4217-b8fc-4499a6c80c49 2025-08-30 22:19:41,998 - INFO - Deleting VN ctest-vn-12601294 2025-08-30 22:19:42,166 - DEBUG - Response for deleting network () 2025-08-30 22:19:42,480 - DEBUG - No XMPP flaps were noticed during the test 2025-08-30 22:19:42,481 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-30 22:19:42,481 - INFO - -------------------------------------------------------------------------------- 2025-08-30 22:19:42,486 - INFO - ================================================================================ 2025-08-30 22:19:42,486 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-30 22:19:42,486 - 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-30 22:19:42,819 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-08-30 22:19:42,819 - INFO - Initial checks done. Running the testcase now 2025-08-30 22:19:42,819 - INFO - 2025-08-30 22:19:43,179 - DEBUG - Response for create_network : {'network': {'id': '53319a55-60c9-4927-973a-95df3854ce99', 'name': 'ctest-vn1-01931575', 'tenant_id': 'aa21b6efb4cd4a0180e0dfebda6ac622', 'project_id': 'aa21b6efb4cd4a0180e0dfebda6ac622', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05983111', 'ctest-vn1-01931575'], 'port_security_enabled': True, 'description': ''}} 2025-08-30 22:19:43,454 - DEBUG - Response for create_subnet : {'subnet': {'id': '553fa24c-963f-4c34-8c7d-ca717b6150d4', 'name': '', 'tenant_id': 'aa21b6efb4cd4a0180e0dfebda6ac622', 'network_id': '53319a55-60c9-4927-973a-95df3854ce99', 'ip_version': 4, 'cidr': '186.119.55.0/26', 'allocation_pools': [{'start': '186.119.55.2', 'end': '186.119.55.62'}], 'gateway_ip': '186.119.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.119.55.2', 'tags': [], 'project_id': 'aa21b6efb4cd4a0180e0dfebda6ac622'}} 2025-08-30 22:19:43,754 - DEBUG - Response for create_subnet : {'subnet': {'id': '7442b3e7-239f-4b6f-9cad-43ed6ad2445a', 'name': '', 'tenant_id': 'aa21b6efb4cd4a0180e0dfebda6ac622', 'network_id': '53319a55-60c9-4927-973a-95df3854ce99', 'ip_version': 4, 'cidr': '9.156.155.192/26', 'allocation_pools': [{'start': '9.156.155.194', 'end': '9.156.155.254'}], 'gateway_ip': '9.156.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.156.155.194', 'tags': [], 'project_id': 'aa21b6efb4cd4a0180e0dfebda6ac622'}} 2025-08-30 22:19:43,790 - INFO - Created VN ctest-vn1-01931575 2025-08-30 22:19:43,845 - DEBUG - VN ctest-vn1-01931575 UUID is 53319a55-60c9-4927-973a-95df3854ce99 2025-08-30 22:19:44,380 - DEBUG - Response for create_port : {'port': {'name': '4c262996-83f0-44ca-af06-560ca9d3a38f', 'id': '4c262996-83f0-44ca-af06-560ca9d3a38f', 'tenant_id': 'aa21b6efb4cd4a0180e0dfebda6ac622', 'network_id': '53319a55-60c9-4927-973a-95df3854ce99', 'mac_address': '02:4c:26:29:96:83', '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': '186.119.55.5', 'subnet_id': '553fa24c-963f-4c34-8c7d-ca717b6150d4'}], 'security_groups': ['701d7ed4-aa30-4080-ab59-c5160a133983'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'aa21b6efb4cd4a0180e0dfebda6ac622'}} 2025-08-30 22:19:44,638 - DEBUG - Response for create_port : {'port': {'name': '5178d4c4-827c-41a1-8a0f-b06bda96f9d0', 'id': '5178d4c4-827c-41a1-8a0f-b06bda96f9d0', 'tenant_id': 'aa21b6efb4cd4a0180e0dfebda6ac622', 'network_id': '53319a55-60c9-4927-973a-95df3854ce99', 'mac_address': '02:51:78:d4:c4:82', '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': '9.156.155.197', 'subnet_id': '7442b3e7-239f-4b6f-9cad-43ed6ad2445a'}], 'security_groups': ['701d7ed4-aa30-4080-ab59-c5160a133983'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'aa21b6efb4cd4a0180e0dfebda6ac622'}} 2025-08-30 22:19:44,710 - DEBUG - Services list from nova: [, , ] 2025-08-30 22:19:45,509 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3984-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3984-1) 2025-08-30 22:19:46,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3984-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3984-1) 2025-08-30 22:19:46,160 - INFO - Waiting for VM ctest-vn1-vm1-73420480 to be up.. 2025-08-30 22:19:46,252 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-30 22:19:51,458 - DEBUG - VM is in ACTIVE state now 2025-08-30 22:19:51,459 - INFO - VM name : ctest-vn1-vm1-73420480 2025-08-30 22:19:51,570 - DEBUG - VM ctest-vn1-vm1-73420480 ID is fbc61799-b58d-4fbe-b927-ba2f714da1fd 2025-08-30 22:19:51,607 - DEBUG - VM ctest-vn1-vm1-73420480 launched on Node cn-jenkins-deploy-platform-ansible-os-3984-1 2025-08-30 22:19:51,761 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/fbc61799-b58d-4fbe-b927-ba2f714da1fd 2025-08-30 22:19:51,779 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4c262996-83f0-44ca-af06-560ca9d3a38f 2025-08-30 22:19:55,104 - 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 1020ms') 2025-08-30 22:19:55,105 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73420480 failed! 2025-08-30 22:19:55,177 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05983111:ctest-vn1-01931575 is 186.119.55.1 and allocation pool is NOT set 2025-08-30 22:19:55,178 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05983111:ctest-vn1-01931575 is 9.156.155.193 and allocation pool is NOT set 2025-08-30 22:19:59,271 - 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 1023ms') 2025-08-30 22:19:59,271 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73420480 failed! 2025-08-30 22:19:59,345 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05983111:ctest-vn1-01931575 is 186.119.55.1 and allocation pool is NOT set 2025-08-30 22:19:59,346 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05983111:ctest-vn1-01931575 is 9.156.155.193 and allocation pool is NOT set 2025-08-30 22:20:01,427 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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.099/5.239/9.380/4.140 ms') 2025-08-30 22:20:01,427 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73420480 passed 2025-08-30 22:20:01,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 22:20:01,613 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73420480, IP 186.119.55.5, Port 22 2025-08-30 22:20:01,809 - DEBUG - VM ctest-vn1-vm1-73420480 is ready for SSH connections 2025-08-30 22:20:01,809 - INFO - Waiting for VM ctest-vn1-vm2-45669836 to be up.. 2025-08-30 22:20:01,941 - DEBUG - VM is in ACTIVE state now 2025-08-30 22:20:01,941 - INFO - VM name : ctest-vn1-vm2-45669836 2025-08-30 22:20:02,069 - DEBUG - VM ctest-vn1-vm2-45669836 ID is ea9b4fe2-10be-4c22-8877-b75b045f8cb6 2025-08-30 22:20:02,069 - DEBUG - VM ctest-vn1-vm2-45669836 launched on Node cn-jenkins-deploy-platform-ansible-os-3984-1 2025-08-30 22:20:02,175 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ea9b4fe2-10be-4c22-8877-b75b045f8cb6 2025-08-30 22:20:02,187 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5178d4c4-827c-41a1-8a0f-b06bda96f9d0 2025-08-30 22:20:03,455 - 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=2.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.03 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 = 1.032/1.897/2.763/0.865 ms') 2025-08-30 22:20:03,455 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45669836 passed 2025-08-30 22:20:03,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 22:20:03,629 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45669836, IP 9.156.155.197, Port 22 2025-08-30 22:20:03,815 - DEBUG - VM ctest-vn1-vm2-45669836 is ready for SSH connections 2025-08-30 22:20:03,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 22:20:03,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 22:20:03,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 22:20:03,815 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.119.55.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-30 22:20:03,815 - DEBUG - ping -s 56 -c 3 -W 1 186.119.55.5 2025-08-30 22:20:06,750 - DEBUG - PING 186.119.55.5 (186.119.55.5): 56 data bytes 64 bytes from 186.119.55.5: seq=0 ttl=63 time=4.524 ms 64 bytes from 186.119.55.5: seq=1 ttl=63 time=1.502 ms 64 bytes from 186.119.55.5: seq=2 ttl=63 time=1.497 ms --- 186.119.55.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.497/2.507/4.524 ms 2025-08-30 22:20:06,750 - INFO - Ping to IP 186.119.55.5 from VM ctest-vn1-vm2-45669836 passed 2025-08-30 22:20:06,750 - INFO - Detaching port 5178d4c4-827c-41a1-8a0f-b06bda96f9d0 from VM ctest-vn1-vm2-45669836 2025-08-30 22:20:06,876 - INFO - Deleting VM ctest-vn1-vm2-45669836 2025-08-30 22:20:07,017 - INFO - Detaching port 4c262996-83f0-44ca-af06-560ca9d3a38f from VM ctest-vn1-vm1-73420480 2025-08-30 22:20:07,085 - INFO - Deleting VM ctest-vn1-vm1-73420480 2025-08-30 22:20:07,506 - DEBUG - Response for delete_port : () 2025-08-30 22:20:07,652 - DEBUG - Response for delete_port : () 2025-08-30 22:20:07,653 - INFO - Deleting VN ctest-vn1-01931575 2025-08-30 22:20:07,783 - DEBUG - Response for deleting network () 2025-08-30 22:20:08,055 - DEBUG - No XMPP flaps were noticed during the test 2025-08-30 22:20:08,055 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26] 2025-08-30 22:20:08,055 - INFO - -------------------------------------------------------------------------------- 2025-08-30 22:20:08,914 - INFO - Deleted project: ctest-TestPorts-05983111, ID : aa21b6ef-b4cd-4a01-80e0-dfebda6ac622