2025-09-18 21:36:54,365 - INFO - Domain Default found not creating 2025-09-18 21:36:54,492 - INFO - Project ctest-TestPorts-79945698 not found, creating it 2025-09-18 21:36:54,926 - INFO - Created Project:ctest-TestPorts-79945698, ID : bf4ee1cd-23f1-46a0-be20-436dfdce6ff1 2025-09-18 21:36:56,259 - INFO - ================================================================================ 2025-09-18 21:36:56,259 - INFO - STARTING TEST : test_ports_bindings 2025-09-18 21:36:56,259 - 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-18 21:36:56,511 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-09-18 21:36:56,511 - INFO - Initial checks done. Running the testcase now 2025-09-18 21:36:56,511 - INFO - 2025-09-18 21:36:57,135 - DEBUG - Response for create_network : {'network': {'id': '701b1a1a-4d4d-4ee7-86cc-04701ac60657', 'name': 'ctest-vn-04755322', 'tenant_id': 'bf4ee1cd23f146a0be20436dfdce6ff1', 'project_id': 'bf4ee1cd23f146a0be20436dfdce6ff1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79945698', 'ctest-vn-04755322'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 21:36:57,331 - DEBUG - Response for create_subnet : {'subnet': {'id': '630aca15-d750-4171-8764-f3c136e768b6', 'name': '', 'tenant_id': 'bf4ee1cd23f146a0be20436dfdce6ff1', 'network_id': '701b1a1a-4d4d-4ee7-86cc-04701ac60657', 'ip_version': 4, 'cidr': '5.120.32.128/26', 'allocation_pools': [{'start': '5.120.32.130', 'end': '5.120.32.190'}], 'gateway_ip': '5.120.32.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.120.32.130', 'tags': [], 'project_id': 'bf4ee1cd23f146a0be20436dfdce6ff1'}} 2025-09-18 21:36:57,346 - INFO - Created VN ctest-vn-04755322 2025-09-18 21:36:57,398 - DEBUG - VN ctest-vn-04755322 UUID is 701b1a1a-4d4d-4ee7-86cc-04701ac60657 2025-09-18 21:36:57,493 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-79945698', 'ctest-vmi-68776606']} 2025-09-18 21:36:57,771 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-68776606', 'id': '71975a9d-9245-497f-aa1e-958dad199dc0', 'tenant_id': 'bf4ee1cd23f146a0be20436dfdce6ff1', 'network_id': '701b1a1a-4d4d-4ee7-86cc-04701ac60657', 'mac_address': '02:71:97:5a:9d:92', '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.120.32.131', 'subnet_id': '630aca15-d750-4171-8764-f3c136e768b6'}], 'security_groups': ['f0303c5c-2610-469b-ae48-c7d82903497c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bf4ee1cd23f146a0be20436dfdce6ff1'}} 2025-09-18 21:36:57,771 - DEBUG - Created port 71975a9d-9245-497f-aa1e-958dad199dc0 2025-09-18 21:36:57,874 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/71975a9d-9245-497f-aa1e-958dad199dc0 2025-09-18 21:36:58,163 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/71975a9d-9245-497f-aa1e-958dad199dc0 2025-09-18 21:36:58,191 - INFO - VMI 71975a9d-9245-497f-aa1e-958dad199dc0 verification in API Server passed 2025-09-18 21:36:58,273 - DEBUG - Response for delete_port : () 2025-09-18 21:36:58,273 - INFO - Deleted port 71975a9d-9245-497f-aa1e-958dad199dc0 2025-09-18 21:36:58,273 - INFO - Deleting VN ctest-vn-04755322 2025-09-18 21:36:58,372 - DEBUG - Response for deleting network () 2025-09-18 21:36:58,634 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 21:36:58,634 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-18 21:36:58,634 - INFO - -------------------------------------------------------------------------------- 2025-09-18 21:36:58,636 - INFO - ================================================================================ 2025-09-18 21:36:58,636 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-18 21:36:58,636 - 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-18 21:36:58,921 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-09-18 21:36:58,921 - INFO - Initial checks done. Running the testcase now 2025-09-18 21:36:58,922 - INFO - 2025-09-18 21:36:59,087 - DEBUG - Response for create_network : {'network': {'id': 'eb1bc644-b074-43d4-aab3-70da91ae305b', 'name': 'ctest-vn1-94244426', 'tenant_id': 'bf4ee1cd23f146a0be20436dfdce6ff1', 'project_id': 'bf4ee1cd23f146a0be20436dfdce6ff1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79945698', 'ctest-vn1-94244426'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 21:36:59,294 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5630d08-c332-4875-9e49-cdc57c717294', 'name': '', 'tenant_id': 'bf4ee1cd23f146a0be20436dfdce6ff1', 'network_id': 'eb1bc644-b074-43d4-aab3-70da91ae305b', 'ip_version': 4, 'cidr': '2.119.16.128/26', 'allocation_pools': [{'start': '2.119.16.130', 'end': '2.119.16.190'}], 'gateway_ip': '2.119.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.119.16.130', 'tags': [], 'project_id': 'bf4ee1cd23f146a0be20436dfdce6ff1'}} 2025-09-18 21:36:59,484 - DEBUG - Response for create_subnet : {'subnet': {'id': '66d86164-99db-443a-bf85-d885cf37a06d', 'name': '', 'tenant_id': 'bf4ee1cd23f146a0be20436dfdce6ff1', 'network_id': 'eb1bc644-b074-43d4-aab3-70da91ae305b', 'ip_version': 4, 'cidr': '147.22.189.128/26', 'allocation_pools': [{'start': '147.22.189.130', 'end': '147.22.189.190'}], 'gateway_ip': '147.22.189.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.22.189.130', 'tags': [], 'project_id': 'bf4ee1cd23f146a0be20436dfdce6ff1'}} 2025-09-18 21:36:59,500 - INFO - Created VN ctest-vn1-94244426 2025-09-18 21:36:59,549 - DEBUG - VN ctest-vn1-94244426 UUID is eb1bc644-b074-43d4-aab3-70da91ae305b 2025-09-18 21:36:59,828 - DEBUG - Response for create_port : {'port': {'name': '892d416d-2761-479b-b369-f12c5cc91c5f', 'id': '892d416d-2761-479b-b369-f12c5cc91c5f', 'tenant_id': 'bf4ee1cd23f146a0be20436dfdce6ff1', 'network_id': 'eb1bc644-b074-43d4-aab3-70da91ae305b', 'mac_address': '02:89:2d:41:6d:27', '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': '2.119.16.133', 'subnet_id': 'f5630d08-c332-4875-9e49-cdc57c717294'}], 'security_groups': ['f0303c5c-2610-469b-ae48-c7d82903497c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bf4ee1cd23f146a0be20436dfdce6ff1'}} 2025-09-18 21:36:59,974 - DEBUG - Response for create_port : {'port': {'name': '89fe098a-4091-45a2-a3d1-7db21b9f7461', 'id': '89fe098a-4091-45a2-a3d1-7db21b9f7461', 'tenant_id': 'bf4ee1cd23f146a0be20436dfdce6ff1', 'network_id': 'eb1bc644-b074-43d4-aab3-70da91ae305b', 'mac_address': '02:89:fe:09:8a:40', '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': '147.22.189.133', 'subnet_id': '66d86164-99db-443a-bf85-d885cf37a06d'}], 'security_groups': ['f0303c5c-2610-469b-ae48-c7d82903497c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bf4ee1cd23f146a0be20436dfdce6ff1'}} 2025-09-18 21:37:00,025 - DEBUG - Services list from nova: [, , ] 2025-09-18 21:37:00,337 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4142-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4142-1) 2025-09-18 21:37:00,721 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4142-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4142-1) 2025-09-18 21:37:00,721 - INFO - Waiting for VM ctest-vn1-vm1-23229559 to be up.. 2025-09-18 21:37:00,763 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 21:37:05,831 - DEBUG - VM is in ACTIVE state now 2025-09-18 21:37:05,831 - INFO - VM name : ctest-vn1-vm1-23229559 2025-09-18 21:37:05,896 - DEBUG - VM ctest-vn1-vm1-23229559 ID is 707e676e-fb21-4a8a-b77a-f318f7817ae7 2025-09-18 21:37:05,914 - DEBUG - VM ctest-vn1-vm1-23229559 launched on Node cn-jenkins-deploy-platform-ansible-os-4142-1 2025-09-18 21:37:05,975 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/707e676e-fb21-4a8a-b77a-f318f7817ae7 2025-09-18 21:37:05,984 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/892d416d-2761-479b-b369-f12c5cc91c5f 2025-09-18 21:37:09,219 - 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 1015ms') 2025-09-18 21:37:09,219 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23229559 failed! 2025-09-18 21:37:09,274 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79945698:ctest-vn1-94244426 is 2.119.16.129 and allocation pool is NOT set 2025-09-18 21:37:09,274 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79945698:ctest-vn1-94244426 is 147.22.189.129 and allocation pool is NOT set 2025-09-18 21:37:11,335 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.774 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.774/3.099/5.424/2.325 ms') 2025-09-18 21:37:11,335 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23229559 passed 2025-09-18 21:37:11,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 21:37:11,482 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23229559, IP 2.119.16.133, Port 22 2025-09-18 21:37:11,632 - DEBUG - VM ctest-vn1-vm1-23229559 is ready for SSH connections 2025-09-18 21:37:11,632 - INFO - Waiting for VM ctest-vn1-vm2-23326400 to be up.. 2025-09-18 21:37:11,698 - DEBUG - VM is in ACTIVE state now 2025-09-18 21:37:11,698 - INFO - VM name : ctest-vn1-vm2-23326400 2025-09-18 21:37:11,761 - DEBUG - VM ctest-vn1-vm2-23326400 ID is 31ac74c9-4fda-4939-8ea5-da6c829d53c3 2025-09-18 21:37:11,761 - DEBUG - VM ctest-vn1-vm2-23326400 launched on Node cn-jenkins-deploy-platform-ansible-os-4142-1 2025-09-18 21:37:11,825 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/31ac74c9-4fda-4939-8ea5-da6c829d53c3 2025-09-18 21:37:11,832 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/89fe098a-4091-45a2-a3d1-7db21b9f7461 2025-09-18 21:37:13,059 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.447/1.564/2.682/1.117 ms') 2025-09-18 21:37:13,060 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-23326400 passed 2025-09-18 21:37:13,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 21:37:13,206 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23326400, IP 147.22.189.133, Port 22 2025-09-18 21:37:13,365 - DEBUG - VM ctest-vn1-vm2-23326400 is ready for SSH connections 2025-09-18 21:37:13,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 21:37:13,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 21:37:13,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 21:37:13,365 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.119.16.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-09-18 21:37:13,365 - DEBUG - ping -s 56 -c 3 -W 1 2.119.16.133 2025-09-18 21:37:15,994 - DEBUG - PING 2.119.16.133 (2.119.16.133): 56 data bytes 64 bytes from 2.119.16.133: seq=0 ttl=63 time=3.681 ms 64 bytes from 2.119.16.133: seq=1 ttl=63 time=0.722 ms 64 bytes from 2.119.16.133: seq=2 ttl=63 time=0.754 ms --- 2.119.16.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.722/1.719/3.681 ms 2025-09-18 21:37:15,994 - INFO - Ping to IP 2.119.16.133 from VM ctest-vn1-vm2-23326400 passed 2025-09-18 21:37:15,994 - INFO - Detaching port 89fe098a-4091-45a2-a3d1-7db21b9f7461 from VM ctest-vn1-vm2-23326400 2025-09-18 21:37:16,045 - INFO - Deleting VM ctest-vn1-vm2-23326400 2025-09-18 21:37:16,110 - INFO - Detaching port 892d416d-2761-479b-b369-f12c5cc91c5f from VM ctest-vn1-vm1-23229559 2025-09-18 21:37:16,147 - INFO - Deleting VM ctest-vn1-vm1-23229559 2025-09-18 21:37:16,398 - DEBUG - Response for delete_port : () 2025-09-18 21:37:16,545 - DEBUG - Response for delete_port : () 2025-09-18 21:37:16,545 - INFO - Deleting VN ctest-vn1-94244426 2025-09-18 21:37:16,662 - DEBUG - Response for deleting network () 2025-09-18 21:37:16,914 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 21:37:16,914 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-09-18 21:37:16,914 - INFO - -------------------------------------------------------------------------------- 2025-09-18 21:37:17,556 - INFO - Deleted project: ctest-TestPorts-79945698, ID : bf4ee1cd-23f1-46a0-be20-436dfdce6ff1