2025-12-15 02:31:04,970 - INFO - Domain Default found not creating 2025-12-15 02:31:05,113 - INFO - Project ctest-TestPorts-97323419 not found, creating it 2025-12-15 02:31:05,670 - INFO - Created Project:ctest-TestPorts-97323419, ID : cbac8f3c-af3e-4ff3-a5c1-18fb6b9efa5c 2025-12-15 02:31:07,141 - INFO - ================================================================================ 2025-12-15 02:31:07,142 - INFO - STARTING TEST : test_ports_bindings 2025-12-15 02:31:07,142 - 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-12-15 02:31:08,424 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0', '10.20.0.129': '0'}, '10.0.0.27': {'10.20.0.254': '0', '10.20.0.18': '0'}} with 2025-12-15 02:31:08,424 - INFO - Initial checks done. Running the testcase now 2025-12-15 02:31:08,424 - INFO - 2025-12-15 02:31:09,208 - DEBUG - Response for create_network : {'network': {'id': 'ef7e0288-cb4f-4725-bff2-e7f08f748de2', 'name': 'ctest-vn-95417234', 'tenant_id': 'cbac8f3caf3e4ff3a5c118fb6b9efa5c', 'project_id': 'cbac8f3caf3e4ff3a5c118fb6b9efa5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-97323419', 'ctest-vn-95417234'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:31:09,594 - DEBUG - Response for create_subnet : {'subnet': {'id': '78344ea3-df26-443d-a4e6-4e2af9040614', 'name': '', 'tenant_id': 'cbac8f3caf3e4ff3a5c118fb6b9efa5c', 'network_id': 'ef7e0288-cb4f-4725-bff2-e7f08f748de2', 'ip_version': 4, 'cidr': '5.144.56.64/26', 'allocation_pools': [{'start': '5.144.56.66', 'end': '5.144.56.126'}], 'gateway_ip': '5.144.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.144.56.66', 'tags': [], 'project_id': 'cbac8f3caf3e4ff3a5c118fb6b9efa5c'}} 2025-12-15 02:31:09,624 - INFO - Created VN ctest-vn-95417234 2025-12-15 02:31:09,635 - DEBUG - VN ctest-vn-95417234 UUID is ef7e0288-cb4f-4725-bff2-e7f08f748de2 2025-12-15 02:31:09,717 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-97323419', 'ctest-vmi-84697062']} 2025-12-15 02:31:10,072 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-84697062', 'id': '3ae0ecbc-440e-45ea-8705-3551d3efbef7', 'tenant_id': 'cbac8f3caf3e4ff3a5c118fb6b9efa5c', 'network_id': 'ef7e0288-cb4f-4725-bff2-e7f08f748de2', 'mac_address': '02:3a:e0:ec:bc:44', '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': '5.144.56.67', 'subnet_id': '78344ea3-df26-443d-a4e6-4e2af9040614'}], 'security_groups': ['fa7c060c-a484-495b-a4e9-c6179cea3b57'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cbac8f3caf3e4ff3a5c118fb6b9efa5c'}} 2025-12-15 02:31:10,072 - DEBUG - Created port 3ae0ecbc-440e-45ea-8705-3551d3efbef7 2025-12-15 02:31:10,183 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/3ae0ecbc-440e-45ea-8705-3551d3efbef7 2025-12-15 02:31:10,473 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/3ae0ecbc-440e-45ea-8705-3551d3efbef7 2025-12-15 02:31:10,505 - INFO - VMI 3ae0ecbc-440e-45ea-8705-3551d3efbef7 verification in API Server passed 2025-12-15 02:31:10,676 - DEBUG - Response for delete_port : () 2025-12-15 02:31:10,676 - INFO - Deleted port 3ae0ecbc-440e-45ea-8705-3551d3efbef7 2025-12-15 02:31:10,677 - INFO - Deleting VN ctest-vn-95417234 2025-12-15 02:31:10,829 - DEBUG - Response for deleting network () 2025-12-15 02:31:12,103 - DEBUG - No XMPP flaps were noticed during the test 2025-12-15 02:31:12,103 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05] 2025-12-15 02:31:12,104 - INFO - -------------------------------------------------------------------------------- 2025-12-15 02:31:12,106 - INFO - ================================================================================ 2025-12-15 02:31:12,106 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-15 02:31:12,106 - 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-12-15 02:31:13,392 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0', '10.20.0.129': '0'}, '10.0.0.27': {'10.20.0.254': '0', '10.20.0.18': '0'}} with 2025-12-15 02:31:13,392 - INFO - Initial checks done. Running the testcase now 2025-12-15 02:31:13,392 - INFO - 2025-12-15 02:31:13,655 - DEBUG - Response for create_network : {'network': {'id': '1a7e9169-a710-4fd6-8a70-625058a1143e', 'name': 'ctest-vn1-99631556', 'tenant_id': 'cbac8f3caf3e4ff3a5c118fb6b9efa5c', 'project_id': 'cbac8f3caf3e4ff3a5c118fb6b9efa5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-97323419', 'ctest-vn1-99631556'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:31:13,894 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e73c3b8f-3865-4e05-b75c-116535369bf5', 'name': '', 'tenant_id': 'cbac8f3caf3e4ff3a5c118fb6b9efa5c', 'network_id': '1a7e9169-a710-4fd6-8a70-625058a1143e', 'ip_version': 4, 'cidr': '32.204.208.192/26', 'allocation_pools': [{'start': '32.204.208.194', 'end': '32.204.208.254'}], 'gateway_ip': '32.204.208.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.204.208.194', 'tags': [], 'project_id': 'cbac8f3caf3e4ff3a5c118fb6b9efa5c'}} 2025-12-15 02:31:14,129 - DEBUG - Response for create_subnet : {'subnet': {'id': '724ce84e-e7fb-4c22-a389-b9130a0aa1c8', 'name': '', 'tenant_id': 'cbac8f3caf3e4ff3a5c118fb6b9efa5c', 'network_id': '1a7e9169-a710-4fd6-8a70-625058a1143e', 'ip_version': 4, 'cidr': '167.153.16.192/26', 'allocation_pools': [{'start': '167.153.16.194', 'end': '167.153.16.254'}], 'gateway_ip': '167.153.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.153.16.194', 'tags': [], 'project_id': 'cbac8f3caf3e4ff3a5c118fb6b9efa5c'}} 2025-12-15 02:31:14,165 - INFO - Created VN ctest-vn1-99631556 2025-12-15 02:31:14,183 - DEBUG - VN ctest-vn1-99631556 UUID is 1a7e9169-a710-4fd6-8a70-625058a1143e 2025-12-15 02:31:14,628 - DEBUG - Response for create_port : {'port': {'name': 'ac58d143-7273-4d13-8a8f-ad1f705acd63', 'id': 'ac58d143-7273-4d13-8a8f-ad1f705acd63', 'tenant_id': 'cbac8f3caf3e4ff3a5c118fb6b9efa5c', 'network_id': '1a7e9169-a710-4fd6-8a70-625058a1143e', 'mac_address': '02:ac:58:d1:43:72', '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': '32.204.208.197', 'subnet_id': 'e73c3b8f-3865-4e05-b75c-116535369bf5'}], 'security_groups': ['fa7c060c-a484-495b-a4e9-c6179cea3b57'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cbac8f3caf3e4ff3a5c118fb6b9efa5c'}} 2025-12-15 02:31:14,922 - DEBUG - Response for create_port : {'port': {'name': '0181394b-26a5-4c44-b7b3-5ca0841a44e5', 'id': '0181394b-26a5-4c44-b7b3-5ca0841a44e5', 'tenant_id': 'cbac8f3caf3e4ff3a5c118fb6b9efa5c', 'network_id': '1a7e9169-a710-4fd6-8a70-625058a1143e', 'mac_address': '02:01:81:39:4b:26', '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.153.16.197', 'subnet_id': '724ce84e-e7fb-4c22-a389-b9130a0aa1c8'}], 'security_groups': ['fa7c060c-a484-495b-a4e9-c6179cea3b57'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cbac8f3caf3e4ff3a5c118fb6b9efa5c'}} 2025-12-15 02:31:14,985 - DEBUG - Services list from nova: [, , , ] 2025-12-15 02:31:15,550 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4894-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4894-2) 2025-12-15 02:31:16,022 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4894-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4894-1) 2025-12-15 02:31:16,022 - INFO - Waiting for VM ctest-vn1-vm1-10207101 to be up.. 2025-12-15 02:31:16,077 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-15 02:31:21,171 - DEBUG - VM is in ACTIVE state now 2025-12-15 02:31:21,171 - INFO - VM name : ctest-vn1-vm1-10207101 2025-12-15 02:31:21,264 - DEBUG - VM ctest-vn1-vm1-10207101 ID is 407e4e94-5fc2-4c48-86a3-55047a06a4af 2025-12-15 02:31:21,292 - DEBUG - VM ctest-vn1-vm1-10207101 launched on Node an-jenkins-deploy-platform-ansible-os-4894-2 2025-12-15 02:31:21,370 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/407e4e94-5fc2-4c48-86a3-55047a06a4af 2025-12-15 02:31:21,666 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/407e4e94-5fc2-4c48-86a3-55047a06a4af 2025-12-15 02:31:21,703 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/ac58d143-7273-4d13-8a8f-ad1f705acd63 2025-12-15 02:31:24,887 - 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 1022ms') 2025-12-15 02:31:24,887 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10207101 failed! 2025-12-15 02:31:24,901 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-97323419:ctest-vn1-99631556 is 32.204.208.193 and allocation pool is NOT set 2025-12-15 02:31:24,901 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-97323419:ctest-vn1-99631556 is 167.153.16.193 and allocation pool is NOT set 2025-12-15 02:31:26,970 - 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=12.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.76 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 = 3.763/8.269/12.775/4.506 ms') 2025-12-15 02:31:26,970 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10207101 passed 2025-12-15 02:31:27,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:31:27,040 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10207101, IP 32.204.208.197, Port 22 2025-12-15 02:31:27,198 - DEBUG - VM ctest-vn1-vm1-10207101 is ready for SSH connections 2025-12-15 02:31:27,198 - INFO - Waiting for VM ctest-vn1-vm2-73894689 to be up.. 2025-12-15 02:31:27,291 - DEBUG - VM is in ACTIVE state now 2025-12-15 02:31:27,291 - INFO - VM name : ctest-vn1-vm2-73894689 2025-12-15 02:31:27,399 - DEBUG - VM ctest-vn1-vm2-73894689 ID is 733753bc-8706-48a1-a0c4-49fa912bbdbb 2025-12-15 02:31:27,399 - DEBUG - VM ctest-vn1-vm2-73894689 launched on Node an-jenkins-deploy-platform-ansible-os-4894-1 2025-12-15 02:31:27,484 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/733753bc-8706-48a1-a0c4-49fa912bbdbb 2025-12-15 02:31:27,496 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/0181394b-26a5-4c44-b7b3-5ca0841a44e5 2025-12-15 02:31:28,670 - 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=5.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 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 = 1.035/3.268/5.502/2.233 ms') 2025-12-15 02:31:28,670 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-73894689 passed 2025-12-15 02:31:28,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:31:28,740 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-73894689, IP 167.153.16.197, Port 22 2025-12-15 02:31:28,903 - DEBUG - VM ctest-vn1-vm2-73894689 is ready for SSH connections 2025-12-15 02:31:28,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:31:28,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:31:28,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:31:28,904 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.204.208.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-15 02:31:28,904 - DEBUG - ping -s 56 -c 3 -W 1 32.204.208.197 2025-12-15 02:31:31,841 - DEBUG - PING 32.204.208.197 (32.204.208.197): 56 data bytes 64 bytes from 32.204.208.197: seq=0 ttl=63 time=5.252 ms 64 bytes from 32.204.208.197: seq=1 ttl=63 time=1.710 ms 64 bytes from 32.204.208.197: seq=2 ttl=63 time=1.422 ms --- 32.204.208.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.422/2.794/5.252 ms 2025-12-15 02:31:31,841 - INFO - Ping to IP 32.204.208.197 from VM ctest-vn1-vm2-73894689 passed 2025-12-15 02:31:31,841 - INFO - Detaching port 0181394b-26a5-4c44-b7b3-5ca0841a44e5 from VM ctest-vn1-vm2-73894689 2025-12-15 02:31:31,897 - INFO - Deleting VM ctest-vn1-vm2-73894689 2025-12-15 02:31:31,968 - INFO - Detaching port ac58d143-7273-4d13-8a8f-ad1f705acd63 from VM ctest-vn1-vm1-10207101 2025-12-15 02:31:32,005 - INFO - Deleting VM ctest-vn1-vm1-10207101 2025-12-15 02:31:32,331 - DEBUG - Response for delete_port : () 2025-12-15 02:31:32,602 - DEBUG - Response for delete_port : () 2025-12-15 02:31:32,603 - INFO - Deleting VN ctest-vn1-99631556 2025-12-15 02:31:32,829 - DEBUG - Response for deleting network () 2025-12-15 02:31:34,130 - DEBUG - No XMPP flaps were noticed during the test 2025-12-15 02:31:34,130 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-12-15 02:31:34,130 - INFO - -------------------------------------------------------------------------------- 2025-12-15 02:31:34,839 - INFO - Deleted project: ctest-TestPorts-97323419, ID : cbac8f3c-af3e-4ff3-a5c1-18fb6b9efa5c