2025-10-27 20:06:05,141 - INFO - Domain Default found not creating 2025-10-27 20:06:05,324 - INFO - Project ctest-TestPorts-43779352 not found, creating it 2025-10-27 20:06:05,766 - INFO - Created Project:ctest-TestPorts-43779352, ID : 2f85c9fd-3d8c-4a7a-9a7c-ad34945e2af5 2025-10-27 20:06:07,203 - INFO - ================================================================================ 2025-10-27 20:06:07,203 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 20:06:07,203 - 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-27 20:06:07,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-27 20:06:07,464 - INFO - Initial checks done. Running the testcase now 2025-10-27 20:06:07,464 - INFO - 2025-10-27 20:06:08,018 - DEBUG - Response for create_network : {'network': {'id': '8b617535-7462-41b6-b6ab-c57264b94602', 'name': 'ctest-vn-02673935', 'tenant_id': '2f85c9fd3d8c4a7a9a7cad34945e2af5', 'project_id': '2f85c9fd3d8c4a7a9a7cad34945e2af5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43779352', 'ctest-vn-02673935'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:06:08,165 - DEBUG - Response for create_subnet : {'subnet': {'id': '66059309-1535-4a8f-a627-af18665de8b3', 'name': '', 'tenant_id': '2f85c9fd3d8c4a7a9a7cad34945e2af5', 'network_id': '8b617535-7462-41b6-b6ab-c57264b94602', 'ip_version': 4, 'cidr': '122.10.179.0/26', 'allocation_pools': [{'start': '122.10.179.2', 'end': '122.10.179.62'}], 'gateway_ip': '122.10.179.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.10.179.2', 'tags': [], 'project_id': '2f85c9fd3d8c4a7a9a7cad34945e2af5'}} 2025-10-27 20:06:08,182 - INFO - Created VN ctest-vn-02673935 2025-10-27 20:06:08,233 - DEBUG - VN ctest-vn-02673935 UUID is 8b617535-7462-41b6-b6ab-c57264b94602 2025-10-27 20:06:08,342 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-43779352', 'ctest-vmi-55720017']} 2025-10-27 20:06:08,623 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-55720017', 'id': '112cc6aa-e838-4a67-bd20-d95d9e1b412e', 'tenant_id': '2f85c9fd3d8c4a7a9a7cad34945e2af5', 'network_id': '8b617535-7462-41b6-b6ab-c57264b94602', 'mac_address': '02:11:2c:c6:aa:e8', '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': '122.10.179.3', 'subnet_id': '66059309-1535-4a8f-a627-af18665de8b3'}], 'security_groups': ['b7477858-2cfb-454d-9bfa-39c46bc63b1f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2f85c9fd3d8c4a7a9a7cad34945e2af5'}} 2025-10-27 20:06:08,623 - DEBUG - Created port 112cc6aa-e838-4a67-bd20-d95d9e1b412e 2025-10-27 20:06:08,725 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/112cc6aa-e838-4a67-bd20-d95d9e1b412e 2025-10-27 20:06:09,018 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/112cc6aa-e838-4a67-bd20-d95d9e1b412e 2025-10-27 20:06:09,051 - INFO - VMI 112cc6aa-e838-4a67-bd20-d95d9e1b412e verification in API Server passed 2025-10-27 20:06:09,135 - DEBUG - Response for delete_port : () 2025-10-27 20:06:09,136 - INFO - Deleted port 112cc6aa-e838-4a67-bd20-d95d9e1b412e 2025-10-27 20:06:09,136 - INFO - Deleting VN ctest-vn-02673935 2025-10-27 20:06:09,229 - DEBUG - Response for deleting network () 2025-10-27 20:06:09,482 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 20:06:09,482 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-27 20:06:09,482 - INFO - -------------------------------------------------------------------------------- 2025-10-27 20:06:09,485 - INFO - ================================================================================ 2025-10-27 20:06:09,485 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 20:06:09,485 - 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-27 20:06:09,771 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-27 20:06:09,771 - INFO - Initial checks done. Running the testcase now 2025-10-27 20:06:09,771 - INFO - 2025-10-27 20:06:09,940 - DEBUG - Response for create_network : {'network': {'id': '9d77b07c-86fe-4ef4-9be6-806ff9c55434', 'name': 'ctest-vn1-84756371', 'tenant_id': '2f85c9fd3d8c4a7a9a7cad34945e2af5', 'project_id': '2f85c9fd3d8c4a7a9a7cad34945e2af5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43779352', 'ctest-vn1-84756371'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:06:10,140 - DEBUG - Response for create_subnet : {'subnet': {'id': '1cf29dbb-32e8-4930-a6ff-695d6806e7ca', 'name': '', 'tenant_id': '2f85c9fd3d8c4a7a9a7cad34945e2af5', 'network_id': '9d77b07c-86fe-4ef4-9be6-806ff9c55434', 'ip_version': 4, 'cidr': '3.109.176.0/26', 'allocation_pools': [{'start': '3.109.176.2', 'end': '3.109.176.62'}], 'gateway_ip': '3.109.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.109.176.2', 'tags': [], 'project_id': '2f85c9fd3d8c4a7a9a7cad34945e2af5'}} 2025-10-27 20:06:10,327 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ec89be7-71e7-44d3-bcb4-254bbeb20eaa', 'name': '', 'tenant_id': '2f85c9fd3d8c4a7a9a7cad34945e2af5', 'network_id': '9d77b07c-86fe-4ef4-9be6-806ff9c55434', 'ip_version': 4, 'cidr': '184.171.236.128/26', 'allocation_pools': [{'start': '184.171.236.130', 'end': '184.171.236.190'}], 'gateway_ip': '184.171.236.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.171.236.130', 'tags': [], 'project_id': '2f85c9fd3d8c4a7a9a7cad34945e2af5'}} 2025-10-27 20:06:10,346 - INFO - Created VN ctest-vn1-84756371 2025-10-27 20:06:10,397 - DEBUG - VN ctest-vn1-84756371 UUID is 9d77b07c-86fe-4ef4-9be6-806ff9c55434 2025-10-27 20:06:10,690 - DEBUG - Response for create_port : {'port': {'name': '83a8637a-ee57-42eb-8b78-a7b1bfe82097', 'id': '83a8637a-ee57-42eb-8b78-a7b1bfe82097', 'tenant_id': '2f85c9fd3d8c4a7a9a7cad34945e2af5', 'network_id': '9d77b07c-86fe-4ef4-9be6-806ff9c55434', 'mac_address': '02:83:a8:63:7a:ee', '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': '3.109.176.5', 'subnet_id': '1cf29dbb-32e8-4930-a6ff-695d6806e7ca'}], 'security_groups': ['b7477858-2cfb-454d-9bfa-39c46bc63b1f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2f85c9fd3d8c4a7a9a7cad34945e2af5'}} 2025-10-27 20:06:10,877 - DEBUG - Response for create_port : {'port': {'name': '24a1807e-8899-4155-83f8-bbf6077d2a02', 'id': '24a1807e-8899-4155-83f8-bbf6077d2a02', 'tenant_id': '2f85c9fd3d8c4a7a9a7cad34945e2af5', 'network_id': '9d77b07c-86fe-4ef4-9be6-806ff9c55434', 'mac_address': '02:24:a1:80:7e:88', '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': '184.171.236.133', 'subnet_id': '1ec89be7-71e7-44d3-bcb4-254bbeb20eaa'}], 'security_groups': ['b7477858-2cfb-454d-9bfa-39c46bc63b1f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2f85c9fd3d8c4a7a9a7cad34945e2af5'}} 2025-10-27 20:06:10,934 - DEBUG - Services list from nova: [, , ] 2025-10-27 20:06:11,276 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4510-1) 2025-10-27 20:06:11,682 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4510-1) 2025-10-27 20:06:11,682 - INFO - Waiting for VM ctest-vn1-vm1-60606455 to be up.. 2025-10-27 20:06:11,719 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 20:06:16,792 - DEBUG - VM is in ACTIVE state now 2025-10-27 20:06:16,793 - INFO - VM name : ctest-vn1-vm1-60606455 2025-10-27 20:06:16,860 - DEBUG - VM ctest-vn1-vm1-60606455 ID is 49ed81c7-b543-4e0e-8e97-f6ba6bda15a9 2025-10-27 20:06:16,879 - DEBUG - VM ctest-vn1-vm1-60606455 launched on Node cn-jenkins-deploy-platform-ansible-os-4510-1 2025-10-27 20:06:16,952 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/49ed81c7-b543-4e0e-8e97-f6ba6bda15a9 2025-10-27 20:06:16,960 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/83a8637a-ee57-42eb-8b78-a7b1bfe82097 2025-10-27 20:06:20,223 - 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 1023ms') 2025-10-27 20:06:20,223 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60606455 failed! 2025-10-27 20:06:20,277 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43779352:ctest-vn1-84756371 is 3.109.176.1 and allocation pool is NOT set 2025-10-27 20:06:20,277 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43779352:ctest-vn1-84756371 is 184.171.236.129 and allocation pool is NOT set 2025-10-27 20:06:22,344 - 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=5.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.905 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.905/3.441/5.978/2.536 ms') 2025-10-27 20:06:22,345 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60606455 passed 2025-10-27 20:06:22,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:06:22,493 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60606455, IP 3.109.176.5, Port 22 2025-10-27 20:06:22,652 - DEBUG - VM ctest-vn1-vm1-60606455 is ready for SSH connections 2025-10-27 20:06:22,652 - INFO - Waiting for VM ctest-vn1-vm2-40140484 to be up.. 2025-10-27 20:06:22,739 - DEBUG - VM is in ACTIVE state now 2025-10-27 20:06:22,739 - INFO - VM name : ctest-vn1-vm2-40140484 2025-10-27 20:06:22,817 - DEBUG - VM ctest-vn1-vm2-40140484 ID is d390a4a9-8046-42f0-8b4b-8ce58f1482c1 2025-10-27 20:06:22,817 - DEBUG - VM ctest-vn1-vm2-40140484 launched on Node cn-jenkins-deploy-platform-ansible-os-4510-1 2025-10-27 20:06:22,889 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/d390a4a9-8046-42f0-8b4b-8ce58f1482c1 2025-10-27 20:06:22,898 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/24a1807e-8899-4155-83f8-bbf6077d2a02 2025-10-27 20:06:24,130 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.334 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.334/1.556/2.778/1.222 ms') 2025-10-27 20:06:24,130 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-40140484 passed 2025-10-27 20:06:24,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:06:24,277 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-40140484, IP 184.171.236.133, Port 22 2025-10-27 20:06:24,432 - DEBUG - VM ctest-vn1-vm2-40140484 is ready for SSH connections 2025-10-27 20:06:24,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:06:24,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:06:24,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:06:24,433 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.109.176.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 20:06:24,433 - DEBUG - ping -s 56 -c 3 -W 1 3.109.176.5 2025-10-27 20:06:27,088 - DEBUG - PING 3.109.176.5 (3.109.176.5): 56 data bytes 64 bytes from 3.109.176.5: seq=0 ttl=63 time=3.799 ms 64 bytes from 3.109.176.5: seq=1 ttl=63 time=0.948 ms 64 bytes from 3.109.176.5: seq=2 ttl=63 time=0.957 ms --- 3.109.176.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/1.901/3.799 ms 2025-10-27 20:06:27,088 - INFO - Ping to IP 3.109.176.5 from VM ctest-vn1-vm2-40140484 passed 2025-10-27 20:06:27,088 - INFO - Detaching port 24a1807e-8899-4155-83f8-bbf6077d2a02 from VM ctest-vn1-vm2-40140484 2025-10-27 20:06:27,139 - INFO - Deleting VM ctest-vn1-vm2-40140484 2025-10-27 20:06:27,208 - INFO - Detaching port 83a8637a-ee57-42eb-8b78-a7b1bfe82097 from VM ctest-vn1-vm1-60606455 2025-10-27 20:06:27,242 - INFO - Deleting VM ctest-vn1-vm1-60606455 2025-10-27 20:06:27,450 - DEBUG - Response for delete_port : () 2025-10-27 20:06:27,592 - DEBUG - Response for delete_port : () 2025-10-27 20:06:27,593 - INFO - Deleting VN ctest-vn1-84756371 2025-10-27 20:06:27,713 - DEBUG - Response for deleting network () 2025-10-27 20:06:27,971 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 20:06:27,971 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-10-27 20:06:27,971 - INFO - -------------------------------------------------------------------------------- 2025-10-27 20:06:28,641 - INFO - Deleted project: ctest-TestPorts-43779352, ID : 2f85c9fd-3d8c-4a7a-9a7c-ad34945e2af5