2025-11-19 18:15:45,995 - INFO - Domain Default found not creating 2025-11-19 18:15:46,162 - INFO - Project ctest-TestPorts-62305316 not found, creating it 2025-11-19 18:15:46,693 - INFO - Created Project:ctest-TestPorts-62305316, ID : 6ed497b5-6b37-49ab-89fc-b9bec5215e80 2025-11-19 18:15:48,185 - INFO - ================================================================================ 2025-11-19 18:15:48,185 - INFO - STARTING TEST : test_ports_bindings 2025-11-19 18:15:48,185 - 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-11-19 18:15:48,438 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.192': '0'}} with 2025-11-19 18:15:48,438 - INFO - Initial checks done. Running the testcase now 2025-11-19 18:15:48,438 - INFO - 2025-11-19 18:15:48,999 - DEBUG - Response for create_network : {'network': {'id': 'beeb4c0c-671b-4d2e-9df6-5ad91185d0da', 'name': 'ctest-vn-10798295', 'tenant_id': '6ed497b56b3749ab89fcb9bec5215e80', 'project_id': '6ed497b56b3749ab89fcb9bec5215e80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62305316', 'ctest-vn-10798295'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 18:15:49,199 - DEBUG - Response for create_subnet : {'subnet': {'id': '3addd7bf-3eb6-402d-9311-5c091f9d2738', 'name': '', 'tenant_id': '6ed497b56b3749ab89fcb9bec5215e80', 'network_id': 'beeb4c0c-671b-4d2e-9df6-5ad91185d0da', 'ip_version': 4, 'cidr': '37.85.63.128/26', 'allocation_pools': [{'start': '37.85.63.130', 'end': '37.85.63.190'}], 'gateway_ip': '37.85.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.85.63.130', 'tags': [], 'project_id': '6ed497b56b3749ab89fcb9bec5215e80'}} 2025-11-19 18:15:49,219 - INFO - Created VN ctest-vn-10798295 2025-11-19 18:15:49,277 - DEBUG - VN ctest-vn-10798295 UUID is beeb4c0c-671b-4d2e-9df6-5ad91185d0da 2025-11-19 18:15:49,387 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-62305316', 'ctest-vmi-52312389']} 2025-11-19 18:15:49,619 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-52312389', 'id': '9909d983-74e7-49e1-8b9f-02f07c706bf2', 'tenant_id': '6ed497b56b3749ab89fcb9bec5215e80', 'network_id': 'beeb4c0c-671b-4d2e-9df6-5ad91185d0da', 'mac_address': '02:99:09:d9:83:74', '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': '37.85.63.131', 'subnet_id': '3addd7bf-3eb6-402d-9311-5c091f9d2738'}], 'security_groups': ['f6e92f74-811c-4348-83eb-c41773460b19'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6ed497b56b3749ab89fcb9bec5215e80'}} 2025-11-19 18:15:49,619 - DEBUG - Created port 9909d983-74e7-49e1-8b9f-02f07c706bf2 2025-11-19 18:15:49,729 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9909d983-74e7-49e1-8b9f-02f07c706bf2 2025-11-19 18:15:50,024 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9909d983-74e7-49e1-8b9f-02f07c706bf2 2025-11-19 18:15:50,064 - INFO - VMI 9909d983-74e7-49e1-8b9f-02f07c706bf2 verification in API Server passed 2025-11-19 18:15:50,160 - DEBUG - Response for delete_port : () 2025-11-19 18:15:50,160 - INFO - Deleted port 9909d983-74e7-49e1-8b9f-02f07c706bf2 2025-11-19 18:15:50,160 - INFO - Deleting VN ctest-vn-10798295 2025-11-19 18:15:50,266 - DEBUG - Response for deleting network () 2025-11-19 18:15:50,528 - DEBUG - No XMPP flaps were noticed during the test
2025-11-19 18:15:50,528 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-19 18:15:50,528 - INFO - -------------------------------------------------------------------------------- 2025-11-19 18:15:50,530 - INFO - ================================================================================ 2025-11-19 18:15:50,530 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-19 18:15:50,530 - 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-11-19 18:15:50,814 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.192': '0'}} with 2025-11-19 18:15:50,814 - INFO - Initial checks done. Running the testcase now 2025-11-19 18:15:50,814 - INFO - 2025-11-19 18:15:51,013 - DEBUG - Response for create_network : {'network': {'id': '5e589ee3-5d53-4a6f-8cc4-197302e1730b', 'name': 'ctest-vn1-99044853', 'tenant_id': '6ed497b56b3749ab89fcb9bec5215e80', 'project_id': '6ed497b56b3749ab89fcb9bec5215e80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62305316', 'ctest-vn1-99044853'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 18:15:51,225 - DEBUG - Response for create_subnet : {'subnet': {'id': '82c16cdb-83ef-4892-a6f5-6434917763eb', 'name': '', 'tenant_id': '6ed497b56b3749ab89fcb9bec5215e80', 'network_id': '5e589ee3-5d53-4a6f-8cc4-197302e1730b', 'ip_version': 4, 'cidr': '67.176.59.0/26', 'allocation_pools': [{'start': '67.176.59.2', 'end': '67.176.59.62'}], 'gateway_ip': '67.176.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.176.59.2', 'tags': [], 'project_id': '6ed497b56b3749ab89fcb9bec5215e80'}} 2025-11-19 18:15:51,373 - DEBUG - Response for create_subnet : {'subnet': {'id': '5bee2dc0-e79a-48d2-8a55-7657c699923e', 'name': '', 'tenant_id': '6ed497b56b3749ab89fcb9bec5215e80', 'network_id': '5e589ee3-5d53-4a6f-8cc4-197302e1730b', 'ip_version': 4, 'cidr': '175.145.134.0/26', 'allocation_pools': [{'start': '175.145.134.2', 'end': '175.145.134.62'}], 'gateway_ip': '175.145.134.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.145.134.2', 'tags': [], 'project_id': '6ed497b56b3749ab89fcb9bec5215e80'}} 2025-11-19 18:15:51,396 - INFO - Created VN ctest-vn1-99044853 2025-11-19 18:15:51,449 - DEBUG - VN ctest-vn1-99044853 UUID is 5e589ee3-5d53-4a6f-8cc4-197302e1730b 2025-11-19 18:15:51,771 - DEBUG - Response for create_port : {'port': {'name': '4436b7c7-a3df-45c2-89a8-4030468babc3', 'id': '4436b7c7-a3df-45c2-89a8-4030468babc3', 'tenant_id': '6ed497b56b3749ab89fcb9bec5215e80', 'network_id': '5e589ee3-5d53-4a6f-8cc4-197302e1730b', 'mac_address': '02:44:36:b7:c7:a3', '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': '67.176.59.5', 'subnet_id': '82c16cdb-83ef-4892-a6f5-6434917763eb'}], 'security_groups': ['f6e92f74-811c-4348-83eb-c41773460b19'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6ed497b56b3749ab89fcb9bec5215e80'}} 2025-11-19 18:15:51,956 - DEBUG - Response for create_port : {'port': {'name': '058cc115-e1e8-4e74-8595-6655c21f2188', 'id': '058cc115-e1e8-4e74-8595-6655c21f2188', 'tenant_id': '6ed497b56b3749ab89fcb9bec5215e80', 'network_id': '5e589ee3-5d53-4a6f-8cc4-197302e1730b', 'mac_address': '02:05:8c:c1:15:e1', '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': '175.145.134.5', 'subnet_id': '5bee2dc0-e79a-48d2-8a55-7657c699923e'}], 'security_groups': ['f6e92f74-811c-4348-83eb-c41773460b19'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6ed497b56b3749ab89fcb9bec5215e80'}} 2025-11-19 18:15:52,016 - DEBUG - Services list from nova: [, , ] 2025-11-19 18:15:52,344 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4766-1) 2025-11-19 18:15:52,736 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4766-1) 2025-11-19 18:15:52,737 - INFO - Waiting for VM ctest-vn1-vm1-38842537 to be up.. 2025-11-19 18:15:52,776 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 18:15:57,850 - DEBUG - VM is in ACTIVE state now 2025-11-19 18:15:57,850 - INFO - VM name : ctest-vn1-vm1-38842537 2025-11-19 18:15:57,928 - DEBUG - VM ctest-vn1-vm1-38842537 ID is fffbcdc1-6e20-429c-ba28-4b18c9a6e97d 2025-11-19 18:15:57,947 - DEBUG - VM ctest-vn1-vm1-38842537 launched on Node cn-jenkins-deploy-platform-ansible-os-4766-1 2025-11-19 18:15:58,018 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fffbcdc1-6e20-429c-ba28-4b18c9a6e97d 2025-11-19 18:15:58,026 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4436b7c7-a3df-45c2-89a8-4030468babc3 2025-11-19 18:16:01,291 - 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-11-19 18:16:01,291 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38842537 failed! 2025-11-19 18:16:01,345 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62305316:ctest-vn1-99044853 is 67.176.59.1 and allocation pool is NOT set 2025-11-19 18:16:01,345 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62305316:ctest-vn1-99044853 is 175.145.134.1 and allocation pool is NOT set 2025-11-19 18:16:05,418 - 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=9.95 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 9.953/9.953/9.953/0.000 ms') 2025-11-19 18:16:05,418 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38842537 passed 2025-11-19 18:16:05,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:16:05,569 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38842537, IP 67.176.59.5, Port 22 2025-11-19 18:16:05,735 - DEBUG - VM ctest-vn1-vm1-38842537 is ready for SSH connections 2025-11-19 18:16:05,735 - INFO - Waiting for VM ctest-vn1-vm2-84811155 to be up.. 2025-11-19 18:16:05,810 - DEBUG - VM is in ACTIVE state now 2025-11-19 18:16:05,810 - INFO - VM name : ctest-vn1-vm2-84811155 2025-11-19 18:16:05,891 - DEBUG - VM ctest-vn1-vm2-84811155 ID is ed38c183-8648-4578-84ad-e2f52e5eaf30 2025-11-19 18:16:05,891 - DEBUG - VM ctest-vn1-vm2-84811155 launched on Node cn-jenkins-deploy-platform-ansible-os-4766-1 2025-11-19 18:16:05,968 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ed38c183-8648-4578-84ad-e2f52e5eaf30 2025-11-19 18:16:05,976 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/058cc115-e1e8-4e74-8595-6655c21f2188 2025-11-19 18:16:07,212 - 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=2.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.504 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.504/1.681/2.858/1.177 ms') 2025-11-19 18:16:07,212 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-84811155 passed 2025-11-19 18:16:07,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:16:07,361 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-84811155, IP 175.145.134.5, Port 22 2025-11-19 18:16:07,517 - DEBUG - VM ctest-vn1-vm2-84811155 is ready for SSH connections 2025-11-19 18:16:07,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:16:07,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:16:07,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:16:07,517 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.176.59.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 18:16:07,517 - DEBUG - ping -s 56 -c 3 -W 1 67.176.59.5 2025-11-19 18:16:10,155 - DEBUG - PING 67.176.59.5 (67.176.59.5): 56 data bytes 64 bytes from 67.176.59.5: seq=0 ttl=63 time=3.290 ms 64 bytes from 67.176.59.5: seq=1 ttl=63 time=1.037 ms 64 bytes from 67.176.59.5: seq=2 ttl=63 time=0.744 ms --- 67.176.59.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.744/1.690/3.290 ms 2025-11-19 18:16:10,156 - INFO - Ping to IP 67.176.59.5 from VM ctest-vn1-vm2-84811155 passed 2025-11-19 18:16:10,156 - INFO - Detaching port 058cc115-e1e8-4e74-8595-6655c21f2188 from VM ctest-vn1-vm2-84811155 2025-11-19 18:16:10,205 - INFO - Deleting VM ctest-vn1-vm2-84811155 2025-11-19 18:16:10,280 - INFO - Detaching port 4436b7c7-a3df-45c2-89a8-4030468babc3 from VM ctest-vn1-vm1-38842537 2025-11-19 18:16:10,313 - INFO - Deleting VM ctest-vn1-vm1-38842537 2025-11-19 18:16:10,557 - DEBUG - Response for delete_port : () 2025-11-19 18:16:10,718 - DEBUG - Response for delete_port : () 2025-11-19 18:16:10,718 - INFO - Deleting VN ctest-vn1-99044853 2025-11-19 18:16:10,854 - DEBUG - Response for deleting network () 2025-11-19 18:16:11,113 - DEBUG - No XMPP flaps were noticed during the test
2025-11-19 18:16:11,113 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-19 18:16:11,113 - INFO - -------------------------------------------------------------------------------- 2025-11-19 18:16:11,790 - INFO - Deleted project: ctest-TestPorts-62305316, ID : 6ed497b5-6b37-49ab-89fc-b9bec5215e80