2025-08-10 15:55:06,530 - INFO - Domain Default found not creating 2025-08-10 15:55:06,643 - INFO - Project ctest-TestPorts-37639768 not found, creating it 2025-08-10 15:55:07,151 - INFO - Created Project:ctest-TestPorts-37639768, ID : 619f0255-808b-4fa8-b000-11ff6ef608ce 2025-08-10 15:55:08,437 - INFO - ================================================================================ 2025-08-10 15:55:08,438 - INFO - STARTING TEST : test_ports_bindings 2025-08-10 15:55:08,438 - 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-10 15:55:08,689 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-08-10 15:55:08,689 - INFO - Initial checks done. Running the testcase now 2025-08-10 15:55:08,689 - INFO - 2025-08-10 15:55:09,213 - DEBUG - Response for create_network : {'network': {'id': 'f3241f7e-f525-435c-8b05-a083951db47f', 'name': 'ctest-vn-48385674', 'tenant_id': '619f0255808b4fa8b00011ff6ef608ce', 'project_id': '619f0255808b4fa8b00011ff6ef608ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37639768', 'ctest-vn-48385674'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 15:55:09,418 - DEBUG - Response for create_subnet : {'subnet': {'id': '50d98e1c-4e46-4411-8964-beac90d400b1', 'name': '', 'tenant_id': '619f0255808b4fa8b00011ff6ef608ce', 'network_id': 'f3241f7e-f525-435c-8b05-a083951db47f', 'ip_version': 4, 'cidr': '120.221.118.64/26', 'allocation_pools': [{'start': '120.221.118.66', 'end': '120.221.118.126'}], 'gateway_ip': '120.221.118.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.221.118.66', 'tags': [], 'project_id': '619f0255808b4fa8b00011ff6ef608ce'}} 2025-08-10 15:55:09,434 - INFO - Created VN ctest-vn-48385674 2025-08-10 15:55:09,487 - DEBUG - VN ctest-vn-48385674 UUID is f3241f7e-f525-435c-8b05-a083951db47f 2025-08-10 15:55:09,581 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-37639768', 'ctest-vmi-47887749']} 2025-08-10 15:55:09,841 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-47887749', 'id': 'fbc0d1fb-7981-4436-bc05-bc1dc96a1917', 'tenant_id': '619f0255808b4fa8b00011ff6ef608ce', 'network_id': 'f3241f7e-f525-435c-8b05-a083951db47f', 'mac_address': '02:fb:c0:d1:fb:79', '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': '120.221.118.67', 'subnet_id': '50d98e1c-4e46-4411-8964-beac90d400b1'}], 'security_groups': ['9fee67f2-a6f1-4482-a8e2-2d3b6b561aab'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '619f0255808b4fa8b00011ff6ef608ce'}} 2025-08-10 15:55:09,841 - DEBUG - Created port fbc0d1fb-7981-4436-bc05-bc1dc96a1917 2025-08-10 15:55:09,947 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/fbc0d1fb-7981-4436-bc05-bc1dc96a1917 2025-08-10 15:55:10,234 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/fbc0d1fb-7981-4436-bc05-bc1dc96a1917 2025-08-10 15:55:10,262 - INFO - VMI fbc0d1fb-7981-4436-bc05-bc1dc96a1917 verification in API Server passed 2025-08-10 15:55:10,334 - DEBUG - Response for delete_port : () 2025-08-10 15:55:10,334 - INFO - Deleted port fbc0d1fb-7981-4436-bc05-bc1dc96a1917 2025-08-10 15:55:10,334 - INFO - Deleting VN ctest-vn-48385674 2025-08-10 15:55:10,431 - DEBUG - Response for deleting network () 2025-08-10 15:55:10,692 - DEBUG - No XMPP flaps were noticed during the test 2025-08-10 15:55:10,693 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-10 15:55:10,693 - INFO - -------------------------------------------------------------------------------- 2025-08-10 15:55:10,695 - INFO - ================================================================================ 2025-08-10 15:55:10,696 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-10 15:55:10,696 - 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-10 15:55:10,988 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-08-10 15:55:10,988 - INFO - Initial checks done. Running the testcase now 2025-08-10 15:55:10,988 - INFO - 2025-08-10 15:55:11,151 - DEBUG - Response for create_network : {'network': {'id': 'e292290c-83ad-4ab3-831f-6a85b470d20a', 'name': 'ctest-vn1-00275204', 'tenant_id': '619f0255808b4fa8b00011ff6ef608ce', 'project_id': '619f0255808b4fa8b00011ff6ef608ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37639768', 'ctest-vn1-00275204'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 15:55:11,361 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d554ed2-e6a5-4f21-84aa-9dbdaddcb118', 'name': '', 'tenant_id': '619f0255808b4fa8b00011ff6ef608ce', 'network_id': 'e292290c-83ad-4ab3-831f-6a85b470d20a', 'ip_version': 4, 'cidr': '104.37.125.128/26', 'allocation_pools': [{'start': '104.37.125.130', 'end': '104.37.125.190'}], 'gateway_ip': '104.37.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.37.125.130', 'tags': [], 'project_id': '619f0255808b4fa8b00011ff6ef608ce'}} 2025-08-10 15:55:11,548 - DEBUG - Response for create_subnet : {'subnet': {'id': '05aed8a1-3ac1-4a14-bc71-df9878d1cc06', 'name': '', 'tenant_id': '619f0255808b4fa8b00011ff6ef608ce', 'network_id': 'e292290c-83ad-4ab3-831f-6a85b470d20a', 'ip_version': 4, 'cidr': '79.247.82.0/26', 'allocation_pools': [{'start': '79.247.82.2', 'end': '79.247.82.62'}], 'gateway_ip': '79.247.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.247.82.2', 'tags': [], 'project_id': '619f0255808b4fa8b00011ff6ef608ce'}} 2025-08-10 15:55:11,564 - INFO - Created VN ctest-vn1-00275204 2025-08-10 15:55:11,615 - DEBUG - VN ctest-vn1-00275204 UUID is e292290c-83ad-4ab3-831f-6a85b470d20a 2025-08-10 15:55:11,880 - DEBUG - Response for create_port : {'port': {'name': 'fa54c620-2be2-4128-83fe-a55318698edb', 'id': 'fa54c620-2be2-4128-83fe-a55318698edb', 'tenant_id': '619f0255808b4fa8b00011ff6ef608ce', 'network_id': 'e292290c-83ad-4ab3-831f-6a85b470d20a', 'mac_address': '02:fa:54:c6:20:2b', '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.37.125.133', 'subnet_id': '2d554ed2-e6a5-4f21-84aa-9dbdaddcb118'}], 'security_groups': ['9fee67f2-a6f1-4482-a8e2-2d3b6b561aab'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '619f0255808b4fa8b00011ff6ef608ce'}} 2025-08-10 15:55:12,053 - DEBUG - Response for create_port : {'port': {'name': 'c8be2a79-8641-4789-966b-9d7881be749f', 'id': 'c8be2a79-8641-4789-966b-9d7881be749f', 'tenant_id': '619f0255808b4fa8b00011ff6ef608ce', 'network_id': 'e292290c-83ad-4ab3-831f-6a85b470d20a', 'mac_address': '02:c8:be:2a:79:86', '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': '79.247.82.5', 'subnet_id': '05aed8a1-3ac1-4a14-bc71-df9878d1cc06'}], 'security_groups': ['9fee67f2-a6f1-4482-a8e2-2d3b6b561aab'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '619f0255808b4fa8b00011ff6ef608ce'}} 2025-08-10 15:55:12,100 - DEBUG - Services list from nova: [, , ] 2025-08-10 15:55:12,361 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3788-1) 2025-08-10 15:55:12,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3788-1) 2025-08-10 15:55:12,767 - INFO - Waiting for VM ctest-vn1-vm1-00259293 to be up.. 2025-08-10 15:55:12,797 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 15:55:17,866 - DEBUG - VM is in ACTIVE state now 2025-08-10 15:55:17,866 - INFO - VM name : ctest-vn1-vm1-00259293 2025-08-10 15:55:17,935 - DEBUG - VM ctest-vn1-vm1-00259293 ID is 1a165d45-6f0f-4778-ace1-a9f435d7da9b 2025-08-10 15:55:17,951 - DEBUG - VM ctest-vn1-vm1-00259293 launched on Node cn-jenkins-deploy-platform-ansible-os-3788-1 2025-08-10 15:55:18,015 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/1a165d45-6f0f-4778-ace1-a9f435d7da9b 2025-08-10 15:55:18,024 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/fa54c620-2be2-4128-83fe-a55318698edb 2025-08-10 15:55:21,270 - 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 1016ms') 2025-08-10 15:55:21,270 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00259293 failed! 2025-08-10 15:55:21,327 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37639768:ctest-vn1-00275204 is 104.37.125.129 and allocation pool is NOT set 2025-08-10 15:55:21,327 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37639768:ctest-vn1-00275204 is 79.247.82.1 and allocation pool is NOT set 2025-08-10 15:55:23,395 - 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.52 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 1001ms\r\nrtt min/avg/max/mdev = 1.744/2.633/3.523/0.889 ms') 2025-08-10 15:55:23,395 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00259293 passed 2025-08-10 15:55:23,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 15:55:23,547 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00259293, IP 104.37.125.133, Port 22 2025-08-10 15:55:23,698 - DEBUG - VM ctest-vn1-vm1-00259293 is ready for SSH connections 2025-08-10 15:55:23,698 - INFO - Waiting for VM ctest-vn1-vm2-33418638 to be up.. 2025-08-10 15:55:23,759 - DEBUG - VM is in ACTIVE state now 2025-08-10 15:55:23,759 - INFO - VM name : ctest-vn1-vm2-33418638 2025-08-10 15:55:23,812 - DEBUG - VM ctest-vn1-vm2-33418638 ID is 07ad2230-de8b-47d5-b4b2-9f7459902361 2025-08-10 15:55:23,812 - DEBUG - VM ctest-vn1-vm2-33418638 launched on Node cn-jenkins-deploy-platform-ansible-os-3788-1 2025-08-10 15:55:23,866 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/07ad2230-de8b-47d5-b4b2-9f7459902361 2025-08-10 15:55:23,873 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/c8be2a79-8641-4789-966b-9d7881be749f 2025-08-10 15:55:25,107 - 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=3.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.340 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 = 0.340/1.824/3.309/1.484 ms') 2025-08-10 15:55:25,107 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-33418638 passed 2025-08-10 15:55:25,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 15:55:25,263 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-33418638, IP 79.247.82.5, Port 22 2025-08-10 15:55:25,415 - DEBUG - VM ctest-vn1-vm2-33418638 is ready for SSH connections 2025-08-10 15:55:25,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 15:55:25,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 15:55:25,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 15:55:25,415 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.37.125.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-10 15:55:25,415 - DEBUG - ping -s 56 -c 3 -W 1 104.37.125.133 2025-08-10 15:55:28,028 - DEBUG - PING 104.37.125.133 (104.37.125.133): 56 data bytes 64 bytes from 104.37.125.133: seq=0 ttl=63 time=3.073 ms 64 bytes from 104.37.125.133: seq=1 ttl=63 time=0.802 ms 64 bytes from 104.37.125.133: seq=2 ttl=63 time=0.725 ms --- 104.37.125.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.725/1.533/3.073 ms 2025-08-10 15:55:28,028 - INFO - Ping to IP 104.37.125.133 from VM ctest-vn1-vm2-33418638 passed 2025-08-10 15:55:28,028 - INFO - Detaching port c8be2a79-8641-4789-966b-9d7881be749f from VM ctest-vn1-vm2-33418638 2025-08-10 15:55:28,072 - INFO - Deleting VM ctest-vn1-vm2-33418638 2025-08-10 15:55:28,128 - INFO - Detaching port fa54c620-2be2-4128-83fe-a55318698edb from VM ctest-vn1-vm1-00259293 2025-08-10 15:55:28,157 - INFO - Deleting VM ctest-vn1-vm1-00259293 2025-08-10 15:55:28,349 - DEBUG - Response for delete_port : () 2025-08-10 15:55:28,480 - DEBUG - Response for delete_port : () 2025-08-10 15:55:28,480 - INFO - Deleting VN ctest-vn1-00275204 2025-08-10 15:55:28,598 - DEBUG - Response for deleting network () 2025-08-10 15:55:28,860 - DEBUG - No XMPP flaps were noticed during the test 2025-08-10 15:55:28,860 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-08-10 15:55:28,860 - INFO - -------------------------------------------------------------------------------- 2025-08-10 15:55:29,608 - INFO - Deleted project: ctest-TestPorts-37639768, ID : 619f0255-808b-4fa8-b000-11ff6ef608ce