2025-08-22 12:23:42,219 - INFO - Domain Default found not creating 2025-08-22 12:23:42,342 - INFO - Project ctest-TestPorts-86238554 not found, creating it 2025-08-22 12:23:42,780 - INFO - Created Project:ctest-TestPorts-86238554, ID : 3886636a-c6c8-458a-9767-6296aab73e3b 2025-08-22 12:23:44,114 - INFO - ================================================================================ 2025-08-22 12:23:44,114 - INFO - STARTING TEST : test_ports_bindings 2025-08-22 12:23:44,114 - 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-08-22 12:23:44,370 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.17': '0'}} with 2025-08-22 12:23:44,370 - INFO - Initial checks done. Running the testcase now 2025-08-22 12:23:44,370 - INFO - 2025-08-22 12:23:44,931 - DEBUG - Response for create_network : {'network': {'id': 'fc6e7895-4976-468c-8bb7-6eb224b8de28', 'name': 'ctest-vn-44741147', 'tenant_id': '3886636ac6c8458a97676296aab73e3b', 'project_id': '3886636ac6c8458a97676296aab73e3b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86238554', 'ctest-vn-44741147'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 12:23:45,147 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9632ff9-627a-4f2a-8059-aa0e5022d449', 'name': '', 'tenant_id': '3886636ac6c8458a97676296aab73e3b', 'network_id': 'fc6e7895-4976-468c-8bb7-6eb224b8de28', 'ip_version': 4, 'cidr': '73.235.24.128/26', 'allocation_pools': [{'start': '73.235.24.130', 'end': '73.235.24.190'}], 'gateway_ip': '73.235.24.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.235.24.130', 'tags': [], 'project_id': '3886636ac6c8458a97676296aab73e3b'}} 2025-08-22 12:23:45,162 - INFO - Created VN ctest-vn-44741147 2025-08-22 12:23:45,212 - DEBUG - VN ctest-vn-44741147 UUID is fc6e7895-4976-468c-8bb7-6eb224b8de28 2025-08-22 12:23:45,315 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86238554', 'ctest-vmi-33237617']} 2025-08-22 12:23:45,599 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-33237617', 'id': '0841cc4d-391e-439a-9db6-2c77abfe47cd', 'tenant_id': '3886636ac6c8458a97676296aab73e3b', 'network_id': 'fc6e7895-4976-468c-8bb7-6eb224b8de28', 'mac_address': '02:08:41:cc:4d:39', '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': '73.235.24.131', 'subnet_id': 'c9632ff9-627a-4f2a-8059-aa0e5022d449'}], 'security_groups': ['52bb334f-e7d9-4cfb-9f39-3a9f3b44e1a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3886636ac6c8458a97676296aab73e3b'}} 2025-08-22 12:23:45,599 - DEBUG - Created port 0841cc4d-391e-439a-9db6-2c77abfe47cd 2025-08-22 12:23:45,704 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/0841cc4d-391e-439a-9db6-2c77abfe47cd 2025-08-22 12:23:45,992 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/0841cc4d-391e-439a-9db6-2c77abfe47cd 2025-08-22 12:23:46,024 - INFO - VMI 0841cc4d-391e-439a-9db6-2c77abfe47cd verification in API Server passed 2025-08-22 12:23:46,115 - DEBUG - Response for delete_port : () 2025-08-22 12:23:46,116 - INFO - Deleted port 0841cc4d-391e-439a-9db6-2c77abfe47cd 2025-08-22 12:23:46,116 - INFO - Deleting VN ctest-vn-44741147 2025-08-22 12:23:46,224 - DEBUG - Response for deleting network () 2025-08-22 12:23:46,478 - DEBUG - No XMPP flaps were noticed during the test 2025-08-22 12:23:46,478 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-22 12:23:46,478 - INFO - -------------------------------------------------------------------------------- 2025-08-22 12:23:46,480 - INFO - ================================================================================ 2025-08-22 12:23:46,480 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-22 12:23:46,480 - 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-08-22 12:23:46,769 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.17': '0'}} with 2025-08-22 12:23:46,769 - INFO - Initial checks done. Running the testcase now 2025-08-22 12:23:46,769 - INFO - 2025-08-22 12:23:46,960 - DEBUG - Response for create_network : {'network': {'id': '8a03b3e2-f2c7-4484-82c6-711dc621a7a8', 'name': 'ctest-vn1-83745957', 'tenant_id': '3886636ac6c8458a97676296aab73e3b', 'project_id': '3886636ac6c8458a97676296aab73e3b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86238554', 'ctest-vn1-83745957'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 12:23:47,155 - DEBUG - Response for create_subnet : {'subnet': {'id': '266e67a5-8958-4660-970f-97c238a45e0e', 'name': '', 'tenant_id': '3886636ac6c8458a97676296aab73e3b', 'network_id': '8a03b3e2-f2c7-4484-82c6-711dc621a7a8', 'ip_version': 4, 'cidr': '12.24.97.64/26', 'allocation_pools': [{'start': '12.24.97.66', 'end': '12.24.97.126'}], 'gateway_ip': '12.24.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.24.97.66', 'tags': [], 'project_id': '3886636ac6c8458a97676296aab73e3b'}} 2025-08-22 12:23:47,354 - DEBUG - Response for create_subnet : {'subnet': {'id': '818f9235-1162-4057-aea8-6f4745d4b335', 'name': '', 'tenant_id': '3886636ac6c8458a97676296aab73e3b', 'network_id': '8a03b3e2-f2c7-4484-82c6-711dc621a7a8', 'ip_version': 4, 'cidr': '18.35.173.192/26', 'allocation_pools': [{'start': '18.35.173.194', 'end': '18.35.173.254'}], 'gateway_ip': '18.35.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.35.173.194', 'tags': [], 'project_id': '3886636ac6c8458a97676296aab73e3b'}} 2025-08-22 12:23:47,375 - INFO - Created VN ctest-vn1-83745957 2025-08-22 12:23:47,432 - DEBUG - VN ctest-vn1-83745957 UUID is 8a03b3e2-f2c7-4484-82c6-711dc621a7a8 2025-08-22 12:23:47,755 - DEBUG - Response for create_port : {'port': {'name': '829f64bf-a798-405e-b6a6-06a6db571d42', 'id': '829f64bf-a798-405e-b6a6-06a6db571d42', 'tenant_id': '3886636ac6c8458a97676296aab73e3b', 'network_id': '8a03b3e2-f2c7-4484-82c6-711dc621a7a8', 'mac_address': '02:82:9f:64:bf:a7', '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': '12.24.97.69', 'subnet_id': '266e67a5-8958-4660-970f-97c238a45e0e'}], 'security_groups': ['52bb334f-e7d9-4cfb-9f39-3a9f3b44e1a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3886636ac6c8458a97676296aab73e3b'}} 2025-08-22 12:23:47,929 - DEBUG - Response for create_port : {'port': {'name': '85cb20e3-ac52-45df-9cec-87112818c2e7', 'id': '85cb20e3-ac52-45df-9cec-87112818c2e7', 'tenant_id': '3886636ac6c8458a97676296aab73e3b', 'network_id': '8a03b3e2-f2c7-4484-82c6-711dc621a7a8', 'mac_address': '02:85:cb:20:e3:ac', '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': '18.35.173.197', 'subnet_id': '818f9235-1162-4057-aea8-6f4745d4b335'}], 'security_groups': ['52bb334f-e7d9-4cfb-9f39-3a9f3b44e1a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3886636ac6c8458a97676296aab73e3b'}} 2025-08-22 12:23:47,979 - DEBUG - Services list from nova: [, , ] 2025-08-22 12:23:48,260 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3908-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3908-1) 2025-08-22 12:23:48,601 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3908-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3908-1) 2025-08-22 12:23:48,601 - INFO - Waiting for VM ctest-vn1-vm1-00817583 to be up.. 2025-08-22 12:23:48,635 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-22 12:23:53,747 - DEBUG - VM is in ACTIVE state now 2025-08-22 12:23:53,747 - INFO - VM name : ctest-vn1-vm1-00817583 2025-08-22 12:23:53,820 - DEBUG - VM ctest-vn1-vm1-00817583 ID is 34f5cb95-c260-4fc4-a461-7762b6441e0c 2025-08-22 12:23:53,846 - DEBUG - VM ctest-vn1-vm1-00817583 launched on Node cn-jenkins-deploy-platform-ansible-os-3908-1 2025-08-22 12:23:53,920 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/34f5cb95-c260-4fc4-a461-7762b6441e0c 2025-08-22 12:23:53,930 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/829f64bf-a798-405e-b6a6-06a6db571d42 2025-08-22 12:23:57,208 - 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 1036ms') 2025-08-22 12:23:57,208 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00817583 failed! 2025-08-22 12:23:57,264 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86238554:ctest-vn1-83745957 is 12.24.97.65 and allocation pool is NOT set 2025-08-22 12:23:57,264 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86238554:ctest-vn1-83745957 is 18.35.173.193 and allocation pool is NOT set 2025-08-22 12:23:59,335 - 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=3.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.46 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 = 1.461/2.691/3.922/1.230 ms') 2025-08-22 12:23:59,336 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00817583 passed 2025-08-22 12:23:59,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 12:23:59,488 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00817583, IP 12.24.97.69, Port 22 2025-08-22 12:23:59,640 - DEBUG - VM ctest-vn1-vm1-00817583 is ready for SSH connections 2025-08-22 12:23:59,640 - INFO - Waiting for VM ctest-vn1-vm2-96346638 to be up.. 2025-08-22 12:23:59,717 - DEBUG - VM is in ACTIVE state now 2025-08-22 12:23:59,717 - INFO - VM name : ctest-vn1-vm2-96346638 2025-08-22 12:23:59,789 - DEBUG - VM ctest-vn1-vm2-96346638 ID is 54512a4c-a1a4-400e-af7d-f680bdfa6ce1 2025-08-22 12:23:59,790 - DEBUG - VM ctest-vn1-vm2-96346638 launched on Node cn-jenkins-deploy-platform-ansible-os-3908-1 2025-08-22 12:23:59,977 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/54512a4c-a1a4-400e-af7d-f680bdfa6ce1 2025-08-22 12:23:59,987 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/85cb20e3-ac52-45df-9cec-87112818c2e7 2025-08-22 12:24:01,222 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.466 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.466/1.605/2.745/1.139 ms') 2025-08-22 12:24:01,222 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-96346638 passed 2025-08-22 12:24:01,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 12:24:01,376 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-96346638, IP 18.35.173.197, Port 22 2025-08-22 12:24:01,539 - DEBUG - VM ctest-vn1-vm2-96346638 is ready for SSH connections 2025-08-22 12:24:01,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 12:24:01,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 12:24:01,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 12:24:01,540 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.24.97.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-08-22 12:24:01,540 - DEBUG - ping -s 56 -c 3 -W 1 12.24.97.69 2025-08-22 12:24:04,159 - DEBUG - PING 12.24.97.69 (12.24.97.69): 56 data bytes 64 bytes from 12.24.97.69: seq=0 ttl=63 time=3.294 ms 64 bytes from 12.24.97.69: seq=1 ttl=63 time=0.683 ms 64 bytes from 12.24.97.69: seq=2 ttl=63 time=0.637 ms --- 12.24.97.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.637/1.538/3.294 ms 2025-08-22 12:24:04,159 - INFO - Ping to IP 12.24.97.69 from VM ctest-vn1-vm2-96346638 passed 2025-08-22 12:24:04,159 - INFO - Detaching port 85cb20e3-ac52-45df-9cec-87112818c2e7 from VM ctest-vn1-vm2-96346638 2025-08-22 12:24:04,202 - INFO - Deleting VM ctest-vn1-vm2-96346638 2025-08-22 12:24:04,261 - INFO - Detaching port 829f64bf-a798-405e-b6a6-06a6db571d42 from VM ctest-vn1-vm1-00817583 2025-08-22 12:24:04,295 - INFO - Deleting VM ctest-vn1-vm1-00817583 2025-08-22 12:24:04,504 - DEBUG - Response for delete_port : () 2025-08-22 12:24:04,652 - DEBUG - Response for delete_port : () 2025-08-22 12:24:04,652 - INFO - Deleting VN ctest-vn1-83745957 2025-08-22 12:24:04,790 - DEBUG - Response for deleting network () 2025-08-22 12:24:05,057 - DEBUG - No XMPP flaps were noticed during the test 2025-08-22 12:24:05,057 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-08-22 12:24:05,057 - INFO - -------------------------------------------------------------------------------- 2025-08-22 12:24:05,739 - INFO - Deleted project: ctest-TestPorts-86238554, ID : 3886636a-c6c8-458a-9767-6296aab73e3b