2025-10-09 20:57:43,867 - INFO - Domain Default found not creating 2025-10-09 20:57:43,981 - INFO - Project ctest-TestPorts-12123360 not found, creating it 2025-10-09 20:57:44,469 - INFO - Created Project:ctest-TestPorts-12123360, ID : 7b3e511c-584a-4bfe-9654-aa1f886e7013 2025-10-09 20:57:45,827 - INFO - ================================================================================ 2025-10-09 20:57:45,827 - INFO - STARTING TEST : test_ports_bindings 2025-10-09 20:57:45,827 - 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-09 20:57:46,076 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.193': '0'}} with 2025-10-09 20:57:46,076 - INFO - Initial checks done. Running the testcase now 2025-10-09 20:57:46,077 - INFO - 2025-10-09 20:57:46,574 - DEBUG - Response for create_network : {'network': {'id': 'cbf48017-6e4d-4ee3-ae8a-114078d6782f', 'name': 'ctest-vn-48034310', 'tenant_id': '7b3e511c584a4bfe9654aa1f886e7013', 'project_id': '7b3e511c584a4bfe9654aa1f886e7013', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12123360', 'ctest-vn-48034310'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:57:46,776 - DEBUG - Response for create_subnet : {'subnet': {'id': '47752af6-80c2-43bd-b386-f541329c721e', 'name': '', 'tenant_id': '7b3e511c584a4bfe9654aa1f886e7013', 'network_id': 'cbf48017-6e4d-4ee3-ae8a-114078d6782f', 'ip_version': 4, 'cidr': '63.82.166.0/26', 'allocation_pools': [{'start': '63.82.166.2', 'end': '63.82.166.62'}], 'gateway_ip': '63.82.166.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.82.166.2', 'tags': [], 'project_id': '7b3e511c584a4bfe9654aa1f886e7013'}} 2025-10-09 20:57:46,790 - INFO - Created VN ctest-vn-48034310 2025-10-09 20:57:46,845 - DEBUG - VN ctest-vn-48034310 UUID is cbf48017-6e4d-4ee3-ae8a-114078d6782f 2025-10-09 20:57:46,937 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-12123360', 'ctest-vmi-64741230']} 2025-10-09 20:57:47,186 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-64741230', 'id': 'a6c04ae6-ef14-4515-8495-33500badcbbb', 'tenant_id': '7b3e511c584a4bfe9654aa1f886e7013', 'network_id': 'cbf48017-6e4d-4ee3-ae8a-114078d6782f', 'mac_address': '02:a6:c0:4a:e6:ef', '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': '63.82.166.3', 'subnet_id': '47752af6-80c2-43bd-b386-f541329c721e'}], 'security_groups': ['5ceeaa9c-efeb-41e2-afcc-50111d469094'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7b3e511c584a4bfe9654aa1f886e7013'}} 2025-10-09 20:57:47,186 - DEBUG - Created port a6c04ae6-ef14-4515-8495-33500badcbbb 2025-10-09 20:57:47,293 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/a6c04ae6-ef14-4515-8495-33500badcbbb 2025-10-09 20:57:47,579 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/a6c04ae6-ef14-4515-8495-33500badcbbb 2025-10-09 20:57:47,607 - INFO - VMI a6c04ae6-ef14-4515-8495-33500badcbbb verification in API Server passed 2025-10-09 20:57:47,693 - DEBUG - Response for delete_port : () 2025-10-09 20:57:47,693 - INFO - Deleted port a6c04ae6-ef14-4515-8495-33500badcbbb 2025-10-09 20:57:47,693 - INFO - Deleting VN ctest-vn-48034310 2025-10-09 20:57:47,781 - DEBUG - Response for deleting network () 2025-10-09 20:57:48,032 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 20:57:48,032 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-09 20:57:48,033 - INFO - -------------------------------------------------------------------------------- 2025-10-09 20:57:48,035 - INFO - ================================================================================ 2025-10-09 20:57:48,035 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-09 20:57:48,035 - 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-09 20:57:48,324 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.193': '0'}} with 2025-10-09 20:57:48,324 - INFO - Initial checks done. Running the testcase now 2025-10-09 20:57:48,324 - INFO - 2025-10-09 20:57:48,475 - DEBUG - Response for create_network : {'network': {'id': '0c2c2eb3-a1e7-4a0c-b0fc-f89af7a031d0', 'name': 'ctest-vn1-83724262', 'tenant_id': '7b3e511c584a4bfe9654aa1f886e7013', 'project_id': '7b3e511c584a4bfe9654aa1f886e7013', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12123360', 'ctest-vn1-83724262'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:57:48,657 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f48c6f2d-c0fc-429a-be19-f8f83654e484', 'name': '', 'tenant_id': '7b3e511c584a4bfe9654aa1f886e7013', 'network_id': '0c2c2eb3-a1e7-4a0c-b0fc-f89af7a031d0', 'ip_version': 4, 'cidr': '21.29.198.64/26', 'allocation_pools': [{'start': '21.29.198.66', 'end': '21.29.198.126'}], 'gateway_ip': '21.29.198.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.29.198.66', 'tags': [], 'project_id': '7b3e511c584a4bfe9654aa1f886e7013'}} 2025-10-09 20:57:48,836 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc38ad03-4ce6-4380-bda8-84e8dd21d35f', 'name': '', 'tenant_id': '7b3e511c584a4bfe9654aa1f886e7013', 'network_id': '0c2c2eb3-a1e7-4a0c-b0fc-f89af7a031d0', 'ip_version': 4, 'cidr': '55.164.204.128/26', 'allocation_pools': [{'start': '55.164.204.130', 'end': '55.164.204.190'}], 'gateway_ip': '55.164.204.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.164.204.130', 'tags': [], 'project_id': '7b3e511c584a4bfe9654aa1f886e7013'}} 2025-10-09 20:57:48,852 - INFO - Created VN ctest-vn1-83724262 2025-10-09 20:57:48,901 - DEBUG - VN ctest-vn1-83724262 UUID is 0c2c2eb3-a1e7-4a0c-b0fc-f89af7a031d0 2025-10-09 20:57:49,156 - DEBUG - Response for create_port : {'port': {'name': '0340317a-2478-400e-a811-e8d4f7db1cd3', 'id': '0340317a-2478-400e-a811-e8d4f7db1cd3', 'tenant_id': '7b3e511c584a4bfe9654aa1f886e7013', 'network_id': '0c2c2eb3-a1e7-4a0c-b0fc-f89af7a031d0', 'mac_address': '02:03:40:31:7a:24', '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': '21.29.198.69', 'subnet_id': 'f48c6f2d-c0fc-429a-be19-f8f83654e484'}], 'security_groups': ['5ceeaa9c-efeb-41e2-afcc-50111d469094'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7b3e511c584a4bfe9654aa1f886e7013'}} 2025-10-09 20:57:49,319 - DEBUG - Response for create_port : {'port': {'name': 'b4f2b237-b4a0-48c2-8f3d-0bec7163c167', 'id': 'b4f2b237-b4a0-48c2-8f3d-0bec7163c167', 'tenant_id': '7b3e511c584a4bfe9654aa1f886e7013', 'network_id': '0c2c2eb3-a1e7-4a0c-b0fc-f89af7a031d0', 'mac_address': '02:b4:f2:b2:37:b4', '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': '55.164.204.133', 'subnet_id': 'cc38ad03-4ce6-4380-bda8-84e8dd21d35f'}], 'security_groups': ['5ceeaa9c-efeb-41e2-afcc-50111d469094'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7b3e511c584a4bfe9654aa1f886e7013'}} 2025-10-09 20:57:49,369 - DEBUG - Services list from nova: [, , ] 2025-10-09 20:57:49,647 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4280-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4280-1) 2025-10-09 20:57:49,969 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4280-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4280-1) 2025-10-09 20:57:49,969 - INFO - Waiting for VM ctest-vn1-vm1-01161227 to be up.. 2025-10-09 20:57:50,002 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 20:57:55,066 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:57:55,066 - INFO - VM name : ctest-vn1-vm1-01161227 2025-10-09 20:57:55,130 - DEBUG - VM ctest-vn1-vm1-01161227 ID is 8f3cc50f-6e9e-4b1f-af4a-1a61277a9967 2025-10-09 20:57:55,147 - DEBUG - VM ctest-vn1-vm1-01161227 launched on Node cn-jenkins-deploy-platform-ansible-os-4280-1 2025-10-09 20:57:55,211 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/8f3cc50f-6e9e-4b1f-af4a-1a61277a9967 2025-10-09 20:57:55,218 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/0340317a-2478-400e-a811-e8d4f7db1cd3 2025-10-09 20:57:58,479 - 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 1028ms') 2025-10-09 20:57:58,479 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01161227 failed! 2025-10-09 20:57:58,537 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12123360:ctest-vn1-83724262 is 21.29.198.65 and allocation pool is NOT set 2025-10-09 20:57:58,537 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12123360:ctest-vn1-83724262 is 55.164.204.129 and allocation pool is NOT set 2025-10-09 20:58:00,595 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.515 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.515/1.867/3.219/1.352 ms') 2025-10-09 20:58:00,595 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01161227 passed 2025-10-09 20:58:00,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:58:00,741 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01161227, IP 21.29.198.69, Port 22 2025-10-09 20:58:00,896 - DEBUG - VM ctest-vn1-vm1-01161227 is ready for SSH connections 2025-10-09 20:58:00,896 - INFO - Waiting for VM ctest-vn1-vm2-45007228 to be up.. 2025-10-09 20:58:00,967 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:58:00,967 - INFO - VM name : ctest-vn1-vm2-45007228 2025-10-09 20:58:01,033 - DEBUG - VM ctest-vn1-vm2-45007228 ID is ce611858-807e-4bac-a13d-16cc59af93c5 2025-10-09 20:58:01,033 - DEBUG - VM ctest-vn1-vm2-45007228 launched on Node cn-jenkins-deploy-platform-ansible-os-4280-1 2025-10-09 20:58:01,104 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/ce611858-807e-4bac-a13d-16cc59af93c5 2025-10-09 20:58:01,111 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/b4f2b237-b4a0-48c2-8f3d-0bec7163c167 2025-10-09 20:58:02,349 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.359 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.359/1.751/3.144/1.392 ms') 2025-10-09 20:58:02,349 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45007228 passed 2025-10-09 20:58:02,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:58:02,501 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45007228, IP 55.164.204.133, Port 22 2025-10-09 20:58:02,657 - DEBUG - VM ctest-vn1-vm2-45007228 is ready for SSH connections 2025-10-09 20:58:02,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:58:02,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:58:02,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:58:02,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.29.198.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-09 20:58:02,657 - DEBUG - ping -s 56 -c 3 -W 1 21.29.198.69 2025-10-09 20:58:05,296 - DEBUG - PING 21.29.198.69 (21.29.198.69): 56 data bytes 64 bytes from 21.29.198.69: seq=0 ttl=63 time=3.197 ms 64 bytes from 21.29.198.69: seq=1 ttl=63 time=0.689 ms 64 bytes from 21.29.198.69: seq=2 ttl=63 time=0.634 ms --- 21.29.198.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.634/1.506/3.197 ms 2025-10-09 20:58:05,297 - INFO - Ping to IP 21.29.198.69 from VM ctest-vn1-vm2-45007228 passed 2025-10-09 20:58:05,297 - INFO - Detaching port b4f2b237-b4a0-48c2-8f3d-0bec7163c167 from VM ctest-vn1-vm2-45007228 2025-10-09 20:58:05,338 - INFO - Deleting VM ctest-vn1-vm2-45007228 2025-10-09 20:58:05,393 - INFO - Detaching port 0340317a-2478-400e-a811-e8d4f7db1cd3 from VM ctest-vn1-vm1-01161227 2025-10-09 20:58:05,418 - INFO - Deleting VM ctest-vn1-vm1-01161227 2025-10-09 20:58:05,596 - DEBUG - Response for delete_port : () 2025-10-09 20:58:05,738 - DEBUG - Response for delete_port : () 2025-10-09 20:58:05,739 - INFO - Deleting VN ctest-vn1-83724262 2025-10-09 20:58:05,886 - DEBUG - Response for deleting network () 2025-10-09 20:58:06,145 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 20:58:06,145 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-10-09 20:58:06,145 - INFO - -------------------------------------------------------------------------------- 2025-10-09 20:58:06,884 - INFO - Deleted project: ctest-TestPorts-12123360, ID : 7b3e511c-584a-4bfe-9654-aa1f886e7013