2025-10-21 21:00:18,824 - INFO - Domain Default found not creating 2025-10-21 21:00:18,977 - INFO - Project ctest-TestPorts-17805579 not found, creating it 2025-10-21 21:00:19,442 - INFO - Created Project:ctest-TestPorts-17805579, ID : 1b76afcd-b742-45fa-9f44-e16eefffdabb 2025-10-21 21:00:20,898 - INFO - ================================================================================ 2025-10-21 21:00:20,898 - INFO - STARTING TEST : test_ports_bindings 2025-10-21 21:00:20,898 - 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-21 21:00:21,150 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-10-21 21:00:21,150 - INFO - Initial checks done. Running the testcase now 2025-10-21 21:00:21,150 - INFO - 2025-10-21 21:00:21,717 - DEBUG - Response for create_network : {'network': {'id': 'c91cee83-3cd6-4bb2-8413-25360ede7d04', 'name': 'ctest-vn-99285813', 'tenant_id': '1b76afcdb74245fa9f44e16eefffdabb', 'project_id': '1b76afcdb74245fa9f44e16eefffdabb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17805579', 'ctest-vn-99285813'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:00:21,923 - DEBUG - Response for create_subnet : {'subnet': {'id': '260b35c0-88e5-4c1b-bd7d-8632aac45876', 'name': '', 'tenant_id': '1b76afcdb74245fa9f44e16eefffdabb', 'network_id': 'c91cee83-3cd6-4bb2-8413-25360ede7d04', 'ip_version': 4, 'cidr': '221.25.210.0/26', 'allocation_pools': [{'start': '221.25.210.2', 'end': '221.25.210.62'}], 'gateway_ip': '221.25.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.25.210.2', 'tags': [], 'project_id': '1b76afcdb74245fa9f44e16eefffdabb'}} 2025-10-21 21:00:21,943 - INFO - Created VN ctest-vn-99285813 2025-10-21 21:00:21,997 - DEBUG - VN ctest-vn-99285813 UUID is c91cee83-3cd6-4bb2-8413-25360ede7d04 2025-10-21 21:00:22,103 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-17805579', 'ctest-vmi-74364798']} 2025-10-21 21:00:22,345 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-74364798', 'id': 'a62e0895-012d-445f-bf1e-0e66689ea344', 'tenant_id': '1b76afcdb74245fa9f44e16eefffdabb', 'network_id': 'c91cee83-3cd6-4bb2-8413-25360ede7d04', 'mac_address': '02:a6:2e:08:95:01', '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': '221.25.210.3', 'subnet_id': '260b35c0-88e5-4c1b-bd7d-8632aac45876'}], 'security_groups': ['28ea7969-ffd8-42ef-a1ee-4e9b4010e11d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1b76afcdb74245fa9f44e16eefffdabb'}} 2025-10-21 21:00:22,345 - DEBUG - Created port a62e0895-012d-445f-bf1e-0e66689ea344 2025-10-21 21:00:22,449 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a62e0895-012d-445f-bf1e-0e66689ea344 2025-10-21 21:00:22,742 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a62e0895-012d-445f-bf1e-0e66689ea344 2025-10-21 21:00:22,774 - INFO - VMI a62e0895-012d-445f-bf1e-0e66689ea344 verification in API Server passed 2025-10-21 21:00:22,872 - DEBUG - Response for delete_port : () 2025-10-21 21:00:22,872 - INFO - Deleted port a62e0895-012d-445f-bf1e-0e66689ea344 2025-10-21 21:00:22,872 - INFO - Deleting VN ctest-vn-99285813 2025-10-21 21:00:22,984 - DEBUG - Response for deleting network () 2025-10-21 21:00:23,250 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 21:00:23,250 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-21 21:00:23,251 - INFO - -------------------------------------------------------------------------------- 2025-10-21 21:00:23,253 - INFO - ================================================================================ 2025-10-21 21:00:23,253 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-21 21:00:23,253 - 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-21 21:00:23,539 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-10-21 21:00:23,539 - INFO - Initial checks done. Running the testcase now 2025-10-21 21:00:23,539 - INFO - 2025-10-21 21:00:23,722 - DEBUG - Response for create_network : {'network': {'id': 'f1c075b0-3687-47ba-b103-372f3caca72d', 'name': 'ctest-vn1-88728626', 'tenant_id': '1b76afcdb74245fa9f44e16eefffdabb', 'project_id': '1b76afcdb74245fa9f44e16eefffdabb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17805579', 'ctest-vn1-88728626'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:00:23,883 - DEBUG - Response for create_subnet : {'subnet': {'id': '582fe598-dd6c-46d1-b1e2-83eca5270edb', 'name': '', 'tenant_id': '1b76afcdb74245fa9f44e16eefffdabb', 'network_id': 'f1c075b0-3687-47ba-b103-372f3caca72d', 'ip_version': 4, 'cidr': '5.222.179.192/26', 'allocation_pools': [{'start': '5.222.179.194', 'end': '5.222.179.254'}], 'gateway_ip': '5.222.179.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.222.179.194', 'tags': [], 'project_id': '1b76afcdb74245fa9f44e16eefffdabb'}} 2025-10-21 21:00:24,113 - DEBUG - Response for create_subnet : {'subnet': {'id': '82e42761-32cf-482d-a75c-a7ae6004276d', 'name': '', 'tenant_id': '1b76afcdb74245fa9f44e16eefffdabb', 'network_id': 'f1c075b0-3687-47ba-b103-372f3caca72d', 'ip_version': 4, 'cidr': '87.188.112.192/26', 'allocation_pools': [{'start': '87.188.112.194', 'end': '87.188.112.254'}], 'gateway_ip': '87.188.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.188.112.194', 'tags': [], 'project_id': '1b76afcdb74245fa9f44e16eefffdabb'}} 2025-10-21 21:00:24,133 - INFO - Created VN ctest-vn1-88728626 2025-10-21 21:00:24,185 - DEBUG - VN ctest-vn1-88728626 UUID is f1c075b0-3687-47ba-b103-372f3caca72d 2025-10-21 21:00:24,492 - DEBUG - Response for create_port : {'port': {'name': '94aada79-9b3a-4aff-8112-99e84f7858b5', 'id': '94aada79-9b3a-4aff-8112-99e84f7858b5', 'tenant_id': '1b76afcdb74245fa9f44e16eefffdabb', 'network_id': 'f1c075b0-3687-47ba-b103-372f3caca72d', 'mac_address': '02:94:aa:da:79:9b', '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': '5.222.179.197', 'subnet_id': '582fe598-dd6c-46d1-b1e2-83eca5270edb'}], 'security_groups': ['28ea7969-ffd8-42ef-a1ee-4e9b4010e11d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1b76afcdb74245fa9f44e16eefffdabb'}} 2025-10-21 21:00:24,667 - DEBUG - Response for create_port : {'port': {'name': 'a8725366-76fc-4f05-b109-a1b8db2a4677', 'id': 'a8725366-76fc-4f05-b109-a1b8db2a4677', 'tenant_id': '1b76afcdb74245fa9f44e16eefffdabb', 'network_id': 'f1c075b0-3687-47ba-b103-372f3caca72d', 'mac_address': '02:a8:72:53:66:76', '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': '87.188.112.197', 'subnet_id': '82e42761-32cf-482d-a75c-a7ae6004276d'}], 'security_groups': ['28ea7969-ffd8-42ef-a1ee-4e9b4010e11d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1b76afcdb74245fa9f44e16eefffdabb'}} 2025-10-21 21:00:24,722 - DEBUG - Services list from nova: [, , ] 2025-10-21 21:00:25,069 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4407-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4407-1) 2025-10-21 21:00:25,470 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4407-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4407-1) 2025-10-21 21:00:25,470 - INFO - Waiting for VM ctest-vn1-vm1-83364566 to be up.. 2025-10-21 21:00:25,516 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 21:00:30,595 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:00:30,595 - INFO - VM name : ctest-vn1-vm1-83364566 2025-10-21 21:00:30,671 - DEBUG - VM ctest-vn1-vm1-83364566 ID is 7b43bcaa-2cdf-4e49-a0e8-5d3518bdc23b 2025-10-21 21:00:30,692 - DEBUG - VM ctest-vn1-vm1-83364566 launched on Node cn-jenkins-deploy-platform-ansible-os-4407-1 2025-10-21 21:00:30,778 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/7b43bcaa-2cdf-4e49-a0e8-5d3518bdc23b 2025-10-21 21:00:30,788 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/94aada79-9b3a-4aff-8112-99e84f7858b5 2025-10-21 21:00:34,033 - 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 1015ms') 2025-10-21 21:00:34,033 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83364566 failed! 2025-10-21 21:00:34,089 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17805579:ctest-vn1-88728626 is 5.222.179.193 and allocation pool is NOT set 2025-10-21 21:00:34,089 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17805579:ctest-vn1-88728626 is 87.188.112.193 and allocation pool is NOT set 2025-10-21 21:00:38,162 - 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=7.41 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 7.413/7.413/7.413/0.000 ms') 2025-10-21 21:00:38,162 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83364566 passed 2025-10-21 21:00:38,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:00:38,322 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83364566, IP 5.222.179.197, Port 22 2025-10-21 21:00:38,499 - DEBUG - VM ctest-vn1-vm1-83364566 is ready for SSH connections 2025-10-21 21:00:38,499 - INFO - Waiting for VM ctest-vn1-vm2-58893115 to be up.. 2025-10-21 21:00:38,576 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:00:38,577 - INFO - VM name : ctest-vn1-vm2-58893115 2025-10-21 21:00:38,654 - DEBUG - VM ctest-vn1-vm2-58893115 ID is ec7bea49-96c9-482b-8dd3-1211e086c92a 2025-10-21 21:00:38,654 - DEBUG - VM ctest-vn1-vm2-58893115 launched on Node cn-jenkins-deploy-platform-ansible-os-4407-1 2025-10-21 21:00:38,725 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ec7bea49-96c9-482b-8dd3-1211e086c92a 2025-10-21 21:00:38,734 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a8725366-76fc-4f05-b109-a1b8db2a4677 2025-10-21 21:00:39,972 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/1.763/3.121/1.357 ms') 2025-10-21 21:00:39,972 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-58893115 passed 2025-10-21 21:00:40,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:00:40,125 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-58893115, IP 87.188.112.197, Port 22 2025-10-21 21:00:40,285 - DEBUG - VM ctest-vn1-vm2-58893115 is ready for SSH connections 2025-10-21 21:00:40,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:00:40,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:00:40,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:00:40,285 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.222.179.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-21 21:00:40,285 - DEBUG - ping -s 56 -c 3 -W 1 5.222.179.197 2025-10-21 21:00:42,942 - DEBUG - PING 5.222.179.197 (5.222.179.197): 56 data bytes 64 bytes from 5.222.179.197: seq=0 ttl=63 time=3.819 ms 64 bytes from 5.222.179.197: seq=1 ttl=63 time=1.041 ms 64 bytes from 5.222.179.197: seq=2 ttl=63 time=1.142 ms --- 5.222.179.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.041/2.000/3.819 ms 2025-10-21 21:00:42,942 - INFO - Ping to IP 5.222.179.197 from VM ctest-vn1-vm2-58893115 passed 2025-10-21 21:00:42,942 - INFO - Detaching port a8725366-76fc-4f05-b109-a1b8db2a4677 from VM ctest-vn1-vm2-58893115 2025-10-21 21:00:42,995 - INFO - Deleting VM ctest-vn1-vm2-58893115 2025-10-21 21:00:43,071 - INFO - Detaching port 94aada79-9b3a-4aff-8112-99e84f7858b5 from VM ctest-vn1-vm1-83364566 2025-10-21 21:00:43,116 - INFO - Deleting VM ctest-vn1-vm1-83364566 2025-10-21 21:00:43,342 - DEBUG - Response for delete_port : () 2025-10-21 21:00:43,498 - DEBUG - Response for delete_port : () 2025-10-21 21:00:43,498 - INFO - Deleting VN ctest-vn1-88728626 2025-10-21 21:00:43,619 - DEBUG - Response for deleting network () 2025-10-21 21:00:43,879 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 21:00:43,879 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-10-21 21:00:43,879 - INFO - -------------------------------------------------------------------------------- 2025-10-21 21:00:44,568 - INFO - Deleted project: ctest-TestPorts-17805579, ID : 1b76afcd-b742-45fa-9f44-e16eefffdabb