2025-09-15 18:38:02,666 - INFO - Domain Default found not creating 2025-09-15 18:38:02,795 - INFO - Project ctest-TestPorts-16185204 not found, creating it 2025-09-15 18:38:03,238 - INFO - Created Project:ctest-TestPorts-16185204, ID : 9191c4c8-a676-4dc5-857f-8481aa7c8efe 2025-09-15 18:38:04,655 - INFO - ================================================================================ 2025-09-15 18:38:04,655 - INFO - STARTING TEST : test_ports_bindings 2025-09-15 18:38:04,655 - 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-09-15 18:38:04,916 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-15 18:38:04,916 - INFO - Initial checks done. Running the testcase now 2025-09-15 18:38:04,916 - INFO - 2025-09-15 18:38:05,446 - DEBUG - Response for create_network : {'network': {'id': '66819af1-c18d-4be9-b1fd-23f386c7cead', 'name': 'ctest-vn-45150912', 'tenant_id': '9191c4c8a6764dc5857f8481aa7c8efe', 'project_id': '9191c4c8a6764dc5857f8481aa7c8efe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16185204', 'ctest-vn-45150912'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 18:38:05,591 - DEBUG - Response for create_subnet : {'subnet': {'id': '258d94e7-946b-4a9c-9623-243400282fe3', 'name': '', 'tenant_id': '9191c4c8a6764dc5857f8481aa7c8efe', 'network_id': '66819af1-c18d-4be9-b1fd-23f386c7cead', 'ip_version': 4, 'cidr': '198.15.165.128/26', 'allocation_pools': [{'start': '198.15.165.130', 'end': '198.15.165.190'}], 'gateway_ip': '198.15.165.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.15.165.130', 'tags': [], 'project_id': '9191c4c8a6764dc5857f8481aa7c8efe'}} 2025-09-15 18:38:05,607 - INFO - Created VN ctest-vn-45150912 2025-09-15 18:38:05,659 - DEBUG - VN ctest-vn-45150912 UUID is 66819af1-c18d-4be9-b1fd-23f386c7cead 2025-09-15 18:38:05,769 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-16185204', 'ctest-vmi-11778431']} 2025-09-15 18:38:06,359 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-11778431', 'id': '24f0fdc5-4d22-4773-a8f5-4fa0ab7b385b', 'tenant_id': '9191c4c8a6764dc5857f8481aa7c8efe', 'network_id': '66819af1-c18d-4be9-b1fd-23f386c7cead', 'mac_address': '02:24:f0:fd:c5:4d', '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': '198.15.165.131', 'subnet_id': '258d94e7-946b-4a9c-9623-243400282fe3'}], 'security_groups': ['4e4f2322-80c6-47b6-b5ac-5b2b6e7f3975'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9191c4c8a6764dc5857f8481aa7c8efe'}} 2025-09-15 18:38:06,359 - DEBUG - Created port 24f0fdc5-4d22-4773-a8f5-4fa0ab7b385b 2025-09-15 18:38:06,479 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/24f0fdc5-4d22-4773-a8f5-4fa0ab7b385b 2025-09-15 18:38:06,787 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/24f0fdc5-4d22-4773-a8f5-4fa0ab7b385b 2025-09-15 18:38:06,815 - INFO - VMI 24f0fdc5-4d22-4773-a8f5-4fa0ab7b385b verification in API Server passed 2025-09-15 18:38:06,893 - DEBUG - Response for delete_port : () 2025-09-15 18:38:06,893 - INFO - Deleted port 24f0fdc5-4d22-4773-a8f5-4fa0ab7b385b 2025-09-15 18:38:06,893 - INFO - Deleting VN ctest-vn-45150912 2025-09-15 18:38:07,007 - DEBUG - Response for deleting network () 2025-09-15 18:38:07,262 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 18:38:07,262 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-15 18:38:07,262 - INFO - -------------------------------------------------------------------------------- 2025-09-15 18:38:07,265 - INFO - ================================================================================ 2025-09-15 18:38:07,265 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-15 18:38:07,266 - 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-09-15 18:38:07,553 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-15 18:38:07,553 - INFO - Initial checks done. Running the testcase now 2025-09-15 18:38:07,553 - INFO - 2025-09-15 18:38:07,759 - DEBUG - Response for create_network : {'network': {'id': '16022917-d9a7-4121-a188-0210efa14b87', 'name': 'ctest-vn1-26896599', 'tenant_id': '9191c4c8a6764dc5857f8481aa7c8efe', 'project_id': '9191c4c8a6764dc5857f8481aa7c8efe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16185204', 'ctest-vn1-26896599'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 18:38:07,933 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae7fc94d-0e6d-43da-a2d6-f7d0c4785d0c', 'name': '', 'tenant_id': '9191c4c8a6764dc5857f8481aa7c8efe', 'network_id': '16022917-d9a7-4121-a188-0210efa14b87', 'ip_version': 4, 'cidr': '34.229.15.192/26', 'allocation_pools': [{'start': '34.229.15.194', 'end': '34.229.15.254'}], 'gateway_ip': '34.229.15.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.229.15.194', 'tags': [], 'project_id': '9191c4c8a6764dc5857f8481aa7c8efe'}} 2025-09-15 18:38:08,095 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d30d49a-9088-407e-aeb5-afd1f7e13a54', 'name': '', 'tenant_id': '9191c4c8a6764dc5857f8481aa7c8efe', 'network_id': '16022917-d9a7-4121-a188-0210efa14b87', 'ip_version': 4, 'cidr': '201.7.204.192/26', 'allocation_pools': [{'start': '201.7.204.194', 'end': '201.7.204.254'}], 'gateway_ip': '201.7.204.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.7.204.194', 'tags': [], 'project_id': '9191c4c8a6764dc5857f8481aa7c8efe'}} 2025-09-15 18:38:08,114 - INFO - Created VN ctest-vn1-26896599 2025-09-15 18:38:08,163 - DEBUG - VN ctest-vn1-26896599 UUID is 16022917-d9a7-4121-a188-0210efa14b87 2025-09-15 18:38:08,461 - DEBUG - Response for create_port : {'port': {'name': '0b447ce0-ed93-4bab-9498-dec32efd7c63', 'id': '0b447ce0-ed93-4bab-9498-dec32efd7c63', 'tenant_id': '9191c4c8a6764dc5857f8481aa7c8efe', 'network_id': '16022917-d9a7-4121-a188-0210efa14b87', 'mac_address': '02:0b:44:7c:e0:ed', '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': '34.229.15.197', 'subnet_id': 'ae7fc94d-0e6d-43da-a2d6-f7d0c4785d0c'}], 'security_groups': ['4e4f2322-80c6-47b6-b5ac-5b2b6e7f3975'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9191c4c8a6764dc5857f8481aa7c8efe'}} 2025-09-15 18:38:08,649 - DEBUG - Response for create_port : {'port': {'name': 'd2f84648-52d9-4457-9153-2b5b149e8b83', 'id': 'd2f84648-52d9-4457-9153-2b5b149e8b83', 'tenant_id': '9191c4c8a6764dc5857f8481aa7c8efe', 'network_id': '16022917-d9a7-4121-a188-0210efa14b87', 'mac_address': '02:d2:f8:46:48:52', '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': '201.7.204.197', 'subnet_id': '9d30d49a-9088-407e-aeb5-afd1f7e13a54'}], 'security_groups': ['4e4f2322-80c6-47b6-b5ac-5b2b6e7f3975'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9191c4c8a6764dc5857f8481aa7c8efe'}} 2025-09-15 18:38:08,701 - DEBUG - Services list from nova: [, , ] 2025-09-15 18:38:09,027 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4119-1) 2025-09-15 18:38:09,414 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4119-1) 2025-09-15 18:38:09,415 - INFO - Waiting for VM ctest-vn1-vm1-04748663 to be up.. 2025-09-15 18:38:09,458 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 18:38:14,529 - DEBUG - VM is in ACTIVE state now 2025-09-15 18:38:14,529 - INFO - VM name : ctest-vn1-vm1-04748663 2025-09-15 18:38:14,607 - DEBUG - VM ctest-vn1-vm1-04748663 ID is 0080dff3-fb7b-40b9-91fe-a6199b3d623c 2025-09-15 18:38:14,629 - DEBUG - VM ctest-vn1-vm1-04748663 launched on Node cn-jenkins-deploy-platform-ansible-os-4119-1 2025-09-15 18:38:14,701 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0080dff3-fb7b-40b9-91fe-a6199b3d623c 2025-09-15 18:38:14,709 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0b447ce0-ed93-4bab-9498-dec32efd7c63 2025-09-15 18:38:17,953 - 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 1019ms') 2025-09-15 18:38:17,953 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04748663 failed! 2025-09-15 18:38:18,007 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16185204:ctest-vn1-26896599 is 34.229.15.193 and allocation pool is NOT set 2025-09-15 18:38:18,007 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16185204:ctest-vn1-26896599 is 201.7.204.193 and allocation pool is NOT set 2025-09-15 18:38:20,069 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.96 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 = 2.964/3.319/3.674/0.355 ms') 2025-09-15 18:38:20,069 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04748663 passed 2025-09-15 18:38:20,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:38:20,215 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04748663, IP 34.229.15.197, Port 22 2025-09-15 18:38:20,374 - DEBUG - VM ctest-vn1-vm1-04748663 is ready for SSH connections 2025-09-15 18:38:20,374 - INFO - Waiting for VM ctest-vn1-vm2-97137535 to be up.. 2025-09-15 18:38:20,442 - DEBUG - VM is in ACTIVE state now 2025-09-15 18:38:20,443 - INFO - VM name : ctest-vn1-vm2-97137535 2025-09-15 18:38:20,509 - DEBUG - VM ctest-vn1-vm2-97137535 ID is fa7e1a1e-a8b2-43b6-be4e-70d76d364197 2025-09-15 18:38:20,509 - DEBUG - VM ctest-vn1-vm2-97137535 launched on Node cn-jenkins-deploy-platform-ansible-os-4119-1 2025-09-15 18:38:20,575 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/fa7e1a1e-a8b2-43b6-be4e-70d76d364197 2025-09-15 18:38:20,583 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d2f84648-52d9-4457-9153-2b5b149e8b83 2025-09-15 18:38:21,814 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.88 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 = 1.875/3.335/4.796/1.460 ms') 2025-09-15 18:38:21,814 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-97137535 passed 2025-09-15 18:38:21,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:38:21,980 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-97137535, IP 201.7.204.197, Port 22 2025-09-15 18:38:22,135 - DEBUG - VM ctest-vn1-vm2-97137535 is ready for SSH connections 2025-09-15 18:38:22,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:38:22,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:38:22,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:38:22,135 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.229.15.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-15 18:38:22,135 - DEBUG - ping -s 56 -c 3 -W 1 34.229.15.197 2025-09-15 18:38:25,086 - DEBUG - PING 34.229.15.197 (34.229.15.197): 56 data bytes 64 bytes from 34.229.15.197: seq=0 ttl=63 time=4.609 ms 64 bytes from 34.229.15.197: seq=1 ttl=63 time=0.917 ms 64 bytes from 34.229.15.197: seq=2 ttl=63 time=0.978 ms --- 34.229.15.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.917/2.168/4.609 ms 2025-09-15 18:38:25,086 - INFO - Ping to IP 34.229.15.197 from VM ctest-vn1-vm2-97137535 passed 2025-09-15 18:38:25,086 - INFO - Detaching port d2f84648-52d9-4457-9153-2b5b149e8b83 from VM ctest-vn1-vm2-97137535 2025-09-15 18:38:25,132 - INFO - Deleting VM ctest-vn1-vm2-97137535 2025-09-15 18:38:25,199 - INFO - Detaching port 0b447ce0-ed93-4bab-9498-dec32efd7c63 from VM ctest-vn1-vm1-04748663 2025-09-15 18:38:25,227 - INFO - Deleting VM ctest-vn1-vm1-04748663 2025-09-15 18:38:25,430 - DEBUG - Response for delete_port : () 2025-09-15 18:38:25,566 - DEBUG - Response for delete_port : () 2025-09-15 18:38:25,566 - INFO - Deleting VN ctest-vn1-26896599 2025-09-15 18:38:25,686 - DEBUG - Response for deleting network () 2025-09-15 18:38:25,943 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 18:38:25,943 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-09-15 18:38:25,943 - INFO - -------------------------------------------------------------------------------- 2025-09-15 18:38:26,629 - INFO - Deleted project: ctest-TestPorts-16185204, ID : 9191c4c8-a676-4dc5-857f-8481aa7c8efe