2025-09-22 15:46:18,458 - INFO - Domain Default found not creating 2025-09-22 15:46:18,623 - INFO - Project ctest-TestPorts-28874616 not found, creating it 2025-09-22 15:46:19,073 - INFO - Created Project:ctest-TestPorts-28874616, ID : 44c35cf4-c445-44c2-a6ef-bc0d81969a4f 2025-09-22 15:46:20,511 - INFO - ================================================================================ 2025-09-22 15:46:20,511 - INFO - STARTING TEST : test_ports_bindings 2025-09-22 15:46:20,511 - 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-22 15:46:20,766 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-09-22 15:46:20,766 - INFO - Initial checks done. Running the testcase now 2025-09-22 15:46:20,766 - INFO - 2025-09-22 15:46:21,294 - DEBUG - Response for create_network : {'network': {'id': '4d27f9ce-040d-412a-90b7-e467c27e56bf', 'name': 'ctest-vn-03375045', 'tenant_id': '44c35cf4c44544c2a6efbc0d81969a4f', 'project_id': '44c35cf4c44544c2a6efbc0d81969a4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28874616', 'ctest-vn-03375045'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 15:46:21,459 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab8a0158-df51-4171-8d0c-f6b0ee09f5ae', 'name': '', 'tenant_id': '44c35cf4c44544c2a6efbc0d81969a4f', 'network_id': '4d27f9ce-040d-412a-90b7-e467c27e56bf', 'ip_version': 4, 'cidr': '101.86.190.64/26', 'allocation_pools': [{'start': '101.86.190.66', 'end': '101.86.190.126'}], 'gateway_ip': '101.86.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.86.190.66', 'tags': [], 'project_id': '44c35cf4c44544c2a6efbc0d81969a4f'}} 2025-09-22 15:46:21,475 - INFO - Created VN ctest-vn-03375045 2025-09-22 15:46:21,529 - DEBUG - VN ctest-vn-03375045 UUID is 4d27f9ce-040d-412a-90b7-e467c27e56bf 2025-09-22 15:46:21,645 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-28874616', 'ctest-vmi-20513064']} 2025-09-22 15:46:21,902 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-20513064', 'id': 'e57cf371-948c-498c-89e7-4259e056c216', 'tenant_id': '44c35cf4c44544c2a6efbc0d81969a4f', 'network_id': '4d27f9ce-040d-412a-90b7-e467c27e56bf', 'mac_address': '02:e5:7c:f3:71:94', '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': '101.86.190.67', 'subnet_id': 'ab8a0158-df51-4171-8d0c-f6b0ee09f5ae'}], 'security_groups': ['17a8fdac-f3f1-4494-ba4a-1f457eb854a8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '44c35cf4c44544c2a6efbc0d81969a4f'}} 2025-09-22 15:46:21,903 - DEBUG - Created port e57cf371-948c-498c-89e7-4259e056c216 2025-09-22 15:46:22,005 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e57cf371-948c-498c-89e7-4259e056c216 2025-09-22 15:46:22,301 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e57cf371-948c-498c-89e7-4259e056c216 2025-09-22 15:46:22,335 - INFO - VMI e57cf371-948c-498c-89e7-4259e056c216 verification in API Server passed 2025-09-22 15:46:22,423 - DEBUG - Response for delete_port : () 2025-09-22 15:46:22,423 - INFO - Deleted port e57cf371-948c-498c-89e7-4259e056c216 2025-09-22 15:46:22,423 - INFO - Deleting VN ctest-vn-03375045 2025-09-22 15:46:22,535 - DEBUG - Response for deleting network () 2025-09-22 15:46:22,790 - DEBUG - No XMPP flaps were noticed during the test 2025-09-22 15:46:22,791 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-22 15:46:22,791 - INFO - -------------------------------------------------------------------------------- 2025-09-22 15:46:22,795 - INFO - ================================================================================ 2025-09-22 15:46:22,795 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-22 15:46:22,795 - 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-22 15:46:23,082 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-09-22 15:46:23,082 - INFO - Initial checks done. Running the testcase now 2025-09-22 15:46:23,082 - INFO - 2025-09-22 15:46:23,254 - DEBUG - Response for create_network : {'network': {'id': '8ffeb4bd-108b-4a40-a398-b239f454a273', 'name': 'ctest-vn1-45407416', 'tenant_id': '44c35cf4c44544c2a6efbc0d81969a4f', 'project_id': '44c35cf4c44544c2a6efbc0d81969a4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28874616', 'ctest-vn1-45407416'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 15:46:23,433 - DEBUG - Response for create_subnet : {'subnet': {'id': '6fc95865-d190-4d26-a2ab-20852fe53e66', 'name': '', 'tenant_id': '44c35cf4c44544c2a6efbc0d81969a4f', 'network_id': '8ffeb4bd-108b-4a40-a398-b239f454a273', 'ip_version': 4, 'cidr': '174.33.226.64/26', 'allocation_pools': [{'start': '174.33.226.66', 'end': '174.33.226.126'}], 'gateway_ip': '174.33.226.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.33.226.66', 'tags': [], 'project_id': '44c35cf4c44544c2a6efbc0d81969a4f'}} 2025-09-22 15:46:23,619 - DEBUG - Response for create_subnet : {'subnet': {'id': '45a55181-a0cb-4750-9cb6-868f91df281c', 'name': '', 'tenant_id': '44c35cf4c44544c2a6efbc0d81969a4f', 'network_id': '8ffeb4bd-108b-4a40-a398-b239f454a273', 'ip_version': 4, 'cidr': '172.181.198.192/26', 'allocation_pools': [{'start': '172.181.198.194', 'end': '172.181.198.254'}], 'gateway_ip': '172.181.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.181.198.194', 'tags': [], 'project_id': '44c35cf4c44544c2a6efbc0d81969a4f'}} 2025-09-22 15:46:23,639 - INFO - Created VN ctest-vn1-45407416 2025-09-22 15:46:23,693 - DEBUG - VN ctest-vn1-45407416 UUID is 8ffeb4bd-108b-4a40-a398-b239f454a273 2025-09-22 15:46:24,017 - DEBUG - Response for create_port : {'port': {'name': 'ba4d5093-9098-4f99-8825-671390078209', 'id': 'ba4d5093-9098-4f99-8825-671390078209', 'tenant_id': '44c35cf4c44544c2a6efbc0d81969a4f', 'network_id': '8ffeb4bd-108b-4a40-a398-b239f454a273', 'mac_address': '02:ba:4d:50:93:90', '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': '174.33.226.69', 'subnet_id': '6fc95865-d190-4d26-a2ab-20852fe53e66'}], 'security_groups': ['17a8fdac-f3f1-4494-ba4a-1f457eb854a8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '44c35cf4c44544c2a6efbc0d81969a4f'}} 2025-09-22 15:46:24,205 - DEBUG - Response for create_port : {'port': {'name': 'c4789ae8-d25c-416e-a574-2053d6ce8b4a', 'id': 'c4789ae8-d25c-416e-a574-2053d6ce8b4a', 'tenant_id': '44c35cf4c44544c2a6efbc0d81969a4f', 'network_id': '8ffeb4bd-108b-4a40-a398-b239f454a273', 'mac_address': '02:c4:78:9a:e8:d2', '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': '172.181.198.197', 'subnet_id': '45a55181-a0cb-4750-9cb6-868f91df281c'}], 'security_groups': ['17a8fdac-f3f1-4494-ba4a-1f457eb854a8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '44c35cf4c44544c2a6efbc0d81969a4f'}} 2025-09-22 15:46:24,264 - DEBUG - Services list from nova: [, , ] 2025-09-22 15:46:24,632 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4170-1) 2025-09-22 15:46:25,191 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4170-1) 2025-09-22 15:46:25,192 - INFO - Waiting for VM ctest-vn1-vm1-89551409 to be up.. 2025-09-22 15:46:25,233 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 15:46:30,319 - DEBUG - VM is in ACTIVE state now 2025-09-22 15:46:30,319 - INFO - VM name : ctest-vn1-vm1-89551409 2025-09-22 15:46:30,407 - DEBUG - VM ctest-vn1-vm1-89551409 ID is 2ab84ebc-6e2f-4521-a1f1-3c6d176be4e3 2025-09-22 15:46:30,426 - DEBUG - VM ctest-vn1-vm1-89551409 launched on Node cn-jenkins-deploy-platform-ansible-os-4170-1 2025-09-22 15:46:30,503 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2ab84ebc-6e2f-4521-a1f1-3c6d176be4e3 2025-09-22 15:46:30,512 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ba4d5093-9098-4f99-8825-671390078209 2025-09-22 15:46:33,765 - 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 1007ms') 2025-09-22 15:46:33,765 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89551409 failed! 2025-09-22 15:46:33,821 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28874616:ctest-vn1-45407416 is 174.33.226.65 and allocation pool is NOT set 2025-09-22 15:46:33,821 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28874616:ctest-vn1-45407416 is 172.181.198.193 and allocation pool is NOT set 2025-09-22 15:46:35,881 - 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=8.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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 = 0.405/4.412/8.420/4.007 ms') 2025-09-22 15:46:35,882 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89551409 passed 2025-09-22 15:46:36,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:46:36,033 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89551409, IP 174.33.226.69, Port 22 2025-09-22 15:46:36,198 - DEBUG - VM ctest-vn1-vm1-89551409 is ready for SSH connections 2025-09-22 15:46:36,198 - INFO - Waiting for VM ctest-vn1-vm2-75490908 to be up.. 2025-09-22 15:46:36,286 - DEBUG - VM is in ACTIVE state now 2025-09-22 15:46:36,286 - INFO - VM name : ctest-vn1-vm2-75490908 2025-09-22 15:46:36,378 - DEBUG - VM ctest-vn1-vm2-75490908 ID is f0e0461a-9c34-407f-aac6-c9d1ffb8de85 2025-09-22 15:46:36,379 - DEBUG - VM ctest-vn1-vm2-75490908 launched on Node cn-jenkins-deploy-platform-ansible-os-4170-1 2025-09-22 15:46:36,467 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f0e0461a-9c34-407f-aac6-c9d1ffb8de85 2025-09-22 15:46:36,476 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c4789ae8-d25c-416e-a574-2053d6ce8b4a 2025-09-22 15:46:37,723 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.505 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.505/1.920/3.336/1.415 ms') 2025-09-22 15:46:37,723 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-75490908 passed 2025-09-22 15:46:37,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:46:37,873 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-75490908, IP 172.181.198.197, Port 22 2025-09-22 15:46:38,029 - DEBUG - VM ctest-vn1-vm2-75490908 is ready for SSH connections 2025-09-22 15:46:38,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:46:38,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:46:38,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:46:38,029 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.33.226.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-22 15:46:38,029 - DEBUG - ping -s 56 -c 3 -W 1 174.33.226.69 2025-09-22 15:46:41,024 - DEBUG - PING 174.33.226.69 (174.33.226.69): 56 data bytes 64 bytes from 174.33.226.69: seq=0 ttl=63 time=3.890 ms 64 bytes from 174.33.226.69: seq=1 ttl=63 time=0.837 ms 64 bytes from 174.33.226.69: seq=2 ttl=63 time=1.112 ms --- 174.33.226.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.837/1.946/3.890 ms 2025-09-22 15:46:41,025 - INFO - Ping to IP 174.33.226.69 from VM ctest-vn1-vm2-75490908 passed 2025-09-22 15:46:41,025 - INFO - Detaching port c4789ae8-d25c-416e-a574-2053d6ce8b4a from VM ctest-vn1-vm2-75490908 2025-09-22 15:46:41,072 - INFO - Deleting VM ctest-vn1-vm2-75490908 2025-09-22 15:46:41,136 - INFO - Detaching port ba4d5093-9098-4f99-8825-671390078209 from VM ctest-vn1-vm1-89551409 2025-09-22 15:46:41,173 - INFO - Deleting VM ctest-vn1-vm1-89551409 2025-09-22 15:46:41,406 - DEBUG - Response for delete_port : () 2025-09-22 15:46:41,570 - DEBUG - Response for delete_port : () 2025-09-22 15:46:41,571 - INFO - Deleting VN ctest-vn1-45407416 2025-09-22 15:46:41,718 - DEBUG - Response for deleting network () 2025-09-22 15:46:41,985 - DEBUG - No XMPP flaps were noticed during the test 2025-09-22 15:46:41,985 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-09-22 15:46:41,985 - INFO - -------------------------------------------------------------------------------- 2025-09-22 15:46:42,697 - INFO - Deleted project: ctest-TestPorts-28874616, ID : 44c35cf4-c445-44c2-a6ef-bc0d81969a4f