2025-09-04 22:42:53,858 - INFO - Domain Default found not creating 2025-09-04 22:42:54,010 - INFO - Project ctest-TestPorts-73091613 not found, creating it 2025-09-04 22:42:54,442 - INFO - Created Project:ctest-TestPorts-73091613, ID : b5076d9a-40aa-459f-ade0-81ad3c3087d1 2025-09-04 22:42:55,850 - INFO - ================================================================================ 2025-09-04 22:42:55,850 - INFO - STARTING TEST : test_ports_bindings 2025-09-04 22:42:55,850 - 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-04 22:42:56,115 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-04 22:42:56,116 - INFO - Initial checks done. Running the testcase now 2025-09-04 22:42:56,116 - INFO - 2025-09-04 22:42:56,713 - DEBUG - Response for create_network : {'network': {'id': 'cb2bbf52-abdf-438e-9055-886e50ddd2f8', 'name': 'ctest-vn-95961222', 'tenant_id': 'b5076d9a40aa459fade081ad3c3087d1', 'project_id': 'b5076d9a40aa459fade081ad3c3087d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73091613', 'ctest-vn-95961222'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 22:42:56,873 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ebe7b738-dde6-49f4-ae2c-d23e4fc35769', 'name': '', 'tenant_id': 'b5076d9a40aa459fade081ad3c3087d1', 'network_id': 'cb2bbf52-abdf-438e-9055-886e50ddd2f8', 'ip_version': 4, 'cidr': '129.216.151.64/26', 'allocation_pools': [{'start': '129.216.151.66', 'end': '129.216.151.126'}], 'gateway_ip': '129.216.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.216.151.66', 'tags': [], 'project_id': 'b5076d9a40aa459fade081ad3c3087d1'}} 2025-09-04 22:42:56,891 - INFO - Created VN ctest-vn-95961222 2025-09-04 22:42:56,943 - DEBUG - VN ctest-vn-95961222 UUID is cb2bbf52-abdf-438e-9055-886e50ddd2f8 2025-09-04 22:42:57,048 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-73091613', 'ctest-vmi-53025086']} 2025-09-04 22:42:57,313 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-53025086', 'id': '95113354-a846-4b8d-8417-3edefee904f4', 'tenant_id': 'b5076d9a40aa459fade081ad3c3087d1', 'network_id': 'cb2bbf52-abdf-438e-9055-886e50ddd2f8', 'mac_address': '02:95:11:33:54:a8', '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': '129.216.151.67', 'subnet_id': 'ebe7b738-dde6-49f4-ae2c-d23e4fc35769'}], 'security_groups': ['7e40144d-fbb2-4f3a-bd27-9a14b9887fd0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b5076d9a40aa459fade081ad3c3087d1'}} 2025-09-04 22:42:57,313 - DEBUG - Created port 95113354-a846-4b8d-8417-3edefee904f4 2025-09-04 22:42:57,415 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/95113354-a846-4b8d-8417-3edefee904f4 2025-09-04 22:42:57,712 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/95113354-a846-4b8d-8417-3edefee904f4 2025-09-04 22:42:57,741 - INFO - VMI 95113354-a846-4b8d-8417-3edefee904f4 verification in API Server passed 2025-09-04 22:42:57,834 - DEBUG - Response for delete_port : () 2025-09-04 22:42:57,834 - INFO - Deleted port 95113354-a846-4b8d-8417-3edefee904f4 2025-09-04 22:42:57,834 - INFO - Deleting VN ctest-vn-95961222 2025-09-04 22:42:57,934 - DEBUG - Response for deleting network () 2025-09-04 22:42:58,192 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 22:42:58,192 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-04 22:42:58,192 - INFO - -------------------------------------------------------------------------------- 2025-09-04 22:42:58,194 - INFO - ================================================================================ 2025-09-04 22:42:58,194 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-04 22:42:58,194 - 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-04 22:42:58,484 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-04 22:42:58,484 - INFO - Initial checks done. Running the testcase now 2025-09-04 22:42:58,484 - INFO - 2025-09-04 22:42:58,653 - DEBUG - Response for create_network : {'network': {'id': 'ed63b136-6880-4557-9216-a956c804b1af', 'name': 'ctest-vn1-17958610', 'tenant_id': 'b5076d9a40aa459fade081ad3c3087d1', 'project_id': 'b5076d9a40aa459fade081ad3c3087d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73091613', 'ctest-vn1-17958610'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 22:42:58,830 - DEBUG - Response for create_subnet : {'subnet': {'id': '71c4b294-e6c2-4f17-895c-ffcf7ee5d283', 'name': '', 'tenant_id': 'b5076d9a40aa459fade081ad3c3087d1', 'network_id': 'ed63b136-6880-4557-9216-a956c804b1af', 'ip_version': 4, 'cidr': '167.140.11.192/26', 'allocation_pools': [{'start': '167.140.11.194', 'end': '167.140.11.254'}], 'gateway_ip': '167.140.11.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.140.11.194', 'tags': [], 'project_id': 'b5076d9a40aa459fade081ad3c3087d1'}} 2025-09-04 22:42:59,041 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5938688-d910-4922-bdd7-765d0354bb4a', 'name': '', 'tenant_id': 'b5076d9a40aa459fade081ad3c3087d1', 'network_id': 'ed63b136-6880-4557-9216-a956c804b1af', 'ip_version': 4, 'cidr': '173.50.105.64/26', 'allocation_pools': [{'start': '173.50.105.66', 'end': '173.50.105.126'}], 'gateway_ip': '173.50.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.50.105.66', 'tags': [], 'project_id': 'b5076d9a40aa459fade081ad3c3087d1'}} 2025-09-04 22:42:59,061 - INFO - Created VN ctest-vn1-17958610 2025-09-04 22:42:59,115 - DEBUG - VN ctest-vn1-17958610 UUID is ed63b136-6880-4557-9216-a956c804b1af 2025-09-04 22:42:59,402 - DEBUG - Response for create_port : {'port': {'name': '93382dfc-19af-4292-9d74-fd6d43795e28', 'id': '93382dfc-19af-4292-9d74-fd6d43795e28', 'tenant_id': 'b5076d9a40aa459fade081ad3c3087d1', 'network_id': 'ed63b136-6880-4557-9216-a956c804b1af', 'mac_address': '02:93:38:2d:fc:19', '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': '167.140.11.197', 'subnet_id': '71c4b294-e6c2-4f17-895c-ffcf7ee5d283'}], 'security_groups': ['7e40144d-fbb2-4f3a-bd27-9a14b9887fd0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b5076d9a40aa459fade081ad3c3087d1'}} 2025-09-04 22:42:59,562 - DEBUG - Response for create_port : {'port': {'name': 'f733fbbe-6b0c-4415-9d8f-d8d77eafc2b8', 'id': 'f733fbbe-6b0c-4415-9d8f-d8d77eafc2b8', 'tenant_id': 'b5076d9a40aa459fade081ad3c3087d1', 'network_id': 'ed63b136-6880-4557-9216-a956c804b1af', 'mac_address': '02:f7:33:fb:be:6b', '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': '173.50.105.69', 'subnet_id': 'd5938688-d910-4922-bdd7-765d0354bb4a'}], 'security_groups': ['7e40144d-fbb2-4f3a-bd27-9a14b9887fd0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b5076d9a40aa459fade081ad3c3087d1'}} 2025-09-04 22:42:59,614 - DEBUG - Services list from nova: [, , ] 2025-09-04 22:42:59,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4021-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4021-1) 2025-09-04 22:43:00,315 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4021-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4021-1) 2025-09-04 22:43:00,315 - INFO - Waiting for VM ctest-vn1-vm1-71226878 to be up.. 2025-09-04 22:43:00,358 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 22:43:05,431 - DEBUG - VM is in ACTIVE state now 2025-09-04 22:43:05,431 - INFO - VM name : ctest-vn1-vm1-71226878 2025-09-04 22:43:05,503 - DEBUG - VM ctest-vn1-vm1-71226878 ID is e58c080c-fcd7-4144-8b2d-a4fa558f5751 2025-09-04 22:43:05,520 - DEBUG - VM ctest-vn1-vm1-71226878 launched on Node cn-jenkins-deploy-platform-ansible-os-4021-1 2025-09-04 22:43:05,592 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e58c080c-fcd7-4144-8b2d-a4fa558f5751 2025-09-04 22:43:05,601 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/93382dfc-19af-4292-9d74-fd6d43795e28 2025-09-04 22:43:08,841 - 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 1006ms') 2025-09-04 22:43:08,842 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71226878 failed! 2025-09-04 22:43:08,895 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73091613:ctest-vn1-17958610 is 167.140.11.193 and allocation pool is NOT set 2025-09-04 22:43:08,896 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73091613:ctest-vn1-17958610 is 173.50.105.65 and allocation pool is NOT set 2025-09-04 22:43:12,961 - 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.13 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 9.125/9.125/9.125/0.000 ms') 2025-09-04 22:43:12,961 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71226878 passed 2025-09-04 22:43:13,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 22:43:13,111 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71226878, IP 167.140.11.197, Port 22 2025-09-04 22:43:13,270 - DEBUG - VM ctest-vn1-vm1-71226878 is ready for SSH connections 2025-09-04 22:43:13,271 - INFO - Waiting for VM ctest-vn1-vm2-97976159 to be up.. 2025-09-04 22:43:13,357 - DEBUG - VM is in ACTIVE state now 2025-09-04 22:43:13,357 - INFO - VM name : ctest-vn1-vm2-97976159 2025-09-04 22:43:13,435 - DEBUG - VM ctest-vn1-vm2-97976159 ID is 8b418c31-ee8e-4910-adad-2435efc6716e 2025-09-04 22:43:13,435 - DEBUG - VM ctest-vn1-vm2-97976159 launched on Node cn-jenkins-deploy-platform-ansible-os-4021-1 2025-09-04 22:43:13,513 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8b418c31-ee8e-4910-adad-2435efc6716e 2025-09-04 22:43:13,522 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f733fbbe-6b0c-4415-9d8f-d8d77eafc2b8 2025-09-04 22:43:14,767 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.975 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.975/2.127/3.279/1.152 ms') 2025-09-04 22:43:14,767 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-97976159 passed 2025-09-04 22:43:14,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 22:43:14,915 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-97976159, IP 173.50.105.69, Port 22 2025-09-04 22:43:15,071 - DEBUG - VM ctest-vn1-vm2-97976159 is ready for SSH connections 2025-09-04 22:43:15,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 22:43:15,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 22:43:15,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 22:43:15,071 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.140.11.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-04 22:43:15,071 - DEBUG - ping -s 56 -c 3 -W 1 167.140.11.197 2025-09-04 22:43:17,722 - DEBUG - PING 167.140.11.197 (167.140.11.197): 56 data bytes 64 bytes from 167.140.11.197: seq=0 ttl=63 time=4.423 ms 64 bytes from 167.140.11.197: seq=1 ttl=63 time=1.086 ms 64 bytes from 167.140.11.197: seq=2 ttl=63 time=0.855 ms --- 167.140.11.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.855/2.121/4.423 ms 2025-09-04 22:43:17,722 - INFO - Ping to IP 167.140.11.197 from VM ctest-vn1-vm2-97976159 passed 2025-09-04 22:43:17,722 - INFO - Detaching port f733fbbe-6b0c-4415-9d8f-d8d77eafc2b8 from VM ctest-vn1-vm2-97976159 2025-09-04 22:43:17,770 - INFO - Deleting VM ctest-vn1-vm2-97976159 2025-09-04 22:43:17,836 - INFO - Detaching port 93382dfc-19af-4292-9d74-fd6d43795e28 from VM ctest-vn1-vm1-71226878 2025-09-04 22:43:17,872 - INFO - Deleting VM ctest-vn1-vm1-71226878 2025-09-04 22:43:18,105 - DEBUG - Response for delete_port : () 2025-09-04 22:43:18,262 - DEBUG - Response for delete_port : () 2025-09-04 22:43:18,262 - INFO - Deleting VN ctest-vn1-17958610 2025-09-04 22:43:18,376 - DEBUG - Response for deleting network () 2025-09-04 22:43:18,633 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 22:43:18,633 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-09-04 22:43:18,633 - INFO - -------------------------------------------------------------------------------- 2025-09-04 22:43:19,328 - INFO - Deleted project: ctest-TestPorts-73091613, ID : b5076d9a-40aa-459f-ade0-81ad3c3087d1