2025-11-05 08:17:59,693 - INFO - Domain Default found not creating 2025-11-05 08:17:59,836 - INFO - Project ctest-TestPorts-84607564 not found, creating it 2025-11-05 08:18:00,274 - INFO - Created Project:ctest-TestPorts-84607564, ID : edc27abc-11a1-4336-89ec-e58f83ee5e79 2025-11-05 08:18:02,019 - INFO - ================================================================================ 2025-11-05 08:18:02,019 - INFO - STARTING TEST : test_ports_bindings 2025-11-05 08:18:02,019 - 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-11-05 08:18:02,285 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.193': '0'}} with 2025-11-05 08:18:02,285 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:18:02,285 - INFO - 2025-11-05 08:18:02,948 - DEBUG - Response for create_network : {'network': {'id': 'db5ef421-ceb2-4e12-b241-c911e23a2278', 'name': 'ctest-vn-62488203', 'tenant_id': 'edc27abc11a1433689ece58f83ee5e79', 'project_id': 'edc27abc11a1433689ece58f83ee5e79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-84607564', 'ctest-vn-62488203'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:18:03,112 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b5f4381-2ba9-4aa2-b7a4-0f4dd542aa36', 'name': '', 'tenant_id': 'edc27abc11a1433689ece58f83ee5e79', 'network_id': 'db5ef421-ceb2-4e12-b241-c911e23a2278', 'ip_version': 4, 'cidr': '41.76.204.192/26', 'allocation_pools': [{'start': '41.76.204.194', 'end': '41.76.204.254'}], 'gateway_ip': '41.76.204.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.76.204.194', 'tags': [], 'project_id': 'edc27abc11a1433689ece58f83ee5e79'}} 2025-11-05 08:18:03,129 - INFO - Created VN ctest-vn-62488203 2025-11-05 08:18:03,181 - DEBUG - VN ctest-vn-62488203 UUID is db5ef421-ceb2-4e12-b241-c911e23a2278 2025-11-05 08:18:03,283 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-84607564', 'ctest-vmi-77042654']} 2025-11-05 08:18:03,559 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-77042654', 'id': 'c5bb346d-a2e7-4c4a-9de0-c12b1bdbd69f', 'tenant_id': 'edc27abc11a1433689ece58f83ee5e79', 'network_id': 'db5ef421-ceb2-4e12-b241-c911e23a2278', 'mac_address': '02:c5:bb:34:6d:a2', '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': '41.76.204.195', 'subnet_id': '0b5f4381-2ba9-4aa2-b7a4-0f4dd542aa36'}], 'security_groups': ['f5d2c6a9-8225-4a66-b8cd-ed28c3455599'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'edc27abc11a1433689ece58f83ee5e79'}} 2025-11-05 08:18:03,559 - DEBUG - Created port c5bb346d-a2e7-4c4a-9de0-c12b1bdbd69f 2025-11-05 08:18:03,661 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/c5bb346d-a2e7-4c4a-9de0-c12b1bdbd69f 2025-11-05 08:18:03,962 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/c5bb346d-a2e7-4c4a-9de0-c12b1bdbd69f 2025-11-05 08:18:03,996 - INFO - VMI c5bb346d-a2e7-4c4a-9de0-c12b1bdbd69f verification in API Server passed 2025-11-05 08:18:04,098 - DEBUG - Response for delete_port : () 2025-11-05 08:18:04,098 - INFO - Deleted port c5bb346d-a2e7-4c4a-9de0-c12b1bdbd69f 2025-11-05 08:18:04,098 - INFO - Deleting VN ctest-vn-62488203 2025-11-05 08:18:04,209 - DEBUG - Response for deleting network () 2025-11-05 08:18:04,469 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 08:18:04,469 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-05 08:18:04,469 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:18:04,471 - INFO - ================================================================================ 2025-11-05 08:18:04,472 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-05 08:18:04,472 - 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-11-05 08:18:04,769 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.193': '0'}} with 2025-11-05 08:18:04,769 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:18:04,769 - INFO - 2025-11-05 08:18:04,936 - DEBUG - Response for create_network : {'network': {'id': 'dc5a6175-7636-4630-beb7-7afd001e05e9', 'name': 'ctest-vn1-76362087', 'tenant_id': 'edc27abc11a1433689ece58f83ee5e79', 'project_id': 'edc27abc11a1433689ece58f83ee5e79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-84607564', 'ctest-vn1-76362087'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:18:05,088 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ec1d1bb-8883-4567-9219-29422ce1e526', 'name': '', 'tenant_id': 'edc27abc11a1433689ece58f83ee5e79', 'network_id': 'dc5a6175-7636-4630-beb7-7afd001e05e9', 'ip_version': 4, 'cidr': '145.107.139.192/26', 'allocation_pools': [{'start': '145.107.139.194', 'end': '145.107.139.254'}], 'gateway_ip': '145.107.139.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.107.139.194', 'tags': [], 'project_id': 'edc27abc11a1433689ece58f83ee5e79'}} 2025-11-05 08:18:05,252 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0f66bc8-0d39-459a-8ab1-6450696afb95', 'name': '', 'tenant_id': 'edc27abc11a1433689ece58f83ee5e79', 'network_id': 'dc5a6175-7636-4630-beb7-7afd001e05e9', 'ip_version': 4, 'cidr': '15.72.196.192/26', 'allocation_pools': [{'start': '15.72.196.194', 'end': '15.72.196.254'}], 'gateway_ip': '15.72.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.72.196.194', 'tags': [], 'project_id': 'edc27abc11a1433689ece58f83ee5e79'}} 2025-11-05 08:18:05,270 - INFO - Created VN ctest-vn1-76362087 2025-11-05 08:18:05,321 - DEBUG - VN ctest-vn1-76362087 UUID is dc5a6175-7636-4630-beb7-7afd001e05e9 2025-11-05 08:18:05,624 - DEBUG - Response for create_port : {'port': {'name': '3d4444d3-e1d4-4447-94fd-777e7c097b86', 'id': '3d4444d3-e1d4-4447-94fd-777e7c097b86', 'tenant_id': 'edc27abc11a1433689ece58f83ee5e79', 'network_id': 'dc5a6175-7636-4630-beb7-7afd001e05e9', 'mac_address': '02:3d:44:44:d3:e1', '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': '145.107.139.197', 'subnet_id': '1ec1d1bb-8883-4567-9219-29422ce1e526'}], 'security_groups': ['f5d2c6a9-8225-4a66-b8cd-ed28c3455599'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'edc27abc11a1433689ece58f83ee5e79'}} 2025-11-05 08:18:05,812 - DEBUG - Response for create_port : {'port': {'name': 'b0450402-2440-43ed-8e24-46b9c1f6e681', 'id': 'b0450402-2440-43ed-8e24-46b9c1f6e681', 'tenant_id': 'edc27abc11a1433689ece58f83ee5e79', 'network_id': 'dc5a6175-7636-4630-beb7-7afd001e05e9', 'mac_address': '02:b0:45:04:02:24', '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': '15.72.196.197', 'subnet_id': 'd0f66bc8-0d39-459a-8ab1-6450696afb95'}], 'security_groups': ['f5d2c6a9-8225-4a66-b8cd-ed28c3455599'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'edc27abc11a1433689ece58f83ee5e79'}} 2025-11-05 08:18:05,870 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:18:06,239 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4633-1) 2025-11-05 08:18:06,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4633-1) 2025-11-05 08:18:06,608 - INFO - Waiting for VM ctest-vn1-vm1-32303112 to be up.. 2025-11-05 08:18:06,645 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:18:11,721 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:18:11,721 - INFO - VM name : ctest-vn1-vm1-32303112 2025-11-05 08:18:11,791 - DEBUG - VM ctest-vn1-vm1-32303112 ID is acf2b341-a507-4791-9e2a-201c0fbc717c 2025-11-05 08:18:11,809 - DEBUG - VM ctest-vn1-vm1-32303112 launched on Node cn-jenkins-deploy-platform-ansible-os-4633-1 2025-11-05 08:18:11,885 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/acf2b341-a507-4791-9e2a-201c0fbc717c 2025-11-05 08:18:11,892 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/3d4444d3-e1d4-4447-94fd-777e7c097b86 2025-11-05 08:18:15,127 - 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 1005ms') 2025-11-05 08:18:15,127 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32303112 failed! 2025-11-05 08:18:15,181 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-84607564:ctest-vn1-76362087 is 145.107.139.193 and allocation pool is NOT set 2025-11-05 08:18:15,181 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-84607564:ctest-vn1-76362087 is 15.72.196.193 and allocation pool is NOT set 2025-11-05 08:18:17,243 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.89 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.889/2.231/2.574/0.342 ms') 2025-11-05 08:18:17,243 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32303112 passed 2025-11-05 08:18:17,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:18:17,393 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-32303112, IP 145.107.139.197, Port 22 2025-11-05 08:18:17,552 - DEBUG - VM ctest-vn1-vm1-32303112 is ready for SSH connections 2025-11-05 08:18:17,552 - INFO - Waiting for VM ctest-vn1-vm2-97264176 to be up.. 2025-11-05 08:18:17,621 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:18:17,622 - INFO - VM name : ctest-vn1-vm2-97264176 2025-11-05 08:18:17,691 - DEBUG - VM ctest-vn1-vm2-97264176 ID is 2899d4aa-d788-486a-817c-3aaa5738cd1d 2025-11-05 08:18:17,692 - DEBUG - VM ctest-vn1-vm2-97264176 launched on Node cn-jenkins-deploy-platform-ansible-os-4633-1 2025-11-05 08:18:17,755 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2899d4aa-d788-486a-817c-3aaa5738cd1d 2025-11-05 08:18:17,764 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b0450402-2440-43ed-8e24-46b9c1f6e681 2025-11-05 08:18:18,997 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.548 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 = 0.548/2.150/3.753/1.602 ms') 2025-11-05 08:18:18,998 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-97264176 passed 2025-11-05 08:18:19,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:18:19,145 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-97264176, IP 15.72.196.197, Port 22 2025-11-05 08:18:19,307 - DEBUG - VM ctest-vn1-vm2-97264176 is ready for SSH connections 2025-11-05 08:18:19,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:18:19,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:18:19,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:18:19,307 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.107.139.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-05 08:18:19,308 - DEBUG - ping -s 56 -c 3 -W 1 145.107.139.197 2025-11-05 08:18:22,257 - DEBUG - PING 145.107.139.197 (145.107.139.197): 56 data bytes 64 bytes from 145.107.139.197: seq=0 ttl=63 time=3.977 ms 64 bytes from 145.107.139.197: seq=1 ttl=63 time=0.790 ms 64 bytes from 145.107.139.197: seq=2 ttl=63 time=0.814 ms --- 145.107.139.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.790/1.860/3.977 ms 2025-11-05 08:18:22,257 - INFO - Ping to IP 145.107.139.197 from VM ctest-vn1-vm2-97264176 passed 2025-11-05 08:18:22,257 - INFO - Detaching port b0450402-2440-43ed-8e24-46b9c1f6e681 from VM ctest-vn1-vm2-97264176 2025-11-05 08:18:22,307 - INFO - Deleting VM ctest-vn1-vm2-97264176 2025-11-05 08:18:22,370 - INFO - Detaching port 3d4444d3-e1d4-4447-94fd-777e7c097b86 from VM ctest-vn1-vm1-32303112 2025-11-05 08:18:22,409 - INFO - Deleting VM ctest-vn1-vm1-32303112 2025-11-05 08:18:22,626 - DEBUG - Response for delete_port : () 2025-11-05 08:18:22,785 - DEBUG - Response for delete_port : () 2025-11-05 08:18:22,785 - INFO - Deleting VN ctest-vn1-76362087 2025-11-05 08:18:22,927 - DEBUG - Response for deleting network () 2025-11-05 08:18:23,185 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 08:18:23,185 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-11-05 08:18:23,186 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:18:23,851 - INFO - Deleted project: ctest-TestPorts-84607564, ID : edc27abc-11a1-4336-89ec-e58f83ee5e79