2025-11-17 22:49:33,179 - INFO - Domain Default found not creating 2025-11-17 22:49:33,310 - INFO - Project ctest-TestPorts-51757375 not found, creating it 2025-11-17 22:49:33,721 - INFO - Created Project:ctest-TestPorts-51757375, ID : 6b72f32c-19ea-4afd-becf-3346b81d868f 2025-11-17 22:49:35,048 - INFO - ================================================================================ 2025-11-17 22:49:35,048 - INFO - STARTING TEST : test_ports_bindings 2025-11-17 22:49:35,048 - 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 22:49:35,315 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-11-17 22:49:35,315 - INFO - Initial checks done. Running the testcase now 2025-11-17 22:49:35,315 - INFO - 2025-11-17 22:49:35,821 - DEBUG - Response for create_network : {'network': {'id': 'fc03b8fb-6227-4093-8b02-cf2c5e554e64', 'name': 'ctest-vn-90399470', 'tenant_id': '6b72f32c19ea4afdbecf3346b81d868f', 'project_id': '6b72f32c19ea4afdbecf3346b81d868f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-51757375', 'ctest-vn-90399470'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 22:49:36,004 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d9f10fd-0ee1-4d85-a703-2f91f3bd1393', 'name': '', 'tenant_id': '6b72f32c19ea4afdbecf3346b81d868f', 'network_id': 'fc03b8fb-6227-4093-8b02-cf2c5e554e64', 'ip_version': 4, 'cidr': '123.221.233.128/26', 'allocation_pools': [{'start': '123.221.233.130', 'end': '123.221.233.190'}], 'gateway_ip': '123.221.233.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.221.233.130', 'tags': [], 'project_id': '6b72f32c19ea4afdbecf3346b81d868f'}} 2025-11-17 22:49:36,017 - INFO - Created VN ctest-vn-90399470 2025-11-17 22:49:36,067 - DEBUG - VN ctest-vn-90399470 UUID is fc03b8fb-6227-4093-8b02-cf2c5e554e64 2025-11-17 22:49:36,165 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-51757375', 'ctest-vmi-29470998']} 2025-11-17 22:49:36,431 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-29470998', 'id': '6fde0691-4570-440a-a3bd-7b459e7deda6', 'tenant_id': '6b72f32c19ea4afdbecf3346b81d868f', 'network_id': 'fc03b8fb-6227-4093-8b02-cf2c5e554e64', 'mac_address': '02:6f:de:06:91:45', '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': '123.221.233.131', 'subnet_id': '9d9f10fd-0ee1-4d85-a703-2f91f3bd1393'}], 'security_groups': ['b7f1780b-dc2f-4c5f-aed3-73ef0f810f40'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6b72f32c19ea4afdbecf3346b81d868f'}} 2025-11-17 22:49:36,432 - DEBUG - Created port 6fde0691-4570-440a-a3bd-7b459e7deda6 2025-11-17 22:49:36,535 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6fde0691-4570-440a-a3bd-7b459e7deda6 2025-11-17 22:49:36,822 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6fde0691-4570-440a-a3bd-7b459e7deda6 2025-11-17 22:49:36,857 - INFO - VMI 6fde0691-4570-440a-a3bd-7b459e7deda6 verification in API Server passed 2025-11-17 22:49:36,940 - DEBUG - Response for delete_port : () 2025-11-17 22:49:36,940 - INFO - Deleted port 6fde0691-4570-440a-a3bd-7b459e7deda6 2025-11-17 22:49:36,940 - INFO - Deleting VN ctest-vn-90399470 2025-11-17 22:49:37,022 - DEBUG - Response for deleting network () 2025-11-17 22:49:37,280 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 22:49:37,280 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-17 22:49:37,280 - INFO - -------------------------------------------------------------------------------- 2025-11-17 22:49:37,282 - INFO - ================================================================================ 2025-11-17 22:49:37,282 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-17 22:49:37,282 - 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 22:49:37,572 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-11-17 22:49:37,572 - INFO - Initial checks done. Running the testcase now 2025-11-17 22:49:37,572 - INFO - 2025-11-17 22:49:37,728 - DEBUG - Response for create_network : {'network': {'id': '9cb3d53f-3cdf-4073-ac46-ca29aca732e0', 'name': 'ctest-vn1-36442939', 'tenant_id': '6b72f32c19ea4afdbecf3346b81d868f', 'project_id': '6b72f32c19ea4afdbecf3346b81d868f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-51757375', 'ctest-vn1-36442939'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 22:49:37,887 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd857d2fc-770c-46da-a86f-5613154297c4', 'name': '', 'tenant_id': '6b72f32c19ea4afdbecf3346b81d868f', 'network_id': '9cb3d53f-3cdf-4073-ac46-ca29aca732e0', 'ip_version': 4, 'cidr': '45.62.171.0/26', 'allocation_pools': [{'start': '45.62.171.2', 'end': '45.62.171.62'}], 'gateway_ip': '45.62.171.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.62.171.2', 'tags': [], 'project_id': '6b72f32c19ea4afdbecf3346b81d868f'}} 2025-11-17 22:49:38,060 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f4678b7-8d1a-4c23-b7ff-c172f8a5e52c', 'name': '', 'tenant_id': '6b72f32c19ea4afdbecf3346b81d868f', 'network_id': '9cb3d53f-3cdf-4073-ac46-ca29aca732e0', 'ip_version': 4, 'cidr': '29.45.239.64/26', 'allocation_pools': [{'start': '29.45.239.66', 'end': '29.45.239.126'}], 'gateway_ip': '29.45.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.45.239.66', 'tags': [], 'project_id': '6b72f32c19ea4afdbecf3346b81d868f'}} 2025-11-17 22:49:38,079 - INFO - Created VN ctest-vn1-36442939 2025-11-17 22:49:38,131 - DEBUG - VN ctest-vn1-36442939 UUID is 9cb3d53f-3cdf-4073-ac46-ca29aca732e0 2025-11-17 22:49:38,413 - DEBUG - Response for create_port : {'port': {'name': '4732e0cf-1806-495f-b72e-3b529b501f93', 'id': '4732e0cf-1806-495f-b72e-3b529b501f93', 'tenant_id': '6b72f32c19ea4afdbecf3346b81d868f', 'network_id': '9cb3d53f-3cdf-4073-ac46-ca29aca732e0', 'mac_address': '02:47:32:e0:cf:18', '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': '45.62.171.5', 'subnet_id': 'd857d2fc-770c-46da-a86f-5613154297c4'}], 'security_groups': ['b7f1780b-dc2f-4c5f-aed3-73ef0f810f40'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6b72f32c19ea4afdbecf3346b81d868f'}} 2025-11-17 22:49:38,561 - DEBUG - Response for create_port : {'port': {'name': 'a203bba9-64ff-46ed-8d80-f6248a27265b', 'id': 'a203bba9-64ff-46ed-8d80-f6248a27265b', 'tenant_id': '6b72f32c19ea4afdbecf3346b81d868f', 'network_id': '9cb3d53f-3cdf-4073-ac46-ca29aca732e0', 'mac_address': '02:a2:03:bb:a9:64', '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': '29.45.239.69', 'subnet_id': '8f4678b7-8d1a-4c23-b7ff-c172f8a5e52c'}], 'security_groups': ['b7f1780b-dc2f-4c5f-aed3-73ef0f810f40'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6b72f32c19ea4afdbecf3346b81d868f'}} 2025-11-17 22:49:38,611 - DEBUG - Services list from nova: [, , ] 2025-11-17 22:49:38,885 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4749-1) 2025-11-17 22:49:39,324 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4749-1) 2025-11-17 22:49:39,324 - INFO - Waiting for VM ctest-vn1-vm1-60622503 to be up.. 2025-11-17 22:49:39,357 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 22:49:44,420 - DEBUG - VM is in ACTIVE state now 2025-11-17 22:49:44,420 - INFO - VM name : ctest-vn1-vm1-60622503 2025-11-17 22:49:44,478 - DEBUG - VM ctest-vn1-vm1-60622503 ID is 00a7a551-ac97-4794-a803-a68b65eee5a5 2025-11-17 22:49:44,500 - DEBUG - VM ctest-vn1-vm1-60622503 launched on Node cn-jenkins-deploy-platform-ansible-os-4749-1 2025-11-17 22:49:44,569 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/00a7a551-ac97-4794-a803-a68b65eee5a5 2025-11-17 22:49:44,576 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4732e0cf-1806-495f-b72e-3b529b501f93 2025-11-17 22:49:47,811 - 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 1003ms') 2025-11-17 22:49:47,811 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60622503 failed! 2025-11-17 22:49:47,868 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-51757375:ctest-vn1-36442939 is 45.62.171.1 and allocation pool is NOT set 2025-11-17 22:49:47,868 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-51757375:ctest-vn1-36442939 is 29.45.239.65 and allocation pool is NOT set 2025-11-17 22:49:49,932 - 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=7.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.58 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 = 1.580/4.438/7.296/2.858 ms') 2025-11-17 22:49:49,933 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60622503 passed 2025-11-17 22:49:50,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:49:50,083 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60622503, IP 45.62.171.5, Port 22 2025-11-17 22:49:50,249 - DEBUG - VM ctest-vn1-vm1-60622503 is ready for SSH connections 2025-11-17 22:49:50,249 - INFO - Waiting for VM ctest-vn1-vm2-28182320 to be up.. 2025-11-17 22:49:50,312 - DEBUG - VM is in ACTIVE state now 2025-11-17 22:49:50,312 - INFO - VM name : ctest-vn1-vm2-28182320 2025-11-17 22:49:50,372 - DEBUG - VM ctest-vn1-vm2-28182320 ID is 5f0731b5-8bf2-4b32-a105-f26b41fdb866 2025-11-17 22:49:50,372 - DEBUG - VM ctest-vn1-vm2-28182320 launched on Node cn-jenkins-deploy-platform-ansible-os-4749-1 2025-11-17 22:49:50,435 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5f0731b5-8bf2-4b32-a105-f26b41fdb866 2025-11-17 22:49:50,442 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a203bba9-64ff-46ed-8d80-f6248a27265b 2025-11-17 22:49:51,669 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.650/2.878/1.228 ms') 2025-11-17 22:49:51,669 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-28182320 passed 2025-11-17 22:49:51,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:49:51,815 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-28182320, IP 29.45.239.69, Port 22 2025-11-17 22:49:51,974 - DEBUG - VM ctest-vn1-vm2-28182320 is ready for SSH connections 2025-11-17 22:49:51,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:49:51,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:49:51,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:49:51,975 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.62.171.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 22:49:51,975 - DEBUG - ping -s 56 -c 3 -W 1 45.62.171.5 2025-11-17 22:49:54,623 - DEBUG - PING 45.62.171.5 (45.62.171.5): 56 data bytes 64 bytes from 45.62.171.5: seq=0 ttl=63 time=3.280 ms 64 bytes from 45.62.171.5: seq=1 ttl=63 time=0.731 ms 64 bytes from 45.62.171.5: seq=2 ttl=63 time=1.041 ms --- 45.62.171.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.731/1.684/3.280 ms 2025-11-17 22:49:54,623 - INFO - Ping to IP 45.62.171.5 from VM ctest-vn1-vm2-28182320 passed 2025-11-17 22:49:54,623 - INFO - Detaching port a203bba9-64ff-46ed-8d80-f6248a27265b from VM ctest-vn1-vm2-28182320 2025-11-17 22:49:54,671 - INFO - Deleting VM ctest-vn1-vm2-28182320 2025-11-17 22:49:54,730 - INFO - Detaching port 4732e0cf-1806-495f-b72e-3b529b501f93 from VM ctest-vn1-vm1-60622503 2025-11-17 22:49:54,760 - INFO - Deleting VM ctest-vn1-vm1-60622503 2025-11-17 22:49:54,936 - DEBUG - Response for delete_port : () 2025-11-17 22:49:55,052 - DEBUG - Response for delete_port : () 2025-11-17 22:49:55,052 - INFO - Deleting VN ctest-vn1-36442939 2025-11-17 22:49:55,171 - DEBUG - Response for deleting network () 2025-11-17 22:49:55,433 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 22:49:55,433 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-11-17 22:49:55,433 - INFO - -------------------------------------------------------------------------------- 2025-11-17 22:49:56,108 - INFO - Deleted project: ctest-TestPorts-51757375, ID : 6b72f32c-19ea-4afd-becf-3346b81d868f