2025-08-11 15:53:09,559 - INFO - Domain Default found not creating 2025-08-11 15:53:09,686 - INFO - Project ctest-TestPorts-10328889 not found, creating it 2025-08-11 15:53:10,107 - INFO - Created Project:ctest-TestPorts-10328889, ID : 8b4bf63d-12d5-418c-870b-44143ef4272b 2025-08-11 15:53:11,500 - INFO - ================================================================================ 2025-08-11 15:53:11,500 - INFO - STARTING TEST : test_ports_bindings 2025-08-11 15:53:11,500 - 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-11 15:53:11,753 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-08-11 15:53:11,753 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:53:11,753 - INFO - 2025-08-11 15:53:12,272 - DEBUG - Response for create_network : {'network': {'id': '5e986824-ebfd-43a3-9cf1-987fbbd0bb3b', 'name': 'ctest-vn-23115148', 'tenant_id': '8b4bf63d12d5418c870b44143ef4272b', 'project_id': '8b4bf63d12d5418c870b44143ef4272b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10328889', 'ctest-vn-23115148'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:53:12,432 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c24569b1-56bd-46f5-9dde-79f2c3879e7c', 'name': '', 'tenant_id': '8b4bf63d12d5418c870b44143ef4272b', 'network_id': '5e986824-ebfd-43a3-9cf1-987fbbd0bb3b', 'ip_version': 4, 'cidr': '77.11.164.192/26', 'allocation_pools': [{'start': '77.11.164.194', 'end': '77.11.164.254'}], 'gateway_ip': '77.11.164.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.11.164.194', 'tags': [], 'project_id': '8b4bf63d12d5418c870b44143ef4272b'}} 2025-08-11 15:53:12,447 - INFO - Created VN ctest-vn-23115148 2025-08-11 15:53:12,499 - DEBUG - VN ctest-vn-23115148 UUID is 5e986824-ebfd-43a3-9cf1-987fbbd0bb3b 2025-08-11 15:53:12,594 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-10328889', 'ctest-vmi-85647529']} 2025-08-11 15:53:12,851 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-85647529', 'id': 'c1fd4101-b195-4ca0-8711-754613852574', 'tenant_id': '8b4bf63d12d5418c870b44143ef4272b', 'network_id': '5e986824-ebfd-43a3-9cf1-987fbbd0bb3b', 'mac_address': '02:c1:fd:41:01:b1', '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': '77.11.164.195', 'subnet_id': 'c24569b1-56bd-46f5-9dde-79f2c3879e7c'}], 'security_groups': ['d5e815fb-1291-4a8b-8001-9a27781c7ce7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8b4bf63d12d5418c870b44143ef4272b'}} 2025-08-11 15:53:12,851 - DEBUG - Created port c1fd4101-b195-4ca0-8711-754613852574 2025-08-11 15:53:12,959 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/c1fd4101-b195-4ca0-8711-754613852574 2025-08-11 15:53:13,249 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/c1fd4101-b195-4ca0-8711-754613852574 2025-08-11 15:53:13,278 - INFO - VMI c1fd4101-b195-4ca0-8711-754613852574 verification in API Server passed 2025-08-11 15:53:13,356 - DEBUG - Response for delete_port : () 2025-08-11 15:53:13,357 - INFO - Deleted port c1fd4101-b195-4ca0-8711-754613852574 2025-08-11 15:53:13,357 - INFO - Deleting VN ctest-vn-23115148 2025-08-11 15:53:13,447 - DEBUG - Response for deleting network () 2025-08-11 15:53:13,697 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 15:53:13,697 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-11 15:53:13,698 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:53:13,700 - INFO - ================================================================================ 2025-08-11 15:53:13,700 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-11 15:53:13,700 - 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-11 15:53:13,984 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-08-11 15:53:13,984 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:53:13,984 - INFO - 2025-08-11 15:53:14,149 - DEBUG - Response for create_network : {'network': {'id': '18ed6406-4246-401c-9e08-784448d0b3e0', 'name': 'ctest-vn1-93656228', 'tenant_id': '8b4bf63d12d5418c870b44143ef4272b', 'project_id': '8b4bf63d12d5418c870b44143ef4272b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10328889', 'ctest-vn1-93656228'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:53:14,351 - DEBUG - Response for create_subnet : {'subnet': {'id': '86fabbb4-2f56-42d2-9719-599be89a8696', 'name': '', 'tenant_id': '8b4bf63d12d5418c870b44143ef4272b', 'network_id': '18ed6406-4246-401c-9e08-784448d0b3e0', 'ip_version': 4, 'cidr': '25.201.101.192/26', 'allocation_pools': [{'start': '25.201.101.194', 'end': '25.201.101.254'}], 'gateway_ip': '25.201.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.201.101.194', 'tags': [], 'project_id': '8b4bf63d12d5418c870b44143ef4272b'}} 2025-08-11 15:53:14,545 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd6700d9-6388-464d-9fe2-d80551aa676b', 'name': '', 'tenant_id': '8b4bf63d12d5418c870b44143ef4272b', 'network_id': '18ed6406-4246-401c-9e08-784448d0b3e0', 'ip_version': 4, 'cidr': '198.150.13.128/26', 'allocation_pools': [{'start': '198.150.13.130', 'end': '198.150.13.190'}], 'gateway_ip': '198.150.13.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.150.13.130', 'tags': [], 'project_id': '8b4bf63d12d5418c870b44143ef4272b'}} 2025-08-11 15:53:14,562 - INFO - Created VN ctest-vn1-93656228 2025-08-11 15:53:14,611 - DEBUG - VN ctest-vn1-93656228 UUID is 18ed6406-4246-401c-9e08-784448d0b3e0 2025-08-11 15:53:14,885 - DEBUG - Response for create_port : {'port': {'name': '985d7334-0c79-47ba-8857-ab55cb8aefdb', 'id': '985d7334-0c79-47ba-8857-ab55cb8aefdb', 'tenant_id': '8b4bf63d12d5418c870b44143ef4272b', 'network_id': '18ed6406-4246-401c-9e08-784448d0b3e0', 'mac_address': '02:98:5d:73:34:0c', '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': '25.201.101.197', 'subnet_id': '86fabbb4-2f56-42d2-9719-599be89a8696'}], 'security_groups': ['d5e815fb-1291-4a8b-8001-9a27781c7ce7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8b4bf63d12d5418c870b44143ef4272b'}} 2025-08-11 15:53:15,040 - DEBUG - Response for create_port : {'port': {'name': '55df4322-26ee-4cff-93c9-2dc0ac3fa9bf', 'id': '55df4322-26ee-4cff-93c9-2dc0ac3fa9bf', 'tenant_id': '8b4bf63d12d5418c870b44143ef4272b', 'network_id': '18ed6406-4246-401c-9e08-784448d0b3e0', 'mac_address': '02:55:df:43:22:26', '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': '198.150.13.133', 'subnet_id': 'cd6700d9-6388-464d-9fe2-d80551aa676b'}], 'security_groups': ['d5e815fb-1291-4a8b-8001-9a27781c7ce7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8b4bf63d12d5418c870b44143ef4272b'}} 2025-08-11 15:53:15,088 - DEBUG - Services list from nova: [, , ] 2025-08-11 15:53:15,360 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3814-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3814-1) 2025-08-11 15:53:15,688 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3814-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3814-1) 2025-08-11 15:53:15,689 - INFO - Waiting for VM ctest-vn1-vm1-15387775 to be up.. 2025-08-11 15:53:15,723 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 15:53:20,791 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:53:20,791 - INFO - VM name : ctest-vn1-vm1-15387775 2025-08-11 15:53:20,851 - DEBUG - VM ctest-vn1-vm1-15387775 ID is d7bb5b7d-c226-4626-b95c-745a8842625b 2025-08-11 15:53:20,867 - DEBUG - VM ctest-vn1-vm1-15387775 launched on Node cn-jenkins-deploy-platform-ansible-os-3814-1 2025-08-11 15:53:20,928 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/d7bb5b7d-c226-4626-b95c-745a8842625b 2025-08-11 15:53:20,935 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/985d7334-0c79-47ba-8857-ab55cb8aefdb 2025-08-11 15:53:24,193 - 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 1024ms') 2025-08-11 15:53:24,193 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15387775 failed! 2025-08-11 15:53:24,247 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10328889:ctest-vn1-93656228 is 25.201.101.193 and allocation pool is NOT set 2025-08-11 15:53:24,247 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10328889:ctest-vn1-93656228 is 198.150.13.129 and allocation pool is NOT set 2025-08-11 15:53:26,304 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.74 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.736/2.777/3.818/1.041 ms') 2025-08-11 15:53:26,305 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15387775 passed 2025-08-11 15:53:26,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:53:26,455 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15387775, IP 25.201.101.197, Port 22 2025-08-11 15:53:26,606 - DEBUG - VM ctest-vn1-vm1-15387775 is ready for SSH connections 2025-08-11 15:53:26,606 - INFO - Waiting for VM ctest-vn1-vm2-07597994 to be up.. 2025-08-11 15:53:26,668 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:53:26,668 - INFO - VM name : ctest-vn1-vm2-07597994 2025-08-11 15:53:26,729 - DEBUG - VM ctest-vn1-vm2-07597994 ID is ce0b12cf-67b2-4028-aac8-48ec6b933e40 2025-08-11 15:53:26,729 - DEBUG - VM ctest-vn1-vm2-07597994 launched on Node cn-jenkins-deploy-platform-ansible-os-3814-1 2025-08-11 15:53:26,789 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/ce0b12cf-67b2-4028-aac8-48ec6b933e40 2025-08-11 15:53:26,797 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/55df4322-26ee-4cff-93c9-2dc0ac3fa9bf 2025-08-11 15:53:28,026 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 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.375/1.532/2.690/1.157 ms') 2025-08-11 15:53:28,026 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-07597994 passed 2025-08-11 15:53:28,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:53:28,175 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07597994, IP 198.150.13.133, Port 22 2025-08-11 15:53:28,326 - DEBUG - VM ctest-vn1-vm2-07597994 is ready for SSH connections 2025-08-11 15:53:28,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:53:28,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:53:28,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:53:28,327 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.201.101.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 15:53:28,327 - DEBUG - ping -s 56 -c 3 -W 1 25.201.101.197 2025-08-11 15:53:31,234 - DEBUG - PING 25.201.101.197 (25.201.101.197): 56 data bytes 64 bytes from 25.201.101.197: seq=0 ttl=63 time=3.431 ms 64 bytes from 25.201.101.197: seq=1 ttl=63 time=0.653 ms 64 bytes from 25.201.101.197: seq=2 ttl=63 time=0.645 ms --- 25.201.101.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.645/1.576/3.431 ms 2025-08-11 15:53:31,234 - INFO - Ping to IP 25.201.101.197 from VM ctest-vn1-vm2-07597994 passed 2025-08-11 15:53:31,234 - INFO - Detaching port 55df4322-26ee-4cff-93c9-2dc0ac3fa9bf from VM ctest-vn1-vm2-07597994 2025-08-11 15:53:31,276 - INFO - Deleting VM ctest-vn1-vm2-07597994 2025-08-11 15:53:31,334 - INFO - Detaching port 985d7334-0c79-47ba-8857-ab55cb8aefdb from VM ctest-vn1-vm1-15387775 2025-08-11 15:53:31,362 - INFO - Deleting VM ctest-vn1-vm1-15387775 2025-08-11 15:53:31,544 - DEBUG - Response for delete_port : () 2025-08-11 15:53:31,684 - DEBUG - Response for delete_port : () 2025-08-11 15:53:31,684 - INFO - Deleting VN ctest-vn1-93656228 2025-08-11 15:53:31,834 - DEBUG - Response for deleting network () 2025-08-11 15:53:32,085 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 15:53:32,085 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-11 15:53:32,085 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:53:32,765 - INFO - Deleted project: ctest-TestPorts-10328889, ID : 8b4bf63d-12d5-418c-870b-44143ef4272b