2025-10-06 01:45:04,874 - INFO - Domain Default found not creating 2025-10-06 01:45:05,004 - INFO - Project ctest-TestPorts-09734858 not found, creating it 2025-10-06 01:45:05,434 - INFO - Created Project:ctest-TestPorts-09734858, ID : 2e399e40-8c15-4b91-9149-71873371c88c 2025-10-06 01:45:06,760 - INFO - ================================================================================ 2025-10-06 01:45:06,760 - INFO - STARTING TEST : test_ports_bindings 2025-10-06 01:45:06,760 - 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-06 01:45:07,026 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-10-06 01:45:07,026 - INFO - Initial checks done. Running the testcase now 2025-10-06 01:45:07,026 - INFO - 2025-10-06 01:45:07,539 - DEBUG - Response for create_network : {'network': {'id': '4384436a-196a-41a5-a42c-175a4699fbce', 'name': 'ctest-vn-03599972', 'tenant_id': '2e399e408c154b91914971873371c88c', 'project_id': '2e399e408c154b91914971873371c88c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09734858', 'ctest-vn-03599972'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 01:45:07,744 - DEBUG - Response for create_subnet : {'subnet': {'id': '466c1b9b-7db8-4d46-b56d-71fd0505aa3b', 'name': '', 'tenant_id': '2e399e408c154b91914971873371c88c', 'network_id': '4384436a-196a-41a5-a42c-175a4699fbce', 'ip_version': 4, 'cidr': '169.195.102.64/26', 'allocation_pools': [{'start': '169.195.102.66', 'end': '169.195.102.126'}], 'gateway_ip': '169.195.102.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.195.102.66', 'tags': [], 'project_id': '2e399e408c154b91914971873371c88c'}} 2025-10-06 01:45:07,759 - INFO - Created VN ctest-vn-03599972 2025-10-06 01:45:07,810 - DEBUG - VN ctest-vn-03599972 UUID is 4384436a-196a-41a5-a42c-175a4699fbce 2025-10-06 01:45:07,909 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-09734858', 'ctest-vmi-68907190']} 2025-10-06 01:45:08,191 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-68907190', 'id': 'a80411e1-96ae-4f2a-ac12-3b4eff3db8ee', 'tenant_id': '2e399e408c154b91914971873371c88c', 'network_id': '4384436a-196a-41a5-a42c-175a4699fbce', 'mac_address': '02:a8:04:11:e1:96', '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': '169.195.102.67', 'subnet_id': '466c1b9b-7db8-4d46-b56d-71fd0505aa3b'}], 'security_groups': ['f247f55c-5f16-4222-a70f-b9db84d3f0fc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2e399e408c154b91914971873371c88c'}} 2025-10-06 01:45:08,191 - DEBUG - Created port a80411e1-96ae-4f2a-ac12-3b4eff3db8ee 2025-10-06 01:45:08,294 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/a80411e1-96ae-4f2a-ac12-3b4eff3db8ee 2025-10-06 01:45:08,584 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/a80411e1-96ae-4f2a-ac12-3b4eff3db8ee 2025-10-06 01:45:08,611 - INFO - VMI a80411e1-96ae-4f2a-ac12-3b4eff3db8ee verification in API Server passed 2025-10-06 01:45:08,689 - DEBUG - Response for delete_port : () 2025-10-06 01:45:08,690 - INFO - Deleted port a80411e1-96ae-4f2a-ac12-3b4eff3db8ee 2025-10-06 01:45:08,690 - INFO - Deleting VN ctest-vn-03599972 2025-10-06 01:45:08,788 - DEBUG - Response for deleting network () 2025-10-06 01:45:09,043 - DEBUG - No XMPP flaps were noticed during the test 2025-10-06 01:45:09,043 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-06 01:45:09,043 - INFO - -------------------------------------------------------------------------------- 2025-10-06 01:45:09,046 - INFO - ================================================================================ 2025-10-06 01:45:09,046 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-06 01:45:09,046 - 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-06 01:45:09,331 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-10-06 01:45:09,332 - INFO - Initial checks done. Running the testcase now 2025-10-06 01:45:09,332 - INFO - 2025-10-06 01:45:09,507 - DEBUG - Response for create_network : {'network': {'id': 'fd209c68-4740-436c-82db-d18fecaa2189', 'name': 'ctest-vn1-71339819', 'tenant_id': '2e399e408c154b91914971873371c88c', 'project_id': '2e399e408c154b91914971873371c88c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09734858', 'ctest-vn1-71339819'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 01:45:09,677 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e8a2285-41c1-4b97-bea1-3b81c98fdeac', 'name': '', 'tenant_id': '2e399e408c154b91914971873371c88c', 'network_id': 'fd209c68-4740-436c-82db-d18fecaa2189', 'ip_version': 4, 'cidr': '146.253.199.128/26', 'allocation_pools': [{'start': '146.253.199.130', 'end': '146.253.199.190'}], 'gateway_ip': '146.253.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.253.199.130', 'tags': [], 'project_id': '2e399e408c154b91914971873371c88c'}} 2025-10-06 01:45:09,865 - DEBUG - Response for create_subnet : {'subnet': {'id': '18f714e8-4361-495a-b126-db7a8858f0be', 'name': '', 'tenant_id': '2e399e408c154b91914971873371c88c', 'network_id': 'fd209c68-4740-436c-82db-d18fecaa2189', 'ip_version': 4, 'cidr': '185.249.229.64/26', 'allocation_pools': [{'start': '185.249.229.66', 'end': '185.249.229.126'}], 'gateway_ip': '185.249.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.249.229.66', 'tags': [], 'project_id': '2e399e408c154b91914971873371c88c'}} 2025-10-06 01:45:09,883 - INFO - Created VN ctest-vn1-71339819 2025-10-06 01:45:09,934 - DEBUG - VN ctest-vn1-71339819 UUID is fd209c68-4740-436c-82db-d18fecaa2189 2025-10-06 01:45:10,227 - DEBUG - Response for create_port : {'port': {'name': '9df7504c-3218-4815-ac8e-3cec5cb973f7', 'id': '9df7504c-3218-4815-ac8e-3cec5cb973f7', 'tenant_id': '2e399e408c154b91914971873371c88c', 'network_id': 'fd209c68-4740-436c-82db-d18fecaa2189', 'mac_address': '02:9d:f7:50:4c:32', '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': '146.253.199.133', 'subnet_id': '3e8a2285-41c1-4b97-bea1-3b81c98fdeac'}], 'security_groups': ['f247f55c-5f16-4222-a70f-b9db84d3f0fc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2e399e408c154b91914971873371c88c'}} 2025-10-06 01:45:10,392 - DEBUG - Response for create_port : {'port': {'name': 'd5dee871-9a81-41b7-b612-5eb73aee0dfd', 'id': 'd5dee871-9a81-41b7-b612-5eb73aee0dfd', 'tenant_id': '2e399e408c154b91914971873371c88c', 'network_id': 'fd209c68-4740-436c-82db-d18fecaa2189', 'mac_address': '02:d5:de:e8:71:9a', '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': '185.249.229.69', 'subnet_id': '18f714e8-4361-495a-b126-db7a8858f0be'}], 'security_groups': ['f247f55c-5f16-4222-a70f-b9db84d3f0fc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2e399e408c154b91914971873371c88c'}} 2025-10-06 01:45:10,453 - DEBUG - Services list from nova: [, , ] 2025-10-06 01:45:10,786 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4218-1) 2025-10-06 01:45:11,178 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4218-1) 2025-10-06 01:45:11,178 - INFO - Waiting for VM ctest-vn1-vm1-86309653 to be up.. 2025-10-06 01:45:11,215 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 01:45:16,285 - DEBUG - VM is in ACTIVE state now 2025-10-06 01:45:16,286 - INFO - VM name : ctest-vn1-vm1-86309653 2025-10-06 01:45:16,349 - DEBUG - VM ctest-vn1-vm1-86309653 ID is 28295b82-4748-4510-a2c2-048a9c7f835a 2025-10-06 01:45:16,366 - DEBUG - VM ctest-vn1-vm1-86309653 launched on Node cn-jenkins-deploy-platform-ansible-os-4218-1 2025-10-06 01:45:16,429 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/28295b82-4748-4510-a2c2-048a9c7f835a 2025-10-06 01:45:16,436 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/9df7504c-3218-4815-ac8e-3cec5cb973f7 2025-10-06 01:45:19,695 - 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 1028ms') 2025-10-06 01:45:19,695 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86309653 failed! 2025-10-06 01:45:19,750 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09734858:ctest-vn1-71339819 is 146.253.199.129 and allocation pool is NOT set 2025-10-06 01:45:19,750 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09734858:ctest-vn1-71339819 is 185.249.229.65 and allocation pool is NOT set 2025-10-06 01:45:21,817 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.820 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 = 0.820/2.662/4.504/1.842 ms') 2025-10-06 01:45:21,817 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86309653 passed 2025-10-06 01:45:21,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:45:21,966 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86309653, IP 146.253.199.133, Port 22 2025-10-06 01:45:22,125 - DEBUG - VM ctest-vn1-vm1-86309653 is ready for SSH connections 2025-10-06 01:45:22,125 - INFO - Waiting for VM ctest-vn1-vm2-73933192 to be up.. 2025-10-06 01:45:22,196 - DEBUG - VM is in ACTIVE state now 2025-10-06 01:45:22,196 - INFO - VM name : ctest-vn1-vm2-73933192 2025-10-06 01:45:22,261 - DEBUG - VM ctest-vn1-vm2-73933192 ID is 48414204-b022-4ab6-b47a-af736f3a9794 2025-10-06 01:45:22,261 - DEBUG - VM ctest-vn1-vm2-73933192 launched on Node cn-jenkins-deploy-platform-ansible-os-4218-1 2025-10-06 01:45:22,334 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/48414204-b022-4ab6-b47a-af736f3a9794 2025-10-06 01:45:22,342 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/d5dee871-9a81-41b7-b612-5eb73aee0dfd 2025-10-06 01:45:23,571 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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 = 0.425/1.635/2.846/1.210 ms') 2025-10-06 01:45:23,571 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-73933192 passed 2025-10-06 01:45:23,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:45:23,718 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-73933192, IP 185.249.229.69, Port 22 2025-10-06 01:45:23,873 - DEBUG - VM ctest-vn1-vm2-73933192 is ready for SSH connections 2025-10-06 01:45:23,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:45:23,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:45:23,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:45:23,873 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.253.199.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-06 01:45:23,873 - DEBUG - ping -s 56 -c 3 -W 1 146.253.199.133 2025-10-06 01:45:27,064 - DEBUG - PING 146.253.199.133 (146.253.199.133): 56 data bytes 64 bytes from 146.253.199.133: seq=0 ttl=63 time=3.303 ms 64 bytes from 146.253.199.133: seq=1 ttl=63 time=0.753 ms 64 bytes from 146.253.199.133: seq=2 ttl=63 time=0.804 ms --- 146.253.199.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/1.620/3.303 ms 2025-10-06 01:45:27,064 - INFO - Ping to IP 146.253.199.133 from VM ctest-vn1-vm2-73933192 passed 2025-10-06 01:45:27,064 - INFO - Detaching port d5dee871-9a81-41b7-b612-5eb73aee0dfd from VM ctest-vn1-vm2-73933192 2025-10-06 01:45:27,119 - INFO - Deleting VM ctest-vn1-vm2-73933192 2025-10-06 01:45:27,188 - INFO - Detaching port 9df7504c-3218-4815-ac8e-3cec5cb973f7 from VM ctest-vn1-vm1-86309653 2025-10-06 01:45:27,219 - INFO - Deleting VM ctest-vn1-vm1-86309653 2025-10-06 01:45:27,485 - DEBUG - Response for delete_port : () 2025-10-06 01:45:27,605 - DEBUG - Response for delete_port : () 2025-10-06 01:45:27,606 - INFO - Deleting VN ctest-vn1-71339819 2025-10-06 01:45:27,735 - DEBUG - Response for deleting network () 2025-10-06 01:45:27,992 - DEBUG - No XMPP flaps were noticed during the test 2025-10-06 01:45:27,992 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-10-06 01:45:27,993 - INFO - -------------------------------------------------------------------------------- 2025-10-06 01:45:28,767 - INFO - Deleted project: ctest-TestPorts-09734858, ID : 2e399e40-8c15-4b91-9149-71873371c88c