2025-08-28 17:54:52,829 - INFO - Domain Default found not creating 2025-08-28 17:54:53,110 - INFO - Project ctest-TestPorts-17828596 not found, creating it 2025-08-28 17:54:53,874 - INFO - Created Project:ctest-TestPorts-17828596, ID : a6f1e4f3-9c5e-4019-a592-3d3c0940f2f4 2025-08-28 17:54:55,990 - INFO - ================================================================================ 2025-08-28 17:54:55,990 - INFO - STARTING TEST : test_ports_bindings 2025-08-28 17:54:55,990 - 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-28 17:54:56,320 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-08-28 17:54:56,321 - INFO - Initial checks done. Running the testcase now 2025-08-28 17:54:56,321 - INFO - 2025-08-28 17:54:57,134 - DEBUG - Response for create_network : {'network': {'id': '81b339d4-9318-4389-9b39-c292f5931570', 'name': 'ctest-vn-45784797', 'tenant_id': 'a6f1e4f39c5e4019a5923d3c0940f2f4', 'project_id': 'a6f1e4f39c5e4019a5923d3c0940f2f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17828596', 'ctest-vn-45784797'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:54:57,382 - DEBUG - Response for create_subnet : {'subnet': {'id': '008051ec-836c-4862-8ad7-53ed177effe2', 'name': '', 'tenant_id': 'a6f1e4f39c5e4019a5923d3c0940f2f4', 'network_id': '81b339d4-9318-4389-9b39-c292f5931570', 'ip_version': 4, 'cidr': '221.198.235.64/26', 'allocation_pools': [{'start': '221.198.235.66', 'end': '221.198.235.126'}], 'gateway_ip': '221.198.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.198.235.66', 'tags': [], 'project_id': 'a6f1e4f39c5e4019a5923d3c0940f2f4'}} 2025-08-28 17:54:57,411 - INFO - Created VN ctest-vn-45784797 2025-08-28 17:54:57,468 - DEBUG - VN ctest-vn-45784797 UUID is 81b339d4-9318-4389-9b39-c292f5931570 2025-08-28 17:54:57,618 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-17828596', 'ctest-vmi-07557725']} 2025-08-28 17:54:57,962 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07557725', 'id': '70b37318-3c45-42ac-a496-22e95b240cbd', 'tenant_id': 'a6f1e4f39c5e4019a5923d3c0940f2f4', 'network_id': '81b339d4-9318-4389-9b39-c292f5931570', 'mac_address': '02:70:b3:73:18:3c', '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.198.235.67', 'subnet_id': '008051ec-836c-4862-8ad7-53ed177effe2'}], 'security_groups': ['d25a89bc-e555-4055-adda-9124010d5c6a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a6f1e4f39c5e4019a5923d3c0940f2f4'}} 2025-08-28 17:54:57,962 - DEBUG - Created port 70b37318-3c45-42ac-a496-22e95b240cbd 2025-08-28 17:54:58,076 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/70b37318-3c45-42ac-a496-22e95b240cbd 2025-08-28 17:54:58,438 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/70b37318-3c45-42ac-a496-22e95b240cbd 2025-08-28 17:54:58,517 - INFO - VMI 70b37318-3c45-42ac-a496-22e95b240cbd verification in API Server passed 2025-08-28 17:54:58,695 - DEBUG - Response for delete_port : () 2025-08-28 17:54:58,696 - INFO - Deleted port 70b37318-3c45-42ac-a496-22e95b240cbd 2025-08-28 17:54:58,696 - INFO - Deleting VN ctest-vn-45784797 2025-08-28 17:54:58,835 - DEBUG - Response for deleting network () 2025-08-28 17:54:59,147 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 17:54:59,147 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-08-28 17:54:59,148 - INFO - -------------------------------------------------------------------------------- 2025-08-28 17:54:59,155 - INFO - ================================================================================ 2025-08-28 17:54:59,155 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-28 17:54:59,156 - 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-28 17:54:59,500 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-08-28 17:54:59,501 - INFO - Initial checks done. Running the testcase now 2025-08-28 17:54:59,501 - INFO - 2025-08-28 17:54:59,837 - DEBUG - Response for create_network : {'network': {'id': '697c5d0c-68ac-4ad1-bf9c-86bdeff0ea2e', 'name': 'ctest-vn1-46281161', 'tenant_id': 'a6f1e4f39c5e4019a5923d3c0940f2f4', 'project_id': 'a6f1e4f39c5e4019a5923d3c0940f2f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17828596', 'ctest-vn1-46281161'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:55:00,081 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b783b47-a9d4-4e78-b90b-cc2c144d9744', 'name': '', 'tenant_id': 'a6f1e4f39c5e4019a5923d3c0940f2f4', 'network_id': '697c5d0c-68ac-4ad1-bf9c-86bdeff0ea2e', 'ip_version': 4, 'cidr': '11.188.198.128/26', 'allocation_pools': [{'start': '11.188.198.130', 'end': '11.188.198.190'}], 'gateway_ip': '11.188.198.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.188.198.130', 'tags': [], 'project_id': 'a6f1e4f39c5e4019a5923d3c0940f2f4'}} 2025-08-28 17:55:00,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '081c051c-38a9-4f55-b75e-28519d48b192', 'name': '', 'tenant_id': 'a6f1e4f39c5e4019a5923d3c0940f2f4', 'network_id': '697c5d0c-68ac-4ad1-bf9c-86bdeff0ea2e', 'ip_version': 4, 'cidr': '109.20.146.192/26', 'allocation_pools': [{'start': '109.20.146.194', 'end': '109.20.146.254'}], 'gateway_ip': '109.20.146.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.20.146.194', 'tags': [], 'project_id': 'a6f1e4f39c5e4019a5923d3c0940f2f4'}} 2025-08-28 17:55:00,372 - INFO - Created VN ctest-vn1-46281161 2025-08-28 17:55:00,424 - DEBUG - VN ctest-vn1-46281161 UUID is 697c5d0c-68ac-4ad1-bf9c-86bdeff0ea2e 2025-08-28 17:55:00,851 - DEBUG - Response for create_port : {'port': {'name': '7571efc3-ccda-492d-92b1-76a3be7ce7df', 'id': '7571efc3-ccda-492d-92b1-76a3be7ce7df', 'tenant_id': 'a6f1e4f39c5e4019a5923d3c0940f2f4', 'network_id': '697c5d0c-68ac-4ad1-bf9c-86bdeff0ea2e', 'mac_address': '02:75:71:ef:c3:cc', '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': '11.188.198.133', 'subnet_id': '0b783b47-a9d4-4e78-b90b-cc2c144d9744'}], 'security_groups': ['d25a89bc-e555-4055-adda-9124010d5c6a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a6f1e4f39c5e4019a5923d3c0940f2f4'}} 2025-08-28 17:55:01,076 - DEBUG - Response for create_port : {'port': {'name': '6fbfd0b1-c7c9-4f0b-8ea4-0725cb6f88a4', 'id': '6fbfd0b1-c7c9-4f0b-8ea4-0725cb6f88a4', 'tenant_id': 'a6f1e4f39c5e4019a5923d3c0940f2f4', 'network_id': '697c5d0c-68ac-4ad1-bf9c-86bdeff0ea2e', 'mac_address': '02:6f:bf:d0:b1:c7', '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': '109.20.146.197', 'subnet_id': '081c051c-38a9-4f55-b75e-28519d48b192'}], 'security_groups': ['d25a89bc-e555-4055-adda-9124010d5c6a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a6f1e4f39c5e4019a5923d3c0940f2f4'}} 2025-08-28 17:55:01,149 - DEBUG - Services list from nova: [, , ] 2025-08-28 17:55:01,754 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3964-1) 2025-08-28 17:55:02,178 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3964-1) 2025-08-28 17:55:02,178 - INFO - Waiting for VM ctest-vn1-vm1-31046492 to be up.. 2025-08-28 17:55:02,227 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 17:55:07,389 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:55:07,389 - INFO - VM name : ctest-vn1-vm1-31046492 2025-08-28 17:55:07,519 - DEBUG - VM ctest-vn1-vm1-31046492 ID is ff8c3fc6-14b2-4c9f-a382-e0cb37e24aec 2025-08-28 17:55:07,544 - DEBUG - VM ctest-vn1-vm1-31046492 launched on Node cn-jenkins-deploy-platform-ansible-os-3964-1 2025-08-28 17:55:07,638 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ff8c3fc6-14b2-4c9f-a382-e0cb37e24aec 2025-08-28 17:55:07,656 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7571efc3-ccda-492d-92b1-76a3be7ce7df 2025-08-28 17:55:10,987 - 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 1032ms') 2025-08-28 17:55:10,987 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31046492 failed! 2025-08-28 17:55:11,065 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17828596:ctest-vn1-46281161 is 11.188.198.129 and allocation pool is NOT set 2025-08-28 17:55:11,065 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17828596:ctest-vn1-46281161 is 109.20.146.193 and allocation pool is NOT set 2025-08-28 17:55:15,148 - 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=32.5 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 32.472/32.472/32.472/0.000 ms') 2025-08-28 17:55:15,148 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31046492 passed 2025-08-28 17:55:15,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:55:15,321 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31046492, IP 11.188.198.133, Port 22 2025-08-28 17:55:15,527 - DEBUG - VM ctest-vn1-vm1-31046492 is ready for SSH connections 2025-08-28 17:55:15,527 - INFO - Waiting for VM ctest-vn1-vm2-25258407 to be up.. 2025-08-28 17:55:15,703 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:55:15,704 - INFO - VM name : ctest-vn1-vm2-25258407 2025-08-28 17:55:15,890 - DEBUG - VM ctest-vn1-vm2-25258407 ID is e3418fa0-6b90-4c3a-a10e-b449b06752a7 2025-08-28 17:55:15,891 - DEBUG - VM ctest-vn1-vm2-25258407 launched on Node cn-jenkins-deploy-platform-ansible-os-3964-1 2025-08-28 17:55:16,119 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/e3418fa0-6b90-4c3a-a10e-b449b06752a7 2025-08-28 17:55:16,139 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/6fbfd0b1-c7c9-4f0b-8ea4-0725cb6f88a4 2025-08-28 17:55:17,440 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.19 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 = 1.192/2.550/3.909/1.358 ms') 2025-08-28 17:55:17,440 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-25258407 passed 2025-08-28 17:55:17,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:55:17,629 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-25258407, IP 109.20.146.197, Port 22 2025-08-28 17:55:17,816 - DEBUG - VM ctest-vn1-vm2-25258407 is ready for SSH connections 2025-08-28 17:55:17,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:55:17,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:55:17,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:55:17,818 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.188.198.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-28 17:55:17,818 - DEBUG - ping -s 56 -c 3 -W 1 11.188.198.133 2025-08-28 17:55:20,935 - DEBUG - PING 11.188.198.133 (11.188.198.133): 56 data bytes 64 bytes from 11.188.198.133: seq=0 ttl=63 time=5.089 ms 64 bytes from 11.188.198.133: seq=1 ttl=63 time=2.326 ms 64 bytes from 11.188.198.133: seq=2 ttl=63 time=2.205 ms --- 11.188.198.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.205/3.206/5.089 ms 2025-08-28 17:55:20,935 - INFO - Ping to IP 11.188.198.133 from VM ctest-vn1-vm2-25258407 passed 2025-08-28 17:55:20,936 - INFO - Detaching port 6fbfd0b1-c7c9-4f0b-8ea4-0725cb6f88a4 from VM ctest-vn1-vm2-25258407 2025-08-28 17:55:21,082 - INFO - Deleting VM ctest-vn1-vm2-25258407 2025-08-28 17:55:21,249 - INFO - Detaching port 7571efc3-ccda-492d-92b1-76a3be7ce7df from VM ctest-vn1-vm1-31046492 2025-08-28 17:55:21,326 - INFO - Deleting VM ctest-vn1-vm1-31046492 2025-08-28 17:55:21,669 - DEBUG - Response for delete_port : () 2025-08-28 17:55:21,862 - DEBUG - Response for delete_port : () 2025-08-28 17:55:21,863 - INFO - Deleting VN ctest-vn1-46281161 2025-08-28 17:55:21,996 - DEBUG - Response for deleting network () 2025-08-28 17:55:22,289 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 17:55:22,289 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-08-28 17:55:22,290 - INFO - -------------------------------------------------------------------------------- 2025-08-28 17:55:23,087 - INFO - Deleted project: ctest-TestPorts-17828596, ID : a6f1e4f3-9c5e-4019-a592-3d3c0940f2f4