2025-10-22 06:06:34,731 - INFO - Domain Default found not creating 2025-10-22 06:06:34,872 - INFO - Project ctest-TestPorts-42508876 not found, creating it 2025-10-22 06:06:35,315 - INFO - Created Project:ctest-TestPorts-42508876, ID : 80d01d01-86bb-4517-802d-0b9a1d602615 2025-10-22 06:06:36,798 - INFO - ================================================================================ 2025-10-22 06:06:36,798 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 06:06:36,798 - 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-22 06:06:37,059 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-22 06:06:37,059 - INFO - Initial checks done. Running the testcase now 2025-10-22 06:06:37,059 - INFO - 2025-10-22 06:06:37,655 - DEBUG - Response for create_network : {'network': {'id': '867daada-7974-43ae-975f-f0cc5f327f89', 'name': 'ctest-vn-90607142', 'tenant_id': '80d01d0186bb4517802d0b9a1d602615', 'project_id': '80d01d0186bb4517802d0b9a1d602615', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42508876', 'ctest-vn-90607142'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 06:06:37,831 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc1a5975-3fcc-44ee-b240-8ffe060de468', 'name': '', 'tenant_id': '80d01d0186bb4517802d0b9a1d602615', 'network_id': '867daada-7974-43ae-975f-f0cc5f327f89', 'ip_version': 4, 'cidr': '37.7.86.0/26', 'allocation_pools': [{'start': '37.7.86.2', 'end': '37.7.86.62'}], 'gateway_ip': '37.7.86.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.7.86.2', 'tags': [], 'project_id': '80d01d0186bb4517802d0b9a1d602615'}} 2025-10-22 06:06:37,848 - INFO - Created VN ctest-vn-90607142 2025-10-22 06:06:37,901 - DEBUG - VN ctest-vn-90607142 UUID is 867daada-7974-43ae-975f-f0cc5f327f89 2025-10-22 06:06:38,001 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-42508876', 'ctest-vmi-73639657']} 2025-10-22 06:06:38,259 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-73639657', 'id': 'a4757b37-6188-4f65-a1e4-626c8f406b05', 'tenant_id': '80d01d0186bb4517802d0b9a1d602615', 'network_id': '867daada-7974-43ae-975f-f0cc5f327f89', 'mac_address': '02:a4:75:7b:37:61', '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': '37.7.86.3', 'subnet_id': 'fc1a5975-3fcc-44ee-b240-8ffe060de468'}], 'security_groups': ['b01634ec-0e4c-4787-83de-98108dba8cf2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '80d01d0186bb4517802d0b9a1d602615'}} 2025-10-22 06:06:38,259 - DEBUG - Created port a4757b37-6188-4f65-a1e4-626c8f406b05 2025-10-22 06:06:38,361 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a4757b37-6188-4f65-a1e4-626c8f406b05 2025-10-22 06:06:38,651 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a4757b37-6188-4f65-a1e4-626c8f406b05 2025-10-22 06:06:38,681 - INFO - VMI a4757b37-6188-4f65-a1e4-626c8f406b05 verification in API Server passed 2025-10-22 06:06:38,760 - DEBUG - Response for delete_port : () 2025-10-22 06:06:38,760 - INFO - Deleted port a4757b37-6188-4f65-a1e4-626c8f406b05 2025-10-22 06:06:38,760 - INFO - Deleting VN ctest-vn-90607142 2025-10-22 06:06:38,857 - DEBUG - Response for deleting network () 2025-10-22 06:06:39,110 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 06:06:39,110 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-22 06:06:39,110 - INFO - -------------------------------------------------------------------------------- 2025-10-22 06:06:39,112 - INFO - ================================================================================ 2025-10-22 06:06:39,112 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 06:06:39,113 - 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-22 06:06:39,398 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-22 06:06:39,398 - INFO - Initial checks done. Running the testcase now 2025-10-22 06:06:39,398 - INFO - 2025-10-22 06:06:39,559 - DEBUG - Response for create_network : {'network': {'id': '670284f7-b261-4ec8-9d2f-6b5e0284ec53', 'name': 'ctest-vn1-64613255', 'tenant_id': '80d01d0186bb4517802d0b9a1d602615', 'project_id': '80d01d0186bb4517802d0b9a1d602615', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42508876', 'ctest-vn1-64613255'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 06:06:39,768 - DEBUG - Response for create_subnet : {'subnet': {'id': '50301ba6-cd97-45c6-8f42-8d10444121d7', 'name': '', 'tenant_id': '80d01d0186bb4517802d0b9a1d602615', 'network_id': '670284f7-b261-4ec8-9d2f-6b5e0284ec53', 'ip_version': 4, 'cidr': '103.116.119.192/26', 'allocation_pools': [{'start': '103.116.119.194', 'end': '103.116.119.254'}], 'gateway_ip': '103.116.119.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.116.119.194', 'tags': [], 'project_id': '80d01d0186bb4517802d0b9a1d602615'}} 2025-10-22 06:06:39,953 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed7d378a-85fb-429c-b194-3a561daffb79', 'name': '', 'tenant_id': '80d01d0186bb4517802d0b9a1d602615', 'network_id': '670284f7-b261-4ec8-9d2f-6b5e0284ec53', 'ip_version': 4, 'cidr': '114.198.179.192/26', 'allocation_pools': [{'start': '114.198.179.194', 'end': '114.198.179.254'}], 'gateway_ip': '114.198.179.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.198.179.194', 'tags': [], 'project_id': '80d01d0186bb4517802d0b9a1d602615'}} 2025-10-22 06:06:39,972 - INFO - Created VN ctest-vn1-64613255 2025-10-22 06:06:40,025 - DEBUG - VN ctest-vn1-64613255 UUID is 670284f7-b261-4ec8-9d2f-6b5e0284ec53 2025-10-22 06:06:40,299 - DEBUG - Response for create_port : {'port': {'name': 'ac6627e3-2556-41f8-9a8e-cd9a53df8cf8', 'id': 'ac6627e3-2556-41f8-9a8e-cd9a53df8cf8', 'tenant_id': '80d01d0186bb4517802d0b9a1d602615', 'network_id': '670284f7-b261-4ec8-9d2f-6b5e0284ec53', 'mac_address': '02:ac:66:27:e3:25', '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': '103.116.119.197', 'subnet_id': '50301ba6-cd97-45c6-8f42-8d10444121d7'}], 'security_groups': ['b01634ec-0e4c-4787-83de-98108dba8cf2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '80d01d0186bb4517802d0b9a1d602615'}} 2025-10-22 06:06:40,468 - DEBUG - Response for create_port : {'port': {'name': 'b997091b-7f75-4262-94d8-b284e350fef8', 'id': 'b997091b-7f75-4262-94d8-b284e350fef8', 'tenant_id': '80d01d0186bb4517802d0b9a1d602615', 'network_id': '670284f7-b261-4ec8-9d2f-6b5e0284ec53', 'mac_address': '02:b9:97:09:1b:7f', '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': '114.198.179.197', 'subnet_id': 'ed7d378a-85fb-429c-b194-3a561daffb79'}], 'security_groups': ['b01634ec-0e4c-4787-83de-98108dba8cf2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '80d01d0186bb4517802d0b9a1d602615'}} 2025-10-22 06:06:40,521 - DEBUG - Services list from nova: [, , ] 2025-10-22 06:06:40,821 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4411-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4411-1) 2025-10-22 06:06:41,313 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4411-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4411-1) 2025-10-22 06:06:41,314 - INFO - Waiting for VM ctest-vn1-vm1-63766978 to be up.. 2025-10-22 06:06:41,353 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 06:06:46,420 - DEBUG - VM is in ACTIVE state now 2025-10-22 06:06:46,421 - INFO - VM name : ctest-vn1-vm1-63766978 2025-10-22 06:06:46,484 - DEBUG - VM ctest-vn1-vm1-63766978 ID is eb028220-d819-43c2-aa6d-66a28440aadb 2025-10-22 06:06:46,501 - DEBUG - VM ctest-vn1-vm1-63766978 launched on Node cn-jenkins-deploy-platform-ansible-os-4411-1 2025-10-22 06:06:46,567 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/eb028220-d819-43c2-aa6d-66a28440aadb 2025-10-22 06:06:46,575 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ac6627e3-2556-41f8-9a8e-cd9a53df8cf8 2025-10-22 06:06:49,833 - 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-10-22 06:06:49,834 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63766978 failed! 2025-10-22 06:06:49,889 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42508876:ctest-vn1-64613255 is 103.116.119.193 and allocation pool is NOT set 2025-10-22 06:06:49,890 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42508876:ctest-vn1-64613255 is 114.198.179.193 and allocation pool is NOT set 2025-10-22 06:06:51,952 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.677 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.677/2.326/3.975/1.649 ms') 2025-10-22 06:06:51,952 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63766978 passed 2025-10-22 06:06:52,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:06:52,110 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63766978, IP 103.116.119.197, Port 22 2025-10-22 06:06:52,261 - DEBUG - VM ctest-vn1-vm1-63766978 is ready for SSH connections 2025-10-22 06:06:52,261 - INFO - Waiting for VM ctest-vn1-vm2-12765138 to be up.. 2025-10-22 06:06:52,338 - DEBUG - VM is in ACTIVE state now 2025-10-22 06:06:52,338 - INFO - VM name : ctest-vn1-vm2-12765138 2025-10-22 06:06:52,417 - DEBUG - VM ctest-vn1-vm2-12765138 ID is 9c9a2fd8-329f-4ad3-83dd-394df9662f8f 2025-10-22 06:06:52,417 - DEBUG - VM ctest-vn1-vm2-12765138 launched on Node cn-jenkins-deploy-platform-ansible-os-4411-1 2025-10-22 06:06:52,501 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9c9a2fd8-329f-4ad3-83dd-394df9662f8f 2025-10-22 06:06:52,510 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b997091b-7f75-4262-94d8-b284e350fef8 2025-10-22 06:06:53,739 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.353 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.353/1.549/2.746/1.196 ms') 2025-10-22 06:06:53,739 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-12765138 passed 2025-10-22 06:06:53,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:06:53,886 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-12765138, IP 114.198.179.197, Port 22 2025-10-22 06:06:54,038 - DEBUG - VM ctest-vn1-vm2-12765138 is ready for SSH connections 2025-10-22 06:06:54,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:06:54,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:06:54,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:06:54,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.116.119.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 06:06:54,038 - DEBUG - ping -s 56 -c 3 -W 1 103.116.119.197 2025-10-22 06:06:56,971 - DEBUG - PING 103.116.119.197 (103.116.119.197): 56 data bytes 64 bytes from 103.116.119.197: seq=0 ttl=63 time=3.523 ms 64 bytes from 103.116.119.197: seq=1 ttl=63 time=0.779 ms 64 bytes from 103.116.119.197: seq=2 ttl=63 time=0.896 ms --- 103.116.119.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.779/1.732/3.523 ms 2025-10-22 06:06:56,972 - INFO - Ping to IP 103.116.119.197 from VM ctest-vn1-vm2-12765138 passed 2025-10-22 06:06:56,972 - INFO - Detaching port b997091b-7f75-4262-94d8-b284e350fef8 from VM ctest-vn1-vm2-12765138 2025-10-22 06:06:57,022 - INFO - Deleting VM ctest-vn1-vm2-12765138 2025-10-22 06:06:57,084 - INFO - Detaching port ac6627e3-2556-41f8-9a8e-cd9a53df8cf8 from VM ctest-vn1-vm1-63766978 2025-10-22 06:06:57,112 - INFO - Deleting VM ctest-vn1-vm1-63766978 2025-10-22 06:06:57,294 - DEBUG - Response for delete_port : () 2025-10-22 06:06:57,437 - DEBUG - Response for delete_port : () 2025-10-22 06:06:57,437 - INFO - Deleting VN ctest-vn1-64613255 2025-10-22 06:06:57,578 - DEBUG - Response for deleting network () 2025-10-22 06:06:57,826 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 06:06:57,826 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-10-22 06:06:57,826 - INFO - -------------------------------------------------------------------------------- 2025-10-22 06:06:58,457 - INFO - Deleted project: ctest-TestPorts-42508876, ID : 80d01d01-86bb-4517-802d-0b9a1d602615