2025-09-11 10:59:14,919 - INFO - Domain Default found not creating 2025-09-11 10:59:15,058 - INFO - Project ctest-TestPorts-98867481 not found, creating it 2025-09-11 10:59:15,498 - INFO - Created Project:ctest-TestPorts-98867481, ID : 4ac0aeaf-0c46-4aa7-94fd-b7664aa108ac 2025-09-11 10:59:16,837 - INFO - ================================================================================ 2025-09-11 10:59:16,837 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 10:59:16,837 - 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-09-11 10:59:17,090 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-11 10:59:17,091 - INFO - Initial checks done. Running the testcase now 2025-09-11 10:59:17,091 - INFO - 2025-09-11 10:59:17,628 - DEBUG - Response for create_network : {'network': {'id': '9a34a907-49bf-485c-a83c-d3b151fb616d', 'name': 'ctest-vn-54105850', 'tenant_id': '4ac0aeaf0c464aa794fdb7664aa108ac', 'project_id': '4ac0aeaf0c464aa794fdb7664aa108ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-98867481', 'ctest-vn-54105850'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 10:59:17,811 - DEBUG - Response for create_subnet : {'subnet': {'id': '31a4ea0e-4c20-441f-8274-b170c44ed705', 'name': '', 'tenant_id': '4ac0aeaf0c464aa794fdb7664aa108ac', 'network_id': '9a34a907-49bf-485c-a83c-d3b151fb616d', 'ip_version': 4, 'cidr': '169.108.203.0/26', 'allocation_pools': [{'start': '169.108.203.2', 'end': '169.108.203.62'}], 'gateway_ip': '169.108.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.108.203.2', 'tags': [], 'project_id': '4ac0aeaf0c464aa794fdb7664aa108ac'}} 2025-09-11 10:59:17,832 - INFO - Created VN ctest-vn-54105850 2025-09-11 10:59:17,885 - DEBUG - VN ctest-vn-54105850 UUID is 9a34a907-49bf-485c-a83c-d3b151fb616d 2025-09-11 10:59:17,998 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-98867481', 'ctest-vmi-16836119']} 2025-09-11 10:59:18,218 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-16836119', 'id': '6332eebe-199c-4ae5-b977-205731ad0736', 'tenant_id': '4ac0aeaf0c464aa794fdb7664aa108ac', 'network_id': '9a34a907-49bf-485c-a83c-d3b151fb616d', 'mac_address': '02:63:32:ee:be:19', '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': '169.108.203.3', 'subnet_id': '31a4ea0e-4c20-441f-8274-b170c44ed705'}], 'security_groups': ['d0afa554-f38f-4ef8-aea1-3308194f1582'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4ac0aeaf0c464aa794fdb7664aa108ac'}} 2025-09-11 10:59:18,218 - DEBUG - Created port 6332eebe-199c-4ae5-b977-205731ad0736 2025-09-11 10:59:18,321 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6332eebe-199c-4ae5-b977-205731ad0736 2025-09-11 10:59:18,611 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6332eebe-199c-4ae5-b977-205731ad0736 2025-09-11 10:59:18,639 - INFO - VMI 6332eebe-199c-4ae5-b977-205731ad0736 verification in API Server passed 2025-09-11 10:59:18,718 - DEBUG - Response for delete_port : () 2025-09-11 10:59:18,718 - INFO - Deleted port 6332eebe-199c-4ae5-b977-205731ad0736 2025-09-11 10:59:18,719 - INFO - Deleting VN ctest-vn-54105850 2025-09-11 10:59:18,822 - DEBUG - Response for deleting network () 2025-09-11 10:59:19,077 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 10:59:19,077 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-11 10:59:19,078 - INFO - -------------------------------------------------------------------------------- 2025-09-11 10:59:19,080 - INFO - ================================================================================ 2025-09-11 10:59:19,080 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 10:59:19,080 - 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-09-11 10:59:19,361 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-11 10:59:19,361 - INFO - Initial checks done. Running the testcase now 2025-09-11 10:59:19,361 - INFO - 2025-09-11 10:59:19,527 - DEBUG - Response for create_network : {'network': {'id': '45ef1a1c-ddb9-43ad-a176-f15a1f70eadd', 'name': 'ctest-vn1-80696891', 'tenant_id': '4ac0aeaf0c464aa794fdb7664aa108ac', 'project_id': '4ac0aeaf0c464aa794fdb7664aa108ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-98867481', 'ctest-vn1-80696891'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 10:59:19,689 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da08699d-7838-4afd-88fd-55975377bd73', 'name': '', 'tenant_id': '4ac0aeaf0c464aa794fdb7664aa108ac', 'network_id': '45ef1a1c-ddb9-43ad-a176-f15a1f70eadd', 'ip_version': 4, 'cidr': '195.223.168.0/26', 'allocation_pools': [{'start': '195.223.168.2', 'end': '195.223.168.62'}], 'gateway_ip': '195.223.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.223.168.2', 'tags': [], 'project_id': '4ac0aeaf0c464aa794fdb7664aa108ac'}} 2025-09-11 10:59:19,869 - DEBUG - Response for create_subnet : {'subnet': {'id': '112403c8-4f13-4823-a45f-14036c411514', 'name': '', 'tenant_id': '4ac0aeaf0c464aa794fdb7664aa108ac', 'network_id': '45ef1a1c-ddb9-43ad-a176-f15a1f70eadd', 'ip_version': 4, 'cidr': '59.253.156.192/26', 'allocation_pools': [{'start': '59.253.156.194', 'end': '59.253.156.254'}], 'gateway_ip': '59.253.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.253.156.194', 'tags': [], 'project_id': '4ac0aeaf0c464aa794fdb7664aa108ac'}} 2025-09-11 10:59:19,885 - INFO - Created VN ctest-vn1-80696891 2025-09-11 10:59:19,937 - DEBUG - VN ctest-vn1-80696891 UUID is 45ef1a1c-ddb9-43ad-a176-f15a1f70eadd 2025-09-11 10:59:20,217 - DEBUG - Response for create_port : {'port': {'name': '9410cb0a-5809-42b3-ad23-3524856e7b6a', 'id': '9410cb0a-5809-42b3-ad23-3524856e7b6a', 'tenant_id': '4ac0aeaf0c464aa794fdb7664aa108ac', 'network_id': '45ef1a1c-ddb9-43ad-a176-f15a1f70eadd', 'mac_address': '02:94:10:cb:0a:58', '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': '195.223.168.5', 'subnet_id': 'da08699d-7838-4afd-88fd-55975377bd73'}], 'security_groups': ['d0afa554-f38f-4ef8-aea1-3308194f1582'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4ac0aeaf0c464aa794fdb7664aa108ac'}} 2025-09-11 10:59:20,379 - DEBUG - Response for create_port : {'port': {'name': 'c14dd6ad-5f52-41b2-a473-db4e8ec5ced6', 'id': 'c14dd6ad-5f52-41b2-a473-db4e8ec5ced6', 'tenant_id': '4ac0aeaf0c464aa794fdb7664aa108ac', 'network_id': '45ef1a1c-ddb9-43ad-a176-f15a1f70eadd', 'mac_address': '02:c1:4d:d6:ad:5f', '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': '59.253.156.197', 'subnet_id': '112403c8-4f13-4823-a45f-14036c411514'}], 'security_groups': ['d0afa554-f38f-4ef8-aea1-3308194f1582'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4ac0aeaf0c464aa794fdb7664aa108ac'}} 2025-09-11 10:59:20,427 - DEBUG - Services list from nova: [, , ] 2025-09-11 10:59:20,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4088-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4088-1) 2025-09-11 10:59:21,012 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4088-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4088-1) 2025-09-11 10:59:21,012 - INFO - Waiting for VM ctest-vn1-vm1-27940145 to be up.. 2025-09-11 10:59:21,045 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 10:59:26,110 - DEBUG - VM is in ACTIVE state now 2025-09-11 10:59:26,111 - INFO - VM name : ctest-vn1-vm1-27940145 2025-09-11 10:59:26,179 - DEBUG - VM ctest-vn1-vm1-27940145 ID is acdeee45-47e6-41c6-a158-77fd9dac5edc 2025-09-11 10:59:26,198 - DEBUG - VM ctest-vn1-vm1-27940145 launched on Node cn-jenkins-deploy-platform-ansible-os-4088-1 2025-09-11 10:59:26,267 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/acdeee45-47e6-41c6-a158-77fd9dac5edc 2025-09-11 10:59:26,274 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9410cb0a-5809-42b3-ad23-3524856e7b6a 2025-09-11 10:59:29,519 - 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 1012ms') 2025-09-11 10:59:29,519 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-27940145 failed! 2025-09-11 10:59:29,573 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-98867481:ctest-vn1-80696891 is 195.223.168.1 and allocation pool is NOT set 2025-09-11 10:59:29,573 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-98867481:ctest-vn1-80696891 is 59.253.156.193 and allocation pool is NOT set 2025-09-11 10:59:31,636 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.82 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 = 2.769/2.796/2.823/0.027 ms') 2025-09-11 10:59:31,636 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-27940145 passed 2025-09-11 10:59:31,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 10:59:31,785 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27940145, IP 195.223.168.5, Port 22 2025-09-11 10:59:31,840 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-11 10:59:31,909 - DEBUG - VM ctest-vn1-vm1-27940145 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 10:59:36,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 10:59:36,909 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27940145, IP 195.223.168.5, Port 22 2025-09-11 10:59:37,068 - DEBUG - VM ctest-vn1-vm1-27940145 is ready for SSH connections 2025-09-11 10:59:37,068 - INFO - Waiting for VM ctest-vn1-vm2-54557414 to be up.. 2025-09-11 10:59:37,150 - DEBUG - VM is in ACTIVE state now 2025-09-11 10:59:37,150 - INFO - VM name : ctest-vn1-vm2-54557414 2025-09-11 10:59:37,212 - DEBUG - VM ctest-vn1-vm2-54557414 ID is 1fa85a57-ba09-44f7-ab1c-3621e7c698c2 2025-09-11 10:59:37,212 - DEBUG - VM ctest-vn1-vm2-54557414 launched on Node cn-jenkins-deploy-platform-ansible-os-4088-1 2025-09-11 10:59:37,276 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1fa85a57-ba09-44f7-ab1c-3621e7c698c2 2025-09-11 10:59:37,285 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c14dd6ad-5f52-41b2-a473-db4e8ec5ced6 2025-09-11 10:59:38,520 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.398 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 = 0.398/1.587/2.776/1.189 ms') 2025-09-11 10:59:38,521 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-54557414 passed 2025-09-11 10:59:38,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 10:59:38,669 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-54557414, IP 59.253.156.197, Port 22 2025-09-11 10:59:38,824 - DEBUG - VM ctest-vn1-vm2-54557414 is ready for SSH connections 2025-09-11 10:59:38,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 10:59:38,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 10:59:38,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 10:59:38,825 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.223.168.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 10:59:38,825 - DEBUG - ping -s 56 -c 3 -W 1 195.223.168.5 2025-09-11 10:59:42,805 - DEBUG - PING 195.223.168.5 (195.223.168.5): 56 data bytes 64 bytes from 195.223.168.5: seq=0 ttl=63 time=3.137 ms 64 bytes from 195.223.168.5: seq=1 ttl=63 time=0.833 ms 64 bytes from 195.223.168.5: seq=2 ttl=63 time=0.725 ms --- 195.223.168.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.725/1.565/3.137 ms 2025-09-11 10:59:42,805 - INFO - Ping to IP 195.223.168.5 from VM ctest-vn1-vm2-54557414 passed 2025-09-11 10:59:42,805 - INFO - Detaching port c14dd6ad-5f52-41b2-a473-db4e8ec5ced6 from VM ctest-vn1-vm2-54557414 2025-09-11 10:59:42,853 - INFO - Deleting VM ctest-vn1-vm2-54557414 2025-09-11 10:59:42,920 - INFO - Detaching port 9410cb0a-5809-42b3-ad23-3524856e7b6a from VM ctest-vn1-vm1-27940145 2025-09-11 10:59:42,951 - INFO - Deleting VM ctest-vn1-vm1-27940145 2025-09-11 10:59:43,145 - DEBUG - Response for delete_port : () 2025-09-11 10:59:43,284 - DEBUG - Response for delete_port : () 2025-09-11 10:59:43,284 - INFO - Deleting VN ctest-vn1-80696891 2025-09-11 10:59:43,409 - DEBUG - Response for deleting network () 2025-09-11 10:59:43,661 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 10:59:43,661 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-09-11 10:59:43,661 - INFO - -------------------------------------------------------------------------------- 2025-09-11 10:59:44,298 - INFO - Deleted project: ctest-TestPorts-98867481, ID : 4ac0aeaf-0c46-4aa7-94fd-b7664aa108ac