2025-08-11 06:17:22,284 - INFO - Domain Default found not creating 2025-08-11 06:17:22,426 - INFO - Project ctest-TestPorts-98273954 not found, creating it 2025-08-11 06:17:22,960 - INFO - Created Project:ctest-TestPorts-98273954, ID : 5c85ae6d-bf7e-424e-ba49-67055c2cbbf4 2025-08-11 06:17:24,321 - INFO - ================================================================================ 2025-08-11 06:17:24,322 - INFO - STARTING TEST : test_ports_bindings 2025-08-11 06:17:24,322 - 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-11 06:17:25,573 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.57': {'10.20.0.17': '0', '10.20.0.254': '0'}} with 2025-08-11 06:17:25,573 - INFO - Initial checks done. Running the testcase now 2025-08-11 06:17:25,573 - INFO - 2025-08-11 06:17:26,195 - DEBUG - Response for create_network : {'network': {'id': 'bcfb8c90-ba2f-4ae8-8f92-81b254d6d008', 'name': 'ctest-vn-51542475', 'tenant_id': '5c85ae6dbf7e424eba4967055c2cbbf4', 'project_id': '5c85ae6dbf7e424eba4967055c2cbbf4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-98273954', 'ctest-vn-51542475'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 06:17:26,481 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd97fb0c-149a-4767-a72e-87e5434964df', 'name': '', 'tenant_id': '5c85ae6dbf7e424eba4967055c2cbbf4', 'network_id': 'bcfb8c90-ba2f-4ae8-8f92-81b254d6d008', 'ip_version': 4, 'cidr': '187.194.11.0/26', 'allocation_pools': [{'start': '187.194.11.2', 'end': '187.194.11.62'}], 'gateway_ip': '187.194.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.194.11.2', 'tags': [], 'project_id': '5c85ae6dbf7e424eba4967055c2cbbf4'}} 2025-08-11 06:17:26,502 - INFO - Created VN ctest-vn-51542475 2025-08-11 06:17:26,514 - DEBUG - VN ctest-vn-51542475 UUID is bcfb8c90-ba2f-4ae8-8f92-81b254d6d008 2025-08-11 06:17:26,583 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-98273954', 'ctest-vmi-66497252']} 2025-08-11 06:17:26,858 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-66497252', 'id': '4ad1f2aa-57ec-4868-8998-fc1eb081e9af', 'tenant_id': '5c85ae6dbf7e424eba4967055c2cbbf4', 'network_id': 'bcfb8c90-ba2f-4ae8-8f92-81b254d6d008', 'mac_address': '02:4a:d1:f2:aa:57', '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': '187.194.11.3', 'subnet_id': 'dd97fb0c-149a-4767-a72e-87e5434964df'}], 'security_groups': ['a83bef0d-2ac2-41b7-bf1c-7c0866c77c15'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5c85ae6dbf7e424eba4967055c2cbbf4'}} 2025-08-11 06:17:26,859 - DEBUG - Created port 4ad1f2aa-57ec-4868-8998-fc1eb081e9af 2025-08-11 06:17:26,936 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4ad1f2aa-57ec-4868-8998-fc1eb081e9af 2025-08-11 06:17:27,240 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4ad1f2aa-57ec-4868-8998-fc1eb081e9af 2025-08-11 06:17:27,274 - INFO - VMI 4ad1f2aa-57ec-4868-8998-fc1eb081e9af verification in API Server passed 2025-08-11 06:17:27,416 - DEBUG - Response for delete_port : () 2025-08-11 06:17:27,416 - INFO - Deleted port 4ad1f2aa-57ec-4868-8998-fc1eb081e9af 2025-08-11 06:17:27,416 - INFO - Deleting VN ctest-vn-51542475 2025-08-11 06:17:27,567 - DEBUG - Response for deleting network () 2025-08-11 06:17:28,824 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 06:17:28,825 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04] 2025-08-11 06:17:28,825 - INFO - -------------------------------------------------------------------------------- 2025-08-11 06:17:28,829 - INFO - ================================================================================ 2025-08-11 06:17:28,829 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-11 06:17:28,829 - 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-11 06:17:30,077 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.57': {'10.20.0.17': '0', '10.20.0.254': '0'}} with 2025-08-11 06:17:30,077 - INFO - Initial checks done. Running the testcase now 2025-08-11 06:17:30,077 - INFO - 2025-08-11 06:17:30,355 - DEBUG - Response for create_network : {'network': {'id': '7c41c6e4-ff30-4e84-9260-1cd623470207', 'name': 'ctest-vn1-82285302', 'tenant_id': '5c85ae6dbf7e424eba4967055c2cbbf4', 'project_id': '5c85ae6dbf7e424eba4967055c2cbbf4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-98273954', 'ctest-vn1-82285302'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 06:17:30,604 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef20800f-20c4-457d-80a4-6937a71afbb6', 'name': '', 'tenant_id': '5c85ae6dbf7e424eba4967055c2cbbf4', 'network_id': '7c41c6e4-ff30-4e84-9260-1cd623470207', 'ip_version': 4, 'cidr': '9.98.47.128/26', 'allocation_pools': [{'start': '9.98.47.130', 'end': '9.98.47.190'}], 'gateway_ip': '9.98.47.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.98.47.130', 'tags': [], 'project_id': '5c85ae6dbf7e424eba4967055c2cbbf4'}} 2025-08-11 06:17:30,812 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f28b93d-3fc7-4b23-8a0e-e5a87c0c779f', 'name': '', 'tenant_id': '5c85ae6dbf7e424eba4967055c2cbbf4', 'network_id': '7c41c6e4-ff30-4e84-9260-1cd623470207', 'ip_version': 4, 'cidr': '190.234.223.64/26', 'allocation_pools': [{'start': '190.234.223.66', 'end': '190.234.223.126'}], 'gateway_ip': '190.234.223.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.234.223.66', 'tags': [], 'project_id': '5c85ae6dbf7e424eba4967055c2cbbf4'}} 2025-08-11 06:17:30,833 - INFO - Created VN ctest-vn1-82285302 2025-08-11 06:17:30,846 - DEBUG - VN ctest-vn1-82285302 UUID is 7c41c6e4-ff30-4e84-9260-1cd623470207 2025-08-11 06:17:31,203 - DEBUG - Response for create_port : {'port': {'name': '67b06c1a-b6f5-4537-82ab-6bb7b960151d', 'id': '67b06c1a-b6f5-4537-82ab-6bb7b960151d', 'tenant_id': '5c85ae6dbf7e424eba4967055c2cbbf4', 'network_id': '7c41c6e4-ff30-4e84-9260-1cd623470207', 'mac_address': '02:67:b0:6c:1a:b6', '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': '9.98.47.133', 'subnet_id': 'ef20800f-20c4-457d-80a4-6937a71afbb6'}], 'security_groups': ['a83bef0d-2ac2-41b7-bf1c-7c0866c77c15'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5c85ae6dbf7e424eba4967055c2cbbf4'}} 2025-08-11 06:17:31,447 - DEBUG - Response for create_port : {'port': {'name': 'a1cb294e-7787-431a-aefd-1587421c78d8', 'id': 'a1cb294e-7787-431a-aefd-1587421c78d8', 'tenant_id': '5c85ae6dbf7e424eba4967055c2cbbf4', 'network_id': '7c41c6e4-ff30-4e84-9260-1cd623470207', 'mac_address': '02:a1:cb:29:4e:77', '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': '190.234.223.69', 'subnet_id': '5f28b93d-3fc7-4b23-8a0e-e5a87c0c779f'}], 'security_groups': ['a83bef0d-2ac2-41b7-bf1c-7c0866c77c15'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5c85ae6dbf7e424eba4967055c2cbbf4'}} 2025-08-11 06:17:31,503 - DEBUG - Services list from nova: [, , , ] 2025-08-11 06:17:31,937 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3798-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3798-2) 2025-08-11 06:17:32,469 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3798-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3798-1) 2025-08-11 06:17:32,469 - INFO - Waiting for VM ctest-vn1-vm1-72291662 to be up.. 2025-08-11 06:17:32,512 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 06:17:37,584 - DEBUG - VM is in ACTIVE state now 2025-08-11 06:17:37,584 - INFO - VM name : ctest-vn1-vm1-72291662 2025-08-11 06:17:37,656 - DEBUG - VM ctest-vn1-vm1-72291662 ID is f8600680-c02d-4f86-b27f-9012a831ea24 2025-08-11 06:17:37,679 - DEBUG - VM ctest-vn1-vm1-72291662 launched on Node an-jenkins-deploy-platform-ansible-os-3798-2 2025-08-11 06:17:37,771 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f8600680-c02d-4f86-b27f-9012a831ea24 2025-08-11 06:17:38,071 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f8600680-c02d-4f86-b27f-9012a831ea24 2025-08-11 06:17:38,377 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/67b06c1a-b6f5-4537-82ab-6bb7b960151d 2025-08-11 06:17:41,628 - 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 1030ms') 2025-08-11 06:17:41,628 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72291662 failed! 2025-08-11 06:17:41,641 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-98273954:ctest-vn1-82285302 is 9.98.47.129 and allocation pool is NOT set 2025-08-11 06:17:41,641 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-98273954:ctest-vn1-82285302 is 190.234.223.65 and allocation pool is NOT set 2025-08-11 06:17:43,707 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.868 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.868/2.115/3.363/1.247 ms') 2025-08-11 06:17:43,707 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72291662 passed 2025-08-11 06:17:43,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:17:43,817 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72291662, IP 9.98.47.133, Port 22 2025-08-11 06:17:43,972 - DEBUG - VM ctest-vn1-vm1-72291662 is ready for SSH connections 2025-08-11 06:17:43,972 - INFO - Waiting for VM ctest-vn1-vm2-34341921 to be up.. 2025-08-11 06:17:44,072 - DEBUG - VM is in ACTIVE state now 2025-08-11 06:17:44,072 - INFO - VM name : ctest-vn1-vm2-34341921 2025-08-11 06:17:44,178 - DEBUG - VM ctest-vn1-vm2-34341921 ID is b8d152c2-79ff-4aaf-a2cd-2362bd65b67b 2025-08-11 06:17:44,178 - DEBUG - VM ctest-vn1-vm2-34341921 launched on Node an-jenkins-deploy-platform-ansible-os-3798-1 2025-08-11 06:17:44,266 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b8d152c2-79ff-4aaf-a2cd-2362bd65b67b 2025-08-11 06:17:44,279 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a1cb294e-7787-431a-aefd-1587421c78d8 2025-08-11 06:17:45,489 - 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=2.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.378 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.378/1.633/2.888/1.255 ms') 2025-08-11 06:17:45,489 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-34341921 passed 2025-08-11 06:17:45,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:17:45,601 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-34341921, IP 190.234.223.69, Port 22 2025-08-11 06:17:45,769 - DEBUG - VM ctest-vn1-vm2-34341921 is ready for SSH connections 2025-08-11 06:17:45,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:17:45,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:17:45,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:17:45,769 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.98.47.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-11 06:17:45,769 - DEBUG - ping -s 56 -c 3 -W 1 9.98.47.133 2025-08-11 06:17:48,635 - DEBUG - PING 9.98.47.133 (9.98.47.133): 56 data bytes 64 bytes from 9.98.47.133: seq=0 ttl=63 time=5.567 ms 64 bytes from 9.98.47.133: seq=1 ttl=63 time=1.212 ms 64 bytes from 9.98.47.133: seq=2 ttl=63 time=1.110 ms --- 9.98.47.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.110/2.629/5.567 ms 2025-08-11 06:17:48,635 - INFO - Ping to IP 9.98.47.133 from VM ctest-vn1-vm2-34341921 passed 2025-08-11 06:17:48,636 - INFO - Detaching port a1cb294e-7787-431a-aefd-1587421c78d8 from VM ctest-vn1-vm2-34341921 2025-08-11 06:17:48,689 - INFO - Deleting VM ctest-vn1-vm2-34341921 2025-08-11 06:17:48,758 - INFO - Detaching port 67b06c1a-b6f5-4537-82ab-6bb7b960151d from VM ctest-vn1-vm1-72291662 2025-08-11 06:17:48,798 - INFO - Deleting VM ctest-vn1-vm1-72291662 2025-08-11 06:17:49,098 - DEBUG - Response for delete_port : () 2025-08-11 06:17:49,336 - DEBUG - Response for delete_port : () 2025-08-11 06:17:49,336 - INFO - Deleting VN ctest-vn1-82285302 2025-08-11 06:17:49,511 - DEBUG - Response for deleting network () 2025-08-11 06:17:50,769 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 06:17:50,769 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-08-11 06:17:50,769 - INFO - -------------------------------------------------------------------------------- 2025-08-11 06:17:51,473 - INFO - Deleted project: ctest-TestPorts-98273954, ID : 5c85ae6d-bf7e-424e-ba49-67055c2cbbf4