2025-10-27 15:29:15,263 - INFO - Domain Default found not creating 2025-10-27 15:29:15,461 - INFO - Project ctest-TestPorts-99952817 not found, creating it 2025-10-27 15:29:15,984 - INFO - Created Project:ctest-TestPorts-99952817, ID : a4657c6f-26d9-4211-8ac4-4787202d50e8 2025-10-27 15:29:17,537 - INFO - ================================================================================ 2025-10-27 15:29:17,538 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 15:29:17,538 - 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-27 15:29:17,809 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-27 15:29:17,809 - INFO - Initial checks done. Running the testcase now 2025-10-27 15:29:17,809 - INFO - 2025-10-27 15:29:18,404 - DEBUG - Response for create_network : {'network': {'id': 'e04d1fa1-7d58-4a4a-8f15-d2d1b25cb26a', 'name': 'ctest-vn-70467046', 'tenant_id': 'a4657c6f26d942118ac44787202d50e8', 'project_id': 'a4657c6f26d942118ac44787202d50e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99952817', 'ctest-vn-70467046'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:29:18,636 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca03f6e4-5546-4bde-be59-1e4ed8dafbb3', 'name': '', 'tenant_id': 'a4657c6f26d942118ac44787202d50e8', 'network_id': 'e04d1fa1-7d58-4a4a-8f15-d2d1b25cb26a', 'ip_version': 4, 'cidr': '20.30.71.0/26', 'allocation_pools': [{'start': '20.30.71.2', 'end': '20.30.71.62'}], 'gateway_ip': '20.30.71.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.30.71.2', 'tags': [], 'project_id': 'a4657c6f26d942118ac44787202d50e8'}} 2025-10-27 15:29:18,657 - INFO - Created VN ctest-vn-70467046 2025-10-27 15:29:18,708 - DEBUG - VN ctest-vn-70467046 UUID is e04d1fa1-7d58-4a4a-8f15-d2d1b25cb26a 2025-10-27 15:29:18,821 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99952817', 'ctest-vmi-11582042']} 2025-10-27 15:29:19,097 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-11582042', 'id': '906edfce-de2f-4fc1-845b-c67f93c37063', 'tenant_id': 'a4657c6f26d942118ac44787202d50e8', 'network_id': 'e04d1fa1-7d58-4a4a-8f15-d2d1b25cb26a', 'mac_address': '02:90:6e:df:ce:de', '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': '20.30.71.3', 'subnet_id': 'ca03f6e4-5546-4bde-be59-1e4ed8dafbb3'}], 'security_groups': ['9a2106e8-6c81-4119-9fdd-78e7ed5a0a47'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a4657c6f26d942118ac44787202d50e8'}} 2025-10-27 15:29:19,097 - DEBUG - Created port 906edfce-de2f-4fc1-845b-c67f93c37063 2025-10-27 15:29:19,208 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/906edfce-de2f-4fc1-845b-c67f93c37063 2025-10-27 15:29:19,502 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/906edfce-de2f-4fc1-845b-c67f93c37063 2025-10-27 15:29:19,542 - INFO - VMI 906edfce-de2f-4fc1-845b-c67f93c37063 verification in API Server passed 2025-10-27 15:29:19,653 - DEBUG - Response for delete_port : () 2025-10-27 15:29:19,653 - INFO - Deleted port 906edfce-de2f-4fc1-845b-c67f93c37063 2025-10-27 15:29:19,653 - INFO - Deleting VN ctest-vn-70467046 2025-10-27 15:29:19,777 - DEBUG - Response for deleting network () 2025-10-27 15:29:20,043 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 15:29:20,043 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-27 15:29:20,043 - INFO - -------------------------------------------------------------------------------- 2025-10-27 15:29:20,045 - INFO - ================================================================================ 2025-10-27 15:29:20,046 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 15:29:20,046 - 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-27 15:29:20,329 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-27 15:29:20,330 - INFO - Initial checks done. Running the testcase now 2025-10-27 15:29:20,330 - INFO - 2025-10-27 15:29:20,519 - DEBUG - Response for create_network : {'network': {'id': '0ad0a94c-823b-467c-a734-a633c83cfa1d', 'name': 'ctest-vn1-23038208', 'tenant_id': 'a4657c6f26d942118ac44787202d50e8', 'project_id': 'a4657c6f26d942118ac44787202d50e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99952817', 'ctest-vn1-23038208'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:29:20,716 - DEBUG - Response for create_subnet : {'subnet': {'id': '068de43e-255e-4cd1-8236-9be4f4772ed4', 'name': '', 'tenant_id': 'a4657c6f26d942118ac44787202d50e8', 'network_id': '0ad0a94c-823b-467c-a734-a633c83cfa1d', 'ip_version': 4, 'cidr': '18.181.64.192/26', 'allocation_pools': [{'start': '18.181.64.194', 'end': '18.181.64.254'}], 'gateway_ip': '18.181.64.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.181.64.194', 'tags': [], 'project_id': 'a4657c6f26d942118ac44787202d50e8'}} 2025-10-27 15:29:20,880 - DEBUG - Response for create_subnet : {'subnet': {'id': '9fe188dc-faf4-4417-9304-7ce477876e8e', 'name': '', 'tenant_id': 'a4657c6f26d942118ac44787202d50e8', 'network_id': '0ad0a94c-823b-467c-a734-a633c83cfa1d', 'ip_version': 4, 'cidr': '192.45.35.0/26', 'allocation_pools': [{'start': '192.45.35.2', 'end': '192.45.35.62'}], 'gateway_ip': '192.45.35.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.45.35.2', 'tags': [], 'project_id': 'a4657c6f26d942118ac44787202d50e8'}} 2025-10-27 15:29:20,900 - INFO - Created VN ctest-vn1-23038208 2025-10-27 15:29:20,956 - DEBUG - VN ctest-vn1-23038208 UUID is 0ad0a94c-823b-467c-a734-a633c83cfa1d 2025-10-27 15:29:21,269 - DEBUG - Response for create_port : {'port': {'name': 'f00915e7-5466-445c-80ee-6897eaba683d', 'id': 'f00915e7-5466-445c-80ee-6897eaba683d', 'tenant_id': 'a4657c6f26d942118ac44787202d50e8', 'network_id': '0ad0a94c-823b-467c-a734-a633c83cfa1d', 'mac_address': '02:f0:09:15:e7:54', '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': '18.181.64.197', 'subnet_id': '068de43e-255e-4cd1-8236-9be4f4772ed4'}], 'security_groups': ['9a2106e8-6c81-4119-9fdd-78e7ed5a0a47'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a4657c6f26d942118ac44787202d50e8'}} 2025-10-27 15:29:21,471 - DEBUG - Response for create_port : {'port': {'name': 'e1b8d59f-2823-401f-9d9c-874dd9afe983', 'id': 'e1b8d59f-2823-401f-9d9c-874dd9afe983', 'tenant_id': 'a4657c6f26d942118ac44787202d50e8', 'network_id': '0ad0a94c-823b-467c-a734-a633c83cfa1d', 'mac_address': '02:e1:b8:d5:9f:28', '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': '192.45.35.5', 'subnet_id': '9fe188dc-faf4-4417-9304-7ce477876e8e'}], 'security_groups': ['9a2106e8-6c81-4119-9fdd-78e7ed5a0a47'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a4657c6f26d942118ac44787202d50e8'}} 2025-10-27 15:29:21,538 - DEBUG - Services list from nova: [, , ] 2025-10-27 15:29:21,904 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4508-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4508-1) 2025-10-27 15:29:22,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4508-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4508-1) 2025-10-27 15:29:22,365 - INFO - Waiting for VM ctest-vn1-vm1-54461158 to be up.. 2025-10-27 15:29:22,408 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 15:29:27,494 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:29:27,494 - INFO - VM name : ctest-vn1-vm1-54461158 2025-10-27 15:29:27,582 - DEBUG - VM ctest-vn1-vm1-54461158 ID is 50401002-560e-480a-8612-929c13fe2139 2025-10-27 15:29:27,604 - DEBUG - VM ctest-vn1-vm1-54461158 launched on Node cn-jenkins-deploy-platform-ansible-os-4508-1 2025-10-27 15:29:27,687 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/50401002-560e-480a-8612-929c13fe2139 2025-10-27 15:29:27,698 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f00915e7-5466-445c-80ee-6897eaba683d 2025-10-27 15:29:30,958 - 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-10-27 15:29:30,958 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54461158 failed! 2025-10-27 15:29:31,012 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99952817:ctest-vn1-23038208 is 18.181.64.193 and allocation pool is NOT set 2025-10-27 15:29:31,012 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99952817:ctest-vn1-23038208 is 192.45.35.1 and allocation pool is NOT set 2025-10-27 15:29:35,093 - 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=10.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 10.187/10.187/10.187/0.000 ms') 2025-10-27 15:29:35,093 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54461158 passed 2025-10-27 15:29:35,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:29:35,248 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54461158, IP 18.181.64.197, Port 22 2025-10-27 15:29:35,408 - DEBUG - VM ctest-vn1-vm1-54461158 is ready for SSH connections 2025-10-27 15:29:35,408 - INFO - Waiting for VM ctest-vn1-vm2-92341670 to be up.. 2025-10-27 15:29:35,503 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:29:35,503 - INFO - VM name : ctest-vn1-vm2-92341670 2025-10-27 15:29:35,593 - DEBUG - VM ctest-vn1-vm2-92341670 ID is c1891e66-2f77-4514-bddf-89e54ab424d3 2025-10-27 15:29:35,593 - DEBUG - VM ctest-vn1-vm2-92341670 launched on Node cn-jenkins-deploy-platform-ansible-os-4508-1 2025-10-27 15:29:35,676 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c1891e66-2f77-4514-bddf-89e54ab424d3 2025-10-27 15:29:35,686 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e1b8d59f-2823-401f-9d9c-874dd9afe983 2025-10-27 15:29:36,940 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.492 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.492/1.750/3.008/1.258 ms') 2025-10-27 15:29:36,940 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-92341670 passed 2025-10-27 15:29:37,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:29:37,096 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-92341670, IP 192.45.35.5, Port 22 2025-10-27 15:29:37,252 - DEBUG - VM ctest-vn1-vm2-92341670 is ready for SSH connections 2025-10-27 15:29:37,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:29:37,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:29:37,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:29:37,252 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.181.64.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 15:29:37,252 - DEBUG - ping -s 56 -c 3 -W 1 18.181.64.197 2025-10-27 15:29:39,950 - DEBUG - PING 18.181.64.197 (18.181.64.197): 56 data bytes 64 bytes from 18.181.64.197: seq=0 ttl=63 time=5.032 ms 64 bytes from 18.181.64.197: seq=1 ttl=63 time=1.055 ms 64 bytes from 18.181.64.197: seq=2 ttl=63 time=1.283 ms --- 18.181.64.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.055/2.456/5.032 ms 2025-10-27 15:29:39,951 - INFO - Ping to IP 18.181.64.197 from VM ctest-vn1-vm2-92341670 passed 2025-10-27 15:29:39,951 - INFO - Detaching port e1b8d59f-2823-401f-9d9c-874dd9afe983 from VM ctest-vn1-vm2-92341670 2025-10-27 15:29:40,013 - INFO - Deleting VM ctest-vn1-vm2-92341670 2025-10-27 15:29:40,090 - INFO - Detaching port f00915e7-5466-445c-80ee-6897eaba683d from VM ctest-vn1-vm1-54461158 2025-10-27 15:29:40,129 - INFO - Deleting VM ctest-vn1-vm1-54461158 2025-10-27 15:29:40,395 - DEBUG - Response for delete_port : () 2025-10-27 15:29:40,632 - DEBUG - Response for delete_port : () 2025-10-27 15:29:40,632 - INFO - Deleting VN ctest-vn1-23038208 2025-10-27 15:29:40,840 - DEBUG - Response for deleting network () 2025-10-27 15:29:41,110 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 15:29:41,110 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-27 15:29:41,110 - INFO - -------------------------------------------------------------------------------- 2025-10-27 15:29:41,775 - INFO - Deleted project: ctest-TestPorts-99952817, ID : a4657c6f-26d9-4211-8ac4-4787202d50e8