2025-10-19 09:12:06,646 - INFO - Domain Default found not creating 2025-10-19 09:12:06,798 - INFO - Project ctest-TestPorts-05149384 not found, creating it 2025-10-19 09:12:07,271 - INFO - Created Project:ctest-TestPorts-05149384, ID : 86648b70-c447-4e99-bb2a-fab94b9edb1b 2025-10-19 09:12:08,772 - INFO - ================================================================================ 2025-10-19 09:12:08,772 - INFO - STARTING TEST : test_ports_bindings 2025-10-19 09:12:08,772 - 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-19 09:12:09,038 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-19 09:12:09,038 - INFO - Initial checks done. Running the testcase now 2025-10-19 09:12:09,038 - INFO - 2025-10-19 09:12:09,611 - DEBUG - Response for create_network : {'network': {'id': '9987f012-7113-494d-8b10-95e2ca2092d4', 'name': 'ctest-vn-55319195', 'tenant_id': '86648b70c4474e99bb2afab94b9edb1b', 'project_id': '86648b70c4474e99bb2afab94b9edb1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05149384', 'ctest-vn-55319195'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 09:12:09,807 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3378bd2-990e-4451-b6a3-733b11ba41d6', 'name': '', 'tenant_id': '86648b70c4474e99bb2afab94b9edb1b', 'network_id': '9987f012-7113-494d-8b10-95e2ca2092d4', 'ip_version': 4, 'cidr': '120.3.59.0/26', 'allocation_pools': [{'start': '120.3.59.2', 'end': '120.3.59.62'}], 'gateway_ip': '120.3.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.3.59.2', 'tags': [], 'project_id': '86648b70c4474e99bb2afab94b9edb1b'}} 2025-10-19 09:12:09,824 - INFO - Created VN ctest-vn-55319195 2025-10-19 09:12:09,874 - DEBUG - VN ctest-vn-55319195 UUID is 9987f012-7113-494d-8b10-95e2ca2092d4 2025-10-19 09:12:09,981 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-05149384', 'ctest-vmi-30858755']} 2025-10-19 09:12:10,216 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-30858755', 'id': '7b623be1-0506-4914-9e13-d7f74e5a4aa9', 'tenant_id': '86648b70c4474e99bb2afab94b9edb1b', 'network_id': '9987f012-7113-494d-8b10-95e2ca2092d4', 'mac_address': '02:7b:62:3b:e1:05', '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': '120.3.59.3', 'subnet_id': 'b3378bd2-990e-4451-b6a3-733b11ba41d6'}], 'security_groups': ['b100513d-f542-45f4-87eb-8b075a017867'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '86648b70c4474e99bb2afab94b9edb1b'}} 2025-10-19 09:12:10,216 - DEBUG - Created port 7b623be1-0506-4914-9e13-d7f74e5a4aa9 2025-10-19 09:12:10,318 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7b623be1-0506-4914-9e13-d7f74e5a4aa9 2025-10-19 09:12:10,613 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7b623be1-0506-4914-9e13-d7f74e5a4aa9 2025-10-19 09:12:10,647 - INFO - VMI 7b623be1-0506-4914-9e13-d7f74e5a4aa9 verification in API Server passed 2025-10-19 09:12:10,740 - DEBUG - Response for delete_port : () 2025-10-19 09:12:10,740 - INFO - Deleted port 7b623be1-0506-4914-9e13-d7f74e5a4aa9 2025-10-19 09:12:10,740 - INFO - Deleting VN ctest-vn-55319195 2025-10-19 09:12:10,842 - DEBUG - Response for deleting network () 2025-10-19 09:12:11,102 - DEBUG - No XMPP flaps were noticed during the test 2025-10-19 09:12:11,102 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-19 09:12:11,102 - INFO - -------------------------------------------------------------------------------- 2025-10-19 09:12:11,105 - INFO - ================================================================================ 2025-10-19 09:12:11,105 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-19 09:12:11,105 - 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-19 09:12:11,396 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-19 09:12:11,396 - INFO - Initial checks done. Running the testcase now 2025-10-19 09:12:11,396 - INFO - 2025-10-19 09:12:11,613 - DEBUG - Response for create_network : {'network': {'id': '3f29c110-5b25-4092-bef9-dd74398d31f5', 'name': 'ctest-vn1-33200685', 'tenant_id': '86648b70c4474e99bb2afab94b9edb1b', 'project_id': '86648b70c4474e99bb2afab94b9edb1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05149384', 'ctest-vn1-33200685'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 09:12:11,781 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe19a399-a530-40ac-a856-340cb8dfd775', 'name': '', 'tenant_id': '86648b70c4474e99bb2afab94b9edb1b', 'network_id': '3f29c110-5b25-4092-bef9-dd74398d31f5', 'ip_version': 4, 'cidr': '17.33.199.64/26', 'allocation_pools': [{'start': '17.33.199.66', 'end': '17.33.199.126'}], 'gateway_ip': '17.33.199.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.33.199.66', 'tags': [], 'project_id': '86648b70c4474e99bb2afab94b9edb1b'}} 2025-10-19 09:12:11,999 - DEBUG - Response for create_subnet : {'subnet': {'id': '23e85752-b942-4276-ad6d-284d42213613', 'name': '', 'tenant_id': '86648b70c4474e99bb2afab94b9edb1b', 'network_id': '3f29c110-5b25-4092-bef9-dd74398d31f5', 'ip_version': 4, 'cidr': '143.216.138.128/26', 'allocation_pools': [{'start': '143.216.138.130', 'end': '143.216.138.190'}], 'gateway_ip': '143.216.138.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.216.138.130', 'tags': [], 'project_id': '86648b70c4474e99bb2afab94b9edb1b'}} 2025-10-19 09:12:12,019 - INFO - Created VN ctest-vn1-33200685 2025-10-19 09:12:12,070 - DEBUG - VN ctest-vn1-33200685 UUID is 3f29c110-5b25-4092-bef9-dd74398d31f5 2025-10-19 09:12:12,378 - DEBUG - Response for create_port : {'port': {'name': '497b727e-8cf9-4992-9c0d-8148a0f3ffb8', 'id': '497b727e-8cf9-4992-9c0d-8148a0f3ffb8', 'tenant_id': '86648b70c4474e99bb2afab94b9edb1b', 'network_id': '3f29c110-5b25-4092-bef9-dd74398d31f5', 'mac_address': '02:49:7b:72:7e:8c', '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.33.199.69', 'subnet_id': 'fe19a399-a530-40ac-a856-340cb8dfd775'}], 'security_groups': ['b100513d-f542-45f4-87eb-8b075a017867'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '86648b70c4474e99bb2afab94b9edb1b'}} 2025-10-19 09:12:12,568 - DEBUG - Response for create_port : {'port': {'name': '2899a50d-959c-4a79-94e5-ea886301884e', 'id': '2899a50d-959c-4a79-94e5-ea886301884e', 'tenant_id': '86648b70c4474e99bb2afab94b9edb1b', 'network_id': '3f29c110-5b25-4092-bef9-dd74398d31f5', 'mac_address': '02:28:99:a5:0d:95', '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': '143.216.138.133', 'subnet_id': '23e85752-b942-4276-ad6d-284d42213613'}], 'security_groups': ['b100513d-f542-45f4-87eb-8b075a017867'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '86648b70c4474e99bb2afab94b9edb1b'}} 2025-10-19 09:12:12,631 - DEBUG - Services list from nova: [, , ] 2025-10-19 09:12:13,001 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4361-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4361-1) 2025-10-19 09:12:13,423 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4361-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4361-1) 2025-10-19 09:12:13,423 - INFO - Waiting for VM ctest-vn1-vm1-72162361 to be up.. 2025-10-19 09:12:13,464 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-19 09:12:18,563 - DEBUG - VM is in ACTIVE state now 2025-10-19 09:12:18,563 - INFO - VM name : ctest-vn1-vm1-72162361 2025-10-19 09:12:18,656 - DEBUG - VM ctest-vn1-vm1-72162361 ID is 8c48ac2d-9451-407c-b221-84f984318eaa 2025-10-19 09:12:18,675 - DEBUG - VM ctest-vn1-vm1-72162361 launched on Node cn-jenkins-deploy-platform-ansible-os-4361-1 2025-10-19 09:12:18,760 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8c48ac2d-9451-407c-b221-84f984318eaa 2025-10-19 09:12:18,769 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/497b727e-8cf9-4992-9c0d-8148a0f3ffb8 2025-10-19 09:12:22,029 - 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 1017ms') 2025-10-19 09:12:22,029 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72162361 failed! 2025-10-19 09:12:22,086 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05149384:ctest-vn1-33200685 is 17.33.199.65 and allocation pool is NOT set 2025-10-19 09:12:22,086 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05149384:ctest-vn1-33200685 is 143.216.138.129 and allocation pool is NOT set 2025-10-19 09:12:24,148 - 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=12.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.492 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.492/6.704/12.916/6.212 ms') 2025-10-19 09:12:24,148 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72162361 passed 2025-10-19 09:12:24,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 09:12:24,306 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72162361, IP 17.33.199.69, Port 22 2025-10-19 09:12:24,473 - DEBUG - VM ctest-vn1-vm1-72162361 is ready for SSH connections 2025-10-19 09:12:24,473 - INFO - Waiting for VM ctest-vn1-vm2-49290435 to be up.. 2025-10-19 09:12:24,582 - DEBUG - VM is in ACTIVE state now 2025-10-19 09:12:24,582 - INFO - VM name : ctest-vn1-vm2-49290435 2025-10-19 09:12:24,668 - DEBUG - VM ctest-vn1-vm2-49290435 ID is a18d2b8c-e4fb-4a1a-bdbb-8095bc2f7581 2025-10-19 09:12:24,668 - DEBUG - VM ctest-vn1-vm2-49290435 launched on Node cn-jenkins-deploy-platform-ansible-os-4361-1 2025-10-19 09:12:24,749 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a18d2b8c-e4fb-4a1a-bdbb-8095bc2f7581 2025-10-19 09:12:24,758 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2899a50d-959c-4a79-94e5-ea886301884e 2025-10-19 09:12:26,003 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.47 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.469/3.142/4.816/1.673 ms') 2025-10-19 09:12:26,003 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-49290435 passed 2025-10-19 09:12:26,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 09:12:26,154 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-49290435, IP 143.216.138.133, Port 22 2025-10-19 09:12:26,321 - DEBUG - VM ctest-vn1-vm2-49290435 is ready for SSH connections 2025-10-19 09:12:26,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 09:12:26,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 09:12:26,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 09:12:26,322 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.33.199.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 09:12:26,322 - DEBUG - ping -s 56 -c 3 -W 1 17.33.199.69 2025-10-19 09:12:28,988 - DEBUG - PING 17.33.199.69 (17.33.199.69): 56 data bytes 64 bytes from 17.33.199.69: seq=0 ttl=63 time=4.314 ms 64 bytes from 17.33.199.69: seq=1 ttl=63 time=0.949 ms 64 bytes from 17.33.199.69: seq=2 ttl=63 time=1.165 ms --- 17.33.199.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.949/2.142/4.314 ms 2025-10-19 09:12:28,988 - INFO - Ping to IP 17.33.199.69 from VM ctest-vn1-vm2-49290435 passed 2025-10-19 09:12:28,988 - INFO - Detaching port 2899a50d-959c-4a79-94e5-ea886301884e from VM ctest-vn1-vm2-49290435 2025-10-19 09:12:29,047 - INFO - Deleting VM ctest-vn1-vm2-49290435 2025-10-19 09:12:29,130 - INFO - Detaching port 497b727e-8cf9-4992-9c0d-8148a0f3ffb8 from VM ctest-vn1-vm1-72162361 2025-10-19 09:12:29,169 - INFO - Deleting VM ctest-vn1-vm1-72162361 2025-10-19 09:12:29,424 - DEBUG - Response for delete_port : () 2025-10-19 09:12:29,606 - DEBUG - Response for delete_port : () 2025-10-19 09:12:29,606 - INFO - Deleting VN ctest-vn1-33200685 2025-10-19 09:12:29,753 - DEBUG - Response for deleting network () 2025-10-19 09:12:30,013 - DEBUG - No XMPP flaps were noticed during the test 2025-10-19 09:12:30,013 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-10-19 09:12:30,014 - INFO - -------------------------------------------------------------------------------- 2025-10-19 09:12:30,710 - INFO - Deleted project: ctest-TestPorts-05149384, ID : 86648b70-c447-4e99-bb2a-fab94b9edb1b