2025-08-28 14:18:03,567 - INFO - Domain Default found not creating 2025-08-28 14:18:03,706 - INFO - Project ctest-TestPorts-66185343 not found, creating it 2025-08-28 14:18:04,140 - INFO - Created Project:ctest-TestPorts-66185343, ID : cb445005-2d4b-4dd2-928b-e34cd9a24425 2025-08-28 14:18:05,640 - INFO - ================================================================================ 2025-08-28 14:18:05,640 - INFO - STARTING TEST : test_ports_bindings 2025-08-28 14:18:05,640 - 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-28 14:18:05,896 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-08-28 14:18:05,896 - INFO - Initial checks done. Running the testcase now 2025-08-28 14:18:05,896 - INFO - 2025-08-28 14:18:06,468 - DEBUG - Response for create_network : {'network': {'id': '898cda07-abb9-4580-81af-05ad5fd4b529', 'name': 'ctest-vn-38520807', 'tenant_id': 'cb4450052d4b4dd2928be34cd9a24425', 'project_id': 'cb4450052d4b4dd2928be34cd9a24425', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66185343', 'ctest-vn-38520807'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 14:18:06,653 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a83d24b-6ea3-4799-8e84-83105165b2f9', 'name': '', 'tenant_id': 'cb4450052d4b4dd2928be34cd9a24425', 'network_id': '898cda07-abb9-4580-81af-05ad5fd4b529', 'ip_version': 4, 'cidr': '160.26.89.192/26', 'allocation_pools': [{'start': '160.26.89.194', 'end': '160.26.89.254'}], 'gateway_ip': '160.26.89.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.26.89.194', 'tags': [], 'project_id': 'cb4450052d4b4dd2928be34cd9a24425'}} 2025-08-28 14:18:06,669 - INFO - Created VN ctest-vn-38520807 2025-08-28 14:18:06,720 - DEBUG - VN ctest-vn-38520807 UUID is 898cda07-abb9-4580-81af-05ad5fd4b529 2025-08-28 14:18:06,817 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-66185343', 'ctest-vmi-65992524']} 2025-08-28 14:18:07,077 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-65992524', 'id': '097acea3-548d-4c33-bdfb-e71e6d0b3f0b', 'tenant_id': 'cb4450052d4b4dd2928be34cd9a24425', 'network_id': '898cda07-abb9-4580-81af-05ad5fd4b529', 'mac_address': '02:09:7a:ce:a3:54', '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': '160.26.89.195', 'subnet_id': '3a83d24b-6ea3-4799-8e84-83105165b2f9'}], 'security_groups': ['55bac4b6-ef99-43a9-91af-f8e3268d1908'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cb4450052d4b4dd2928be34cd9a24425'}} 2025-08-28 14:18:07,077 - DEBUG - Created port 097acea3-548d-4c33-bdfb-e71e6d0b3f0b 2025-08-28 14:18:07,184 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/097acea3-548d-4c33-bdfb-e71e6d0b3f0b 2025-08-28 14:18:07,516 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/097acea3-548d-4c33-bdfb-e71e6d0b3f0b 2025-08-28 14:18:07,548 - INFO - VMI 097acea3-548d-4c33-bdfb-e71e6d0b3f0b verification in API Server passed 2025-08-28 14:18:07,625 - DEBUG - Response for delete_port : () 2025-08-28 14:18:07,625 - INFO - Deleted port 097acea3-548d-4c33-bdfb-e71e6d0b3f0b 2025-08-28 14:18:07,625 - INFO - Deleting VN ctest-vn-38520807 2025-08-28 14:18:07,713 - DEBUG - Response for deleting network () 2025-08-28 14:18:07,968 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 14:18:07,968 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-28 14:18:07,968 - INFO - -------------------------------------------------------------------------------- 2025-08-28 14:18:07,970 - INFO - ================================================================================ 2025-08-28 14:18:07,971 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-28 14:18:07,971 - 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-28 14:18:08,260 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-08-28 14:18:08,260 - INFO - Initial checks done. Running the testcase now 2025-08-28 14:18:08,261 - INFO - 2025-08-28 14:18:08,416 - DEBUG - Response for create_network : {'network': {'id': '5ab81465-99ff-4973-8d50-7f9f203e6887', 'name': 'ctest-vn1-15249597', 'tenant_id': 'cb4450052d4b4dd2928be34cd9a24425', 'project_id': 'cb4450052d4b4dd2928be34cd9a24425', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66185343', 'ctest-vn1-15249597'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 14:18:08,590 - DEBUG - Response for create_subnet : {'subnet': {'id': '92609a7a-1adb-45ce-a742-403c7709751f', 'name': '', 'tenant_id': 'cb4450052d4b4dd2928be34cd9a24425', 'network_id': '5ab81465-99ff-4973-8d50-7f9f203e6887', 'ip_version': 4, 'cidr': '43.214.231.128/26', 'allocation_pools': [{'start': '43.214.231.130', 'end': '43.214.231.190'}], 'gateway_ip': '43.214.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.214.231.130', 'tags': [], 'project_id': 'cb4450052d4b4dd2928be34cd9a24425'}} 2025-08-28 14:18:08,796 - DEBUG - Response for create_subnet : {'subnet': {'id': '64f30317-e5b4-41e8-b361-8085626dd5b2', 'name': '', 'tenant_id': 'cb4450052d4b4dd2928be34cd9a24425', 'network_id': '5ab81465-99ff-4973-8d50-7f9f203e6887', 'ip_version': 4, 'cidr': '166.224.156.64/26', 'allocation_pools': [{'start': '166.224.156.66', 'end': '166.224.156.126'}], 'gateway_ip': '166.224.156.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.224.156.66', 'tags': [], 'project_id': 'cb4450052d4b4dd2928be34cd9a24425'}} 2025-08-28 14:18:08,814 - INFO - Created VN ctest-vn1-15249597 2025-08-28 14:18:08,864 - DEBUG - VN ctest-vn1-15249597 UUID is 5ab81465-99ff-4973-8d50-7f9f203e6887 2025-08-28 14:18:09,148 - DEBUG - Response for create_port : {'port': {'name': 'dc1b61cb-47dd-46d0-a178-eaf952a86b65', 'id': 'dc1b61cb-47dd-46d0-a178-eaf952a86b65', 'tenant_id': 'cb4450052d4b4dd2928be34cd9a24425', 'network_id': '5ab81465-99ff-4973-8d50-7f9f203e6887', 'mac_address': '02:dc:1b:61:cb:47', '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': '43.214.231.133', 'subnet_id': '92609a7a-1adb-45ce-a742-403c7709751f'}], 'security_groups': ['55bac4b6-ef99-43a9-91af-f8e3268d1908'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cb4450052d4b4dd2928be34cd9a24425'}} 2025-08-28 14:18:09,311 - DEBUG - Response for create_port : {'port': {'name': 'd63540d5-2b31-498c-bf74-393f6e7cbe2d', 'id': 'd63540d5-2b31-498c-bf74-393f6e7cbe2d', 'tenant_id': 'cb4450052d4b4dd2928be34cd9a24425', 'network_id': '5ab81465-99ff-4973-8d50-7f9f203e6887', 'mac_address': '02:d6:35:40:d5:2b', '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': '166.224.156.69', 'subnet_id': '64f30317-e5b4-41e8-b361-8085626dd5b2'}], 'security_groups': ['55bac4b6-ef99-43a9-91af-f8e3268d1908'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cb4450052d4b4dd2928be34cd9a24425'}} 2025-08-28 14:18:09,363 - DEBUG - Services list from nova: [, , ] 2025-08-28 14:18:09,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3959-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3959-1) 2025-08-28 14:18:10,029 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3959-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3959-1) 2025-08-28 14:18:10,029 - INFO - Waiting for VM ctest-vn1-vm1-84346379 to be up.. 2025-08-28 14:18:10,065 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 14:18:15,139 - DEBUG - VM is in ACTIVE state now 2025-08-28 14:18:15,139 - INFO - VM name : ctest-vn1-vm1-84346379 2025-08-28 14:18:15,214 - DEBUG - VM ctest-vn1-vm1-84346379 ID is 35cf72d2-ad67-408b-a64f-2fca8f9fb1b8 2025-08-28 14:18:15,233 - DEBUG - VM ctest-vn1-vm1-84346379 launched on Node cn-jenkins-deploy-platform-ansible-os-3959-1 2025-08-28 14:18:15,308 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/35cf72d2-ad67-408b-a64f-2fca8f9fb1b8 2025-08-28 14:18:15,316 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/dc1b61cb-47dd-46d0-a178-eaf952a86b65 2025-08-28 14:18:18,570 - 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 1025ms') 2025-08-28 14:18:18,571 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84346379 failed! 2025-08-28 14:18:18,624 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66185343:ctest-vn1-15249597 is 43.214.231.129 and allocation pool is NOT set 2025-08-28 14:18:18,624 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66185343:ctest-vn1-15249597 is 166.224.156.65 and allocation pool is NOT set 2025-08-28 14:18:22,704 - 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=9.19 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1017ms\r\nrtt min/avg/max/mdev = 9.192/9.192/9.192/0.000 ms') 2025-08-28 14:18:22,704 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84346379 passed 2025-08-28 14:18:22,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 14:18:22,852 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84346379, IP 43.214.231.133, Port 22 2025-08-28 14:18:23,011 - DEBUG - VM ctest-vn1-vm1-84346379 is ready for SSH connections 2025-08-28 14:18:23,011 - INFO - Waiting for VM ctest-vn1-vm2-41411010 to be up.. 2025-08-28 14:18:23,082 - DEBUG - VM is in ACTIVE state now 2025-08-28 14:18:23,082 - INFO - VM name : ctest-vn1-vm2-41411010 2025-08-28 14:18:23,151 - DEBUG - VM ctest-vn1-vm2-41411010 ID is b92058a3-fe62-4267-a86b-663fb2502e23 2025-08-28 14:18:23,151 - DEBUG - VM ctest-vn1-vm2-41411010 launched on Node cn-jenkins-deploy-platform-ansible-os-3959-1 2025-08-28 14:18:23,221 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b92058a3-fe62-4267-a86b-663fb2502e23 2025-08-28 14:18:23,228 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d63540d5-2b31-498c-bf74-393f6e7cbe2d 2025-08-28 14:18:24,462 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.641/2.871/1.230 ms') 2025-08-28 14:18:24,462 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-41411010 passed 2025-08-28 14:18:24,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 14:18:24,628 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41411010, IP 166.224.156.69, Port 22 2025-08-28 14:18:24,783 - DEBUG - VM ctest-vn1-vm2-41411010 is ready for SSH connections 2025-08-28 14:18:24,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 14:18:24,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 14:18:24,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 14:18:24,783 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.214.231.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-28 14:18:24,783 - DEBUG - ping -s 56 -c 3 -W 1 43.214.231.133 2025-08-28 14:18:27,497 - DEBUG - PING 43.214.231.133 (43.214.231.133): 56 data bytes 64 bytes from 43.214.231.133: seq=0 ttl=63 time=3.526 ms 64 bytes from 43.214.231.133: seq=1 ttl=63 time=0.706 ms 64 bytes from 43.214.231.133: seq=2 ttl=63 time=0.790 ms --- 43.214.231.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.706/1.674/3.526 ms 2025-08-28 14:18:27,497 - INFO - Ping to IP 43.214.231.133 from VM ctest-vn1-vm2-41411010 passed 2025-08-28 14:18:27,497 - INFO - Detaching port d63540d5-2b31-498c-bf74-393f6e7cbe2d from VM ctest-vn1-vm2-41411010 2025-08-28 14:18:27,548 - INFO - Deleting VM ctest-vn1-vm2-41411010 2025-08-28 14:18:27,613 - INFO - Detaching port dc1b61cb-47dd-46d0-a178-eaf952a86b65 from VM ctest-vn1-vm1-84346379 2025-08-28 14:18:27,652 - INFO - Deleting VM ctest-vn1-vm1-84346379 2025-08-28 14:18:27,866 - DEBUG - Response for delete_port : () 2025-08-28 14:18:28,020 - DEBUG - Response for delete_port : () 2025-08-28 14:18:28,021 - INFO - Deleting VN ctest-vn1-15249597 2025-08-28 14:18:28,132 - DEBUG - Response for deleting network () 2025-08-28 14:18:28,388 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 14:18:28,388 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-08-28 14:18:28,388 - INFO - -------------------------------------------------------------------------------- 2025-08-28 14:18:29,088 - INFO - Deleted project: ctest-TestPorts-66185343, ID : cb445005-2d4b-4dd2-928b-e34cd9a24425