2025-11-24 15:10:55,213 - INFO - Domain Default found not creating 2025-11-24 15:10:55,375 - INFO - Project ctest-TestPorts-66651018 not found, creating it 2025-11-24 15:10:55,820 - INFO - Created Project:ctest-TestPorts-66651018, ID : 12d9ca46-bf2c-42e2-bf59-5a2feee0bbf1 2025-11-24 15:10:57,304 - INFO - ================================================================================ 2025-11-24 15:10:57,305 - INFO - STARTING TEST : test_ports_bindings 2025-11-24 15:10:57,305 - 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-24 15:10:57,559 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.18': '0'}} with 2025-11-24 15:10:57,560 - INFO - Initial checks done. Running the testcase now 2025-11-24 15:10:57,560 - INFO - 2025-11-24 15:10:58,081 - DEBUG - Response for create_network : {'network': {'id': '66533493-90f6-4578-b912-07ed1944e0e0', 'name': 'ctest-vn-10722362', 'tenant_id': '12d9ca46bf2c42e2bf595a2feee0bbf1', 'project_id': '12d9ca46bf2c42e2bf595a2feee0bbf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66651018', 'ctest-vn-10722362'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 15:10:58,276 - DEBUG - Response for create_subnet : {'subnet': {'id': '2403f4e8-9ae6-48ea-ac9d-cbfd2be0541d', 'name': '', 'tenant_id': '12d9ca46bf2c42e2bf595a2feee0bbf1', 'network_id': '66533493-90f6-4578-b912-07ed1944e0e0', 'ip_version': 4, 'cidr': '96.117.184.0/26', 'allocation_pools': [{'start': '96.117.184.2', 'end': '96.117.184.62'}], 'gateway_ip': '96.117.184.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.117.184.2', 'tags': [], 'project_id': '12d9ca46bf2c42e2bf595a2feee0bbf1'}} 2025-11-24 15:10:58,291 - INFO - Created VN ctest-vn-10722362 2025-11-24 15:10:58,342 - DEBUG - VN ctest-vn-10722362 UUID is 66533493-90f6-4578-b912-07ed1944e0e0 2025-11-24 15:10:58,443 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-66651018', 'ctest-vmi-98252442']} 2025-11-24 15:10:58,700 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-98252442', 'id': '94ebe0f3-5be6-4f64-8695-e1654de7b3f1', 'tenant_id': '12d9ca46bf2c42e2bf595a2feee0bbf1', 'network_id': '66533493-90f6-4578-b912-07ed1944e0e0', 'mac_address': '02:94:eb:e0:f3:5b', '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': '96.117.184.3', 'subnet_id': '2403f4e8-9ae6-48ea-ac9d-cbfd2be0541d'}], 'security_groups': ['330c2b1f-1a14-49aa-b4c6-267a763c4b56'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '12d9ca46bf2c42e2bf595a2feee0bbf1'}} 2025-11-24 15:10:58,700 - DEBUG - Created port 94ebe0f3-5be6-4f64-8695-e1654de7b3f1 2025-11-24 15:10:58,802 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/94ebe0f3-5be6-4f64-8695-e1654de7b3f1 2025-11-24 15:10:59,096 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/94ebe0f3-5be6-4f64-8695-e1654de7b3f1 2025-11-24 15:10:59,128 - INFO - VMI 94ebe0f3-5be6-4f64-8695-e1654de7b3f1 verification in API Server passed 2025-11-24 15:10:59,206 - DEBUG - Response for delete_port : () 2025-11-24 15:10:59,206 - INFO - Deleted port 94ebe0f3-5be6-4f64-8695-e1654de7b3f1 2025-11-24 15:10:59,206 - INFO - Deleting VN ctest-vn-10722362 2025-11-24 15:10:59,294 - DEBUG - Response for deleting network () 2025-11-24 15:10:59,551 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 15:10:59,551 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-24 15:10:59,551 - INFO - -------------------------------------------------------------------------------- 2025-11-24 15:10:59,553 - INFO - ================================================================================ 2025-11-24 15:10:59,553 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-24 15:10:59,553 - 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-24 15:10:59,839 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.18': '0'}} with 2025-11-24 15:10:59,840 - INFO - Initial checks done. Running the testcase now 2025-11-24 15:10:59,840 - INFO - 2025-11-24 15:11:00,001 - DEBUG - Response for create_network : {'network': {'id': 'a0211c75-393a-45c1-bdb5-04a4d6cc6efd', 'name': 'ctest-vn1-61848651', 'tenant_id': '12d9ca46bf2c42e2bf595a2feee0bbf1', 'project_id': '12d9ca46bf2c42e2bf595a2feee0bbf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66651018', 'ctest-vn1-61848651'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 15:11:00,203 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce3f9cfc-8a4d-4ecd-8eb4-1736e2a4f5a7', 'name': '', 'tenant_id': '12d9ca46bf2c42e2bf595a2feee0bbf1', 'network_id': 'a0211c75-393a-45c1-bdb5-04a4d6cc6efd', 'ip_version': 4, 'cidr': '50.107.147.64/26', 'allocation_pools': [{'start': '50.107.147.66', 'end': '50.107.147.126'}], 'gateway_ip': '50.107.147.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.107.147.66', 'tags': [], 'project_id': '12d9ca46bf2c42e2bf595a2feee0bbf1'}} 2025-11-24 15:11:00,401 - DEBUG - Response for create_subnet : {'subnet': {'id': '984470a1-4b03-4e7b-884c-9f241e4298f6', 'name': '', 'tenant_id': '12d9ca46bf2c42e2bf595a2feee0bbf1', 'network_id': 'a0211c75-393a-45c1-bdb5-04a4d6cc6efd', 'ip_version': 4, 'cidr': '125.73.20.0/26', 'allocation_pools': [{'start': '125.73.20.2', 'end': '125.73.20.62'}], 'gateway_ip': '125.73.20.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.73.20.2', 'tags': [], 'project_id': '12d9ca46bf2c42e2bf595a2feee0bbf1'}} 2025-11-24 15:11:00,419 - INFO - Created VN ctest-vn1-61848651 2025-11-24 15:11:00,470 - DEBUG - VN ctest-vn1-61848651 UUID is a0211c75-393a-45c1-bdb5-04a4d6cc6efd 2025-11-24 15:11:00,785 - DEBUG - Response for create_port : {'port': {'name': 'f85e65b8-6ba7-4623-b2eb-56480ce72cd6', 'id': 'f85e65b8-6ba7-4623-b2eb-56480ce72cd6', 'tenant_id': '12d9ca46bf2c42e2bf595a2feee0bbf1', 'network_id': 'a0211c75-393a-45c1-bdb5-04a4d6cc6efd', 'mac_address': '02:f8:5e:65:b8:6b', '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': '50.107.147.69', 'subnet_id': 'ce3f9cfc-8a4d-4ecd-8eb4-1736e2a4f5a7'}], 'security_groups': ['330c2b1f-1a14-49aa-b4c6-267a763c4b56'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '12d9ca46bf2c42e2bf595a2feee0bbf1'}} 2025-11-24 15:11:00,941 - DEBUG - Response for create_port : {'port': {'name': 'cf91e39f-cae1-458a-ac9c-f0b3f50b76ce', 'id': 'cf91e39f-cae1-458a-ac9c-f0b3f50b76ce', 'tenant_id': '12d9ca46bf2c42e2bf595a2feee0bbf1', 'network_id': 'a0211c75-393a-45c1-bdb5-04a4d6cc6efd', 'mac_address': '02:cf:91:e3:9f:ca', '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.73.20.5', 'subnet_id': '984470a1-4b03-4e7b-884c-9f241e4298f6'}], 'security_groups': ['330c2b1f-1a14-49aa-b4c6-267a763c4b56'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '12d9ca46bf2c42e2bf595a2feee0bbf1'}} 2025-11-24 15:11:01,002 - DEBUG - Services list from nova: [, , ] 2025-11-24 15:11:01,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4808-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4808-1) 2025-11-24 15:11:01,689 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4808-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4808-1) 2025-11-24 15:11:01,689 - INFO - Waiting for VM ctest-vn1-vm1-22682219 to be up.. 2025-11-24 15:11:01,848 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 15:11:06,930 - DEBUG - VM is in ACTIVE state now 2025-11-24 15:11:06,930 - INFO - VM name : ctest-vn1-vm1-22682219 2025-11-24 15:11:06,999 - DEBUG - VM ctest-vn1-vm1-22682219 ID is 99d351d8-7d15-419f-af10-b49618c97cf8 2025-11-24 15:11:07,019 - DEBUG - VM ctest-vn1-vm1-22682219 launched on Node cn-jenkins-deploy-platform-ansible-os-4808-1 2025-11-24 15:11:07,094 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/99d351d8-7d15-419f-af10-b49618c97cf8 2025-11-24 15:11:07,112 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/f85e65b8-6ba7-4623-b2eb-56480ce72cd6 2025-11-24 15:11:10,370 - 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 1019ms') 2025-11-24 15:11:10,370 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22682219 failed! 2025-11-24 15:11:10,422 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66651018:ctest-vn1-61848651 is 50.107.147.65 and allocation pool is NOT set 2025-11-24 15:11:10,422 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66651018:ctest-vn1-61848651 is 125.73.20.1 and allocation pool is NOT set 2025-11-24 15:11:12,481 - 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=11.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.21 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 = 2.209/6.908/11.607/4.699 ms') 2025-11-24 15:11:12,482 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22682219 passed 2025-11-24 15:11:12,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 15:11:12,631 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22682219, IP 50.107.147.69, Port 22 2025-11-24 15:11:12,686 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-24 15:11:12,760 - DEBUG - VM ctest-vn1-vm1-22682219 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 15:11:17,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 15:11:17,761 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22682219, IP 50.107.147.69, Port 22 2025-11-24 15:11:17,925 - DEBUG - VM ctest-vn1-vm1-22682219 is ready for SSH connections 2025-11-24 15:11:17,926 - INFO - Waiting for VM ctest-vn1-vm2-66744175 to be up.. 2025-11-24 15:11:17,993 - DEBUG - VM is in ACTIVE state now 2025-11-24 15:11:17,993 - INFO - VM name : ctest-vn1-vm2-66744175 2025-11-24 15:11:18,070 - DEBUG - VM ctest-vn1-vm2-66744175 ID is f941cc5a-392b-4836-b034-e6dc4fe67d88 2025-11-24 15:11:18,070 - DEBUG - VM ctest-vn1-vm2-66744175 launched on Node cn-jenkins-deploy-platform-ansible-os-4808-1 2025-11-24 15:11:18,142 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/f941cc5a-392b-4836-b034-e6dc4fe67d88 2025-11-24 15:11:18,152 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/cf91e39f-cae1-458a-ac9c-f0b3f50b76ce 2025-11-24 15:11:19,379 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.351 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.351/1.709/3.068/1.358 ms') 2025-11-24 15:11:19,379 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-66744175 passed 2025-11-24 15:11:19,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 15:11:19,526 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-66744175, IP 125.73.20.5, Port 22 2025-11-24 15:11:19,682 - DEBUG - VM ctest-vn1-vm2-66744175 is ready for SSH connections 2025-11-24 15:11:19,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 15:11:19,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 15:11:19,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 15:11:19,683 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.107.147.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-24 15:11:19,683 - DEBUG - ping -s 56 -c 3 -W 1 50.107.147.69 2025-11-24 15:11:22,341 - DEBUG - PING 50.107.147.69 (50.107.147.69): 56 data bytes 64 bytes from 50.107.147.69: seq=0 ttl=63 time=3.424 ms 64 bytes from 50.107.147.69: seq=1 ttl=63 time=0.933 ms 64 bytes from 50.107.147.69: seq=2 ttl=63 time=0.995 ms --- 50.107.147.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.933/1.784/3.424 ms 2025-11-24 15:11:22,342 - INFO - Ping to IP 50.107.147.69 from VM ctest-vn1-vm2-66744175 passed 2025-11-24 15:11:22,342 - INFO - Detaching port cf91e39f-cae1-458a-ac9c-f0b3f50b76ce from VM ctest-vn1-vm2-66744175 2025-11-24 15:11:22,407 - INFO - Deleting VM ctest-vn1-vm2-66744175 2025-11-24 15:11:22,483 - INFO - Detaching port f85e65b8-6ba7-4623-b2eb-56480ce72cd6 from VM ctest-vn1-vm1-22682219 2025-11-24 15:11:22,517 - INFO - Deleting VM ctest-vn1-vm1-22682219 2025-11-24 15:11:22,742 - DEBUG - Response for delete_port : () 2025-11-24 15:11:22,912 - DEBUG - Response for delete_port : () 2025-11-24 15:11:22,913 - INFO - Deleting VN ctest-vn1-61848651 2025-11-24 15:11:23,045 - DEBUG - Response for deleting network () 2025-11-24 15:11:23,299 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 15:11:23,299 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-11-24 15:11:23,299 - INFO - -------------------------------------------------------------------------------- 2025-11-24 15:11:23,994 - INFO - Deleted project: ctest-TestPorts-66651018, ID : 12d9ca46-bf2c-42e2-bf59-5a2feee0bbf1