2025-12-08 22:43:45,960 - INFO - Domain Default found not creating 2025-12-08 22:43:46,102 - INFO - Project ctest-TestPorts-23193130 not found, creating it 2025-12-08 22:43:46,530 - INFO - Created Project:ctest-TestPorts-23193130, ID : 0cde5071-6261-4804-addd-7b28fd4651ae 2025-12-08 22:43:48,010 - INFO - ================================================================================ 2025-12-08 22:43:48,010 - INFO - STARTING TEST : test_ports_bindings 2025-12-08 22:43:48,010 - 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-12-08 22:43:48,269 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2025-12-08 22:43:48,269 - INFO - Initial checks done. Running the testcase now 2025-12-08 22:43:48,269 - INFO - 2025-12-08 22:43:49,063 - DEBUG - Response for create_network : {'network': {'id': 'ab6ed652-81c8-4242-87c4-2bebce61f36e', 'name': 'ctest-vn-74767494', 'tenant_id': '0cde507162614804addd7b28fd4651ae', 'project_id': '0cde507162614804addd7b28fd4651ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23193130', 'ctest-vn-74767494'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 22:43:49,275 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fdddd82e-5cee-45e9-b5c2-ac6dc8f90c56', 'name': '', 'tenant_id': '0cde507162614804addd7b28fd4651ae', 'network_id': 'ab6ed652-81c8-4242-87c4-2bebce61f36e', 'ip_version': 4, 'cidr': '129.175.167.0/26', 'allocation_pools': [{'start': '129.175.167.2', 'end': '129.175.167.62'}], 'gateway_ip': '129.175.167.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.175.167.2', 'tags': [], 'project_id': '0cde507162614804addd7b28fd4651ae'}} 2025-12-08 22:43:49,295 - INFO - Created VN ctest-vn-74767494 2025-12-08 22:43:49,347 - DEBUG - VN ctest-vn-74767494 UUID is ab6ed652-81c8-4242-87c4-2bebce61f36e 2025-12-08 22:43:49,450 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-23193130', 'ctest-vmi-40332060']} 2025-12-08 22:43:49,719 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-40332060', 'id': 'ce40b197-1fd7-42d1-935d-7d51224e90db', 'tenant_id': '0cde507162614804addd7b28fd4651ae', 'network_id': 'ab6ed652-81c8-4242-87c4-2bebce61f36e', 'mac_address': '02:ce:40:b1:97:1f', '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': '129.175.167.3', 'subnet_id': 'fdddd82e-5cee-45e9-b5c2-ac6dc8f90c56'}], 'security_groups': ['6e5abf11-9329-4986-8b0c-90e1aa1387e0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0cde507162614804addd7b28fd4651ae'}} 2025-12-08 22:43:49,719 - DEBUG - Created port ce40b197-1fd7-42d1-935d-7d51224e90db 2025-12-08 22:43:49,827 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ce40b197-1fd7-42d1-935d-7d51224e90db 2025-12-08 22:43:50,123 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ce40b197-1fd7-42d1-935d-7d51224e90db 2025-12-08 22:43:50,160 - INFO - VMI ce40b197-1fd7-42d1-935d-7d51224e90db verification in API Server passed 2025-12-08 22:43:50,252 - DEBUG - Response for delete_port : () 2025-12-08 22:43:50,252 - INFO - Deleted port ce40b197-1fd7-42d1-935d-7d51224e90db 2025-12-08 22:43:50,253 - INFO - Deleting VN ctest-vn-74767494 2025-12-08 22:43:50,362 - DEBUG - Response for deleting network () 2025-12-08 22:43:50,616 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 22:43:50,616 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-08 22:43:50,616 - INFO - -------------------------------------------------------------------------------- 2025-12-08 22:43:50,618 - INFO - ================================================================================ 2025-12-08 22:43:50,619 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-08 22:43:50,619 - 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-12-08 22:43:50,903 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2025-12-08 22:43:50,903 - INFO - Initial checks done. Running the testcase now 2025-12-08 22:43:50,903 - INFO - 2025-12-08 22:43:51,063 - DEBUG - Response for create_network : {'network': {'id': '880b890c-d44c-4d99-b425-03dde7d8fe8a', 'name': 'ctest-vn1-59481363', 'tenant_id': '0cde507162614804addd7b28fd4651ae', 'project_id': '0cde507162614804addd7b28fd4651ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23193130', 'ctest-vn1-59481363'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 22:43:51,255 - DEBUG - Response for create_subnet : {'subnet': {'id': '730b6bef-f888-4c85-8d89-2e352890d400', 'name': '', 'tenant_id': '0cde507162614804addd7b28fd4651ae', 'network_id': '880b890c-d44c-4d99-b425-03dde7d8fe8a', 'ip_version': 4, 'cidr': '180.178.14.64/26', 'allocation_pools': [{'start': '180.178.14.66', 'end': '180.178.14.126'}], 'gateway_ip': '180.178.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.178.14.66', 'tags': [], 'project_id': '0cde507162614804addd7b28fd4651ae'}} 2025-12-08 22:43:51,453 - DEBUG - Response for create_subnet : {'subnet': {'id': '27f37f0c-bda9-4646-aeb0-e7d23c2b0932', 'name': '', 'tenant_id': '0cde507162614804addd7b28fd4651ae', 'network_id': '880b890c-d44c-4d99-b425-03dde7d8fe8a', 'ip_version': 4, 'cidr': '13.242.50.128/26', 'allocation_pools': [{'start': '13.242.50.130', 'end': '13.242.50.190'}], 'gateway_ip': '13.242.50.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.242.50.130', 'tags': [], 'project_id': '0cde507162614804addd7b28fd4651ae'}} 2025-12-08 22:43:51,474 - INFO - Created VN ctest-vn1-59481363 2025-12-08 22:43:51,527 - DEBUG - VN ctest-vn1-59481363 UUID is 880b890c-d44c-4d99-b425-03dde7d8fe8a 2025-12-08 22:43:51,839 - DEBUG - Response for create_port : {'port': {'name': 'e6cf3ed6-3e9f-4af0-9cf6-00fd58224068', 'id': 'e6cf3ed6-3e9f-4af0-9cf6-00fd58224068', 'tenant_id': '0cde507162614804addd7b28fd4651ae', 'network_id': '880b890c-d44c-4d99-b425-03dde7d8fe8a', 'mac_address': '02:e6:cf:3e:d6:3e', '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': '180.178.14.69', 'subnet_id': '730b6bef-f888-4c85-8d89-2e352890d400'}], 'security_groups': ['6e5abf11-9329-4986-8b0c-90e1aa1387e0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0cde507162614804addd7b28fd4651ae'}} 2025-12-08 22:43:52,016 - DEBUG - Response for create_port : {'port': {'name': '82e58a3b-a88a-40cb-a3fa-da241c7166c4', 'id': '82e58a3b-a88a-40cb-a3fa-da241c7166c4', 'tenant_id': '0cde507162614804addd7b28fd4651ae', 'network_id': '880b890c-d44c-4d99-b425-03dde7d8fe8a', 'mac_address': '02:82:e5:8a:3b:a8', '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': '13.242.50.133', 'subnet_id': '27f37f0c-bda9-4646-aeb0-e7d23c2b0932'}], 'security_groups': ['6e5abf11-9329-4986-8b0c-90e1aa1387e0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0cde507162614804addd7b28fd4651ae'}} 2025-12-08 22:43:52,065 - DEBUG - Services list from nova: [, , ] 2025-12-08 22:43:52,347 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4862-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4862-1) 2025-12-08 22:43:52,712 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4862-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4862-1) 2025-12-08 22:43:52,712 - INFO - Waiting for VM ctest-vn1-vm1-60689337 to be up.. 2025-12-08 22:43:52,746 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 22:43:57,810 - DEBUG - VM is in ACTIVE state now 2025-12-08 22:43:57,811 - INFO - VM name : ctest-vn1-vm1-60689337 2025-12-08 22:43:57,873 - DEBUG - VM ctest-vn1-vm1-60689337 ID is ab280920-3e1f-4e31-8c9c-37a516c6bc91 2025-12-08 22:43:57,891 - DEBUG - VM ctest-vn1-vm1-60689337 launched on Node cn-jenkins-deploy-platform-ansible-os-4862-1 2025-12-08 22:43:57,956 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ab280920-3e1f-4e31-8c9c-37a516c6bc91 2025-12-08 22:43:57,963 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e6cf3ed6-3e9f-4af0-9cf6-00fd58224068 2025-12-08 22:44:01,231 - 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 1031ms') 2025-12-08 22:44:01,231 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60689337 failed! 2025-12-08 22:44:01,287 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23193130:ctest-vn1-59481363 is 180.178.14.65 and allocation pool is NOT set 2025-12-08 22:44:01,287 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23193130:ctest-vn1-59481363 is 13.242.50.129 and allocation pool is NOT set 2025-12-08 22:44:03,349 - 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=4.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.29 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 = 3.285/4.124/4.963/0.839 ms') 2025-12-08 22:44:03,349 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60689337 passed 2025-12-08 22:44:03,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:44:03,495 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60689337, IP 180.178.14.69, Port 22 2025-12-08 22:44:03,656 - DEBUG - VM ctest-vn1-vm1-60689337 is ready for SSH connections 2025-12-08 22:44:03,656 - INFO - Waiting for VM ctest-vn1-vm2-23687255 to be up.. 2025-12-08 22:44:03,734 - DEBUG - VM is in ACTIVE state now 2025-12-08 22:44:03,734 - INFO - VM name : ctest-vn1-vm2-23687255 2025-12-08 22:44:03,802 - DEBUG - VM ctest-vn1-vm2-23687255 ID is a5fc7c69-4745-40f5-add3-9927f8d613ae 2025-12-08 22:44:03,802 - DEBUG - VM ctest-vn1-vm2-23687255 launched on Node cn-jenkins-deploy-platform-ansible-os-4862-1 2025-12-08 22:44:03,871 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a5fc7c69-4745-40f5-add3-9927f8d613ae 2025-12-08 22:44:03,879 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/82e58a3b-a88a-40cb-a3fa-da241c7166c4 2025-12-08 22:44:05,117 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.382 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.382/1.640/2.898/1.258 ms') 2025-12-08 22:44:05,117 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-23687255 passed 2025-12-08 22:44:05,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:44:05,263 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23687255, IP 13.242.50.133, Port 22 2025-12-08 22:44:05,418 - DEBUG - VM ctest-vn1-vm2-23687255 is ready for SSH connections 2025-12-08 22:44:05,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:44:05,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:44:05,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:44:05,418 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.178.14.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 22:44:05,418 - DEBUG - ping -s 56 -c 3 -W 1 180.178.14.69 2025-12-08 22:44:08,361 - DEBUG - PING 180.178.14.69 (180.178.14.69): 56 data bytes 64 bytes from 180.178.14.69: seq=0 ttl=63 time=3.752 ms 64 bytes from 180.178.14.69: seq=1 ttl=63 time=0.854 ms 64 bytes from 180.178.14.69: seq=2 ttl=63 time=1.115 ms --- 180.178.14.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/1.907/3.752 ms 2025-12-08 22:44:08,361 - INFO - Ping to IP 180.178.14.69 from VM ctest-vn1-vm2-23687255 passed 2025-12-08 22:44:08,361 - INFO - Detaching port 82e58a3b-a88a-40cb-a3fa-da241c7166c4 from VM ctest-vn1-vm2-23687255 2025-12-08 22:44:08,405 - INFO - Deleting VM ctest-vn1-vm2-23687255 2025-12-08 22:44:08,460 - INFO - Detaching port e6cf3ed6-3e9f-4af0-9cf6-00fd58224068 from VM ctest-vn1-vm1-60689337 2025-12-08 22:44:08,491 - INFO - Deleting VM ctest-vn1-vm1-60689337 2025-12-08 22:44:08,701 - DEBUG - Response for delete_port : () 2025-12-08 22:44:08,828 - DEBUG - Response for delete_port : () 2025-12-08 22:44:08,828 - INFO - Deleting VN ctest-vn1-59481363 2025-12-08 22:44:08,965 - DEBUG - Response for deleting network () 2025-12-08 22:44:09,227 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 22:44:09,227 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-12-08 22:44:09,227 - INFO - -------------------------------------------------------------------------------- 2025-12-08 22:44:09,884 - INFO - Deleted project: ctest-TestPorts-23193130, ID : 0cde5071-6261-4804-addd-7b28fd4651ae