2025-11-17 02:04:27,923 - INFO - Domain Default found not creating 2025-11-17 02:04:28,162 - INFO - Project ctest-TestPorts-72063258 not found, creating it 2025-11-17 02:04:28,599 - INFO - Created Project:ctest-TestPorts-72063258, ID : 3e87bee4-9c8f-48f1-a65f-ffb5b596e911 2025-11-17 02:04:30,196 - INFO - ================================================================================ 2025-11-17 02:04:30,196 - INFO - STARTING TEST : test_ports_bindings 2025-11-17 02:04:30,196 - 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-17 02:04:30,448 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0'}} with 2025-11-17 02:04:30,448 - INFO - Initial checks done. Running the testcase now 2025-11-17 02:04:30,449 - INFO - 2025-11-17 02:04:31,048 - DEBUG - Response for create_network : {'network': {'id': '861ff25f-9ae8-4336-9006-de5db5f02100', 'name': 'ctest-vn-27453183', 'tenant_id': '3e87bee49c8f48f1a65fffb5b596e911', 'project_id': '3e87bee49c8f48f1a65fffb5b596e911', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72063258', 'ctest-vn-27453183'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:04:31,244 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b9e05ec-bc4d-490f-a420-067d769b47d4', 'name': '', 'tenant_id': '3e87bee49c8f48f1a65fffb5b596e911', 'network_id': '861ff25f-9ae8-4336-9006-de5db5f02100', 'ip_version': 4, 'cidr': '81.17.128.64/26', 'allocation_pools': [{'start': '81.17.128.66', 'end': '81.17.128.126'}], 'gateway_ip': '81.17.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.17.128.66', 'tags': [], 'project_id': '3e87bee49c8f48f1a65fffb5b596e911'}} 2025-11-17 02:04:31,261 - INFO - Created VN ctest-vn-27453183 2025-11-17 02:04:31,315 - DEBUG - VN ctest-vn-27453183 UUID is 861ff25f-9ae8-4336-9006-de5db5f02100 2025-11-17 02:04:31,419 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-72063258', 'ctest-vmi-21341478']} 2025-11-17 02:04:31,693 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-21341478', 'id': '4f32ba78-dcea-4c3c-a54d-c460b48487bd', 'tenant_id': '3e87bee49c8f48f1a65fffb5b596e911', 'network_id': '861ff25f-9ae8-4336-9006-de5db5f02100', 'mac_address': '02:4f:32:ba:78:dc', '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': '81.17.128.67', 'subnet_id': '9b9e05ec-bc4d-490f-a420-067d769b47d4'}], 'security_groups': ['e4f6c320-7233-4f19-a26b-0303e449e7f0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3e87bee49c8f48f1a65fffb5b596e911'}} 2025-11-17 02:04:31,693 - DEBUG - Created port 4f32ba78-dcea-4c3c-a54d-c460b48487bd 2025-11-17 02:04:31,799 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/4f32ba78-dcea-4c3c-a54d-c460b48487bd 2025-11-17 02:04:32,131 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/4f32ba78-dcea-4c3c-a54d-c460b48487bd 2025-11-17 02:04:32,165 - INFO - VMI 4f32ba78-dcea-4c3c-a54d-c460b48487bd verification in API Server passed 2025-11-17 02:04:32,253 - DEBUG - Response for delete_port : () 2025-11-17 02:04:32,253 - INFO - Deleted port 4f32ba78-dcea-4c3c-a54d-c460b48487bd 2025-11-17 02:04:32,253 - INFO - Deleting VN ctest-vn-27453183 2025-11-17 02:04:32,381 - DEBUG - Response for deleting network () 2025-11-17 02:04:32,635 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 02:04:32,635 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-17 02:04:32,635 - INFO - -------------------------------------------------------------------------------- 2025-11-17 02:04:32,638 - INFO - ================================================================================ 2025-11-17 02:04:32,638 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-17 02:04:32,638 - 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-17 02:04:32,923 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0'}} with 2025-11-17 02:04:32,923 - INFO - Initial checks done. Running the testcase now 2025-11-17 02:04:32,923 - INFO - 2025-11-17 02:04:33,093 - DEBUG - Response for create_network : {'network': {'id': 'be3499f4-a4c2-4b54-89d4-b718bc7409c8', 'name': 'ctest-vn1-02053476', 'tenant_id': '3e87bee49c8f48f1a65fffb5b596e911', 'project_id': '3e87bee49c8f48f1a65fffb5b596e911', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72063258', 'ctest-vn1-02053476'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:04:33,232 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c062d53-de23-4476-82f7-e5694eb7c05f', 'name': '', 'tenant_id': '3e87bee49c8f48f1a65fffb5b596e911', 'network_id': 'be3499f4-a4c2-4b54-89d4-b718bc7409c8', 'ip_version': 4, 'cidr': '86.70.21.64/26', 'allocation_pools': [{'start': '86.70.21.66', 'end': '86.70.21.126'}], 'gateway_ip': '86.70.21.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.70.21.66', 'tags': [], 'project_id': '3e87bee49c8f48f1a65fffb5b596e911'}} 2025-11-17 02:04:33,424 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e39fe2b-4f5c-4656-b577-a5bb73711a63', 'name': '', 'tenant_id': '3e87bee49c8f48f1a65fffb5b596e911', 'network_id': 'be3499f4-a4c2-4b54-89d4-b718bc7409c8', 'ip_version': 4, 'cidr': '161.130.107.0/26', 'allocation_pools': [{'start': '161.130.107.2', 'end': '161.130.107.62'}], 'gateway_ip': '161.130.107.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.130.107.2', 'tags': [], 'project_id': '3e87bee49c8f48f1a65fffb5b596e911'}} 2025-11-17 02:04:33,442 - INFO - Created VN ctest-vn1-02053476 2025-11-17 02:04:33,495 - DEBUG - VN ctest-vn1-02053476 UUID is be3499f4-a4c2-4b54-89d4-b718bc7409c8 2025-11-17 02:04:33,776 - DEBUG - Response for create_port : {'port': {'name': '168f9307-eda6-4253-ad2b-e4c6be5cbe21', 'id': '168f9307-eda6-4253-ad2b-e4c6be5cbe21', 'tenant_id': '3e87bee49c8f48f1a65fffb5b596e911', 'network_id': 'be3499f4-a4c2-4b54-89d4-b718bc7409c8', 'mac_address': '02:16:8f:93:07:ed', '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': '86.70.21.69', 'subnet_id': '1c062d53-de23-4476-82f7-e5694eb7c05f'}], 'security_groups': ['e4f6c320-7233-4f19-a26b-0303e449e7f0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3e87bee49c8f48f1a65fffb5b596e911'}} 2025-11-17 02:04:33,939 - DEBUG - Response for create_port : {'port': {'name': '19ed9e0a-73c7-4c2a-8f16-ba4247cf856f', 'id': '19ed9e0a-73c7-4c2a-8f16-ba4247cf856f', 'tenant_id': '3e87bee49c8f48f1a65fffb5b596e911', 'network_id': 'be3499f4-a4c2-4b54-89d4-b718bc7409c8', 'mac_address': '02:19:ed:9e:0a:73', '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': '161.130.107.5', 'subnet_id': '3e39fe2b-4f5c-4656-b577-a5bb73711a63'}], 'security_groups': ['e4f6c320-7233-4f19-a26b-0303e449e7f0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3e87bee49c8f48f1a65fffb5b596e911'}} 2025-11-17 02:04:33,992 - DEBUG - Services list from nova: [, , ] 2025-11-17 02:04:34,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4737-1) 2025-11-17 02:04:34,704 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4737-1) 2025-11-17 02:04:34,704 - INFO - Waiting for VM ctest-vn1-vm1-35549238 to be up.. 2025-11-17 02:04:34,742 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 02:04:39,819 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:04:39,819 - INFO - VM name : ctest-vn1-vm1-35549238 2025-11-17 02:04:39,901 - DEBUG - VM ctest-vn1-vm1-35549238 ID is 2a5c92a8-b13f-49e3-9348-878b6ba0f15a 2025-11-17 02:04:39,919 - DEBUG - VM ctest-vn1-vm1-35549238 launched on Node cn-jenkins-deploy-platform-ansible-os-4737-1 2025-11-17 02:04:39,988 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2a5c92a8-b13f-49e3-9348-878b6ba0f15a 2025-11-17 02:04:39,996 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/168f9307-eda6-4253-ad2b-e4c6be5cbe21 2025-11-17 02:04:43,247 - 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 1017ms') 2025-11-17 02:04:43,247 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35549238 failed! 2025-11-17 02:04:43,299 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72063258:ctest-vn1-02053476 is 86.70.21.65 and allocation pool is NOT set 2025-11-17 02:04:43,299 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72063258:ctest-vn1-02053476 is 161.130.107.1 and allocation pool is NOT set 2025-11-17 02:04:47,379 - 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=7.80 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 = 7.801/7.801/7.801/0.000 ms') 2025-11-17 02:04:47,379 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35549238 passed 2025-11-17 02:04:47,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:04:47,531 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35549238, IP 86.70.21.69, Port 22 2025-11-17 02:04:47,698 - DEBUG - VM ctest-vn1-vm1-35549238 is ready for SSH connections 2025-11-17 02:04:47,699 - INFO - Waiting for VM ctest-vn1-vm2-71924847 to be up.. 2025-11-17 02:04:47,777 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:04:47,777 - INFO - VM name : ctest-vn1-vm2-71924847 2025-11-17 02:04:47,848 - DEBUG - VM ctest-vn1-vm2-71924847 ID is 43d5290c-e570-4dd5-acf3-d6328b8b5f27 2025-11-17 02:04:47,849 - DEBUG - VM ctest-vn1-vm2-71924847 launched on Node cn-jenkins-deploy-platform-ansible-os-4737-1 2025-11-17 02:04:47,918 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/43d5290c-e570-4dd5-acf3-d6328b8b5f27 2025-11-17 02:04:47,928 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/19ed9e0a-73c7-4c2a-8f16-ba4247cf856f 2025-11-17 02:04:49,161 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.353 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.353/1.806/3.260/1.453 ms') 2025-11-17 02:04:49,161 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-71924847 passed 2025-11-17 02:04:49,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:04:49,311 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-71924847, IP 161.130.107.5, Port 22 2025-11-17 02:04:49,466 - DEBUG - VM ctest-vn1-vm2-71924847 is ready for SSH connections 2025-11-17 02:04:49,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:04:49,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:04:49,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:04:49,466 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.70.21.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-17 02:04:49,466 - DEBUG - ping -s 56 -c 3 -W 1 86.70.21.69 2025-11-17 02:04:52,153 - DEBUG - PING 86.70.21.69 (86.70.21.69): 56 data bytes 64 bytes from 86.70.21.69: seq=0 ttl=63 time=3.971 ms 64 bytes from 86.70.21.69: seq=1 ttl=63 time=0.890 ms 64 bytes from 86.70.21.69: seq=2 ttl=63 time=1.179 ms --- 86.70.21.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.890/2.013/3.971 ms 2025-11-17 02:04:52,153 - INFO - Ping to IP 86.70.21.69 from VM ctest-vn1-vm2-71924847 passed 2025-11-17 02:04:52,153 - INFO - Detaching port 19ed9e0a-73c7-4c2a-8f16-ba4247cf856f from VM ctest-vn1-vm2-71924847 2025-11-17 02:04:52,223 - INFO - Deleting VM ctest-vn1-vm2-71924847 2025-11-17 02:04:52,294 - INFO - Detaching port 168f9307-eda6-4253-ad2b-e4c6be5cbe21 from VM ctest-vn1-vm1-35549238 2025-11-17 02:04:52,330 - INFO - Deleting VM ctest-vn1-vm1-35549238 2025-11-17 02:04:52,538 - DEBUG - Response for delete_port : () 2025-11-17 02:04:52,681 - DEBUG - Response for delete_port : () 2025-11-17 02:04:52,681 - INFO - Deleting VN ctest-vn1-02053476 2025-11-17 02:04:52,802 - DEBUG - Response for deleting network () 2025-11-17 02:04:53,078 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 02:04:53,079 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-11-17 02:04:53,079 - INFO - -------------------------------------------------------------------------------- 2025-11-17 02:04:53,794 - INFO - Deleted project: ctest-TestPorts-72063258, ID : 3e87bee4-9c8f-48f1-a65f-ffb5b596e911