2025-11-13 10:47:38,132 - INFO - Domain Default found not creating 2025-11-13 10:47:38,305 - INFO - Project ctest-TestPorts-23308532 not found, creating it 2025-11-13 10:47:38,780 - INFO - Created Project:ctest-TestPorts-23308532, ID : df9bce6c-9952-4a3e-9e6f-b22351bae125 2025-11-13 10:47:40,340 - INFO - ================================================================================ 2025-11-13 10:47:40,340 - INFO - STARTING TEST : test_ports_bindings 2025-11-13 10:47:40,340 - 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-13 10:47:40,593 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-13 10:47:40,594 - INFO - Initial checks done. Running the testcase now 2025-11-13 10:47:40,594 - INFO - 2025-11-13 10:47:41,152 - DEBUG - Response for create_network : {'network': {'id': '1209aeb5-78f8-41ac-af8b-48222e31c542', 'name': 'ctest-vn-23676387', 'tenant_id': 'df9bce6c99524a3e9e6fb22351bae125', 'project_id': 'df9bce6c99524a3e9e6fb22351bae125', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23308532', 'ctest-vn-23676387'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 10:47:41,319 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dac8b5e0-7805-451b-a284-58d31dadbd32', 'name': '', 'tenant_id': 'df9bce6c99524a3e9e6fb22351bae125', 'network_id': '1209aeb5-78f8-41ac-af8b-48222e31c542', 'ip_version': 4, 'cidr': '164.190.76.192/26', 'allocation_pools': [{'start': '164.190.76.194', 'end': '164.190.76.254'}], 'gateway_ip': '164.190.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.190.76.194', 'tags': [], 'project_id': 'df9bce6c99524a3e9e6fb22351bae125'}} 2025-11-13 10:47:41,336 - INFO - Created VN ctest-vn-23676387 2025-11-13 10:47:41,388 - DEBUG - VN ctest-vn-23676387 UUID is 1209aeb5-78f8-41ac-af8b-48222e31c542 2025-11-13 10:47:41,491 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-23308532', 'ctest-vmi-08963734']} 2025-11-13 10:47:41,790 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-08963734', 'id': 'b946164c-c2ab-4483-9d7e-85881094e617', 'tenant_id': 'df9bce6c99524a3e9e6fb22351bae125', 'network_id': '1209aeb5-78f8-41ac-af8b-48222e31c542', 'mac_address': '02:b9:46:16:4c:c2', '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': '164.190.76.195', 'subnet_id': 'dac8b5e0-7805-451b-a284-58d31dadbd32'}], 'security_groups': ['d7f93767-3e00-4ccb-bcd6-75ade45af312'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'df9bce6c99524a3e9e6fb22351bae125'}} 2025-11-13 10:47:41,790 - DEBUG - Created port b946164c-c2ab-4483-9d7e-85881094e617 2025-11-13 10:47:41,896 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b946164c-c2ab-4483-9d7e-85881094e617 2025-11-13 10:47:42,213 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b946164c-c2ab-4483-9d7e-85881094e617 2025-11-13 10:47:42,249 - INFO - VMI b946164c-c2ab-4483-9d7e-85881094e617 verification in API Server passed 2025-11-13 10:47:42,328 - DEBUG - Response for delete_port : () 2025-11-13 10:47:42,328 - INFO - Deleted port b946164c-c2ab-4483-9d7e-85881094e617 2025-11-13 10:47:42,328 - INFO - Deleting VN ctest-vn-23676387 2025-11-13 10:47:42,421 - DEBUG - Response for deleting network () 2025-11-13 10:47:42,678 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 10:47:42,678 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-13 10:47:42,678 - INFO - -------------------------------------------------------------------------------- 2025-11-13 10:47:42,680 - INFO - ================================================================================ 2025-11-13 10:47:42,680 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-13 10:47:42,680 - 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-13 10:47:42,966 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-13 10:47:42,966 - INFO - Initial checks done. Running the testcase now 2025-11-13 10:47:42,966 - INFO - 2025-11-13 10:47:43,131 - DEBUG - Response for create_network : {'network': {'id': '4f0585b9-08b0-4c2b-ba3a-09c1f585d6d4', 'name': 'ctest-vn1-64643615', 'tenant_id': 'df9bce6c99524a3e9e6fb22351bae125', 'project_id': 'df9bce6c99524a3e9e6fb22351bae125', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23308532', 'ctest-vn1-64643615'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 10:47:43,356 - DEBUG - Response for create_subnet : {'subnet': {'id': '55cc2978-a452-4113-9bfa-c3de5ea767fa', 'name': '', 'tenant_id': 'df9bce6c99524a3e9e6fb22351bae125', 'network_id': '4f0585b9-08b0-4c2b-ba3a-09c1f585d6d4', 'ip_version': 4, 'cidr': '96.3.249.64/26', 'allocation_pools': [{'start': '96.3.249.66', 'end': '96.3.249.126'}], 'gateway_ip': '96.3.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.3.249.66', 'tags': [], 'project_id': 'df9bce6c99524a3e9e6fb22351bae125'}} 2025-11-13 10:47:43,549 - DEBUG - Response for create_subnet : {'subnet': {'id': '279c4969-178e-4e32-95af-75d115fd4f72', 'name': '', 'tenant_id': 'df9bce6c99524a3e9e6fb22351bae125', 'network_id': '4f0585b9-08b0-4c2b-ba3a-09c1f585d6d4', 'ip_version': 4, 'cidr': '109.251.188.192/26', 'allocation_pools': [{'start': '109.251.188.194', 'end': '109.251.188.254'}], 'gateway_ip': '109.251.188.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.251.188.194', 'tags': [], 'project_id': 'df9bce6c99524a3e9e6fb22351bae125'}} 2025-11-13 10:47:43,565 - INFO - Created VN ctest-vn1-64643615 2025-11-13 10:47:43,616 - DEBUG - VN ctest-vn1-64643615 UUID is 4f0585b9-08b0-4c2b-ba3a-09c1f585d6d4 2025-11-13 10:47:43,928 - DEBUG - Response for create_port : {'port': {'name': '4b238a62-ecff-49e5-8242-eeb93fc89b4d', 'id': '4b238a62-ecff-49e5-8242-eeb93fc89b4d', 'tenant_id': 'df9bce6c99524a3e9e6fb22351bae125', 'network_id': '4f0585b9-08b0-4c2b-ba3a-09c1f585d6d4', 'mac_address': '02:4b:23:8a:62:ec', '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': '96.3.249.69', 'subnet_id': '55cc2978-a452-4113-9bfa-c3de5ea767fa'}], 'security_groups': ['d7f93767-3e00-4ccb-bcd6-75ade45af312'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'df9bce6c99524a3e9e6fb22351bae125'}} 2025-11-13 10:47:44,100 - DEBUG - Response for create_port : {'port': {'name': '7c8f9d68-9c40-44a4-b371-8751d32a4430', 'id': '7c8f9d68-9c40-44a4-b371-8751d32a4430', 'tenant_id': 'df9bce6c99524a3e9e6fb22351bae125', 'network_id': '4f0585b9-08b0-4c2b-ba3a-09c1f585d6d4', 'mac_address': '02:7c:8f:9d:68:9c', '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': '109.251.188.197', 'subnet_id': '279c4969-178e-4e32-95af-75d115fd4f72'}], 'security_groups': ['d7f93767-3e00-4ccb-bcd6-75ade45af312'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'df9bce6c99524a3e9e6fb22351bae125'}} 2025-11-13 10:47:44,157 - DEBUG - Services list from nova: [, , ] 2025-11-13 10:47:44,446 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4718-1) 2025-11-13 10:47:44,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4718-1) 2025-11-13 10:47:44,807 - INFO - Waiting for VM ctest-vn1-vm1-35707719 to be up.. 2025-11-13 10:47:44,843 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 10:47:49,922 - DEBUG - VM is in ACTIVE state now 2025-11-13 10:47:49,923 - INFO - VM name : ctest-vn1-vm1-35707719 2025-11-13 10:47:49,992 - DEBUG - VM ctest-vn1-vm1-35707719 ID is e8d2873e-2cb8-4cf6-acd8-c378a0041835 2025-11-13 10:47:50,010 - DEBUG - VM ctest-vn1-vm1-35707719 launched on Node cn-jenkins-deploy-platform-ansible-os-4718-1 2025-11-13 10:47:50,077 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e8d2873e-2cb8-4cf6-acd8-c378a0041835 2025-11-13 10:47:50,086 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4b238a62-ecff-49e5-8242-eeb93fc89b4d 2025-11-13 10:47:53,352 - 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 1022ms') 2025-11-13 10:47:53,352 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35707719 failed! 2025-11-13 10:47:53,412 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23308532:ctest-vn1-64643615 is 96.3.249.65 and allocation pool is NOT set 2025-11-13 10:47:53,412 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23308532:ctest-vn1-64643615 is 109.251.188.193 and allocation pool is NOT set 2025-11-13 10:47:55,472 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.570 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.570/2.028/3.486/1.458 ms') 2025-11-13 10:47:55,472 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35707719 passed 2025-11-13 10:47:55,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:47:55,620 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35707719, IP 96.3.249.69, Port 22 2025-11-13 10:47:55,776 - DEBUG - VM ctest-vn1-vm1-35707719 is ready for SSH connections 2025-11-13 10:47:55,776 - INFO - Waiting for VM ctest-vn1-vm2-54354345 to be up.. 2025-11-13 10:47:55,849 - DEBUG - VM is in ACTIVE state now 2025-11-13 10:47:55,849 - INFO - VM name : ctest-vn1-vm2-54354345 2025-11-13 10:47:55,923 - DEBUG - VM ctest-vn1-vm2-54354345 ID is 81a3954c-af74-40e3-b607-505ae1a51408 2025-11-13 10:47:55,923 - DEBUG - VM ctest-vn1-vm2-54354345 launched on Node cn-jenkins-deploy-platform-ansible-os-4718-1 2025-11-13 10:47:56,005 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/81a3954c-af74-40e3-b607-505ae1a51408 2025-11-13 10:47:56,014 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7c8f9d68-9c40-44a4-b371-8751d32a4430 2025-11-13 10:47:57,251 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.669/2.919/1.250 ms') 2025-11-13 10:47:57,251 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-54354345 passed 2025-11-13 10:47:57,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:47:57,420 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-54354345, IP 109.251.188.197, Port 22 2025-11-13 10:47:57,580 - DEBUG - VM ctest-vn1-vm2-54354345 is ready for SSH connections 2025-11-13 10:47:57,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:47:57,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:47:57,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:47:57,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.3.249.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 10:47:57,580 - DEBUG - ping -s 56 -c 3 -W 1 96.3.249.69 2025-11-13 10:48:00,505 - DEBUG - PING 96.3.249.69 (96.3.249.69): 56 data bytes 64 bytes from 96.3.249.69: seq=0 ttl=63 time=4.177 ms 64 bytes from 96.3.249.69: seq=1 ttl=63 time=1.393 ms 64 bytes from 96.3.249.69: seq=2 ttl=63 time=0.912 ms --- 96.3.249.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.912/2.160/4.177 ms 2025-11-13 10:48:00,506 - INFO - Ping to IP 96.3.249.69 from VM ctest-vn1-vm2-54354345 passed 2025-11-13 10:48:00,506 - INFO - Detaching port 7c8f9d68-9c40-44a4-b371-8751d32a4430 from VM ctest-vn1-vm2-54354345 2025-11-13 10:48:00,554 - INFO - Deleting VM ctest-vn1-vm2-54354345 2025-11-13 10:48:00,631 - INFO - Detaching port 4b238a62-ecff-49e5-8242-eeb93fc89b4d from VM ctest-vn1-vm1-35707719 2025-11-13 10:48:00,670 - INFO - Deleting VM ctest-vn1-vm1-35707719 2025-11-13 10:48:00,935 - DEBUG - Response for delete_port : () 2025-11-13 10:48:01,147 - DEBUG - Response for delete_port : () 2025-11-13 10:48:01,147 - INFO - Deleting VN ctest-vn1-64643615 2025-11-13 10:48:01,319 - DEBUG - Response for deleting network () 2025-11-13 10:48:01,580 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 10:48:01,580 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-11-13 10:48:01,580 - INFO - -------------------------------------------------------------------------------- 2025-11-13 10:48:02,300 - INFO - Deleted project: ctest-TestPorts-23308532, ID : df9bce6c-9952-4a3e-9e6f-b22351bae125