2025-11-04 22:48:51,721 - INFO - Domain Default found not creating 2025-11-04 22:48:51,847 - INFO - Project ctest-TestPorts-41720108 not found, creating it 2025-11-04 22:48:52,277 - INFO - Created Project:ctest-TestPorts-41720108, ID : b95b8561-f3ee-4968-b11d-4d3b097643b2 2025-11-04 22:48:53,612 - INFO - ================================================================================ 2025-11-04 22:48:53,612 - INFO - STARTING TEST : test_ports_bindings 2025-11-04 22:48:53,612 - 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-04 22:48:53,864 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-11-04 22:48:53,864 - INFO - Initial checks done. Running the testcase now 2025-11-04 22:48:53,864 - INFO - 2025-11-04 22:48:54,911 - DEBUG - Response for create_network : {'network': {'id': 'fc58702d-33a0-493f-98af-07cc73a6803f', 'name': 'ctest-vn-22462311', 'tenant_id': 'b95b8561f3ee4968b11d4d3b097643b2', 'project_id': 'b95b8561f3ee4968b11d4d3b097643b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41720108', 'ctest-vn-22462311'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 22:48:55,085 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbe69712-cf29-41df-b678-7ae5af3d72a3', 'name': '', 'tenant_id': 'b95b8561f3ee4968b11d4d3b097643b2', 'network_id': 'fc58702d-33a0-493f-98af-07cc73a6803f', 'ip_version': 4, 'cidr': '181.223.157.64/26', 'allocation_pools': [{'start': '181.223.157.66', 'end': '181.223.157.126'}], 'gateway_ip': '181.223.157.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.223.157.66', 'tags': [], 'project_id': 'b95b8561f3ee4968b11d4d3b097643b2'}} 2025-11-04 22:48:55,099 - INFO - Created VN ctest-vn-22462311 2025-11-04 22:48:55,151 - DEBUG - VN ctest-vn-22462311 UUID is fc58702d-33a0-493f-98af-07cc73a6803f 2025-11-04 22:48:55,249 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41720108', 'ctest-vmi-54093437']} 2025-11-04 22:48:55,514 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-54093437', 'id': '8608c7bf-69ea-4fbf-834a-b02686140107', 'tenant_id': 'b95b8561f3ee4968b11d4d3b097643b2', 'network_id': 'fc58702d-33a0-493f-98af-07cc73a6803f', 'mac_address': '02:86:08:c7:bf:69', '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': '181.223.157.67', 'subnet_id': 'fbe69712-cf29-41df-b678-7ae5af3d72a3'}], 'security_groups': ['f23cdb44-c040-41f6-a8e4-95d70af8910e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b95b8561f3ee4968b11d4d3b097643b2'}} 2025-11-04 22:48:55,514 - DEBUG - Created port 8608c7bf-69ea-4fbf-834a-b02686140107 2025-11-04 22:48:55,615 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/8608c7bf-69ea-4fbf-834a-b02686140107 2025-11-04 22:48:55,903 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/8608c7bf-69ea-4fbf-834a-b02686140107 2025-11-04 22:48:55,931 - INFO - VMI 8608c7bf-69ea-4fbf-834a-b02686140107 verification in API Server passed 2025-11-04 22:48:56,009 - DEBUG - Response for delete_port : () 2025-11-04 22:48:56,009 - INFO - Deleted port 8608c7bf-69ea-4fbf-834a-b02686140107 2025-11-04 22:48:56,010 - INFO - Deleting VN ctest-vn-22462311 2025-11-04 22:48:56,104 - DEBUG - Response for deleting network () 2025-11-04 22:48:56,355 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 22:48:56,355 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-04 22:48:56,355 - INFO - -------------------------------------------------------------------------------- 2025-11-04 22:48:56,357 - INFO - ================================================================================ 2025-11-04 22:48:56,357 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-04 22:48:56,358 - 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-04 22:48:56,644 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-11-04 22:48:56,644 - INFO - Initial checks done. Running the testcase now 2025-11-04 22:48:56,644 - INFO - 2025-11-04 22:48:56,807 - DEBUG - Response for create_network : {'network': {'id': 'ad4bf631-c69b-4584-9efe-a557a88fe377', 'name': 'ctest-vn1-57387202', 'tenant_id': 'b95b8561f3ee4968b11d4d3b097643b2', 'project_id': 'b95b8561f3ee4968b11d4d3b097643b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41720108', 'ctest-vn1-57387202'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 22:48:57,002 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f52edcc8-92e0-44d8-a566-6d89b4496d02', 'name': '', 'tenant_id': 'b95b8561f3ee4968b11d4d3b097643b2', 'network_id': 'ad4bf631-c69b-4584-9efe-a557a88fe377', 'ip_version': 4, 'cidr': '216.198.131.64/26', 'allocation_pools': [{'start': '216.198.131.66', 'end': '216.198.131.126'}], 'gateway_ip': '216.198.131.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.198.131.66', 'tags': [], 'project_id': 'b95b8561f3ee4968b11d4d3b097643b2'}} 2025-11-04 22:48:57,155 - DEBUG - Response for create_subnet : {'subnet': {'id': '452d4552-18d8-462d-ac57-0228350bf81d', 'name': '', 'tenant_id': 'b95b8561f3ee4968b11d4d3b097643b2', 'network_id': 'ad4bf631-c69b-4584-9efe-a557a88fe377', 'ip_version': 4, 'cidr': '130.236.11.128/26', 'allocation_pools': [{'start': '130.236.11.130', 'end': '130.236.11.190'}], 'gateway_ip': '130.236.11.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.236.11.130', 'tags': [], 'project_id': 'b95b8561f3ee4968b11d4d3b097643b2'}} 2025-11-04 22:48:57,173 - INFO - Created VN ctest-vn1-57387202 2025-11-04 22:48:57,223 - DEBUG - VN ctest-vn1-57387202 UUID is ad4bf631-c69b-4584-9efe-a557a88fe377 2025-11-04 22:48:57,512 - DEBUG - Response for create_port : {'port': {'name': 'ab79a017-eb81-4b83-b4af-ffaee6adf5bf', 'id': 'ab79a017-eb81-4b83-b4af-ffaee6adf5bf', 'tenant_id': 'b95b8561f3ee4968b11d4d3b097643b2', 'network_id': 'ad4bf631-c69b-4584-9efe-a557a88fe377', 'mac_address': '02:ab:79:a0:17:eb', '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': '216.198.131.69', 'subnet_id': 'f52edcc8-92e0-44d8-a566-6d89b4496d02'}], 'security_groups': ['f23cdb44-c040-41f6-a8e4-95d70af8910e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b95b8561f3ee4968b11d4d3b097643b2'}} 2025-11-04 22:48:57,674 - DEBUG - Response for create_port : {'port': {'name': '954becf2-cc31-4618-87d5-fad03814c2ee', 'id': '954becf2-cc31-4618-87d5-fad03814c2ee', 'tenant_id': 'b95b8561f3ee4968b11d4d3b097643b2', 'network_id': 'ad4bf631-c69b-4584-9efe-a557a88fe377', 'mac_address': '02:95:4b:ec:f2:cc', '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': '130.236.11.133', 'subnet_id': '452d4552-18d8-462d-ac57-0228350bf81d'}], 'security_groups': ['f23cdb44-c040-41f6-a8e4-95d70af8910e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b95b8561f3ee4968b11d4d3b097643b2'}} 2025-11-04 22:48:57,726 - DEBUG - Services list from nova: [, , ] 2025-11-04 22:48:58,025 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4626-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4626-1) 2025-11-04 22:48:58,385 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4626-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4626-1) 2025-11-04 22:48:58,385 - INFO - Waiting for VM ctest-vn1-vm1-24227970 to be up.. 2025-11-04 22:48:58,423 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 22:49:03,502 - DEBUG - VM is in ACTIVE state now 2025-11-04 22:49:03,502 - INFO - VM name : ctest-vn1-vm1-24227970 2025-11-04 22:49:03,576 - DEBUG - VM ctest-vn1-vm1-24227970 ID is e29165e2-46fc-47e8-af9d-07221262b75c 2025-11-04 22:49:03,600 - DEBUG - VM ctest-vn1-vm1-24227970 launched on Node cn-jenkins-deploy-platform-ansible-os-4626-1 2025-11-04 22:49:03,674 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e29165e2-46fc-47e8-af9d-07221262b75c 2025-11-04 22:49:03,683 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/ab79a017-eb81-4b83-b4af-ffaee6adf5bf 2025-11-04 22:49:06,930 - 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 1011ms') 2025-11-04 22:49:06,931 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-24227970 failed! 2025-11-04 22:49:06,983 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41720108:ctest-vn1-57387202 is 216.198.131.65 and allocation pool is NOT set 2025-11-04 22:49:06,983 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41720108:ctest-vn1-57387202 is 130.236.11.129 and allocation pool is NOT set 2025-11-04 22:49:09,044 - 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=5.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.770 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.770/3.381/5.992/2.611 ms') 2025-11-04 22:49:09,044 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-24227970 passed 2025-11-04 22:49:09,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:49:09,191 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24227970, IP 216.198.131.69, Port 22 2025-11-04 22:49:09,351 - DEBUG - VM ctest-vn1-vm1-24227970 is ready for SSH connections 2025-11-04 22:49:09,351 - INFO - Waiting for VM ctest-vn1-vm2-10445330 to be up.. 2025-11-04 22:49:09,428 - DEBUG - VM is in ACTIVE state now 2025-11-04 22:49:09,428 - INFO - VM name : ctest-vn1-vm2-10445330 2025-11-04 22:49:09,492 - DEBUG - VM ctest-vn1-vm2-10445330 ID is 29bf0f39-544d-4b25-9441-c8c2d278a18f 2025-11-04 22:49:09,492 - DEBUG - VM ctest-vn1-vm2-10445330 launched on Node cn-jenkins-deploy-platform-ansible-os-4626-1 2025-11-04 22:49:09,556 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/29bf0f39-544d-4b25-9441-c8c2d278a18f 2025-11-04 22:49:09,563 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/954becf2-cc31-4618-87d5-fad03814c2ee 2025-11-04 22:49:10,794 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.834 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.834/2.476/4.119/1.642 ms') 2025-11-04 22:49:10,794 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-10445330 passed 2025-11-04 22:49:10,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:49:10,943 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-10445330, IP 130.236.11.133, Port 22 2025-11-04 22:49:11,102 - DEBUG - VM ctest-vn1-vm2-10445330 is ready for SSH connections 2025-11-04 22:49:11,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:49:11,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:49:11,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:49:11,103 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.198.131.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-04 22:49:11,103 - DEBUG - ping -s 56 -c 3 -W 1 216.198.131.69 2025-11-04 22:49:15,102 - DEBUG - PING 216.198.131.69 (216.198.131.69): 56 data bytes 64 bytes from 216.198.131.69: seq=0 ttl=63 time=3.399 ms 64 bytes from 216.198.131.69: seq=1 ttl=63 time=0.967 ms 64 bytes from 216.198.131.69: seq=2 ttl=63 time=0.766 ms --- 216.198.131.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.766/1.710/3.399 ms 2025-11-04 22:49:15,102 - INFO - Ping to IP 216.198.131.69 from VM ctest-vn1-vm2-10445330 passed 2025-11-04 22:49:15,102 - INFO - Detaching port 954becf2-cc31-4618-87d5-fad03814c2ee from VM ctest-vn1-vm2-10445330 2025-11-04 22:49:15,148 - INFO - Deleting VM ctest-vn1-vm2-10445330 2025-11-04 22:49:15,212 - INFO - Detaching port ab79a017-eb81-4b83-b4af-ffaee6adf5bf from VM ctest-vn1-vm1-24227970 2025-11-04 22:49:15,246 - INFO - Deleting VM ctest-vn1-vm1-24227970 2025-11-04 22:49:15,454 - DEBUG - Response for delete_port : () 2025-11-04 22:49:15,598 - DEBUG - Response for delete_port : () 2025-11-04 22:49:15,598 - INFO - Deleting VN ctest-vn1-57387202 2025-11-04 22:49:15,718 - DEBUG - Response for deleting network () 2025-11-04 22:49:15,980 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 22:49:15,980 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-04 22:49:15,980 - INFO - -------------------------------------------------------------------------------- 2025-11-04 22:49:16,617 - INFO - Deleted project: ctest-TestPorts-41720108, ID : b95b8561-f3ee-4968-b11d-4d3b097643b2