2025-09-09 22:51:25,291 - INFO - Domain Default found not creating 2025-09-09 22:51:25,464 - INFO - Project ctest-TestPorts-15916796 not found, creating it 2025-09-09 22:51:25,899 - INFO - Created Project:ctest-TestPorts-15916796, ID : c0d2e660-8b01-4cda-9789-848f3a65a58e 2025-09-09 22:51:27,314 - INFO - ================================================================================ 2025-09-09 22:51:27,314 - INFO - STARTING TEST : test_ports_bindings 2025-09-09 22:51:27,314 - 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-09 22:51:27,569 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-09 22:51:27,569 - INFO - Initial checks done. Running the testcase now 2025-09-09 22:51:27,569 - INFO - 2025-09-09 22:51:28,089 - DEBUG - Response for create_network : {'network': {'id': '59c157e8-0149-499b-988e-48dfc239e70a', 'name': 'ctest-vn-36584067', 'tenant_id': 'c0d2e6608b014cda9789848f3a65a58e', 'project_id': 'c0d2e6608b014cda9789848f3a65a58e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15916796', 'ctest-vn-36584067'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 22:51:28,306 - DEBUG - Response for create_subnet : {'subnet': {'id': '2bd66bf9-87f7-473e-8b60-4df9e55bb19e', 'name': '', 'tenant_id': 'c0d2e6608b014cda9789848f3a65a58e', 'network_id': '59c157e8-0149-499b-988e-48dfc239e70a', 'ip_version': 4, 'cidr': '76.11.52.192/26', 'allocation_pools': [{'start': '76.11.52.194', 'end': '76.11.52.254'}], 'gateway_ip': '76.11.52.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.11.52.194', 'tags': [], 'project_id': 'c0d2e6608b014cda9789848f3a65a58e'}} 2025-09-09 22:51:28,323 - INFO - Created VN ctest-vn-36584067 2025-09-09 22:51:28,379 - DEBUG - VN ctest-vn-36584067 UUID is 59c157e8-0149-499b-988e-48dfc239e70a 2025-09-09 22:51:28,484 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15916796', 'ctest-vmi-24645334']} 2025-09-09 22:51:28,753 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24645334', 'id': '1d3e6cf8-2530-4da1-b909-eb981ee41efd', 'tenant_id': 'c0d2e6608b014cda9789848f3a65a58e', 'network_id': '59c157e8-0149-499b-988e-48dfc239e70a', 'mac_address': '02:1d:3e:6c:f8:25', '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': '76.11.52.195', 'subnet_id': '2bd66bf9-87f7-473e-8b60-4df9e55bb19e'}], 'security_groups': ['fb39b12e-1eb5-4bb8-b2fa-bfb258b5f324'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c0d2e6608b014cda9789848f3a65a58e'}} 2025-09-09 22:51:28,753 - DEBUG - Created port 1d3e6cf8-2530-4da1-b909-eb981ee41efd 2025-09-09 22:51:28,859 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1d3e6cf8-2530-4da1-b909-eb981ee41efd 2025-09-09 22:51:29,157 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1d3e6cf8-2530-4da1-b909-eb981ee41efd 2025-09-09 22:51:29,186 - INFO - VMI 1d3e6cf8-2530-4da1-b909-eb981ee41efd verification in API Server passed 2025-09-09 22:51:29,269 - DEBUG - Response for delete_port : () 2025-09-09 22:51:29,269 - INFO - Deleted port 1d3e6cf8-2530-4da1-b909-eb981ee41efd 2025-09-09 22:51:29,269 - INFO - Deleting VN ctest-vn-36584067 2025-09-09 22:51:29,366 - DEBUG - Response for deleting network () 2025-09-09 22:51:29,629 - DEBUG - No XMPP flaps were noticed during the test 2025-09-09 22:51:29,629 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-09 22:51:29,629 - INFO - -------------------------------------------------------------------------------- 2025-09-09 22:51:29,631 - INFO - ================================================================================ 2025-09-09 22:51:29,631 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-09 22:51:29,631 - 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-09 22:51:29,926 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-09 22:51:29,926 - INFO - Initial checks done. Running the testcase now 2025-09-09 22:51:29,927 - INFO - 2025-09-09 22:51:30,234 - DEBUG - Response for create_network : {'network': {'id': '24ffc6b3-2a60-40f7-bb8c-d194f7ae9cb5', 'name': 'ctest-vn1-03269673', 'tenant_id': 'c0d2e6608b014cda9789848f3a65a58e', 'project_id': 'c0d2e6608b014cda9789848f3a65a58e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15916796', 'ctest-vn1-03269673'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 22:51:30,442 - DEBUG - Response for create_subnet : {'subnet': {'id': '35c707ae-3db0-4b79-82fc-af0a3fb38bbf', 'name': '', 'tenant_id': 'c0d2e6608b014cda9789848f3a65a58e', 'network_id': '24ffc6b3-2a60-40f7-bb8c-d194f7ae9cb5', 'ip_version': 4, 'cidr': '31.223.42.192/26', 'allocation_pools': [{'start': '31.223.42.194', 'end': '31.223.42.254'}], 'gateway_ip': '31.223.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.223.42.194', 'tags': [], 'project_id': 'c0d2e6608b014cda9789848f3a65a58e'}} 2025-09-09 22:51:30,597 - DEBUG - Response for create_subnet : {'subnet': {'id': '59176ecf-4397-4481-885d-b9cc5c8ea528', 'name': '', 'tenant_id': 'c0d2e6608b014cda9789848f3a65a58e', 'network_id': '24ffc6b3-2a60-40f7-bb8c-d194f7ae9cb5', 'ip_version': 4, 'cidr': '48.222.231.0/26', 'allocation_pools': [{'start': '48.222.231.2', 'end': '48.222.231.62'}], 'gateway_ip': '48.222.231.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.222.231.2', 'tags': [], 'project_id': 'c0d2e6608b014cda9789848f3a65a58e'}} 2025-09-09 22:51:30,615 - INFO - Created VN ctest-vn1-03269673 2025-09-09 22:51:30,667 - DEBUG - VN ctest-vn1-03269673 UUID is 24ffc6b3-2a60-40f7-bb8c-d194f7ae9cb5 2025-09-09 22:51:30,965 - DEBUG - Response for create_port : {'port': {'name': '01f4f1d2-5391-41b7-8683-3cbfdff89263', 'id': '01f4f1d2-5391-41b7-8683-3cbfdff89263', 'tenant_id': 'c0d2e6608b014cda9789848f3a65a58e', 'network_id': '24ffc6b3-2a60-40f7-bb8c-d194f7ae9cb5', 'mac_address': '02:01:f4:f1:d2:53', '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': '31.223.42.197', 'subnet_id': '35c707ae-3db0-4b79-82fc-af0a3fb38bbf'}], 'security_groups': ['fb39b12e-1eb5-4bb8-b2fa-bfb258b5f324'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c0d2e6608b014cda9789848f3a65a58e'}} 2025-09-09 22:51:31,131 - DEBUG - Response for create_port : {'port': {'name': '3a015e36-ba83-4de3-a939-aa30fd96cca1', 'id': '3a015e36-ba83-4de3-a939-aa30fd96cca1', 'tenant_id': 'c0d2e6608b014cda9789848f3a65a58e', 'network_id': '24ffc6b3-2a60-40f7-bb8c-d194f7ae9cb5', 'mac_address': '02:3a:01:5e:36:ba', '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': '48.222.231.5', 'subnet_id': '59176ecf-4397-4481-885d-b9cc5c8ea528'}], 'security_groups': ['fb39b12e-1eb5-4bb8-b2fa-bfb258b5f324'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c0d2e6608b014cda9789848f3a65a58e'}} 2025-09-09 22:51:31,184 - DEBUG - Services list from nova: [, , ] 2025-09-09 22:51:31,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4063-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4063-1) 2025-09-09 22:51:32,019 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4063-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4063-1) 2025-09-09 22:51:32,020 - INFO - Waiting for VM ctest-vn1-vm1-53262472 to be up.. 2025-09-09 22:51:32,059 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-09 22:51:37,131 - DEBUG - VM is in ACTIVE state now 2025-09-09 22:51:37,131 - INFO - VM name : ctest-vn1-vm1-53262472 2025-09-09 22:51:37,200 - DEBUG - VM ctest-vn1-vm1-53262472 ID is 6d75113b-4562-4119-a0ee-cb72927884c7 2025-09-09 22:51:37,217 - DEBUG - VM ctest-vn1-vm1-53262472 launched on Node cn-jenkins-deploy-platform-ansible-os-4063-1 2025-09-09 22:51:37,301 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6d75113b-4562-4119-a0ee-cb72927884c7 2025-09-09 22:51:37,309 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/01f4f1d2-5391-41b7-8683-3cbfdff89263 2025-09-09 22:51:40,548 - 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 1003ms') 2025-09-09 22:51:40,548 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53262472 failed! 2025-09-09 22:51:40,603 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15916796:ctest-vn1-03269673 is 31.223.42.193 and allocation pool is NOT set 2025-09-09 22:51:40,604 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15916796:ctest-vn1-03269673 is 48.222.231.1 and allocation pool is NOT set 2025-09-09 22:51:42,666 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.445 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.445/2.223/4.001/1.778 ms') 2025-09-09 22:51:42,666 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53262472 passed 2025-09-09 22:51:42,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 22:51:42,820 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53262472, IP 31.223.42.197, Port 22 2025-09-09 22:51:42,975 - DEBUG - VM ctest-vn1-vm1-53262472 is ready for SSH connections 2025-09-09 22:51:42,975 - INFO - Waiting for VM ctest-vn1-vm2-41890432 to be up.. 2025-09-09 22:51:43,048 - DEBUG - VM is in ACTIVE state now 2025-09-09 22:51:43,048 - INFO - VM name : ctest-vn1-vm2-41890432 2025-09-09 22:51:43,127 - DEBUG - VM ctest-vn1-vm2-41890432 ID is 21c59ba4-70cc-4585-8c29-9ce115edba67 2025-09-09 22:51:43,127 - DEBUG - VM ctest-vn1-vm2-41890432 launched on Node cn-jenkins-deploy-platform-ansible-os-4063-1 2025-09-09 22:51:43,198 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/21c59ba4-70cc-4585-8c29-9ce115edba67 2025-09-09 22:51:43,205 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3a015e36-ba83-4de3-a939-aa30fd96cca1 2025-09-09 22:51:44,441 - 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=4.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.61 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 = 1.608/3.139/4.670/1.531 ms') 2025-09-09 22:51:44,441 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-41890432 passed 2025-09-09 22:51:44,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 22:51:44,595 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41890432, IP 48.222.231.5, Port 22 2025-09-09 22:51:44,751 - DEBUG - VM ctest-vn1-vm2-41890432 is ready for SSH connections 2025-09-09 22:51:44,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 22:51:44,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 22:51:44,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 22:51:44,751 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.223.42.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-09 22:51:44,752 - DEBUG - ping -s 56 -c 3 -W 1 31.223.42.197 2025-09-09 22:51:47,739 - DEBUG - PING 31.223.42.197 (31.223.42.197): 56 data bytes 64 bytes from 31.223.42.197: seq=0 ttl=63 time=3.792 ms 64 bytes from 31.223.42.197: seq=1 ttl=63 time=1.048 ms 64 bytes from 31.223.42.197: seq=2 ttl=63 time=0.768 ms --- 31.223.42.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.768/1.869/3.792 ms 2025-09-09 22:51:47,739 - INFO - Ping to IP 31.223.42.197 from VM ctest-vn1-vm2-41890432 passed 2025-09-09 22:51:47,739 - INFO - Detaching port 3a015e36-ba83-4de3-a939-aa30fd96cca1 from VM ctest-vn1-vm2-41890432 2025-09-09 22:51:47,783 - INFO - Deleting VM ctest-vn1-vm2-41890432 2025-09-09 22:51:47,847 - INFO - Detaching port 01f4f1d2-5391-41b7-8683-3cbfdff89263 from VM ctest-vn1-vm1-53262472 2025-09-09 22:51:47,876 - INFO - Deleting VM ctest-vn1-vm1-53262472 2025-09-09 22:51:48,080 - DEBUG - Response for delete_port : () 2025-09-09 22:51:48,246 - DEBUG - Response for delete_port : () 2025-09-09 22:51:48,246 - INFO - Deleting VN ctest-vn1-03269673 2025-09-09 22:51:48,434 - DEBUG - Response for deleting network () 2025-09-09 22:51:48,692 - DEBUG - No XMPP flaps were noticed during the test 2025-09-09 22:51:48,692 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-09-09 22:51:48,692 - INFO - -------------------------------------------------------------------------------- 2025-09-09 22:51:49,363 - INFO - Deleted project: ctest-TestPorts-15916796, ID : c0d2e660-8b01-4cda-9789-848f3a65a58e