2025-10-09 18:46:53,972 - INFO - Domain Default found not creating 2025-10-09 18:46:54,106 - INFO - Project ctest-TestPorts-61077989 not found, creating it 2025-10-09 18:46:54,540 - INFO - Created Project:ctest-TestPorts-61077989, ID : b9c9ebe7-8027-4308-9c7c-f85164917986 2025-10-09 18:46:55,985 - INFO - ================================================================================ 2025-10-09 18:46:55,985 - INFO - STARTING TEST : test_ports_bindings 2025-10-09 18:46:55,985 - 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-09 18:46:56,251 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-10-09 18:46:56,251 - INFO - Initial checks done. Running the testcase now 2025-10-09 18:46:56,251 - INFO - 2025-10-09 18:46:56,746 - DEBUG - Response for create_network : {'network': {'id': 'bf9791ae-3bc1-4cde-a45e-a1411af375d7', 'name': 'ctest-vn-84719523', 'tenant_id': 'b9c9ebe7802743089c7cf85164917986', 'project_id': 'b9c9ebe7802743089c7cf85164917986', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-61077989', 'ctest-vn-84719523'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 18:46:56,932 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e1e4e4f-5f39-40e9-aec6-de2dd70e376f', 'name': '', 'tenant_id': 'b9c9ebe7802743089c7cf85164917986', 'network_id': 'bf9791ae-3bc1-4cde-a45e-a1411af375d7', 'ip_version': 4, 'cidr': '179.53.48.64/26', 'allocation_pools': [{'start': '179.53.48.66', 'end': '179.53.48.126'}], 'gateway_ip': '179.53.48.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.53.48.66', 'tags': [], 'project_id': 'b9c9ebe7802743089c7cf85164917986'}} 2025-10-09 18:46:56,947 - INFO - Created VN ctest-vn-84719523 2025-10-09 18:46:56,997 - DEBUG - VN ctest-vn-84719523 UUID is bf9791ae-3bc1-4cde-a45e-a1411af375d7 2025-10-09 18:46:57,095 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-61077989', 'ctest-vmi-66476088']} 2025-10-09 18:46:57,371 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-66476088', 'id': 'ab2a453e-854c-4b87-82b7-e89ae0f78586', 'tenant_id': 'b9c9ebe7802743089c7cf85164917986', 'network_id': 'bf9791ae-3bc1-4cde-a45e-a1411af375d7', 'mac_address': '02:ab:2a:45:3e:85', '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': '179.53.48.67', 'subnet_id': '6e1e4e4f-5f39-40e9-aec6-de2dd70e376f'}], 'security_groups': ['f64f5599-4ee1-4bc4-96a1-de76c85d5d94'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b9c9ebe7802743089c7cf85164917986'}} 2025-10-09 18:46:57,371 - DEBUG - Created port ab2a453e-854c-4b87-82b7-e89ae0f78586 2025-10-09 18:46:57,473 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ab2a453e-854c-4b87-82b7-e89ae0f78586 2025-10-09 18:46:57,761 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ab2a453e-854c-4b87-82b7-e89ae0f78586 2025-10-09 18:46:57,789 - INFO - VMI ab2a453e-854c-4b87-82b7-e89ae0f78586 verification in API Server passed 2025-10-09 18:46:57,874 - DEBUG - Response for delete_port : () 2025-10-09 18:46:57,874 - INFO - Deleted port ab2a453e-854c-4b87-82b7-e89ae0f78586 2025-10-09 18:46:57,875 - INFO - Deleting VN ctest-vn-84719523 2025-10-09 18:46:57,962 - DEBUG - Response for deleting network () 2025-10-09 18:46:58,218 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 18:46:58,218 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-09 18:46:58,218 - INFO - -------------------------------------------------------------------------------- 2025-10-09 18:46:58,220 - INFO - ================================================================================ 2025-10-09 18:46:58,220 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-09 18:46:58,220 - 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-09 18:46:58,505 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-10-09 18:46:58,505 - INFO - Initial checks done. Running the testcase now 2025-10-09 18:46:58,505 - INFO - 2025-10-09 18:46:58,660 - DEBUG - Response for create_network : {'network': {'id': 'aff2294f-27e1-4e03-9c08-12c04e02dc58', 'name': 'ctest-vn1-92591626', 'tenant_id': 'b9c9ebe7802743089c7cf85164917986', 'project_id': 'b9c9ebe7802743089c7cf85164917986', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-61077989', 'ctest-vn1-92591626'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 18:46:58,834 - DEBUG - Response for create_subnet : {'subnet': {'id': '3975b3cb-c17f-4d08-a20c-b55e7062f925', 'name': '', 'tenant_id': 'b9c9ebe7802743089c7cf85164917986', 'network_id': 'aff2294f-27e1-4e03-9c08-12c04e02dc58', 'ip_version': 4, 'cidr': '26.108.35.64/26', 'allocation_pools': [{'start': '26.108.35.66', 'end': '26.108.35.126'}], 'gateway_ip': '26.108.35.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.108.35.66', 'tags': [], 'project_id': 'b9c9ebe7802743089c7cf85164917986'}} 2025-10-09 18:46:59,031 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be43781f-5ffc-4050-923a-8fab0945dbdb', 'name': '', 'tenant_id': 'b9c9ebe7802743089c7cf85164917986', 'network_id': 'aff2294f-27e1-4e03-9c08-12c04e02dc58', 'ip_version': 4, 'cidr': '147.70.124.0/26', 'allocation_pools': [{'start': '147.70.124.2', 'end': '147.70.124.62'}], 'gateway_ip': '147.70.124.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.70.124.2', 'tags': [], 'project_id': 'b9c9ebe7802743089c7cf85164917986'}} 2025-10-09 18:46:59,048 - INFO - Created VN ctest-vn1-92591626 2025-10-09 18:46:59,097 - DEBUG - VN ctest-vn1-92591626 UUID is aff2294f-27e1-4e03-9c08-12c04e02dc58 2025-10-09 18:46:59,378 - DEBUG - Response for create_port : {'port': {'name': '3aa928c5-e327-47cd-9f1e-15e48d263c82', 'id': '3aa928c5-e327-47cd-9f1e-15e48d263c82', 'tenant_id': 'b9c9ebe7802743089c7cf85164917986', 'network_id': 'aff2294f-27e1-4e03-9c08-12c04e02dc58', 'mac_address': '02:3a:a9:28:c5:e3', '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': '26.108.35.69', 'subnet_id': '3975b3cb-c17f-4d08-a20c-b55e7062f925'}], 'security_groups': ['f64f5599-4ee1-4bc4-96a1-de76c85d5d94'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b9c9ebe7802743089c7cf85164917986'}} 2025-10-09 18:46:59,536 - DEBUG - Response for create_port : {'port': {'name': 'd36e85f4-057e-43ca-a289-ed200a590a28', 'id': 'd36e85f4-057e-43ca-a289-ed200a590a28', 'tenant_id': 'b9c9ebe7802743089c7cf85164917986', 'network_id': 'aff2294f-27e1-4e03-9c08-12c04e02dc58', 'mac_address': '02:d3:6e:85:f4:05', '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': '147.70.124.5', 'subnet_id': 'be43781f-5ffc-4050-923a-8fab0945dbdb'}], 'security_groups': ['f64f5599-4ee1-4bc4-96a1-de76c85d5d94'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b9c9ebe7802743089c7cf85164917986'}} 2025-10-09 18:46:59,590 - DEBUG - Services list from nova: [, , ] 2025-10-09 18:46:59,894 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4273-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4273-1) 2025-10-09 18:47:00,248 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4273-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4273-1) 2025-10-09 18:47:00,248 - INFO - Waiting for VM ctest-vn1-vm1-83997699 to be up.. 2025-10-09 18:47:00,284 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 18:47:05,355 - DEBUG - VM is in ACTIVE state now 2025-10-09 18:47:05,355 - INFO - VM name : ctest-vn1-vm1-83997699 2025-10-09 18:47:05,420 - DEBUG - VM ctest-vn1-vm1-83997699 ID is 80c0b3d3-c2ca-49e0-9ea5-4489b985d154 2025-10-09 18:47:05,437 - DEBUG - VM ctest-vn1-vm1-83997699 launched on Node cn-jenkins-deploy-platform-ansible-os-4273-1 2025-10-09 18:47:05,503 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/80c0b3d3-c2ca-49e0-9ea5-4489b985d154 2025-10-09 18:47:05,511 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3aa928c5-e327-47cd-9f1e-15e48d263c82 2025-10-09 18:47:08,749 - 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 1007ms') 2025-10-09 18:47:08,749 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-83997699 failed! 2025-10-09 18:47:08,809 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-61077989:ctest-vn1-92591626 is 26.108.35.65 and allocation pool is NOT set 2025-10-09 18:47:08,809 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-61077989:ctest-vn1-92591626 is 147.70.124.1 and allocation pool is NOT set 2025-10-09 18:47:10,872 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.63 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 = 2.626/2.670/2.715/0.044 ms') 2025-10-09 18:47:10,872 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-83997699 passed 2025-10-09 18:47:11,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:47:11,025 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83997699, IP 26.108.35.69, Port 22 2025-10-09 18:47:11,184 - DEBUG - VM ctest-vn1-vm1-83997699 is ready for SSH connections 2025-10-09 18:47:11,185 - INFO - Waiting for VM ctest-vn1-vm2-89756116 to be up.. 2025-10-09 18:47:11,377 - DEBUG - VM is in ACTIVE state now 2025-10-09 18:47:11,377 - INFO - VM name : ctest-vn1-vm2-89756116 2025-10-09 18:47:11,444 - DEBUG - VM ctest-vn1-vm2-89756116 ID is 7c2775ff-bd77-4a8b-92f1-6c64556db07d 2025-10-09 18:47:11,445 - DEBUG - VM ctest-vn1-vm2-89756116 launched on Node cn-jenkins-deploy-platform-ansible-os-4273-1 2025-10-09 18:47:11,509 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7c2775ff-bd77-4a8b-92f1-6c64556db07d 2025-10-09 18:47:11,516 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d36e85f4-057e-43ca-a289-ed200a590a28 2025-10-09 18:47:12,750 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.418 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.418/1.590/2.763/1.172 ms') 2025-10-09 18:47:12,750 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-89756116 passed 2025-10-09 18:47:12,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:47:12,899 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-89756116, IP 147.70.124.5, Port 22 2025-10-09 18:47:13,056 - DEBUG - VM ctest-vn1-vm2-89756116 is ready for SSH connections 2025-10-09 18:47:13,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:47:13,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:47:13,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:47:13,057 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.108.35.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-09 18:47:13,057 - DEBUG - ping -s 56 -c 3 -W 1 26.108.35.69 2025-10-09 18:47:17,038 - DEBUG - PING 26.108.35.69 (26.108.35.69): 56 data bytes 64 bytes from 26.108.35.69: seq=0 ttl=63 time=3.279 ms 64 bytes from 26.108.35.69: seq=1 ttl=63 time=0.655 ms 64 bytes from 26.108.35.69: seq=2 ttl=63 time=0.828 ms --- 26.108.35.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.655/1.587/3.279 ms 2025-10-09 18:47:17,039 - INFO - Ping to IP 26.108.35.69 from VM ctest-vn1-vm2-89756116 passed 2025-10-09 18:47:17,039 - INFO - Detaching port d36e85f4-057e-43ca-a289-ed200a590a28 from VM ctest-vn1-vm2-89756116 2025-10-09 18:47:17,090 - INFO - Deleting VM ctest-vn1-vm2-89756116 2025-10-09 18:47:17,152 - INFO - Detaching port 3aa928c5-e327-47cd-9f1e-15e48d263c82 from VM ctest-vn1-vm1-83997699 2025-10-09 18:47:17,187 - INFO - Deleting VM ctest-vn1-vm1-83997699 2025-10-09 18:47:17,408 - DEBUG - Response for delete_port : () 2025-10-09 18:47:17,553 - DEBUG - Response for delete_port : () 2025-10-09 18:47:17,553 - INFO - Deleting VN ctest-vn1-92591626 2025-10-09 18:47:17,671 - DEBUG - Response for deleting network () 2025-10-09 18:47:17,918 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 18:47:17,918 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-09 18:47:17,918 - INFO - -------------------------------------------------------------------------------- 2025-10-09 18:47:18,585 - INFO - Deleted project: ctest-TestPorts-61077989, ID : b9c9ebe7-8027-4308-9c7c-f85164917986