2025-09-25 15:16:42,310 - INFO - Domain Default found not creating 2025-09-25 15:16:42,424 - INFO - Project ctest-TestPorts-74583536 not found, creating it 2025-09-25 15:16:42,888 - INFO - Created Project:ctest-TestPorts-74583536, ID : 3052cd0c-f31b-45ab-bb8b-6e80d89d02f5 2025-09-25 15:16:44,184 - INFO - ================================================================================ 2025-09-25 15:16:44,184 - INFO - STARTING TEST : test_ports_bindings 2025-09-25 15:16:44,185 - 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-09-25 15:16:44,441 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-25 15:16:44,441 - INFO - Initial checks done. Running the testcase now 2025-09-25 15:16:44,441 - INFO - 2025-09-25 15:16:44,946 - DEBUG - Response for create_network : {'network': {'id': '26b152f5-7fa6-416e-83ed-1663a11e6eb3', 'name': 'ctest-vn-50088340', 'tenant_id': '3052cd0cf31b45abbb8b6e80d89d02f5', 'project_id': '3052cd0cf31b45abbb8b6e80d89d02f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74583536', 'ctest-vn-50088340'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 15:16:45,135 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc910e00-3860-4208-bf22-cf3295c82b3e', 'name': '', 'tenant_id': '3052cd0cf31b45abbb8b6e80d89d02f5', 'network_id': '26b152f5-7fa6-416e-83ed-1663a11e6eb3', 'ip_version': 4, 'cidr': '38.113.110.64/26', 'allocation_pools': [{'start': '38.113.110.66', 'end': '38.113.110.126'}], 'gateway_ip': '38.113.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.113.110.66', 'tags': [], 'project_id': '3052cd0cf31b45abbb8b6e80d89d02f5'}} 2025-09-25 15:16:45,149 - INFO - Created VN ctest-vn-50088340 2025-09-25 15:16:45,200 - DEBUG - VN ctest-vn-50088340 UUID is 26b152f5-7fa6-416e-83ed-1663a11e6eb3 2025-09-25 15:16:45,298 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-74583536', 'ctest-vmi-28856789']} 2025-09-25 15:16:45,564 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-28856789', 'id': '8072af04-8f5b-48bb-b22f-e90bc71db7c4', 'tenant_id': '3052cd0cf31b45abbb8b6e80d89d02f5', 'network_id': '26b152f5-7fa6-416e-83ed-1663a11e6eb3', 'mac_address': '02:80:72:af:04:8f', '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': '38.113.110.67', 'subnet_id': 'bc910e00-3860-4208-bf22-cf3295c82b3e'}], 'security_groups': ['723f5e8c-c1f1-41f8-b0fd-85b2114912bd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3052cd0cf31b45abbb8b6e80d89d02f5'}} 2025-09-25 15:16:45,564 - DEBUG - Created port 8072af04-8f5b-48bb-b22f-e90bc71db7c4 2025-09-25 15:16:45,664 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8072af04-8f5b-48bb-b22f-e90bc71db7c4 2025-09-25 15:16:45,952 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8072af04-8f5b-48bb-b22f-e90bc71db7c4 2025-09-25 15:16:45,978 - INFO - VMI 8072af04-8f5b-48bb-b22f-e90bc71db7c4 verification in API Server passed 2025-09-25 15:16:46,052 - DEBUG - Response for delete_port : () 2025-09-25 15:16:46,052 - INFO - Deleted port 8072af04-8f5b-48bb-b22f-e90bc71db7c4 2025-09-25 15:16:46,053 - INFO - Deleting VN ctest-vn-50088340 2025-09-25 15:16:46,141 - DEBUG - Response for deleting network () 2025-09-25 15:16:46,389 - DEBUG - No XMPP flaps were noticed during the test 2025-09-25 15:16:46,390 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-25 15:16:46,390 - INFO - -------------------------------------------------------------------------------- 2025-09-25 15:16:46,392 - INFO - ================================================================================ 2025-09-25 15:16:46,392 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-25 15:16:46,392 - 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-09-25 15:16:46,684 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-25 15:16:46,684 - INFO - Initial checks done. Running the testcase now 2025-09-25 15:16:46,685 - INFO - 2025-09-25 15:16:46,857 - DEBUG - Response for create_network : {'network': {'id': 'fa36fa06-03b4-4b42-ab4d-a42b61c5657d', 'name': 'ctest-vn1-13873750', 'tenant_id': '3052cd0cf31b45abbb8b6e80d89d02f5', 'project_id': '3052cd0cf31b45abbb8b6e80d89d02f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74583536', 'ctest-vn1-13873750'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 15:16:47,026 - DEBUG - Response for create_subnet : {'subnet': {'id': '6beadadc-3c94-4f20-af34-c7b2401c7316', 'name': '', 'tenant_id': '3052cd0cf31b45abbb8b6e80d89d02f5', 'network_id': 'fa36fa06-03b4-4b42-ab4d-a42b61c5657d', 'ip_version': 4, 'cidr': '17.224.139.0/26', 'allocation_pools': [{'start': '17.224.139.2', 'end': '17.224.139.62'}], 'gateway_ip': '17.224.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.224.139.2', 'tags': [], 'project_id': '3052cd0cf31b45abbb8b6e80d89d02f5'}} 2025-09-25 15:16:47,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '78dbe76c-186d-48fa-9697-026dbf2aadb2', 'name': '', 'tenant_id': '3052cd0cf31b45abbb8b6e80d89d02f5', 'network_id': 'fa36fa06-03b4-4b42-ab4d-a42b61c5657d', 'ip_version': 4, 'cidr': '56.124.91.192/26', 'allocation_pools': [{'start': '56.124.91.194', 'end': '56.124.91.254'}], 'gateway_ip': '56.124.91.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.124.91.194', 'tags': [], 'project_id': '3052cd0cf31b45abbb8b6e80d89d02f5'}} 2025-09-25 15:16:47,234 - INFO - Created VN ctest-vn1-13873750 2025-09-25 15:16:47,284 - DEBUG - VN ctest-vn1-13873750 UUID is fa36fa06-03b4-4b42-ab4d-a42b61c5657d 2025-09-25 15:16:47,547 - DEBUG - Response for create_port : {'port': {'name': '0e01bb10-36c0-49a7-b800-0a3856f08bd2', 'id': '0e01bb10-36c0-49a7-b800-0a3856f08bd2', 'tenant_id': '3052cd0cf31b45abbb8b6e80d89d02f5', 'network_id': 'fa36fa06-03b4-4b42-ab4d-a42b61c5657d', 'mac_address': '02:0e:01:bb:10:36', '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': '17.224.139.5', 'subnet_id': '6beadadc-3c94-4f20-af34-c7b2401c7316'}], 'security_groups': ['723f5e8c-c1f1-41f8-b0fd-85b2114912bd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3052cd0cf31b45abbb8b6e80d89d02f5'}} 2025-09-25 15:16:47,692 - DEBUG - Response for create_port : {'port': {'name': '80b8bdec-9958-4f74-9ca7-914b7257c9ac', 'id': '80b8bdec-9958-4f74-9ca7-914b7257c9ac', 'tenant_id': '3052cd0cf31b45abbb8b6e80d89d02f5', 'network_id': 'fa36fa06-03b4-4b42-ab4d-a42b61c5657d', 'mac_address': '02:80:b8:bd:ec:99', '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': '56.124.91.197', 'subnet_id': '78dbe76c-186d-48fa-9697-026dbf2aadb2'}], 'security_groups': ['723f5e8c-c1f1-41f8-b0fd-85b2114912bd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3052cd0cf31b45abbb8b6e80d89d02f5'}} 2025-09-25 15:16:47,740 - DEBUG - Services list from nova: [, , ] 2025-09-25 15:16:48,000 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4193-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4193-1) 2025-09-25 15:16:48,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4193-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4193-1) 2025-09-25 15:16:48,309 - INFO - Waiting for VM ctest-vn1-vm1-76646974 to be up.. 2025-09-25 15:16:48,340 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 15:16:53,403 - DEBUG - VM is in ACTIVE state now 2025-09-25 15:16:53,403 - INFO - VM name : ctest-vn1-vm1-76646974 2025-09-25 15:16:53,464 - DEBUG - VM ctest-vn1-vm1-76646974 ID is 43529104-a3aa-4efb-b613-02bf11bedbe8 2025-09-25 15:16:53,480 - DEBUG - VM ctest-vn1-vm1-76646974 launched on Node cn-jenkins-deploy-platform-ansible-os-4193-1 2025-09-25 15:16:53,543 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/43529104-a3aa-4efb-b613-02bf11bedbe8 2025-09-25 15:16:53,551 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0e01bb10-36c0-49a7-b800-0a3856f08bd2 2025-09-25 15:16:56,791 - 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 1012ms') 2025-09-25 15:16:56,791 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76646974 failed! 2025-09-25 15:16:56,848 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74583536:ctest-vn1-13873750 is 17.224.139.1 and allocation pool is NOT set 2025-09-25 15:16:56,848 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74583536:ctest-vn1-13873750 is 56.124.91.193 and allocation pool is NOT set 2025-09-25 15:16:58,906 - 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=5.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.06 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.060/3.145/5.231/2.085 ms') 2025-09-25 15:16:58,906 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76646974 passed 2025-09-25 15:16:59,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 15:16:59,057 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76646974, IP 17.224.139.5, Port 22 2025-09-25 15:16:59,208 - DEBUG - VM ctest-vn1-vm1-76646974 is ready for SSH connections 2025-09-25 15:16:59,208 - INFO - Waiting for VM ctest-vn1-vm2-49891110 to be up.. 2025-09-25 15:16:59,270 - DEBUG - VM is in ACTIVE state now 2025-09-25 15:16:59,271 - INFO - VM name : ctest-vn1-vm2-49891110 2025-09-25 15:16:59,331 - DEBUG - VM ctest-vn1-vm2-49891110 ID is 4a27c9eb-a864-41b7-a3e8-bc3da399db63 2025-09-25 15:16:59,331 - DEBUG - VM ctest-vn1-vm2-49891110 launched on Node cn-jenkins-deploy-platform-ansible-os-4193-1 2025-09-25 15:16:59,388 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4a27c9eb-a864-41b7-a3e8-bc3da399db63 2025-09-25 15:16:59,394 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/80b8bdec-9958-4f74-9ca7-914b7257c9ac 2025-09-25 15:17:00,622 - 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.387 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.387/1.846/3.305/1.459 ms') 2025-09-25 15:17:00,622 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-49891110 passed 2025-09-25 15:17:00,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 15:17:00,777 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-49891110, IP 56.124.91.197, Port 22 2025-09-25 15:17:00,936 - DEBUG - VM ctest-vn1-vm2-49891110 is ready for SSH connections 2025-09-25 15:17:00,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 15:17:00,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 15:17:00,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 15:17:00,937 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.224.139.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-25 15:17:00,937 - DEBUG - ping -s 56 -c 3 -W 1 17.224.139.5 2025-09-25 15:17:03,566 - DEBUG - PING 17.224.139.5 (17.224.139.5): 56 data bytes 64 bytes from 17.224.139.5: seq=0 ttl=63 time=3.727 ms 64 bytes from 17.224.139.5: seq=1 ttl=63 time=0.803 ms 64 bytes from 17.224.139.5: seq=2 ttl=63 time=0.783 ms --- 17.224.139.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.783/1.771/3.727 ms 2025-09-25 15:17:03,566 - INFO - Ping to IP 17.224.139.5 from VM ctest-vn1-vm2-49891110 passed 2025-09-25 15:17:03,566 - INFO - Detaching port 80b8bdec-9958-4f74-9ca7-914b7257c9ac from VM ctest-vn1-vm2-49891110 2025-09-25 15:17:03,609 - INFO - Deleting VM ctest-vn1-vm2-49891110 2025-09-25 15:17:03,664 - INFO - Detaching port 0e01bb10-36c0-49a7-b800-0a3856f08bd2 from VM ctest-vn1-vm1-76646974 2025-09-25 15:17:03,695 - INFO - Deleting VM ctest-vn1-vm1-76646974 2025-09-25 15:17:03,883 - DEBUG - Response for delete_port : () 2025-09-25 15:17:04,018 - DEBUG - Response for delete_port : () 2025-09-25 15:17:04,018 - INFO - Deleting VN ctest-vn1-13873750 2025-09-25 15:17:04,123 - DEBUG - Response for deleting network () 2025-09-25 15:17:04,380 - DEBUG - No XMPP flaps were noticed during the test 2025-09-25 15:17:04,380 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-09-25 15:17:04,380 - INFO - -------------------------------------------------------------------------------- 2025-09-25 15:17:05,006 - INFO - Deleted project: ctest-TestPorts-74583536, ID : 3052cd0c-f31b-45ab-bb8b-6e80d89d02f5