2025-08-18 14:53:50,096 - INFO - Domain Default found not creating 2025-08-18 14:53:50,210 - INFO - Project ctest-TestPorts-72720199 not found, creating it 2025-08-18 14:53:50,735 - INFO - Created Project:ctest-TestPorts-72720199, ID : 4f997162-4d7d-4986-9ca2-bc81663cbbe2 2025-08-18 14:53:52,030 - INFO - ================================================================================ 2025-08-18 14:53:52,031 - INFO - STARTING TEST : test_ports_bindings 2025-08-18 14:53:52,031 - 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-08-18 14:53:52,296 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-08-18 14:53:52,296 - INFO - Initial checks done. Running the testcase now 2025-08-18 14:53:52,296 - INFO - 2025-08-18 14:53:52,804 - DEBUG - Response for create_network : {'network': {'id': '1d39828f-c3d2-4bbd-9e77-cdf17a8f0e5d', 'name': 'ctest-vn-61744864', 'tenant_id': '4f9971624d7d49869ca2bc81663cbbe2', 'project_id': '4f9971624d7d49869ca2bc81663cbbe2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72720199', 'ctest-vn-61744864'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 14:53:52,962 - DEBUG - Response for create_subnet : {'subnet': {'id': '76d7a0cb-f8c6-49ce-a299-a965263e2ad0', 'name': '', 'tenant_id': '4f9971624d7d49869ca2bc81663cbbe2', 'network_id': '1d39828f-c3d2-4bbd-9e77-cdf17a8f0e5d', 'ip_version': 4, 'cidr': '130.183.124.128/26', 'allocation_pools': [{'start': '130.183.124.130', 'end': '130.183.124.190'}], 'gateway_ip': '130.183.124.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.183.124.130', 'tags': [], 'project_id': '4f9971624d7d49869ca2bc81663cbbe2'}} 2025-08-18 14:53:52,978 - INFO - Created VN ctest-vn-61744864 2025-08-18 14:53:53,031 - DEBUG - VN ctest-vn-61744864 UUID is 1d39828f-c3d2-4bbd-9e77-cdf17a8f0e5d 2025-08-18 14:53:53,129 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-72720199', 'ctest-vmi-36504303']} 2025-08-18 14:53:53,394 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-36504303', 'id': 'e8fcd1e7-3b89-4345-9e69-e62cc0455a32', 'tenant_id': '4f9971624d7d49869ca2bc81663cbbe2', 'network_id': '1d39828f-c3d2-4bbd-9e77-cdf17a8f0e5d', 'mac_address': '02:e8:fc:d1:e7:3b', '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': '130.183.124.131', 'subnet_id': '76d7a0cb-f8c6-49ce-a299-a965263e2ad0'}], 'security_groups': ['8a1a5931-84b4-4e6a-a4cf-24c0de7c4c4a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4f9971624d7d49869ca2bc81663cbbe2'}} 2025-08-18 14:53:53,394 - DEBUG - Created port e8fcd1e7-3b89-4345-9e69-e62cc0455a32 2025-08-18 14:53:53,502 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/e8fcd1e7-3b89-4345-9e69-e62cc0455a32 2025-08-18 14:53:53,794 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/e8fcd1e7-3b89-4345-9e69-e62cc0455a32 2025-08-18 14:53:53,825 - INFO - VMI e8fcd1e7-3b89-4345-9e69-e62cc0455a32 verification in API Server passed 2025-08-18 14:53:53,902 - DEBUG - Response for delete_port : () 2025-08-18 14:53:53,902 - INFO - Deleted port e8fcd1e7-3b89-4345-9e69-e62cc0455a32 2025-08-18 14:53:53,902 - INFO - Deleting VN ctest-vn-61744864 2025-08-18 14:53:53,990 - DEBUG - Response for deleting network () 2025-08-18 14:53:54,244 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 14:53:54,245 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-18 14:53:54,245 - INFO - -------------------------------------------------------------------------------- 2025-08-18 14:53:54,248 - INFO - ================================================================================ 2025-08-18 14:53:54,248 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-18 14:53:54,248 - 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-08-18 14:53:54,531 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-08-18 14:53:54,532 - INFO - Initial checks done. Running the testcase now 2025-08-18 14:53:54,532 - INFO - 2025-08-18 14:53:54,692 - DEBUG - Response for create_network : {'network': {'id': '41b889f0-e95b-449e-ac97-049e270ae8b7', 'name': 'ctest-vn1-99152215', 'tenant_id': '4f9971624d7d49869ca2bc81663cbbe2', 'project_id': '4f9971624d7d49869ca2bc81663cbbe2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72720199', 'ctest-vn1-99152215'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 14:53:54,912 - DEBUG - Response for create_subnet : {'subnet': {'id': '4faad182-a41f-49fd-82c0-dc7160385e09', 'name': '', 'tenant_id': '4f9971624d7d49869ca2bc81663cbbe2', 'network_id': '41b889f0-e95b-449e-ac97-049e270ae8b7', 'ip_version': 4, 'cidr': '221.139.214.192/26', 'allocation_pools': [{'start': '221.139.214.194', 'end': '221.139.214.254'}], 'gateway_ip': '221.139.214.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.139.214.194', 'tags': [], 'project_id': '4f9971624d7d49869ca2bc81663cbbe2'}} 2025-08-18 14:53:55,117 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf05b407-1214-4b9a-9ad4-e800812c1e5a', 'name': '', 'tenant_id': '4f9971624d7d49869ca2bc81663cbbe2', 'network_id': '41b889f0-e95b-449e-ac97-049e270ae8b7', 'ip_version': 4, 'cidr': '197.52.84.0/26', 'allocation_pools': [{'start': '197.52.84.2', 'end': '197.52.84.62'}], 'gateway_ip': '197.52.84.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.52.84.2', 'tags': [], 'project_id': '4f9971624d7d49869ca2bc81663cbbe2'}} 2025-08-18 14:53:55,134 - INFO - Created VN ctest-vn1-99152215 2025-08-18 14:53:55,186 - DEBUG - VN ctest-vn1-99152215 UUID is 41b889f0-e95b-449e-ac97-049e270ae8b7 2025-08-18 14:53:55,466 - DEBUG - Response for create_port : {'port': {'name': '395f6434-3b84-42a2-a643-fd914f90832b', 'id': '395f6434-3b84-42a2-a643-fd914f90832b', 'tenant_id': '4f9971624d7d49869ca2bc81663cbbe2', 'network_id': '41b889f0-e95b-449e-ac97-049e270ae8b7', 'mac_address': '02:39:5f:64:34:3b', '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': '221.139.214.197', 'subnet_id': '4faad182-a41f-49fd-82c0-dc7160385e09'}], 'security_groups': ['8a1a5931-84b4-4e6a-a4cf-24c0de7c4c4a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4f9971624d7d49869ca2bc81663cbbe2'}} 2025-08-18 14:53:55,632 - DEBUG - Response for create_port : {'port': {'name': 'a12d6260-aa6d-4573-8dd4-2a72f83fed94', 'id': 'a12d6260-aa6d-4573-8dd4-2a72f83fed94', 'tenant_id': '4f9971624d7d49869ca2bc81663cbbe2', 'network_id': '41b889f0-e95b-449e-ac97-049e270ae8b7', 'mac_address': '02:a1:2d:62:60:aa', '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': '197.52.84.5', 'subnet_id': 'bf05b407-1214-4b9a-9ad4-e800812c1e5a'}], 'security_groups': ['8a1a5931-84b4-4e6a-a4cf-24c0de7c4c4a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4f9971624d7d49869ca2bc81663cbbe2'}} 2025-08-18 14:53:55,682 - DEBUG - Services list from nova: [, , ] 2025-08-18 14:53:55,948 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3877-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3877-1) 2025-08-18 14:53:56,369 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3877-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3877-1) 2025-08-18 14:53:56,369 - INFO - Waiting for VM ctest-vn1-vm1-28241882 to be up.. 2025-08-18 14:53:56,401 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 14:54:01,466 - DEBUG - VM is in ACTIVE state now 2025-08-18 14:54:01,466 - INFO - VM name : ctest-vn1-vm1-28241882 2025-08-18 14:54:01,541 - DEBUG - VM ctest-vn1-vm1-28241882 ID is d2531f18-d1fc-4f7a-bc9e-f648dbfa10a6 2025-08-18 14:54:01,557 - DEBUG - VM ctest-vn1-vm1-28241882 launched on Node cn-jenkins-deploy-platform-ansible-os-3877-1 2025-08-18 14:54:01,621 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/d2531f18-d1fc-4f7a-bc9e-f648dbfa10a6 2025-08-18 14:54:01,629 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/395f6434-3b84-42a2-a643-fd914f90832b 2025-08-18 14:54:04,895 - 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 1032ms') 2025-08-18 14:54:04,895 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28241882 failed! 2025-08-18 14:54:04,954 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72720199:ctest-vn1-99152215 is 221.139.214.193 and allocation pool is NOT set 2025-08-18 14:54:04,954 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72720199:ctest-vn1-99152215 is 197.52.84.1 and allocation pool is NOT set 2025-08-18 14:54:07,009 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.789 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.789/1.819/2.849/1.030 ms') 2025-08-18 14:54:07,009 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28241882 passed 2025-08-18 14:54:07,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 14:54:07,158 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28241882, IP 221.139.214.197, Port 22 2025-08-18 14:54:07,314 - DEBUG - VM ctest-vn1-vm1-28241882 is ready for SSH connections 2025-08-18 14:54:07,314 - INFO - Waiting for VM ctest-vn1-vm2-02794363 to be up.. 2025-08-18 14:54:07,377 - DEBUG - VM is in ACTIVE state now 2025-08-18 14:54:07,377 - INFO - VM name : ctest-vn1-vm2-02794363 2025-08-18 14:54:07,440 - DEBUG - VM ctest-vn1-vm2-02794363 ID is fb7076c1-f08d-47ad-8a59-6fbc16b556b0 2025-08-18 14:54:07,440 - DEBUG - VM ctest-vn1-vm2-02794363 launched on Node cn-jenkins-deploy-platform-ansible-os-3877-1 2025-08-18 14:54:07,505 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/fb7076c1-f08d-47ad-8a59-6fbc16b556b0 2025-08-18 14:54:07,512 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a12d6260-aa6d-4573-8dd4-2a72f83fed94 2025-08-18 14:54:08,742 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.318 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.318/1.430/2.543/1.112 ms') 2025-08-18 14:54:08,742 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-02794363 passed 2025-08-18 14:54:08,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 14:54:08,894 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-02794363, IP 197.52.84.5, Port 22 2025-08-18 14:54:09,060 - DEBUG - VM ctest-vn1-vm2-02794363 is ready for SSH connections 2025-08-18 14:54:09,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 14:54:09,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 14:54:09,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 14:54:09,060 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.139.214.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-18 14:54:09,060 - DEBUG - ping -s 56 -c 3 -W 1 221.139.214.197 2025-08-18 14:54:11,671 - DEBUG - PING 221.139.214.197 (221.139.214.197): 56 data bytes 64 bytes from 221.139.214.197: seq=0 ttl=63 time=3.175 ms 64 bytes from 221.139.214.197: seq=1 ttl=63 time=0.894 ms 64 bytes from 221.139.214.197: seq=2 ttl=63 time=0.629 ms --- 221.139.214.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.629/1.566/3.175 ms 2025-08-18 14:54:11,672 - INFO - Ping to IP 221.139.214.197 from VM ctest-vn1-vm2-02794363 passed 2025-08-18 14:54:11,672 - INFO - Detaching port a12d6260-aa6d-4573-8dd4-2a72f83fed94 from VM ctest-vn1-vm2-02794363 2025-08-18 14:54:11,715 - INFO - Deleting VM ctest-vn1-vm2-02794363 2025-08-18 14:54:11,774 - INFO - Detaching port 395f6434-3b84-42a2-a643-fd914f90832b from VM ctest-vn1-vm1-28241882 2025-08-18 14:54:11,810 - INFO - Deleting VM ctest-vn1-vm1-28241882 2025-08-18 14:54:12,004 - DEBUG - Response for delete_port : () 2025-08-18 14:54:12,142 - DEBUG - Response for delete_port : () 2025-08-18 14:54:12,142 - INFO - Deleting VN ctest-vn1-99152215 2025-08-18 14:54:12,250 - DEBUG - Response for deleting network () 2025-08-18 14:54:12,504 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 14:54:12,504 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-18 14:54:12,504 - INFO - -------------------------------------------------------------------------------- 2025-08-18 14:54:13,155 - INFO - Deleted project: ctest-TestPorts-72720199, ID : 4f997162-4d7d-4986-9ca2-bc81663cbbe2