2025-11-15 10:28:28,785 - INFO - Domain Default found not creating 2025-11-15 10:28:29,160 - INFO - Project ctest-TestPorts-20358900 not found, creating it 2025-11-15 10:28:29,879 - INFO - Created Project:ctest-TestPorts-20358900, ID : c610f172-8fae-4d98-b00e-f1f7e663d88c 2025-11-15 10:28:31,961 - INFO - ================================================================================ 2025-11-15 10:28:31,961 - INFO - STARTING TEST : test_ports_bindings 2025-11-15 10:28:31,961 - 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-15 10:28:32,252 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-15 10:28:32,252 - INFO - Initial checks done. Running the testcase now 2025-11-15 10:28:32,252 - INFO - 2025-11-15 10:28:33,047 - DEBUG - Response for create_network : {'network': {'id': '36dfe815-90f8-4d00-b6f3-50a970fb52d7', 'name': 'ctest-vn-01939327', 'tenant_id': 'c610f1728fae4d98b00ef1f7e663d88c', 'project_id': 'c610f1728fae4d98b00ef1f7e663d88c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20358900', 'ctest-vn-01939327'], 'port_security_enabled': True, 'description': ''}} 2025-11-15 10:28:33,306 - DEBUG - Response for create_subnet : {'subnet': {'id': '2303349b-ac34-49f9-af6d-8a81f2ab871d', 'name': '', 'tenant_id': 'c610f1728fae4d98b00ef1f7e663d88c', 'network_id': '36dfe815-90f8-4d00-b6f3-50a970fb52d7', 'ip_version': 4, 'cidr': '35.0.154.64/26', 'allocation_pools': [{'start': '35.0.154.66', 'end': '35.0.154.126'}], 'gateway_ip': '35.0.154.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.0.154.66', 'tags': [], 'project_id': 'c610f1728fae4d98b00ef1f7e663d88c'}} 2025-11-15 10:28:33,336 - INFO - Created VN ctest-vn-01939327 2025-11-15 10:28:33,395 - DEBUG - VN ctest-vn-01939327 UUID is 36dfe815-90f8-4d00-b6f3-50a970fb52d7 2025-11-15 10:28:33,519 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-20358900', 'ctest-vmi-63928951']} 2025-11-15 10:28:33,918 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-63928951', 'id': 'f0ea3ec9-2ff7-4bb7-aa5c-2448524f0ba0', 'tenant_id': 'c610f1728fae4d98b00ef1f7e663d88c', 'network_id': '36dfe815-90f8-4d00-b6f3-50a970fb52d7', 'mac_address': '02:f0:ea:3e:c9:2f', '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': '35.0.154.67', 'subnet_id': '2303349b-ac34-49f9-af6d-8a81f2ab871d'}], 'security_groups': ['74a5ed5f-6153-4e73-9d27-979a6160dbee'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c610f1728fae4d98b00ef1f7e663d88c'}} 2025-11-15 10:28:33,918 - DEBUG - Created port f0ea3ec9-2ff7-4bb7-aa5c-2448524f0ba0 2025-11-15 10:28:34,030 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f0ea3ec9-2ff7-4bb7-aa5c-2448524f0ba0 2025-11-15 10:28:34,356 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f0ea3ec9-2ff7-4bb7-aa5c-2448524f0ba0 2025-11-15 10:28:34,443 - INFO - VMI f0ea3ec9-2ff7-4bb7-aa5c-2448524f0ba0 verification in API Server passed 2025-11-15 10:28:34,573 - DEBUG - Response for delete_port : () 2025-11-15 10:28:34,573 - INFO - Deleted port f0ea3ec9-2ff7-4bb7-aa5c-2448524f0ba0 2025-11-15 10:28:34,573 - INFO - Deleting VN ctest-vn-01939327 2025-11-15 10:28:34,732 - DEBUG - Response for deleting network () 2025-11-15 10:28:35,037 - DEBUG - No XMPP flaps were noticed during the test
2025-11-15 10:28:35,037 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-11-15 10:28:35,037 - INFO - -------------------------------------------------------------------------------- 2025-11-15 10:28:35,040 - INFO - ================================================================================ 2025-11-15 10:28:35,040 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-15 10:28:35,040 - 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-15 10:28:35,374 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-15 10:28:35,374 - INFO - Initial checks done. Running the testcase now 2025-11-15 10:28:35,374 - INFO - 2025-11-15 10:28:35,685 - DEBUG - Response for create_network : {'network': {'id': '9b978a29-447f-4547-820c-6461e39d9b8e', 'name': 'ctest-vn1-73120596', 'tenant_id': 'c610f1728fae4d98b00ef1f7e663d88c', 'project_id': 'c610f1728fae4d98b00ef1f7e663d88c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20358900', 'ctest-vn1-73120596'], 'port_security_enabled': True, 'description': ''}} 2025-11-15 10:28:35,896 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d4ee9a3-b9c9-4d12-ac85-59e37143e75b', 'name': '', 'tenant_id': 'c610f1728fae4d98b00ef1f7e663d88c', 'network_id': '9b978a29-447f-4547-820c-6461e39d9b8e', 'ip_version': 4, 'cidr': '75.253.43.128/26', 'allocation_pools': [{'start': '75.253.43.130', 'end': '75.253.43.190'}], 'gateway_ip': '75.253.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.253.43.130', 'tags': [], 'project_id': 'c610f1728fae4d98b00ef1f7e663d88c'}} 2025-11-15 10:28:36,147 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e16cd50-d8ac-483a-a934-f6c24d8757bb', 'name': '', 'tenant_id': 'c610f1728fae4d98b00ef1f7e663d88c', 'network_id': '9b978a29-447f-4547-820c-6461e39d9b8e', 'ip_version': 4, 'cidr': '122.71.77.64/26', 'allocation_pools': [{'start': '122.71.77.66', 'end': '122.71.77.126'}], 'gateway_ip': '122.71.77.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.71.77.66', 'tags': [], 'project_id': 'c610f1728fae4d98b00ef1f7e663d88c'}} 2025-11-15 10:28:36,170 - INFO - Created VN ctest-vn1-73120596 2025-11-15 10:28:36,226 - DEBUG - VN ctest-vn1-73120596 UUID is 9b978a29-447f-4547-820c-6461e39d9b8e 2025-11-15 10:28:36,612 - DEBUG - Response for create_port : {'port': {'name': '0b5774f6-efc3-4277-8d8f-a5e57d413f51', 'id': '0b5774f6-efc3-4277-8d8f-a5e57d413f51', 'tenant_id': 'c610f1728fae4d98b00ef1f7e663d88c', 'network_id': '9b978a29-447f-4547-820c-6461e39d9b8e', 'mac_address': '02:0b:57:74:f6:ef', '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': '75.253.43.133', 'subnet_id': '8d4ee9a3-b9c9-4d12-ac85-59e37143e75b'}], 'security_groups': ['74a5ed5f-6153-4e73-9d27-979a6160dbee'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c610f1728fae4d98b00ef1f7e663d88c'}} 2025-11-15 10:28:36,800 - DEBUG - Response for create_port : {'port': {'name': 'ba329fb0-f465-429b-aa10-ebe9f4219180', 'id': 'ba329fb0-f465-429b-aa10-ebe9f4219180', 'tenant_id': 'c610f1728fae4d98b00ef1f7e663d88c', 'network_id': '9b978a29-447f-4547-820c-6461e39d9b8e', 'mac_address': '02:ba:32:9f:b0:f4', '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.71.77.69', 'subnet_id': '7e16cd50-d8ac-483a-a934-f6c24d8757bb'}], 'security_groups': ['74a5ed5f-6153-4e73-9d27-979a6160dbee'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c610f1728fae4d98b00ef1f7e663d88c'}} 2025-11-15 10:28:36,867 - DEBUG - Services list from nova: [, , ] 2025-11-15 10:28:37,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4734-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4734-1) 2025-11-15 10:28:38,264 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4734-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4734-1) 2025-11-15 10:28:38,265 - INFO - Waiting for VM ctest-vn1-vm1-36474110 to be up.. 2025-11-15 10:28:38,336 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-15 10:28:43,574 - DEBUG - VM is in ACTIVE state now 2025-11-15 10:28:43,574 - INFO - VM name : ctest-vn1-vm1-36474110 2025-11-15 10:28:43,722 - DEBUG - VM ctest-vn1-vm1-36474110 ID is bdce9722-8cee-4b80-a906-84e3204f1914 2025-11-15 10:28:43,755 - DEBUG - VM ctest-vn1-vm1-36474110 launched on Node cn-jenkins-deploy-platform-ansible-os-4734-1 2025-11-15 10:28:43,858 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bdce9722-8cee-4b80-a906-84e3204f1914 2025-11-15 10:28:43,868 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0b5774f6-efc3-4277-8d8f-a5e57d413f51 2025-11-15 10:28:47,159 - 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 1025ms') 2025-11-15 10:28:47,159 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36474110 failed! 2025-11-15 10:28:47,225 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20358900:ctest-vn1-73120596 is 75.253.43.129 and allocation pool is NOT set 2025-11-15 10:28:47,226 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20358900:ctest-vn1-73120596 is 122.71.77.65 and allocation pool is NOT set 2025-11-15 10:28:51,327 - 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 1024ms') 2025-11-15 10:28:51,327 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36474110 failed! 2025-11-15 10:28:51,390 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20358900:ctest-vn1-73120596 is 75.253.43.129 and allocation pool is NOT set 2025-11-15 10:28:51,390 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20358900:ctest-vn1-73120596 is 122.71.77.65 and allocation pool is NOT set 2025-11-15 10:28:53,468 - 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=3.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.908 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.908/2.205/3.502/1.297 ms') 2025-11-15 10:28:53,468 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36474110 passed 2025-11-15 10:28:53,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 10:28:53,654 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36474110, IP 75.253.43.133, Port 22 2025-11-15 10:28:53,846 - DEBUG - VM ctest-vn1-vm1-36474110 is ready for SSH connections 2025-11-15 10:28:53,846 - INFO - Waiting for VM ctest-vn1-vm2-37858013 to be up.. 2025-11-15 10:28:54,058 - DEBUG - VM is in ACTIVE state now 2025-11-15 10:28:54,058 - INFO - VM name : ctest-vn1-vm2-37858013 2025-11-15 10:28:54,220 - DEBUG - VM ctest-vn1-vm2-37858013 ID is d0578d95-b5e9-4356-b590-835684923431 2025-11-15 10:28:54,221 - DEBUG - VM ctest-vn1-vm2-37858013 launched on Node cn-jenkins-deploy-platform-ansible-os-4734-1 2025-11-15 10:28:54,391 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d0578d95-b5e9-4356-b590-835684923431 2025-11-15 10:28:54,408 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ba329fb0-f465-429b-aa10-ebe9f4219180 2025-11-15 10:28:55,714 - 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=6.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.694 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.694/3.769/6.845/3.075 ms') 2025-11-15 10:28:55,715 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-37858013 passed 2025-11-15 10:28:55,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 10:28:55,882 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-37858013, IP 122.71.77.69, Port 22 2025-11-15 10:28:56,069 - DEBUG - VM ctest-vn1-vm2-37858013 is ready for SSH connections 2025-11-15 10:28:56,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 10:28:56,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 10:28:56,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 10:28:56,070 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.253.43.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-15 10:28:56,070 - DEBUG - ping -s 56 -c 3 -W 1 75.253.43.133 2025-11-15 10:28:59,247 - DEBUG - PING 75.253.43.133 (75.253.43.133): 56 data bytes 64 bytes from 75.253.43.133: seq=0 ttl=63 time=4.186 ms 64 bytes from 75.253.43.133: seq=1 ttl=63 time=1.502 ms 64 bytes from 75.253.43.133: seq=2 ttl=63 time=1.554 ms --- 75.253.43.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.502/2.414/4.186 ms 2025-11-15 10:28:59,247 - INFO - Ping to IP 75.253.43.133 from VM ctest-vn1-vm2-37858013 passed 2025-11-15 10:28:59,247 - INFO - Detaching port ba329fb0-f465-429b-aa10-ebe9f4219180 from VM ctest-vn1-vm2-37858013 2025-11-15 10:28:59,372 - INFO - Deleting VM ctest-vn1-vm2-37858013 2025-11-15 10:28:59,532 - INFO - Detaching port 0b5774f6-efc3-4277-8d8f-a5e57d413f51 from VM ctest-vn1-vm1-36474110 2025-11-15 10:28:59,590 - INFO - Deleting VM ctest-vn1-vm1-36474110 2025-11-15 10:28:59,943 - DEBUG - Response for delete_port : () 2025-11-15 10:29:00,119 - DEBUG - Response for delete_port : () 2025-11-15 10:29:00,120 - INFO - Deleting VN ctest-vn1-73120596 2025-11-15 10:29:00,243 - DEBUG - Response for deleting network () 2025-11-15 10:29:00,524 - DEBUG - No XMPP flaps were noticed during the test
2025-11-15 10:29:00,524 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-11-15 10:29:00,524 - INFO - -------------------------------------------------------------------------------- 2025-11-15 10:29:01,257 - INFO - Deleted project: ctest-TestPorts-20358900, ID : c610f172-8fae-4d98-b00e-f1f7e663d88c