2025-09-02 13:16:13,533 - INFO - Domain Default found not creating 2025-09-02 13:16:13,678 - INFO - Project ctest-TestPorts-83036436 not found, creating it 2025-09-02 13:16:14,139 - INFO - Created Project:ctest-TestPorts-83036436, ID : 8532a06a-d08c-4922-8a2d-278939c62bf4 2025-09-02 13:16:15,748 - INFO - ================================================================================ 2025-09-02 13:16:15,748 - INFO - STARTING TEST : test_ports_bindings 2025-09-02 13:16:15,748 - 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-02 13:16:16,004 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-09-02 13:16:16,004 - INFO - Initial checks done. Running the testcase now 2025-09-02 13:16:16,004 - INFO - 2025-09-02 13:16:16,591 - DEBUG - Response for create_network : {'network': {'id': 'd16d0149-1a08-49ed-8d94-9a9e28ba2130', 'name': 'ctest-vn-51462304', 'tenant_id': '8532a06ad08c49228a2d278939c62bf4', 'project_id': '8532a06ad08c49228a2d278939c62bf4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83036436', 'ctest-vn-51462304'], 'port_security_enabled': True, 'description': ''}} 2025-09-02 13:16:16,768 - DEBUG - Response for create_subnet : {'subnet': {'id': '6eb5cff1-85a6-404a-b5a6-1cd7ab5fcbf6', 'name': '', 'tenant_id': '8532a06ad08c49228a2d278939c62bf4', 'network_id': 'd16d0149-1a08-49ed-8d94-9a9e28ba2130', 'ip_version': 4, 'cidr': '140.240.249.128/26', 'allocation_pools': [{'start': '140.240.249.130', 'end': '140.240.249.190'}], 'gateway_ip': '140.240.249.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.240.249.130', 'tags': [], 'project_id': '8532a06ad08c49228a2d278939c62bf4'}} 2025-09-02 13:16:16,784 - INFO - Created VN ctest-vn-51462304 2025-09-02 13:16:16,835 - DEBUG - VN ctest-vn-51462304 UUID is d16d0149-1a08-49ed-8d94-9a9e28ba2130 2025-09-02 13:16:16,947 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-83036436', 'ctest-vmi-59123511']} 2025-09-02 13:16:17,183 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-59123511', 'id': 'fa13d61f-9ca6-4f64-9c5b-7ff86973ad27', 'tenant_id': '8532a06ad08c49228a2d278939c62bf4', 'network_id': 'd16d0149-1a08-49ed-8d94-9a9e28ba2130', 'mac_address': '02:fa:13:d6:1f:9c', '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': '140.240.249.131', 'subnet_id': '6eb5cff1-85a6-404a-b5a6-1cd7ab5fcbf6'}], 'security_groups': ['250c5bcb-afce-4ecd-98b1-ba724c683ae9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8532a06ad08c49228a2d278939c62bf4'}} 2025-09-02 13:16:17,184 - DEBUG - Created port fa13d61f-9ca6-4f64-9c5b-7ff86973ad27 2025-09-02 13:16:17,287 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fa13d61f-9ca6-4f64-9c5b-7ff86973ad27 2025-09-02 13:16:17,621 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fa13d61f-9ca6-4f64-9c5b-7ff86973ad27 2025-09-02 13:16:17,653 - INFO - VMI fa13d61f-9ca6-4f64-9c5b-7ff86973ad27 verification in API Server passed 2025-09-02 13:16:17,733 - DEBUG - Response for delete_port : () 2025-09-02 13:16:17,734 - INFO - Deleted port fa13d61f-9ca6-4f64-9c5b-7ff86973ad27 2025-09-02 13:16:17,734 - INFO - Deleting VN ctest-vn-51462304 2025-09-02 13:16:17,832 - DEBUG - Response for deleting network () 2025-09-02 13:16:18,087 - DEBUG - No XMPP flaps were noticed during the test 2025-09-02 13:16:18,087 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-02 13:16:18,087 - INFO - -------------------------------------------------------------------------------- 2025-09-02 13:16:18,090 - INFO - ================================================================================ 2025-09-02 13:16:18,090 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-02 13:16:18,090 - 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-02 13:16:18,376 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-09-02 13:16:18,376 - INFO - Initial checks done. Running the testcase now 2025-09-02 13:16:18,376 - INFO - 2025-09-02 13:16:18,546 - DEBUG - Response for create_network : {'network': {'id': 'f64f9a99-ad50-4161-9ea1-7252cbbeb5a8', 'name': 'ctest-vn1-07556697', 'tenant_id': '8532a06ad08c49228a2d278939c62bf4', 'project_id': '8532a06ad08c49228a2d278939c62bf4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83036436', 'ctest-vn1-07556697'], 'port_security_enabled': True, 'description': ''}} 2025-09-02 13:16:18,741 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd64c0ed9-cfa6-4ff8-b2b1-d9f7fbbbd682', 'name': '', 'tenant_id': '8532a06ad08c49228a2d278939c62bf4', 'network_id': 'f64f9a99-ad50-4161-9ea1-7252cbbeb5a8', 'ip_version': 4, 'cidr': '78.87.212.64/26', 'allocation_pools': [{'start': '78.87.212.66', 'end': '78.87.212.126'}], 'gateway_ip': '78.87.212.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.87.212.66', 'tags': [], 'project_id': '8532a06ad08c49228a2d278939c62bf4'}} 2025-09-02 13:16:18,880 - DEBUG - Response for create_subnet : {'subnet': {'id': '07117642-7e63-4428-adb2-647a824447e7', 'name': '', 'tenant_id': '8532a06ad08c49228a2d278939c62bf4', 'network_id': 'f64f9a99-ad50-4161-9ea1-7252cbbeb5a8', 'ip_version': 4, 'cidr': '90.233.190.128/26', 'allocation_pools': [{'start': '90.233.190.130', 'end': '90.233.190.190'}], 'gateway_ip': '90.233.190.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.233.190.130', 'tags': [], 'project_id': '8532a06ad08c49228a2d278939c62bf4'}} 2025-09-02 13:16:18,900 - INFO - Created VN ctest-vn1-07556697 2025-09-02 13:16:18,951 - DEBUG - VN ctest-vn1-07556697 UUID is f64f9a99-ad50-4161-9ea1-7252cbbeb5a8 2025-09-02 13:16:19,240 - DEBUG - Response for create_port : {'port': {'name': 'bb3f59c6-6efc-413c-a633-e84e658eb03d', 'id': 'bb3f59c6-6efc-413c-a633-e84e658eb03d', 'tenant_id': '8532a06ad08c49228a2d278939c62bf4', 'network_id': 'f64f9a99-ad50-4161-9ea1-7252cbbeb5a8', 'mac_address': '02:bb:3f:59:c6:6e', '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': '78.87.212.69', 'subnet_id': 'd64c0ed9-cfa6-4ff8-b2b1-d9f7fbbbd682'}], 'security_groups': ['250c5bcb-afce-4ecd-98b1-ba724c683ae9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8532a06ad08c49228a2d278939c62bf4'}} 2025-09-02 13:16:19,409 - DEBUG - Response for create_port : {'port': {'name': '6224096c-35a6-42ad-b8da-c6fec252c8b1', 'id': '6224096c-35a6-42ad-b8da-c6fec252c8b1', 'tenant_id': '8532a06ad08c49228a2d278939c62bf4', 'network_id': 'f64f9a99-ad50-4161-9ea1-7252cbbeb5a8', 'mac_address': '02:62:24:09:6c:35', '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': '90.233.190.133', 'subnet_id': '07117642-7e63-4428-adb2-647a824447e7'}], 'security_groups': ['250c5bcb-afce-4ecd-98b1-ba724c683ae9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8532a06ad08c49228a2d278939c62bf4'}} 2025-09-02 13:16:19,467 - DEBUG - Services list from nova: [, , ] 2025-09-02 13:16:19,812 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4002-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4002-1) 2025-09-02 13:16:20,213 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4002-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4002-1) 2025-09-02 13:16:20,213 - INFO - Waiting for VM ctest-vn1-vm1-67843205 to be up.. 2025-09-02 13:16:20,250 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-02 13:16:25,326 - DEBUG - VM is in ACTIVE state now 2025-09-02 13:16:25,326 - INFO - VM name : ctest-vn1-vm1-67843205 2025-09-02 13:16:25,399 - DEBUG - VM ctest-vn1-vm1-67843205 ID is 3b3f9ec7-3358-4362-956e-7a43d7d0994e 2025-09-02 13:16:25,420 - DEBUG - VM ctest-vn1-vm1-67843205 launched on Node cn-jenkins-deploy-platform-ansible-os-4002-1 2025-09-02 13:16:25,489 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3b3f9ec7-3358-4362-956e-7a43d7d0994e 2025-09-02 13:16:25,498 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bb3f59c6-6efc-413c-a633-e84e658eb03d 2025-09-02 13:16:28,752 - 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 1019ms') 2025-09-02 13:16:28,752 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67843205 failed! 2025-09-02 13:16:28,807 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83036436:ctest-vn1-07556697 is 78.87.212.65 and allocation pool is NOT set 2025-09-02 13:16:28,807 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83036436:ctest-vn1-07556697 is 90.233.190.129 and allocation pool is NOT set 2025-09-02 13:16:32,883 - 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=2 ttl=63 time=10.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 10.416/10.416/10.416/0.000 ms') 2025-09-02 13:16:32,884 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67843205 passed 2025-09-02 13:16:33,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 13:16:33,035 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67843205, IP 78.87.212.69, Port 22 2025-09-02 13:16:33,190 - DEBUG - VM ctest-vn1-vm1-67843205 is ready for SSH connections 2025-09-02 13:16:33,191 - INFO - Waiting for VM ctest-vn1-vm2-47358348 to be up.. 2025-09-02 13:16:33,275 - DEBUG - VM is in ACTIVE state now 2025-09-02 13:16:33,275 - INFO - VM name : ctest-vn1-vm2-47358348 2025-09-02 13:16:33,348 - DEBUG - VM ctest-vn1-vm2-47358348 ID is c6f3686d-8cd9-4d05-bc4f-3fc70acefb18 2025-09-02 13:16:33,348 - DEBUG - VM ctest-vn1-vm2-47358348 launched on Node cn-jenkins-deploy-platform-ansible-os-4002-1 2025-09-02 13:16:33,425 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c6f3686d-8cd9-4d05-bc4f-3fc70acefb18 2025-09-02 13:16:33,434 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6224096c-35a6-42ad-b8da-c6fec252c8b1 2025-09-02 13:16:34,666 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/1.838/3.174/1.336 ms') 2025-09-02 13:16:34,666 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-47358348 passed 2025-09-02 13:16:34,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 13:16:34,815 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-47358348, IP 90.233.190.133, Port 22 2025-09-02 13:16:34,974 - DEBUG - VM ctest-vn1-vm2-47358348 is ready for SSH connections 2025-09-02 13:16:34,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 13:16:34,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 13:16:34,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 13:16:34,975 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.87.212.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-02 13:16:34,975 - DEBUG - ping -s 56 -c 3 -W 1 78.87.212.69 2025-09-02 13:16:37,665 - DEBUG - PING 78.87.212.69 (78.87.212.69): 56 data bytes 64 bytes from 78.87.212.69: seq=0 ttl=63 time=4.179 ms 64 bytes from 78.87.212.69: seq=1 ttl=63 time=1.016 ms 64 bytes from 78.87.212.69: seq=2 ttl=63 time=0.826 ms --- 78.87.212.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/2.007/4.179 ms 2025-09-02 13:16:37,665 - INFO - Ping to IP 78.87.212.69 from VM ctest-vn1-vm2-47358348 passed 2025-09-02 13:16:37,665 - INFO - Detaching port 6224096c-35a6-42ad-b8da-c6fec252c8b1 from VM ctest-vn1-vm2-47358348 2025-09-02 13:16:37,719 - INFO - Deleting VM ctest-vn1-vm2-47358348 2025-09-02 13:16:37,785 - INFO - Detaching port bb3f59c6-6efc-413c-a633-e84e658eb03d from VM ctest-vn1-vm1-67843205 2025-09-02 13:16:37,824 - INFO - Deleting VM ctest-vn1-vm1-67843205 2025-09-02 13:16:38,040 - DEBUG - Response for delete_port : () 2025-09-02 13:16:38,202 - DEBUG - Response for delete_port : () 2025-09-02 13:16:38,202 - INFO - Deleting VN ctest-vn1-07556697 2025-09-02 13:16:38,326 - DEBUG - Response for deleting network () 2025-09-02 13:16:38,584 - DEBUG - No XMPP flaps were noticed during the test 2025-09-02 13:16:38,584 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20] 2025-09-02 13:16:38,585 - INFO - -------------------------------------------------------------------------------- 2025-09-02 13:16:39,325 - INFO - Deleted project: ctest-TestPorts-83036436, ID : 8532a06a-d08c-4922-8a2d-278939c62bf4