2025-10-14 18:13:59,004 - INFO - Domain Default found not creating 2025-10-14 18:13:59,150 - INFO - Project ctest-TestPorts-88015121 not found, creating it 2025-10-14 18:13:59,597 - INFO - Created Project:ctest-TestPorts-88015121, ID : e88d5745-9f6f-4ae7-b6eb-b56e3b9b9a23 2025-10-14 18:14:00,972 - INFO - ================================================================================ 2025-10-14 18:14:00,972 - INFO - STARTING TEST : test_ports_bindings 2025-10-14 18:14:00,973 - 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-14 18:14:01,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-10-14 18:14:01,237 - INFO - Initial checks done. Running the testcase now 2025-10-14 18:14:01,237 - INFO - 2025-10-14 18:14:01,766 - DEBUG - Response for create_network : {'network': {'id': '19b1cffe-4c8d-41cb-a085-20ac7b485949', 'name': 'ctest-vn-80242090', 'tenant_id': 'e88d57459f6f4ae7b6ebb56e3b9b9a23', 'project_id': 'e88d57459f6f4ae7b6ebb56e3b9b9a23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88015121', 'ctest-vn-80242090'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:14:01,971 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b656f5d-d293-495c-bc25-9639ffb1deab', 'name': '', 'tenant_id': 'e88d57459f6f4ae7b6ebb56e3b9b9a23', 'network_id': '19b1cffe-4c8d-41cb-a085-20ac7b485949', 'ip_version': 4, 'cidr': '46.214.122.0/26', 'allocation_pools': [{'start': '46.214.122.2', 'end': '46.214.122.62'}], 'gateway_ip': '46.214.122.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.214.122.2', 'tags': [], 'project_id': 'e88d57459f6f4ae7b6ebb56e3b9b9a23'}} 2025-10-14 18:14:01,987 - INFO - Created VN ctest-vn-80242090 2025-10-14 18:14:02,036 - DEBUG - VN ctest-vn-80242090 UUID is 19b1cffe-4c8d-41cb-a085-20ac7b485949 2025-10-14 18:14:02,138 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-88015121', 'ctest-vmi-60468268']} 2025-10-14 18:14:02,405 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-60468268', 'id': '52fde5a9-c65d-46fe-a29d-d6144b2475c0', 'tenant_id': 'e88d57459f6f4ae7b6ebb56e3b9b9a23', 'network_id': '19b1cffe-4c8d-41cb-a085-20ac7b485949', 'mac_address': '02:52:fd:e5:a9:c6', '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': '46.214.122.3', 'subnet_id': '9b656f5d-d293-495c-bc25-9639ffb1deab'}], 'security_groups': ['e2f60a78-c4ac-4915-a335-e65ec450c1f3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e88d57459f6f4ae7b6ebb56e3b9b9a23'}} 2025-10-14 18:14:02,405 - DEBUG - Created port 52fde5a9-c65d-46fe-a29d-d6144b2475c0 2025-10-14 18:14:02,508 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/52fde5a9-c65d-46fe-a29d-d6144b2475c0 2025-10-14 18:14:02,800 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/52fde5a9-c65d-46fe-a29d-d6144b2475c0 2025-10-14 18:14:02,828 - INFO - VMI 52fde5a9-c65d-46fe-a29d-d6144b2475c0 verification in API Server passed 2025-10-14 18:14:02,905 - DEBUG - Response for delete_port : () 2025-10-14 18:14:02,905 - INFO - Deleted port 52fde5a9-c65d-46fe-a29d-d6144b2475c0 2025-10-14 18:14:02,905 - INFO - Deleting VN ctest-vn-80242090 2025-10-14 18:14:03,004 - DEBUG - Response for deleting network () 2025-10-14 18:14:03,257 - DEBUG - No XMPP flaps were noticed during the test 2025-10-14 18:14:03,257 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-14 18:14:03,257 - INFO - -------------------------------------------------------------------------------- 2025-10-14 18:14:03,260 - INFO - ================================================================================ 2025-10-14 18:14:03,261 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-14 18:14:03,261 - 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-14 18:14:03,549 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-10-14 18:14:03,549 - INFO - Initial checks done. Running the testcase now 2025-10-14 18:14:03,549 - INFO - 2025-10-14 18:14:03,715 - DEBUG - Response for create_network : {'network': {'id': 'ecf81acc-8166-402d-bfc5-ea61cc329749', 'name': 'ctest-vn1-61348448', 'tenant_id': 'e88d57459f6f4ae7b6ebb56e3b9b9a23', 'project_id': 'e88d57459f6f4ae7b6ebb56e3b9b9a23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88015121', 'ctest-vn1-61348448'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 18:14:03,863 - DEBUG - Response for create_subnet : {'subnet': {'id': '355c14cc-bd03-466b-8872-96197c2de606', 'name': '', 'tenant_id': 'e88d57459f6f4ae7b6ebb56e3b9b9a23', 'network_id': 'ecf81acc-8166-402d-bfc5-ea61cc329749', 'ip_version': 4, 'cidr': '66.243.245.192/26', 'allocation_pools': [{'start': '66.243.245.194', 'end': '66.243.245.254'}], 'gateway_ip': '66.243.245.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.243.245.194', 'tags': [], 'project_id': 'e88d57459f6f4ae7b6ebb56e3b9b9a23'}} 2025-10-14 18:14:04,048 - DEBUG - Response for create_subnet : {'subnet': {'id': '682e8ca8-e0c6-4657-8452-c84ea4775ba4', 'name': '', 'tenant_id': 'e88d57459f6f4ae7b6ebb56e3b9b9a23', 'network_id': 'ecf81acc-8166-402d-bfc5-ea61cc329749', 'ip_version': 4, 'cidr': '77.253.63.64/26', 'allocation_pools': [{'start': '77.253.63.66', 'end': '77.253.63.126'}], 'gateway_ip': '77.253.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.253.63.66', 'tags': [], 'project_id': 'e88d57459f6f4ae7b6ebb56e3b9b9a23'}} 2025-10-14 18:14:04,066 - INFO - Created VN ctest-vn1-61348448 2025-10-14 18:14:04,116 - DEBUG - VN ctest-vn1-61348448 UUID is ecf81acc-8166-402d-bfc5-ea61cc329749 2025-10-14 18:14:04,429 - DEBUG - Response for create_port : {'port': {'name': '68053c05-dc93-4171-bf87-90bf2594e19e', 'id': '68053c05-dc93-4171-bf87-90bf2594e19e', 'tenant_id': 'e88d57459f6f4ae7b6ebb56e3b9b9a23', 'network_id': 'ecf81acc-8166-402d-bfc5-ea61cc329749', 'mac_address': '02:68:05:3c:05:dc', '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': '66.243.245.197', 'subnet_id': '355c14cc-bd03-466b-8872-96197c2de606'}], 'security_groups': ['e2f60a78-c4ac-4915-a335-e65ec450c1f3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e88d57459f6f4ae7b6ebb56e3b9b9a23'}} 2025-10-14 18:14:04,597 - DEBUG - Response for create_port : {'port': {'name': 'b945be24-a999-4115-9590-d3672265068b', 'id': 'b945be24-a999-4115-9590-d3672265068b', 'tenant_id': 'e88d57459f6f4ae7b6ebb56e3b9b9a23', 'network_id': 'ecf81acc-8166-402d-bfc5-ea61cc329749', 'mac_address': '02:b9:45:be:24:a9', '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': '77.253.63.69', 'subnet_id': '682e8ca8-e0c6-4657-8452-c84ea4775ba4'}], 'security_groups': ['e2f60a78-c4ac-4915-a335-e65ec450c1f3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e88d57459f6f4ae7b6ebb56e3b9b9a23'}} 2025-10-14 18:14:04,657 - DEBUG - Services list from nova: [, , ] 2025-10-14 18:14:04,998 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4317-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4317-1) 2025-10-14 18:14:05,382 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4317-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4317-1) 2025-10-14 18:14:05,382 - INFO - Waiting for VM ctest-vn1-vm1-86845435 to be up.. 2025-10-14 18:14:05,421 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-14 18:14:10,491 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:14:10,491 - INFO - VM name : ctest-vn1-vm1-86845435 2025-10-14 18:14:10,563 - DEBUG - VM ctest-vn1-vm1-86845435 ID is 5e17c56f-3af1-425f-b131-0920c2278acd 2025-10-14 18:14:10,581 - DEBUG - VM ctest-vn1-vm1-86845435 launched on Node cn-jenkins-deploy-platform-ansible-os-4317-1 2025-10-14 18:14:10,657 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5e17c56f-3af1-425f-b131-0920c2278acd 2025-10-14 18:14:10,665 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/68053c05-dc93-4171-bf87-90bf2594e19e 2025-10-14 18:14:13,937 - 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 1031ms') 2025-10-14 18:14:13,937 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86845435 failed! 2025-10-14 18:14:13,992 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88015121:ctest-vn1-61348448 is 66.243.245.193 and allocation pool is NOT set 2025-10-14 18:14:13,992 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88015121:ctest-vn1-61348448 is 77.253.63.65 and allocation pool is NOT set 2025-10-14 18:14:16,056 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.48 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 = 2.479/2.791/3.103/0.312 ms') 2025-10-14 18:14:16,056 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86845435 passed 2025-10-14 18:14:16,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:14:16,209 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86845435, IP 66.243.245.197, Port 22 2025-10-14 18:14:16,368 - DEBUG - VM ctest-vn1-vm1-86845435 is ready for SSH connections 2025-10-14 18:14:16,368 - INFO - Waiting for VM ctest-vn1-vm2-10193768 to be up.. 2025-10-14 18:14:16,440 - DEBUG - VM is in ACTIVE state now 2025-10-14 18:14:16,440 - INFO - VM name : ctest-vn1-vm2-10193768 2025-10-14 18:14:16,507 - DEBUG - VM ctest-vn1-vm2-10193768 ID is 1af9b566-bf5f-4922-8270-e98d166cb639 2025-10-14 18:14:16,507 - DEBUG - VM ctest-vn1-vm2-10193768 launched on Node cn-jenkins-deploy-platform-ansible-os-4317-1 2025-10-14 18:14:16,578 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1af9b566-bf5f-4922-8270-e98d166cb639 2025-10-14 18:14:16,586 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b945be24-a999-4115-9590-d3672265068b 2025-10-14 18:14:17,840 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.74 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.737/2.761/3.785/1.024 ms') 2025-10-14 18:14:17,840 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-10193768 passed 2025-10-14 18:14:17,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:14:17,992 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-10193768, IP 77.253.63.69, Port 22 2025-10-14 18:14:18,152 - DEBUG - VM ctest-vn1-vm2-10193768 is ready for SSH connections 2025-10-14 18:14:18,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:14:18,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:14:18,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 18:14:18,153 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.243.245.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-14 18:14:18,153 - DEBUG - ping -s 56 -c 3 -W 1 66.243.245.197 2025-10-14 18:14:20,810 - DEBUG - PING 66.243.245.197 (66.243.245.197): 56 data bytes 64 bytes from 66.243.245.197: seq=0 ttl=63 time=3.974 ms 64 bytes from 66.243.245.197: seq=1 ttl=63 time=0.748 ms 64 bytes from 66.243.245.197: seq=2 ttl=63 time=0.805 ms --- 66.243.245.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.748/1.842/3.974 ms 2025-10-14 18:14:20,810 - INFO - Ping to IP 66.243.245.197 from VM ctest-vn1-vm2-10193768 passed 2025-10-14 18:14:20,810 - INFO - Detaching port b945be24-a999-4115-9590-d3672265068b from VM ctest-vn1-vm2-10193768 2025-10-14 18:14:20,855 - INFO - Deleting VM ctest-vn1-vm2-10193768 2025-10-14 18:14:20,922 - INFO - Detaching port 68053c05-dc93-4171-bf87-90bf2594e19e from VM ctest-vn1-vm1-86845435 2025-10-14 18:14:20,955 - INFO - Deleting VM ctest-vn1-vm1-86845435 2025-10-14 18:14:21,173 - DEBUG - Response for delete_port : () 2025-10-14 18:14:21,332 - DEBUG - Response for delete_port : () 2025-10-14 18:14:21,332 - INFO - Deleting VN ctest-vn1-61348448 2025-10-14 18:14:21,508 - DEBUG - Response for deleting network () 2025-10-14 18:14:21,773 - DEBUG - No XMPP flaps were noticed during the test 2025-10-14 18:14:21,773 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-10-14 18:14:21,773 - INFO - -------------------------------------------------------------------------------- 2025-10-14 18:14:22,423 - INFO - Deleted project: ctest-TestPorts-88015121, ID : e88d5745-9f6f-4ae7-b6eb-b56e3b9b9a23