2025-11-19 17:34:21,196 - INFO - Domain Default found not creating 2025-11-19 17:34:21,333 - INFO - Project ctest-TestPorts-65254066 not found, creating it 2025-11-19 17:34:21,755 - INFO - Created Project:ctest-TestPorts-65254066, ID : 9e722453-1bd5-49bc-875f-1f8efadd42e1 2025-11-19 17:34:23,123 - INFO - ================================================================================ 2025-11-19 17:34:23,123 - INFO - STARTING TEST : test_ports_bindings 2025-11-19 17:34:23,123 - 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-19 17:34:23,377 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.209': '0'}} with 2025-11-19 17:34:23,377 - INFO - Initial checks done. Running the testcase now 2025-11-19 17:34:23,377 - INFO - 2025-11-19 17:34:24,425 - DEBUG - Response for create_network : {'network': {'id': '7a3cedb8-b519-4902-9dcb-c53578541044', 'name': 'ctest-vn-38785934', 'tenant_id': '9e7224531bd549bc875f1f8efadd42e1', 'project_id': '9e7224531bd549bc875f1f8efadd42e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65254066', 'ctest-vn-38785934'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 17:34:24,604 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e45c46c-3910-471c-8b8e-21e0d28f96fa', 'name': '', 'tenant_id': '9e7224531bd549bc875f1f8efadd42e1', 'network_id': '7a3cedb8-b519-4902-9dcb-c53578541044', 'ip_version': 4, 'cidr': '107.158.214.64/26', 'allocation_pools': [{'start': '107.158.214.66', 'end': '107.158.214.126'}], 'gateway_ip': '107.158.214.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.158.214.66', 'tags': [], 'project_id': '9e7224531bd549bc875f1f8efadd42e1'}} 2025-11-19 17:34:24,618 - INFO - Created VN ctest-vn-38785934 2025-11-19 17:34:24,669 - DEBUG - VN ctest-vn-38785934 UUID is 7a3cedb8-b519-4902-9dcb-c53578541044 2025-11-19 17:34:24,766 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65254066', 'ctest-vmi-56791361']} 2025-11-19 17:34:25,034 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-56791361', 'id': '192cf557-0a8a-40d1-9346-52c03dc32766', 'tenant_id': '9e7224531bd549bc875f1f8efadd42e1', 'network_id': '7a3cedb8-b519-4902-9dcb-c53578541044', 'mac_address': '02:19:2c:f5:57:0a', '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': '107.158.214.67', 'subnet_id': '5e45c46c-3910-471c-8b8e-21e0d28f96fa'}], 'security_groups': ['8570cb22-b8cc-4a8b-93ae-3359c1409f73'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9e7224531bd549bc875f1f8efadd42e1'}} 2025-11-19 17:34:25,034 - DEBUG - Created port 192cf557-0a8a-40d1-9346-52c03dc32766 2025-11-19 17:34:25,141 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/192cf557-0a8a-40d1-9346-52c03dc32766 2025-11-19 17:34:25,431 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/192cf557-0a8a-40d1-9346-52c03dc32766 2025-11-19 17:34:25,460 - INFO - VMI 192cf557-0a8a-40d1-9346-52c03dc32766 verification in API Server passed 2025-11-19 17:34:25,529 - DEBUG - Response for delete_port : () 2025-11-19 17:34:25,529 - INFO - Deleted port 192cf557-0a8a-40d1-9346-52c03dc32766 2025-11-19 17:34:25,529 - INFO - Deleting VN ctest-vn-38785934 2025-11-19 17:34:25,614 - DEBUG - Response for deleting network () 2025-11-19 17:34:25,861 - DEBUG - No XMPP flaps were noticed during the test 2025-11-19 17:34:25,862 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-19 17:34:25,862 - INFO - -------------------------------------------------------------------------------- 2025-11-19 17:34:25,864 - INFO - ================================================================================ 2025-11-19 17:34:25,864 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-19 17:34:25,864 - 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-19 17:34:26,149 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.209': '0'}} with 2025-11-19 17:34:26,149 - INFO - Initial checks done. Running the testcase now 2025-11-19 17:34:26,149 - INFO - 2025-11-19 17:34:26,310 - DEBUG - Response for create_network : {'network': {'id': 'd74e641b-afeb-469f-b110-becfa54b192d', 'name': 'ctest-vn1-58494577', 'tenant_id': '9e7224531bd549bc875f1f8efadd42e1', 'project_id': '9e7224531bd549bc875f1f8efadd42e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65254066', 'ctest-vn1-58494577'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 17:34:26,504 - DEBUG - Response for create_subnet : {'subnet': {'id': '152c62bd-b3c5-425e-b215-517f1ba06532', 'name': '', 'tenant_id': '9e7224531bd549bc875f1f8efadd42e1', 'network_id': 'd74e641b-afeb-469f-b110-becfa54b192d', 'ip_version': 4, 'cidr': '104.131.125.128/26', 'allocation_pools': [{'start': '104.131.125.130', 'end': '104.131.125.190'}], 'gateway_ip': '104.131.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.131.125.130', 'tags': [], 'project_id': '9e7224531bd549bc875f1f8efadd42e1'}} 2025-11-19 17:34:26,654 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c24cfbc9-5efa-4740-b3d2-df2f344a1d0b', 'name': '', 'tenant_id': '9e7224531bd549bc875f1f8efadd42e1', 'network_id': 'd74e641b-afeb-469f-b110-becfa54b192d', 'ip_version': 4, 'cidr': '112.70.56.128/26', 'allocation_pools': [{'start': '112.70.56.130', 'end': '112.70.56.190'}], 'gateway_ip': '112.70.56.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.70.56.130', 'tags': [], 'project_id': '9e7224531bd549bc875f1f8efadd42e1'}} 2025-11-19 17:34:26,670 - INFO - Created VN ctest-vn1-58494577 2025-11-19 17:34:26,721 - DEBUG - VN ctest-vn1-58494577 UUID is d74e641b-afeb-469f-b110-becfa54b192d 2025-11-19 17:34:26,992 - DEBUG - Response for create_port : {'port': {'name': '7a08c962-38ec-4f2c-8960-7708d70416d1', 'id': '7a08c962-38ec-4f2c-8960-7708d70416d1', 'tenant_id': '9e7224531bd549bc875f1f8efadd42e1', 'network_id': 'd74e641b-afeb-469f-b110-becfa54b192d', 'mac_address': '02:7a:08:c9:62:38', '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': '104.131.125.133', 'subnet_id': '152c62bd-b3c5-425e-b215-517f1ba06532'}], 'security_groups': ['8570cb22-b8cc-4a8b-93ae-3359c1409f73'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9e7224531bd549bc875f1f8efadd42e1'}} 2025-11-19 17:34:27,147 - DEBUG - Response for create_port : {'port': {'name': '764b8c61-3177-44b8-b3ad-f7c7cb1447cc', 'id': '764b8c61-3177-44b8-b3ad-f7c7cb1447cc', 'tenant_id': '9e7224531bd549bc875f1f8efadd42e1', 'network_id': 'd74e641b-afeb-469f-b110-becfa54b192d', 'mac_address': '02:76:4b:8c:61:31', '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': '112.70.56.133', 'subnet_id': 'c24cfbc9-5efa-4740-b3d2-df2f344a1d0b'}], 'security_groups': ['8570cb22-b8cc-4a8b-93ae-3359c1409f73'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9e7224531bd549bc875f1f8efadd42e1'}} 2025-11-19 17:34:27,194 - DEBUG - Services list from nova: [, , ] 2025-11-19 17:34:27,476 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4764-1) 2025-11-19 17:34:27,849 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4764-1) 2025-11-19 17:34:27,849 - INFO - Waiting for VM ctest-vn1-vm1-79234311 to be up.. 2025-11-19 17:34:27,889 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 17:34:32,965 - DEBUG - VM is in ACTIVE state now 2025-11-19 17:34:32,966 - INFO - VM name : ctest-vn1-vm1-79234311 2025-11-19 17:34:33,062 - DEBUG - VM ctest-vn1-vm1-79234311 ID is eb0a0758-84c5-4fdf-9022-c7892252244e 2025-11-19 17:34:33,081 - DEBUG - VM ctest-vn1-vm1-79234311 launched on Node cn-jenkins-deploy-platform-ansible-os-4764-1 2025-11-19 17:34:33,159 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/eb0a0758-84c5-4fdf-9022-c7892252244e 2025-11-19 17:34:33,170 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7a08c962-38ec-4f2c-8960-7708d70416d1 2025-11-19 17:34:36,434 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1032ms') 2025-11-19 17:34:36,434 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-79234311 failed! 2025-11-19 17:34:36,485 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65254066:ctest-vn1-58494577 is 104.131.125.129 and allocation pool is NOT set 2025-11-19 17:34:36,485 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65254066:ctest-vn1-58494577 is 112.70.56.129 and allocation pool is NOT set 2025-11-19 17:34:38,545 - 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=4.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.78 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 = 1.778/3.201/4.624/1.423 ms') 2025-11-19 17:34:38,546 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-79234311 passed 2025-11-19 17:34:38,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:34:38,693 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79234311, IP 104.131.125.133, Port 22 2025-11-19 17:34:38,849 - DEBUG - VM ctest-vn1-vm1-79234311 is ready for SSH connections 2025-11-19 17:34:38,849 - INFO - Waiting for VM ctest-vn1-vm2-22822645 to be up.. 2025-11-19 17:34:38,918 - DEBUG - VM is in ACTIVE state now 2025-11-19 17:34:38,918 - INFO - VM name : ctest-vn1-vm2-22822645 2025-11-19 17:34:38,982 - DEBUG - VM ctest-vn1-vm2-22822645 ID is c88855d9-8568-430e-a48c-70a1c63da471 2025-11-19 17:34:38,982 - DEBUG - VM ctest-vn1-vm2-22822645 launched on Node cn-jenkins-deploy-platform-ansible-os-4764-1 2025-11-19 17:34:39,046 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c88855d9-8568-430e-a48c-70a1c63da471 2025-11-19 17:34:39,054 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/764b8c61-3177-44b8-b3ad-f7c7cb1447cc 2025-11-19 17:34:40,285 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.464 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 = 0.464/2.108/3.752/1.644 ms') 2025-11-19 17:34:40,285 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-22822645 passed 2025-11-19 17:34:40,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:34:40,433 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-22822645, IP 112.70.56.133, Port 22 2025-11-19 17:34:40,589 - DEBUG - VM ctest-vn1-vm2-22822645 is ready for SSH connections 2025-11-19 17:34:40,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:34:40,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:34:40,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:34:40,589 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.131.125.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-19 17:34:40,589 - DEBUG - ping -s 56 -c 3 -W 1 104.131.125.133 2025-11-19 17:34:44,533 - DEBUG - PING 104.131.125.133 (104.131.125.133): 56 data bytes 64 bytes from 104.131.125.133: seq=0 ttl=63 time=3.666 ms 64 bytes from 104.131.125.133: seq=1 ttl=63 time=0.807 ms 64 bytes from 104.131.125.133: seq=2 ttl=63 time=0.800 ms --- 104.131.125.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.800/1.757/3.666 ms 2025-11-19 17:34:44,533 - INFO - Ping to IP 104.131.125.133 from VM ctest-vn1-vm2-22822645 passed 2025-11-19 17:34:44,533 - INFO - Detaching port 764b8c61-3177-44b8-b3ad-f7c7cb1447cc from VM ctest-vn1-vm2-22822645 2025-11-19 17:34:44,577 - INFO - Deleting VM ctest-vn1-vm2-22822645 2025-11-19 17:34:44,636 - INFO - Detaching port 7a08c962-38ec-4f2c-8960-7708d70416d1 from VM ctest-vn1-vm1-79234311 2025-11-19 17:34:44,666 - INFO - Deleting VM ctest-vn1-vm1-79234311 2025-11-19 17:34:44,866 - DEBUG - Response for delete_port : () 2025-11-19 17:34:45,017 - DEBUG - Response for delete_port : () 2025-11-19 17:34:45,017 - INFO - Deleting VN ctest-vn1-58494577 2025-11-19 17:34:45,145 - DEBUG - Response for deleting network () 2025-11-19 17:34:45,397 - DEBUG - No XMPP flaps were noticed during the test 2025-11-19 17:34:45,397 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20] 2025-11-19 17:34:45,397 - INFO - -------------------------------------------------------------------------------- 2025-11-19 17:34:46,059 - INFO - Deleted project: ctest-TestPorts-65254066, ID : 9e722453-1bd5-49bc-875f-1f8efadd42e1