2025-08-11 12:14:10,577 - INFO - Domain Default found not creating 2025-08-11 12:14:10,701 - INFO - Project ctest-TestPorts-18758645 not found, creating it 2025-08-11 12:14:11,115 - INFO - Created Project:ctest-TestPorts-18758645, ID : d216b985-3e4b-4052-8318-7543545018b5 2025-08-11 12:14:12,475 - INFO - ================================================================================ 2025-08-11 12:14:12,475 - INFO - STARTING TEST : test_ports_bindings 2025-08-11 12:14:12,475 - 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-11 12:14:12,724 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-08-11 12:14:12,724 - INFO - Initial checks done. Running the testcase now 2025-08-11 12:14:12,724 - INFO - 2025-08-11 12:14:13,233 - DEBUG - Response for create_network : {'network': {'id': '6b499b2e-0ae9-4e50-a170-5f7ed6ad9ba7', 'name': 'ctest-vn-78867813', 'tenant_id': 'd216b9853e4b405283187543545018b5', 'project_id': 'd216b9853e4b405283187543545018b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18758645', 'ctest-vn-78867813'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 12:14:13,381 - DEBUG - Response for create_subnet : {'subnet': {'id': '99e30aec-a52b-4b77-99cc-36990050ed59', 'name': '', 'tenant_id': 'd216b9853e4b405283187543545018b5', 'network_id': '6b499b2e-0ae9-4e50-a170-5f7ed6ad9ba7', 'ip_version': 4, 'cidr': '217.0.124.128/26', 'allocation_pools': [{'start': '217.0.124.130', 'end': '217.0.124.190'}], 'gateway_ip': '217.0.124.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.0.124.130', 'tags': [], 'project_id': 'd216b9853e4b405283187543545018b5'}} 2025-08-11 12:14:13,395 - INFO - Created VN ctest-vn-78867813 2025-08-11 12:14:13,447 - DEBUG - VN ctest-vn-78867813 UUID is 6b499b2e-0ae9-4e50-a170-5f7ed6ad9ba7 2025-08-11 12:14:13,535 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-18758645', 'ctest-vmi-54352471']} 2025-08-11 12:14:13,810 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-54352471', 'id': '817d7ca5-3032-49b5-992e-8bf0c2154130', 'tenant_id': 'd216b9853e4b405283187543545018b5', 'network_id': '6b499b2e-0ae9-4e50-a170-5f7ed6ad9ba7', 'mac_address': '02:81:7d:7c:a5:30', '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': '217.0.124.131', 'subnet_id': '99e30aec-a52b-4b77-99cc-36990050ed59'}], 'security_groups': ['e62f20c3-0cd7-4a76-9a6e-cf67e4959515'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd216b9853e4b405283187543545018b5'}} 2025-08-11 12:14:13,810 - DEBUG - Created port 817d7ca5-3032-49b5-992e-8bf0c2154130 2025-08-11 12:14:13,915 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/817d7ca5-3032-49b5-992e-8bf0c2154130 2025-08-11 12:14:14,201 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/817d7ca5-3032-49b5-992e-8bf0c2154130 2025-08-11 12:14:14,230 - INFO - VMI 817d7ca5-3032-49b5-992e-8bf0c2154130 verification in API Server passed 2025-08-11 12:14:14,301 - DEBUG - Response for delete_port : () 2025-08-11 12:14:14,302 - INFO - Deleted port 817d7ca5-3032-49b5-992e-8bf0c2154130 2025-08-11 12:14:14,302 - INFO - Deleting VN ctest-vn-78867813 2025-08-11 12:14:14,381 - DEBUG - Response for deleting network () 2025-08-11 12:14:14,631 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 12:14:14,631 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-11 12:14:14,631 - INFO - -------------------------------------------------------------------------------- 2025-08-11 12:14:14,634 - INFO - ================================================================================ 2025-08-11 12:14:14,634 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-11 12:14:14,634 - 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-11 12:14:14,919 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-08-11 12:14:14,919 - INFO - Initial checks done. Running the testcase now 2025-08-11 12:14:14,919 - INFO - 2025-08-11 12:14:15,093 - DEBUG - Response for create_network : {'network': {'id': '78989ec8-9c3e-465b-858e-a657865ade12', 'name': 'ctest-vn1-34168064', 'tenant_id': 'd216b9853e4b405283187543545018b5', 'project_id': 'd216b9853e4b405283187543545018b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18758645', 'ctest-vn1-34168064'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 12:14:15,255 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae083f84-7d32-4608-9e5c-c65cd731ee33', 'name': '', 'tenant_id': 'd216b9853e4b405283187543545018b5', 'network_id': '78989ec8-9c3e-465b-858e-a657865ade12', 'ip_version': 4, 'cidr': '167.107.104.0/26', 'allocation_pools': [{'start': '167.107.104.2', 'end': '167.107.104.62'}], 'gateway_ip': '167.107.104.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.107.104.2', 'tags': [], 'project_id': 'd216b9853e4b405283187543545018b5'}} 2025-08-11 12:14:15,392 - DEBUG - Response for create_subnet : {'subnet': {'id': '47991c05-3e5c-43dd-bcfc-780931fa2bfd', 'name': '', 'tenant_id': 'd216b9853e4b405283187543545018b5', 'network_id': '78989ec8-9c3e-465b-858e-a657865ade12', 'ip_version': 4, 'cidr': '123.17.70.128/26', 'allocation_pools': [{'start': '123.17.70.130', 'end': '123.17.70.190'}], 'gateway_ip': '123.17.70.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.17.70.130', 'tags': [], 'project_id': 'd216b9853e4b405283187543545018b5'}} 2025-08-11 12:14:15,409 - INFO - Created VN ctest-vn1-34168064 2025-08-11 12:14:15,459 - DEBUG - VN ctest-vn1-34168064 UUID is 78989ec8-9c3e-465b-858e-a657865ade12 2025-08-11 12:14:15,715 - DEBUG - Response for create_port : {'port': {'name': '2b291680-de1a-4878-8520-aa6cbf4e549d', 'id': '2b291680-de1a-4878-8520-aa6cbf4e549d', 'tenant_id': 'd216b9853e4b405283187543545018b5', 'network_id': '78989ec8-9c3e-465b-858e-a657865ade12', 'mac_address': '02:2b:29:16:80:de', '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': '167.107.104.5', 'subnet_id': 'ae083f84-7d32-4608-9e5c-c65cd731ee33'}], 'security_groups': ['e62f20c3-0cd7-4a76-9a6e-cf67e4959515'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd216b9853e4b405283187543545018b5'}} 2025-08-11 12:14:15,868 - DEBUG - Response for create_port : {'port': {'name': 'eb06de10-4815-4568-8152-1a4873679a30', 'id': 'eb06de10-4815-4568-8152-1a4873679a30', 'tenant_id': 'd216b9853e4b405283187543545018b5', 'network_id': '78989ec8-9c3e-465b-858e-a657865ade12', 'mac_address': '02:eb:06:de:10:48', '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': '123.17.70.133', 'subnet_id': '47991c05-3e5c-43dd-bcfc-780931fa2bfd'}], 'security_groups': ['e62f20c3-0cd7-4a76-9a6e-cf67e4959515'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd216b9853e4b405283187543545018b5'}} 2025-08-11 12:14:15,915 - DEBUG - Services list from nova: [, , ] 2025-08-11 12:14:16,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3805-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3805-1) 2025-08-11 12:14:16,588 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3805-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3805-1) 2025-08-11 12:14:16,588 - INFO - Waiting for VM ctest-vn1-vm1-97725991 to be up.. 2025-08-11 12:14:16,622 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 12:14:21,684 - DEBUG - VM is in ACTIVE state now 2025-08-11 12:14:21,684 - INFO - VM name : ctest-vn1-vm1-97725991 2025-08-11 12:14:21,741 - DEBUG - VM ctest-vn1-vm1-97725991 ID is 47627268-107b-4d46-b4e2-b276586634a9 2025-08-11 12:14:21,756 - DEBUG - VM ctest-vn1-vm1-97725991 launched on Node cn-jenkins-deploy-platform-ansible-os-3805-1 2025-08-11 12:14:21,815 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/47627268-107b-4d46-b4e2-b276586634a9 2025-08-11 12:14:21,822 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/2b291680-de1a-4878-8520-aa6cbf4e549d 2025-08-11 12:14:25,061 - 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 1020ms') 2025-08-11 12:14:25,061 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97725991 failed! 2025-08-11 12:14:25,115 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18758645:ctest-vn1-34168064 is 167.107.104.1 and allocation pool is NOT set 2025-08-11 12:14:25,115 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18758645:ctest-vn1-34168064 is 123.17.70.129 and allocation pool is NOT set 2025-08-11 12:14:27,176 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.362 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.362/1.843/3.325/1.481 ms') 2025-08-11 12:14:27,177 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97725991 passed 2025-08-11 12:14:27,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 12:14:27,327 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97725991, IP 167.107.104.5, Port 22 2025-08-11 12:14:27,482 - DEBUG - VM ctest-vn1-vm1-97725991 is ready for SSH connections 2025-08-11 12:14:27,482 - INFO - Waiting for VM ctest-vn1-vm2-01573841 to be up.. 2025-08-11 12:14:27,566 - DEBUG - VM is in ACTIVE state now 2025-08-11 12:14:27,567 - INFO - VM name : ctest-vn1-vm2-01573841 2025-08-11 12:14:27,668 - DEBUG - VM ctest-vn1-vm2-01573841 ID is 6d5ee9f8-cb35-4421-a671-ce0be159d972 2025-08-11 12:14:27,668 - DEBUG - VM ctest-vn1-vm2-01573841 launched on Node cn-jenkins-deploy-platform-ansible-os-3805-1 2025-08-11 12:14:27,783 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6d5ee9f8-cb35-4421-a671-ce0be159d972 2025-08-11 12:14:27,796 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/eb06de10-4815-4568-8152-1a4873679a30 2025-08-11 12:14:29,065 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.316 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.316/1.465/2.615/1.149 ms') 2025-08-11 12:14:29,066 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-01573841 passed 2025-08-11 12:14:29,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 12:14:29,211 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-01573841, IP 123.17.70.133, Port 22 2025-08-11 12:14:29,387 - DEBUG - VM ctest-vn1-vm2-01573841 is ready for SSH connections 2025-08-11 12:14:29,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 12:14:29,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 12:14:29,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 12:14:29,388 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.107.104.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 12:14:29,388 - DEBUG - ping -s 56 -c 3 -W 1 167.107.104.5 2025-08-11 12:14:32,259 - DEBUG - PING 167.107.104.5 (167.107.104.5): 56 data bytes 64 bytes from 167.107.104.5: seq=0 ttl=63 time=3.067 ms 64 bytes from 167.107.104.5: seq=1 ttl=63 time=0.690 ms 64 bytes from 167.107.104.5: seq=2 ttl=63 time=0.686 ms --- 167.107.104.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.686/1.481/3.067 ms 2025-08-11 12:14:32,259 - INFO - Ping to IP 167.107.104.5 from VM ctest-vn1-vm2-01573841 passed 2025-08-11 12:14:32,259 - INFO - Detaching port eb06de10-4815-4568-8152-1a4873679a30 from VM ctest-vn1-vm2-01573841 2025-08-11 12:14:32,301 - INFO - Deleting VM ctest-vn1-vm2-01573841 2025-08-11 12:14:32,356 - INFO - Detaching port 2b291680-de1a-4878-8520-aa6cbf4e549d from VM ctest-vn1-vm1-97725991 2025-08-11 12:14:32,383 - INFO - Deleting VM ctest-vn1-vm1-97725991 2025-08-11 12:14:32,560 - DEBUG - Response for delete_port : () 2025-08-11 12:14:32,682 - DEBUG - Response for delete_port : () 2025-08-11 12:14:32,682 - INFO - Deleting VN ctest-vn1-34168064 2025-08-11 12:14:32,793 - DEBUG - Response for deleting network () 2025-08-11 12:14:33,051 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 12:14:33,051 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-08-11 12:14:33,051 - INFO - -------------------------------------------------------------------------------- 2025-08-11 12:14:33,782 - INFO - Deleted project: ctest-TestPorts-18758645, ID : d216b985-3e4b-4052-8318-7543545018b5