2025-07-30 20:20:06,921 - INFO - Domain Default found not creating 2025-07-30 20:20:07,112 - INFO - Project ctest-TestPorts-99914852 not found, creating it 2025-07-30 20:20:07,850 - INFO - Created Project:ctest-TestPorts-99914852, ID : 45aa4e95-6371-42ba-b8b3-2b781c1ed2e4 2025-07-30 20:20:10,019 - INFO - ================================================================================ 2025-07-30 20:20:10,019 - INFO - STARTING TEST : test_ports_bindings 2025-07-30 20:20:10,019 - 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-07-30 20:20:10,348 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-07-30 20:20:10,349 - INFO - Initial checks done. Running the testcase now 2025-07-30 20:20:10,349 - INFO - 2025-07-30 20:20:11,150 - DEBUG - Response for create_network : {'network': {'id': '473d3b85-24de-470b-8bae-adfa66277124', 'name': 'ctest-vn-96838796', 'tenant_id': '45aa4e95637142bab8b32b781c1ed2e4', 'project_id': '45aa4e95637142bab8b32b781c1ed2e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99914852', 'ctest-vn-96838796'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 20:20:11,360 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfd933a8-4b21-41fc-9c70-8690ea0e2f53', 'name': '', 'tenant_id': '45aa4e95637142bab8b32b781c1ed2e4', 'network_id': '473d3b85-24de-470b-8bae-adfa66277124', 'ip_version': 4, 'cidr': '174.77.247.0/26', 'allocation_pools': [{'start': '174.77.247.2', 'end': '174.77.247.62'}], 'gateway_ip': '174.77.247.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.77.247.2', 'tags': [], 'project_id': '45aa4e95637142bab8b32b781c1ed2e4'}} 2025-07-30 20:20:11,381 - INFO - Created VN ctest-vn-96838796 2025-07-30 20:20:11,436 - DEBUG - VN ctest-vn-96838796 UUID is 473d3b85-24de-470b-8bae-adfa66277124 2025-07-30 20:20:11,551 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99914852', 'ctest-vmi-21061301']} 2025-07-30 20:20:11,996 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-21061301', 'id': 'daeb56d2-634d-46e3-9ea7-55bab3b92ae6', 'tenant_id': '45aa4e95637142bab8b32b781c1ed2e4', 'network_id': '473d3b85-24de-470b-8bae-adfa66277124', 'mac_address': '02:da:eb:56:d2:63', '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': '174.77.247.3', 'subnet_id': 'dfd933a8-4b21-41fc-9c70-8690ea0e2f53'}], 'security_groups': ['7dc397a7-07b0-4624-8eee-98ca699f1a31'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '45aa4e95637142bab8b32b781c1ed2e4'}} 2025-07-30 20:20:11,996 - DEBUG - Created port daeb56d2-634d-46e3-9ea7-55bab3b92ae6 2025-07-30 20:20:12,120 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/daeb56d2-634d-46e3-9ea7-55bab3b92ae6 2025-07-30 20:20:12,477 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/daeb56d2-634d-46e3-9ea7-55bab3b92ae6 2025-07-30 20:20:12,522 - INFO - VMI daeb56d2-634d-46e3-9ea7-55bab3b92ae6 verification in API Server passed 2025-07-30 20:20:12,715 - DEBUG - Response for delete_port : () 2025-07-30 20:20:12,715 - INFO - Deleted port daeb56d2-634d-46e3-9ea7-55bab3b92ae6 2025-07-30 20:20:12,715 - INFO - Deleting VN ctest-vn-96838796 2025-07-30 20:20:12,848 - DEBUG - Response for deleting network () 2025-07-30 20:20:13,162 - DEBUG - No XMPP flaps were noticed during the test 2025-07-30 20:20:13,162 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-07-30 20:20:13,162 - INFO - -------------------------------------------------------------------------------- 2025-07-30 20:20:13,171 - INFO - ================================================================================ 2025-07-30 20:20:13,171 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-30 20:20:13,172 - 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-07-30 20:20:13,507 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-07-30 20:20:13,508 - INFO - Initial checks done. Running the testcase now 2025-07-30 20:20:13,508 - INFO - 2025-07-30 20:20:13,902 - DEBUG - Response for create_network : {'network': {'id': 'eebf1017-372c-49b1-b1ae-508d6941ab76', 'name': 'ctest-vn1-08362617', 'tenant_id': '45aa4e95637142bab8b32b781c1ed2e4', 'project_id': '45aa4e95637142bab8b32b781c1ed2e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99914852', 'ctest-vn1-08362617'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 20:20:14,194 - DEBUG - Response for create_subnet : {'subnet': {'id': '15fe1d6b-8be1-4b12-8e76-053e67966ba1', 'name': '', 'tenant_id': '45aa4e95637142bab8b32b781c1ed2e4', 'network_id': 'eebf1017-372c-49b1-b1ae-508d6941ab76', 'ip_version': 4, 'cidr': '55.71.163.64/26', 'allocation_pools': [{'start': '55.71.163.66', 'end': '55.71.163.126'}], 'gateway_ip': '55.71.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.71.163.66', 'tags': [], 'project_id': '45aa4e95637142bab8b32b781c1ed2e4'}} 2025-07-30 20:20:14,487 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ac1c240-8bda-4336-85b4-c69efd8ba214', 'name': '', 'tenant_id': '45aa4e95637142bab8b32b781c1ed2e4', 'network_id': 'eebf1017-372c-49b1-b1ae-508d6941ab76', 'ip_version': 4, 'cidr': '46.139.90.128/26', 'allocation_pools': [{'start': '46.139.90.130', 'end': '46.139.90.190'}], 'gateway_ip': '46.139.90.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.139.90.130', 'tags': [], 'project_id': '45aa4e95637142bab8b32b781c1ed2e4'}} 2025-07-30 20:20:14,531 - INFO - Created VN ctest-vn1-08362617 2025-07-30 20:20:14,590 - DEBUG - VN ctest-vn1-08362617 UUID is eebf1017-372c-49b1-b1ae-508d6941ab76 2025-07-30 20:20:15,226 - DEBUG - Response for create_port : {'port': {'name': '886bbf56-1ced-4c05-b478-a21d91765a76', 'id': '886bbf56-1ced-4c05-b478-a21d91765a76', 'tenant_id': '45aa4e95637142bab8b32b781c1ed2e4', 'network_id': 'eebf1017-372c-49b1-b1ae-508d6941ab76', 'mac_address': '02:88:6b:bf:56:1c', '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': '55.71.163.69', 'subnet_id': '15fe1d6b-8be1-4b12-8e76-053e67966ba1'}], 'security_groups': ['7dc397a7-07b0-4624-8eee-98ca699f1a31'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '45aa4e95637142bab8b32b781c1ed2e4'}} 2025-07-30 20:20:15,533 - DEBUG - Response for create_port : {'port': {'name': '07a036d7-2fbe-4749-9c64-24eb626e9377', 'id': '07a036d7-2fbe-4749-9c64-24eb626e9377', 'tenant_id': '45aa4e95637142bab8b32b781c1ed2e4', 'network_id': 'eebf1017-372c-49b1-b1ae-508d6941ab76', 'mac_address': '02:07:a0:36:d7:2f', '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': '46.139.90.133', 'subnet_id': '4ac1c240-8bda-4336-85b4-c69efd8ba214'}], 'security_groups': ['7dc397a7-07b0-4624-8eee-98ca699f1a31'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '45aa4e95637142bab8b32b781c1ed2e4'}} 2025-07-30 20:20:15,623 - DEBUG - Services list from nova: [, , ] 2025-07-30 20:20:16,180 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3726-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3726-1) 2025-07-30 20:20:17,059 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3726-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3726-1) 2025-07-30 20:20:17,059 - INFO - Waiting for VM ctest-vn1-vm1-11735319 to be up.. 2025-07-30 20:20:17,144 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-30 20:20:22,304 - DEBUG - VM is in ACTIVE state now 2025-07-30 20:20:22,304 - INFO - VM name : ctest-vn1-vm1-11735319 2025-07-30 20:20:22,413 - DEBUG - VM ctest-vn1-vm1-11735319 ID is 5f7590cc-611d-4836-a78c-d32e062968ae 2025-07-30 20:20:22,439 - DEBUG - VM ctest-vn1-vm1-11735319 launched on Node cn-jenkins-deploy-platform-ansible-os-3726-1 2025-07-30 20:20:22,578 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/5f7590cc-611d-4836-a78c-d32e062968ae 2025-07-30 20:20:22,589 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/886bbf56-1ced-4c05-b478-a21d91765a76 2025-07-30 20:20:25,862 - 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 1009ms') 2025-07-30 20:20:25,862 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11735319 failed! 2025-07-30 20:20:25,937 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99914852:ctest-vn1-08362617 is 55.71.163.65 and allocation pool is NOT set 2025-07-30 20:20:25,937 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99914852:ctest-vn1-08362617 is 46.139.90.129 and allocation pool is NOT set 2025-07-30 20:20:30,020 - 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=17.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 17.669/17.669/17.669/0.000 ms') 2025-07-30 20:20:30,020 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11735319 passed 2025-07-30 20:20:30,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:20:30,200 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11735319, IP 55.71.163.69, Port 22 2025-07-30 20:20:30,392 - DEBUG - VM ctest-vn1-vm1-11735319 is ready for SSH connections 2025-07-30 20:20:30,393 - INFO - Waiting for VM ctest-vn1-vm2-76058443 to be up.. 2025-07-30 20:20:30,551 - DEBUG - VM is in ACTIVE state now 2025-07-30 20:20:30,551 - INFO - VM name : ctest-vn1-vm2-76058443 2025-07-30 20:20:30,688 - DEBUG - VM ctest-vn1-vm2-76058443 ID is c590db81-8988-4452-9985-35b8fc4c9ade 2025-07-30 20:20:30,688 - DEBUG - VM ctest-vn1-vm2-76058443 launched on Node cn-jenkins-deploy-platform-ansible-os-3726-1 2025-07-30 20:20:30,808 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/c590db81-8988-4452-9985-35b8fc4c9ade 2025-07-30 20:20:30,823 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/07a036d7-2fbe-4749-9c64-24eb626e9377 2025-07-30 20:20:32,134 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.799 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 = 0.799/2.138/3.478/1.339 ms') 2025-07-30 20:20:32,135 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-76058443 passed 2025-07-30 20:20:32,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:20:32,320 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-76058443, IP 46.139.90.133, Port 22 2025-07-30 20:20:32,528 - DEBUG - VM ctest-vn1-vm2-76058443 is ready for SSH connections 2025-07-30 20:20:32,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:20:32,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:20:32,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:20:32,529 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.71.163.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-07-30 20:20:32,529 - DEBUG - ping -s 56 -c 3 -W 1 55.71.163.69 2025-07-30 20:20:35,635 - DEBUG - PING 55.71.163.69 (55.71.163.69): 56 data bytes 64 bytes from 55.71.163.69: seq=0 ttl=63 time=4.543 ms 64 bytes from 55.71.163.69: seq=1 ttl=63 time=1.556 ms 64 bytes from 55.71.163.69: seq=2 ttl=63 time=1.535 ms --- 55.71.163.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.535/2.544/4.543 ms 2025-07-30 20:20:35,635 - INFO - Ping to IP 55.71.163.69 from VM ctest-vn1-vm2-76058443 passed 2025-07-30 20:20:35,635 - INFO - Detaching port 07a036d7-2fbe-4749-9c64-24eb626e9377 from VM ctest-vn1-vm2-76058443 2025-07-30 20:20:35,760 - INFO - Deleting VM ctest-vn1-vm2-76058443 2025-07-30 20:20:35,904 - INFO - Detaching port 886bbf56-1ced-4c05-b478-a21d91765a76 from VM ctest-vn1-vm1-11735319 2025-07-30 20:20:35,979 - INFO - Deleting VM ctest-vn1-vm1-11735319 2025-07-30 20:20:36,469 - DEBUG - Response for delete_port : () 2025-07-30 20:20:36,685 - DEBUG - Response for delete_port : () 2025-07-30 20:20:36,686 - INFO - Deleting VN ctest-vn1-08362617 2025-07-30 20:20:36,815 - DEBUG - Response for deleting network () 2025-07-30 20:20:37,115 - DEBUG - No XMPP flaps were noticed during the test 2025-07-30 20:20:37,115 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-07-30 20:20:37,116 - INFO - -------------------------------------------------------------------------------- 2025-07-30 20:20:37,892 - INFO - Deleted project: ctest-TestPorts-99914852, ID : 45aa4e95-6371-42ba-b8b3-2b781c1ed2e4