2025-08-31 04:48:50,162 - INFO - Domain Default found not creating 2025-08-31 04:48:50,307 - INFO - Project ctest-TestPorts-92755408 not found, creating it 2025-08-31 04:48:50,727 - INFO - Created Project:ctest-TestPorts-92755408, ID : d277e9ab-d5e1-450d-bf20-45b42394e1e7 2025-08-31 04:48:52,145 - INFO - ================================================================================ 2025-08-31 04:48:52,145 - INFO - STARTING TEST : test_ports_bindings 2025-08-31 04:48:52,145 - 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-31 04:48:52,410 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-31 04:48:52,410 - INFO - Initial checks done. Running the testcase now 2025-08-31 04:48:52,410 - INFO - 2025-08-31 04:48:52,908 - DEBUG - Response for create_network : {'network': {'id': 'c0d4f7be-91a2-415a-82e2-ff393a40f2ad', 'name': 'ctest-vn-34145122', 'tenant_id': 'd277e9abd5e1450dbf2045b42394e1e7', 'project_id': 'd277e9abd5e1450dbf2045b42394e1e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-92755408', 'ctest-vn-34145122'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 04:48:53,095 - DEBUG - Response for create_subnet : {'subnet': {'id': '74d5dabb-018f-4427-9442-a9c5593c4f21', 'name': '', 'tenant_id': 'd277e9abd5e1450dbf2045b42394e1e7', 'network_id': 'c0d4f7be-91a2-415a-82e2-ff393a40f2ad', 'ip_version': 4, 'cidr': '135.40.109.128/26', 'allocation_pools': [{'start': '135.40.109.130', 'end': '135.40.109.190'}], 'gateway_ip': '135.40.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.40.109.130', 'tags': [], 'project_id': 'd277e9abd5e1450dbf2045b42394e1e7'}} 2025-08-31 04:48:53,112 - INFO - Created VN ctest-vn-34145122 2025-08-31 04:48:53,161 - DEBUG - VN ctest-vn-34145122 UUID is c0d4f7be-91a2-415a-82e2-ff393a40f2ad 2025-08-31 04:48:53,263 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-92755408', 'ctest-vmi-92054827']} 2025-08-31 04:48:53,527 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-92054827', 'id': '00f43bb4-156f-4b21-aed1-e284cc66b266', 'tenant_id': 'd277e9abd5e1450dbf2045b42394e1e7', 'network_id': 'c0d4f7be-91a2-415a-82e2-ff393a40f2ad', 'mac_address': '02:00:f4:3b:b4:15', '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': '135.40.109.131', 'subnet_id': '74d5dabb-018f-4427-9442-a9c5593c4f21'}], 'security_groups': ['4f152b33-93b8-4974-a834-8e66f2a01635'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd277e9abd5e1450dbf2045b42394e1e7'}} 2025-08-31 04:48:53,527 - DEBUG - Created port 00f43bb4-156f-4b21-aed1-e284cc66b266 2025-08-31 04:48:53,629 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/00f43bb4-156f-4b21-aed1-e284cc66b266 2025-08-31 04:48:53,922 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/00f43bb4-156f-4b21-aed1-e284cc66b266 2025-08-31 04:48:53,951 - INFO - VMI 00f43bb4-156f-4b21-aed1-e284cc66b266 verification in API Server passed 2025-08-31 04:48:54,035 - DEBUG - Response for delete_port : () 2025-08-31 04:48:54,035 - INFO - Deleted port 00f43bb4-156f-4b21-aed1-e284cc66b266 2025-08-31 04:48:54,035 - INFO - Deleting VN ctest-vn-34145122 2025-08-31 04:48:54,134 - DEBUG - Response for deleting network () 2025-08-31 04:48:54,405 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 04:48:54,405 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-31 04:48:54,405 - INFO - -------------------------------------------------------------------------------- 2025-08-31 04:48:54,408 - INFO - ================================================================================ 2025-08-31 04:48:54,408 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-31 04:48:54,408 - 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-31 04:48:54,686 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-31 04:48:54,686 - INFO - Initial checks done. Running the testcase now 2025-08-31 04:48:54,686 - INFO - 2025-08-31 04:48:54,840 - DEBUG - Response for create_network : {'network': {'id': '33e1023b-23a9-4726-acc1-76c7dd1e5c2a', 'name': 'ctest-vn1-10385734', 'tenant_id': 'd277e9abd5e1450dbf2045b42394e1e7', 'project_id': 'd277e9abd5e1450dbf2045b42394e1e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-92755408', 'ctest-vn1-10385734'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 04:48:54,983 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cce976d8-c814-42c6-af5a-03ac13647c8f', 'name': '', 'tenant_id': 'd277e9abd5e1450dbf2045b42394e1e7', 'network_id': '33e1023b-23a9-4726-acc1-76c7dd1e5c2a', 'ip_version': 4, 'cidr': '148.228.8.192/26', 'allocation_pools': [{'start': '148.228.8.194', 'end': '148.228.8.254'}], 'gateway_ip': '148.228.8.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.228.8.194', 'tags': [], 'project_id': 'd277e9abd5e1450dbf2045b42394e1e7'}} 2025-08-31 04:48:55,178 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e40e0aab-5905-43ec-a1f7-37636c4ab4c2', 'name': '', 'tenant_id': 'd277e9abd5e1450dbf2045b42394e1e7', 'network_id': '33e1023b-23a9-4726-acc1-76c7dd1e5c2a', 'ip_version': 4, 'cidr': '125.185.223.192/26', 'allocation_pools': [{'start': '125.185.223.194', 'end': '125.185.223.254'}], 'gateway_ip': '125.185.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.185.223.194', 'tags': [], 'project_id': 'd277e9abd5e1450dbf2045b42394e1e7'}} 2025-08-31 04:48:55,194 - INFO - Created VN ctest-vn1-10385734 2025-08-31 04:48:55,245 - DEBUG - VN ctest-vn1-10385734 UUID is 33e1023b-23a9-4726-acc1-76c7dd1e5c2a 2025-08-31 04:48:55,512 - DEBUG - Response for create_port : {'port': {'name': '9080b120-86c0-41b2-842e-a0a1035d0ddf', 'id': '9080b120-86c0-41b2-842e-a0a1035d0ddf', 'tenant_id': 'd277e9abd5e1450dbf2045b42394e1e7', 'network_id': '33e1023b-23a9-4726-acc1-76c7dd1e5c2a', 'mac_address': '02:90:80:b1:20:86', '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': '148.228.8.197', 'subnet_id': 'cce976d8-c814-42c6-af5a-03ac13647c8f'}], 'security_groups': ['4f152b33-93b8-4974-a834-8e66f2a01635'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd277e9abd5e1450dbf2045b42394e1e7'}} 2025-08-31 04:48:55,664 - DEBUG - Response for create_port : {'port': {'name': '20b30aaf-3111-4d7d-89a3-6357befa0ec7', 'id': '20b30aaf-3111-4d7d-89a3-6357befa0ec7', 'tenant_id': 'd277e9abd5e1450dbf2045b42394e1e7', 'network_id': '33e1023b-23a9-4726-acc1-76c7dd1e5c2a', 'mac_address': '02:20:b3:0a:af:31', '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': '125.185.223.197', 'subnet_id': 'e40e0aab-5905-43ec-a1f7-37636c4ab4c2'}], 'security_groups': ['4f152b33-93b8-4974-a834-8e66f2a01635'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd277e9abd5e1450dbf2045b42394e1e7'}} 2025-08-31 04:48:55,715 - DEBUG - Services list from nova: [, , ] 2025-08-31 04:48:56,032 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3987-1) 2025-08-31 04:48:56,394 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3987-1) 2025-08-31 04:48:56,394 - INFO - Waiting for VM ctest-vn1-vm1-20929425 to be up.. 2025-08-31 04:48:56,560 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 04:49:01,626 - DEBUG - VM is in ACTIVE state now 2025-08-31 04:49:01,626 - INFO - VM name : ctest-vn1-vm1-20929425 2025-08-31 04:49:01,687 - DEBUG - VM ctest-vn1-vm1-20929425 ID is 659a8480-c65b-453e-aaf1-824dbb71f81c 2025-08-31 04:49:01,705 - DEBUG - VM ctest-vn1-vm1-20929425 launched on Node cn-jenkins-deploy-platform-ansible-os-3987-1 2025-08-31 04:49:01,779 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/659a8480-c65b-453e-aaf1-824dbb71f81c 2025-08-31 04:49:01,788 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9080b120-86c0-41b2-842e-a0a1035d0ddf 2025-08-31 04:49:05,053 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2025-08-31 04:49:05,053 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-20929425 failed! 2025-08-31 04:49:05,105 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92755408:ctest-vn1-10385734 is 148.228.8.193 and allocation pool is NOT set 2025-08-31 04:49:05,105 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-92755408:ctest-vn1-10385734 is 125.185.223.193 and allocation pool is NOT set 2025-08-31 04:49:07,166 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.94 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.938/2.163/2.388/0.225 ms') 2025-08-31 04:49:07,166 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-20929425 passed 2025-08-31 04:49:07,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 04:49:07,330 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20929425, IP 148.228.8.197, Port 22 2025-08-31 04:49:07,493 - DEBUG - VM ctest-vn1-vm1-20929425 is ready for SSH connections 2025-08-31 04:49:07,493 - INFO - Waiting for VM ctest-vn1-vm2-66933920 to be up.. 2025-08-31 04:49:07,580 - DEBUG - VM is in ACTIVE state now 2025-08-31 04:49:07,580 - INFO - VM name : ctest-vn1-vm2-66933920 2025-08-31 04:49:07,652 - DEBUG - VM ctest-vn1-vm2-66933920 ID is a82d9cc7-ecd1-493a-8d8c-d3109256e743 2025-08-31 04:49:07,652 - DEBUG - VM ctest-vn1-vm2-66933920 launched on Node cn-jenkins-deploy-platform-ansible-os-3987-1 2025-08-31 04:49:07,726 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a82d9cc7-ecd1-493a-8d8c-d3109256e743 2025-08-31 04:49:07,735 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/20b30aaf-3111-4d7d-89a3-6357befa0ec7 2025-08-31 04:49:08,985 - 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=4.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.677 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.677/2.660/4.643/1.983 ms') 2025-08-31 04:49:08,985 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-66933920 passed 2025-08-31 04:49:09,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 04:49:09,138 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-66933920, IP 125.185.223.197, Port 22 2025-08-31 04:49:09,312 - DEBUG - VM ctest-vn1-vm2-66933920 is ready for SSH connections 2025-08-31 04:49:09,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 04:49:09,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 04:49:09,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 04:49:09,313 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.228.8.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-31 04:49:09,313 - DEBUG - ping -s 56 -c 3 -W 1 148.228.8.197 2025-08-31 04:49:13,303 - DEBUG - PING 148.228.8.197 (148.228.8.197): 56 data bytes 64 bytes from 148.228.8.197: seq=0 ttl=63 time=3.957 ms 64 bytes from 148.228.8.197: seq=1 ttl=63 time=0.894 ms 64 bytes from 148.228.8.197: seq=2 ttl=63 time=0.814 ms --- 148.228.8.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.814/1.888/3.957 ms 2025-08-31 04:49:13,303 - INFO - Ping to IP 148.228.8.197 from VM ctest-vn1-vm2-66933920 passed 2025-08-31 04:49:13,303 - INFO - Detaching port 20b30aaf-3111-4d7d-89a3-6357befa0ec7 from VM ctest-vn1-vm2-66933920 2025-08-31 04:49:13,351 - INFO - Deleting VM ctest-vn1-vm2-66933920 2025-08-31 04:49:13,421 - INFO - Detaching port 9080b120-86c0-41b2-842e-a0a1035d0ddf from VM ctest-vn1-vm1-20929425 2025-08-31 04:49:13,460 - INFO - Deleting VM ctest-vn1-vm1-20929425 2025-08-31 04:49:13,655 - DEBUG - Response for delete_port : () 2025-08-31 04:49:13,790 - DEBUG - Response for delete_port : () 2025-08-31 04:49:13,790 - INFO - Deleting VN ctest-vn1-10385734 2025-08-31 04:49:13,901 - DEBUG - Response for deleting network () 2025-08-31 04:49:14,162 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 04:49:14,162 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-08-31 04:49:14,162 - INFO - -------------------------------------------------------------------------------- 2025-08-31 04:49:14,825 - INFO - Deleted project: ctest-TestPorts-92755408, ID : d277e9ab-d5e1-450d-bf20-45b42394e1e7