2025-10-29 17:34:49,355 - INFO - Domain Default found not creating 2025-10-29 17:34:49,510 - INFO - Project ctest-TestPorts-13991698 not found, creating it 2025-10-29 17:34:49,955 - INFO - Created Project:ctest-TestPorts-13991698, ID : 91510e23-adbf-4396-a5e7-9f960040ad98 2025-10-29 17:34:51,421 - INFO - ================================================================================ 2025-10-29 17:34:51,421 - INFO - STARTING TEST : test_ports_bindings 2025-10-29 17:34:51,421 - 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-10-29 17:34:51,676 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with 2025-10-29 17:34:51,677 - INFO - Initial checks done. Running the testcase now 2025-10-29 17:34:51,677 - INFO - 2025-10-29 17:34:52,220 - DEBUG - Response for create_network : {'network': {'id': '0795d6e3-348f-4d38-9101-2afda84e4441', 'name': 'ctest-vn-94373624', 'tenant_id': '91510e23adbf4396a5e79f960040ad98', 'project_id': '91510e23adbf4396a5e79f960040ad98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13991698', 'ctest-vn-94373624'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 17:34:52,441 - DEBUG - Response for create_subnet : {'subnet': {'id': '8536ad0b-a5ec-497d-aa0e-19dcb17ef627', 'name': '', 'tenant_id': '91510e23adbf4396a5e79f960040ad98', 'network_id': '0795d6e3-348f-4d38-9101-2afda84e4441', 'ip_version': 4, 'cidr': '47.35.63.64/26', 'allocation_pools': [{'start': '47.35.63.66', 'end': '47.35.63.126'}], 'gateway_ip': '47.35.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.35.63.66', 'tags': [], 'project_id': '91510e23adbf4396a5e79f960040ad98'}} 2025-10-29 17:34:52,459 - INFO - Created VN ctest-vn-94373624 2025-10-29 17:34:52,510 - DEBUG - VN ctest-vn-94373624 UUID is 0795d6e3-348f-4d38-9101-2afda84e4441 2025-10-29 17:34:52,616 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-13991698', 'ctest-vmi-19285822']} 2025-10-29 17:34:52,942 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-19285822', 'id': '484d6fc0-6f9f-4ab2-8145-d15c1c7a5ea3', 'tenant_id': '91510e23adbf4396a5e79f960040ad98', 'network_id': '0795d6e3-348f-4d38-9101-2afda84e4441', 'mac_address': '02:48:4d:6f:c0:6f', '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': '47.35.63.67', 'subnet_id': '8536ad0b-a5ec-497d-aa0e-19dcb17ef627'}], 'security_groups': ['83a59230-9354-43c2-a781-6e397b0cb8e9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '91510e23adbf4396a5e79f960040ad98'}} 2025-10-29 17:34:52,943 - DEBUG - Created port 484d6fc0-6f9f-4ab2-8145-d15c1c7a5ea3 2025-10-29 17:34:53,050 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/484d6fc0-6f9f-4ab2-8145-d15c1c7a5ea3 2025-10-29 17:34:53,354 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/484d6fc0-6f9f-4ab2-8145-d15c1c7a5ea3 2025-10-29 17:34:53,387 - INFO - VMI 484d6fc0-6f9f-4ab2-8145-d15c1c7a5ea3 verification in API Server passed 2025-10-29 17:34:53,480 - DEBUG - Response for delete_port : () 2025-10-29 17:34:53,480 - INFO - Deleted port 484d6fc0-6f9f-4ab2-8145-d15c1c7a5ea3 2025-10-29 17:34:53,480 - INFO - Deleting VN ctest-vn-94373624 2025-10-29 17:34:53,591 - DEBUG - Response for deleting network () 2025-10-29 17:34:53,862 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 17:34:53,862 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-29 17:34:53,862 - INFO - -------------------------------------------------------------------------------- 2025-10-29 17:34:53,865 - INFO - ================================================================================ 2025-10-29 17:34:53,865 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-29 17:34:53,865 - 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-10-29 17:34:54,163 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with 2025-10-29 17:34:54,163 - INFO - Initial checks done. Running the testcase now 2025-10-29 17:34:54,163 - INFO - 2025-10-29 17:34:54,330 - DEBUG - Response for create_network : {'network': {'id': 'f4d193cc-f4df-4f33-855d-15b3e00a49e7', 'name': 'ctest-vn1-88898018', 'tenant_id': '91510e23adbf4396a5e79f960040ad98', 'project_id': '91510e23adbf4396a5e79f960040ad98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13991698', 'ctest-vn1-88898018'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 17:34:54,560 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c13e5aed-b721-4eb5-8e77-751280d0d0b9', 'name': '', 'tenant_id': '91510e23adbf4396a5e79f960040ad98', 'network_id': 'f4d193cc-f4df-4f33-855d-15b3e00a49e7', 'ip_version': 4, 'cidr': '132.166.38.0/26', 'allocation_pools': [{'start': '132.166.38.2', 'end': '132.166.38.62'}], 'gateway_ip': '132.166.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.166.38.2', 'tags': [], 'project_id': '91510e23adbf4396a5e79f960040ad98'}} 2025-10-29 17:34:54,706 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9307990-b3b5-4b46-ba16-cfdbfa053861', 'name': '', 'tenant_id': '91510e23adbf4396a5e79f960040ad98', 'network_id': 'f4d193cc-f4df-4f33-855d-15b3e00a49e7', 'ip_version': 4, 'cidr': '13.89.125.64/26', 'allocation_pools': [{'start': '13.89.125.66', 'end': '13.89.125.126'}], 'gateway_ip': '13.89.125.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.89.125.66', 'tags': [], 'project_id': '91510e23adbf4396a5e79f960040ad98'}} 2025-10-29 17:34:54,724 - INFO - Created VN ctest-vn1-88898018 2025-10-29 17:34:54,778 - DEBUG - VN ctest-vn1-88898018 UUID is f4d193cc-f4df-4f33-855d-15b3e00a49e7 2025-10-29 17:34:55,089 - DEBUG - Response for create_port : {'port': {'name': 'dade23af-c228-4bd4-8995-0b3c7256fbfb', 'id': 'dade23af-c228-4bd4-8995-0b3c7256fbfb', 'tenant_id': '91510e23adbf4396a5e79f960040ad98', 'network_id': 'f4d193cc-f4df-4f33-855d-15b3e00a49e7', 'mac_address': '02:da:de:23:af:c2', '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': '132.166.38.5', 'subnet_id': 'c13e5aed-b721-4eb5-8e77-751280d0d0b9'}], 'security_groups': ['83a59230-9354-43c2-a781-6e397b0cb8e9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '91510e23adbf4396a5e79f960040ad98'}} 2025-10-29 17:34:55,276 - DEBUG - Response for create_port : {'port': {'name': 'd3bcc653-0415-4459-bc8e-94ebfeb3a077', 'id': 'd3bcc653-0415-4459-bc8e-94ebfeb3a077', 'tenant_id': '91510e23adbf4396a5e79f960040ad98', 'network_id': 'f4d193cc-f4df-4f33-855d-15b3e00a49e7', 'mac_address': '02:d3:bc:c6:53:04', '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.89.125.69', 'subnet_id': 'b9307990-b3b5-4b46-ba16-cfdbfa053861'}], 'security_groups': ['83a59230-9354-43c2-a781-6e397b0cb8e9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '91510e23adbf4396a5e79f960040ad98'}} 2025-10-29 17:34:55,333 - DEBUG - Services list from nova: [, , ] 2025-10-29 17:34:55,785 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4525-1) 2025-10-29 17:34:56,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4525-1) 2025-10-29 17:34:56,181 - INFO - Waiting for VM ctest-vn1-vm1-91788829 to be up.. 2025-10-29 17:34:56,230 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 17:35:01,303 - DEBUG - VM is in ACTIVE state now 2025-10-29 17:35:01,303 - INFO - VM name : ctest-vn1-vm1-91788829 2025-10-29 17:35:01,379 - DEBUG - VM ctest-vn1-vm1-91788829 ID is c6a2ddc3-267d-46e5-a562-ca8797079953 2025-10-29 17:35:01,399 - DEBUG - VM ctest-vn1-vm1-91788829 launched on Node cn-jenkins-deploy-platform-ansible-os-4525-1 2025-10-29 17:35:01,477 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c6a2ddc3-267d-46e5-a562-ca8797079953 2025-10-29 17:35:01,486 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/dade23af-c228-4bd4-8995-0b3c7256fbfb 2025-10-29 17:35:04,748 - 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 1027ms') 2025-10-29 17:35:04,748 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91788829 failed! 2025-10-29 17:35:04,806 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13991698:ctest-vn1-88898018 is 132.166.38.1 and allocation pool is NOT set 2025-10-29 17:35:04,806 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13991698:ctest-vn1-88898018 is 13.89.125.65 and allocation pool is NOT set 2025-10-29 17:35:06,875 - 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=8.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.58 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.582/5.839/8.096/2.257 ms') 2025-10-29 17:35:06,875 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91788829 passed 2025-10-29 17:35:07,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 17:35:07,022 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-91788829, IP 132.166.38.5, Port 22 2025-10-29 17:35:07,189 - DEBUG - VM ctest-vn1-vm1-91788829 is ready for SSH connections 2025-10-29 17:35:07,189 - INFO - Waiting for VM ctest-vn1-vm2-82373550 to be up.. 2025-10-29 17:35:07,265 - DEBUG - VM is in ACTIVE state now 2025-10-29 17:35:07,266 - INFO - VM name : ctest-vn1-vm2-82373550 2025-10-29 17:35:07,341 - DEBUG - VM ctest-vn1-vm2-82373550 ID is 392a29d8-8a56-45ab-88a8-68f9d46e0e1d 2025-10-29 17:35:07,341 - DEBUG - VM ctest-vn1-vm2-82373550 launched on Node cn-jenkins-deploy-platform-ansible-os-4525-1 2025-10-29 17:35:07,423 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/392a29d8-8a56-45ab-88a8-68f9d46e0e1d 2025-10-29 17:35:07,431 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d3bcc653-0415-4459-bc8e-94ebfeb3a077 2025-10-29 17:35:08,676 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.409 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.409/1.914/3.420/1.505 ms') 2025-10-29 17:35:08,677 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-82373550 passed 2025-10-29 17:35:08,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 17:35:08,826 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-82373550, IP 13.89.125.69, Port 22 2025-10-29 17:35:08,982 - DEBUG - VM ctest-vn1-vm2-82373550 is ready for SSH connections 2025-10-29 17:35:08,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 17:35:08,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 17:35:08,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 17:35:08,982 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.166.38.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-29 17:35:08,982 - DEBUG - ping -s 56 -c 3 -W 1 132.166.38.5 2025-10-29 17:35:11,652 - DEBUG - PING 132.166.38.5 (132.166.38.5): 56 data bytes 64 bytes from 132.166.38.5: seq=0 ttl=63 time=3.442 ms 64 bytes from 132.166.38.5: seq=1 ttl=63 time=0.832 ms 64 bytes from 132.166.38.5: seq=2 ttl=63 time=0.781 ms --- 132.166.38.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.781/1.685/3.442 ms 2025-10-29 17:35:11,652 - INFO - Ping to IP 132.166.38.5 from VM ctest-vn1-vm2-82373550 passed 2025-10-29 17:35:11,652 - INFO - Detaching port d3bcc653-0415-4459-bc8e-94ebfeb3a077 from VM ctest-vn1-vm2-82373550 2025-10-29 17:35:11,702 - INFO - Deleting VM ctest-vn1-vm2-82373550 2025-10-29 17:35:11,778 - INFO - Detaching port dade23af-c228-4bd4-8995-0b3c7256fbfb from VM ctest-vn1-vm1-91788829 2025-10-29 17:35:11,812 - INFO - Deleting VM ctest-vn1-vm1-91788829 2025-10-29 17:35:12,037 - DEBUG - Response for delete_port : () 2025-10-29 17:35:12,226 - DEBUG - Response for delete_port : () 2025-10-29 17:35:12,226 - INFO - Deleting VN ctest-vn1-88898018 2025-10-29 17:35:12,379 - DEBUG - Response for deleting network () 2025-10-29 17:35:12,650 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 17:35:12,650 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-29 17:35:12,650 - INFO - -------------------------------------------------------------------------------- 2025-10-29 17:35:13,310 - INFO - Deleted project: ctest-TestPorts-13991698, ID : 91510e23-adbf-4396-a5e7-9f960040ad98