2025-11-04 17:09:06,645 - INFO - Domain Default found not creating 2025-11-04 17:09:06,818 - INFO - Project ctest-TestPorts-87323143 not found, creating it 2025-11-04 17:09:07,285 - INFO - Created Project:ctest-TestPorts-87323143, ID : 6e26281b-d163-4d1c-acca-a93caf8f7b9c 2025-11-04 17:09:08,940 - INFO - ================================================================================ 2025-11-04 17:09:08,941 - INFO - STARTING TEST : test_ports_bindings 2025-11-04 17:09:08,941 - 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-04 17:09:09,199 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-04 17:09:09,199 - INFO - Initial checks done. Running the testcase now 2025-11-04 17:09:09,199 - INFO - 2025-11-04 17:09:09,843 - DEBUG - Response for create_network : {'network': {'id': 'f06bd31f-9259-408e-a93a-6c5b23e4a20d', 'name': 'ctest-vn-20779491', 'tenant_id': '6e26281bd1634d1caccaa93caf8f7b9c', 'project_id': '6e26281bd1634d1caccaa93caf8f7b9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87323143', 'ctest-vn-20779491'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 17:09:10,036 - DEBUG - Response for create_subnet : {'subnet': {'id': '83e2bfbd-3adc-4ea1-9d53-91a0e26001e5', 'name': '', 'tenant_id': '6e26281bd1634d1caccaa93caf8f7b9c', 'network_id': 'f06bd31f-9259-408e-a93a-6c5b23e4a20d', 'ip_version': 4, 'cidr': '213.23.162.0/26', 'allocation_pools': [{'start': '213.23.162.2', 'end': '213.23.162.62'}], 'gateway_ip': '213.23.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.23.162.2', 'tags': [], 'project_id': '6e26281bd1634d1caccaa93caf8f7b9c'}} 2025-11-04 17:09:10,053 - INFO - Created VN ctest-vn-20779491 2025-11-04 17:09:10,106 - DEBUG - VN ctest-vn-20779491 UUID is f06bd31f-9259-408e-a93a-6c5b23e4a20d 2025-11-04 17:09:10,214 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-87323143', 'ctest-vmi-52905125']} 2025-11-04 17:09:10,513 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-52905125', 'id': '7d9e33f7-d5f6-4903-b26e-3034daf6bd94', 'tenant_id': '6e26281bd1634d1caccaa93caf8f7b9c', 'network_id': 'f06bd31f-9259-408e-a93a-6c5b23e4a20d', 'mac_address': '02:7d:9e:33:f7:d5', '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': '213.23.162.3', 'subnet_id': '83e2bfbd-3adc-4ea1-9d53-91a0e26001e5'}], 'security_groups': ['24294e6c-13d6-46a4-99b5-5fabbbfe7050'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6e26281bd1634d1caccaa93caf8f7b9c'}} 2025-11-04 17:09:10,513 - DEBUG - Created port 7d9e33f7-d5f6-4903-b26e-3034daf6bd94 2025-11-04 17:09:10,618 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7d9e33f7-d5f6-4903-b26e-3034daf6bd94 2025-11-04 17:09:10,982 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7d9e33f7-d5f6-4903-b26e-3034daf6bd94 2025-11-04 17:09:11,014 - INFO - VMI 7d9e33f7-d5f6-4903-b26e-3034daf6bd94 verification in API Server passed 2025-11-04 17:09:11,096 - DEBUG - Response for delete_port : () 2025-11-04 17:09:11,096 - INFO - Deleted port 7d9e33f7-d5f6-4903-b26e-3034daf6bd94 2025-11-04 17:09:11,096 - INFO - Deleting VN ctest-vn-20779491 2025-11-04 17:09:11,206 - DEBUG - Response for deleting network () 2025-11-04 17:09:11,459 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 17:09:11,459 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-04 17:09:11,460 - INFO - -------------------------------------------------------------------------------- 2025-11-04 17:09:11,462 - INFO - ================================================================================ 2025-11-04 17:09:11,462 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-04 17:09:11,462 - 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-04 17:09:11,748 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-04 17:09:11,748 - INFO - Initial checks done. Running the testcase now 2025-11-04 17:09:11,748 - INFO - 2025-11-04 17:09:11,918 - DEBUG - Response for create_network : {'network': {'id': 'dbfe6597-44ee-4799-ac85-d79935122218', 'name': 'ctest-vn1-39967350', 'tenant_id': '6e26281bd1634d1caccaa93caf8f7b9c', 'project_id': '6e26281bd1634d1caccaa93caf8f7b9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87323143', 'ctest-vn1-39967350'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 17:09:12,105 - DEBUG - Response for create_subnet : {'subnet': {'id': '589acf64-4a61-4f0f-9eb3-37bc5b2f5969', 'name': '', 'tenant_id': '6e26281bd1634d1caccaa93caf8f7b9c', 'network_id': 'dbfe6597-44ee-4799-ac85-d79935122218', 'ip_version': 4, 'cidr': '61.188.71.64/26', 'allocation_pools': [{'start': '61.188.71.66', 'end': '61.188.71.126'}], 'gateway_ip': '61.188.71.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.188.71.66', 'tags': [], 'project_id': '6e26281bd1634d1caccaa93caf8f7b9c'}} 2025-11-04 17:09:12,280 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4c25e72-a9b1-40b2-9a72-bf696c83cf1b', 'name': '', 'tenant_id': '6e26281bd1634d1caccaa93caf8f7b9c', 'network_id': 'dbfe6597-44ee-4799-ac85-d79935122218', 'ip_version': 4, 'cidr': '16.102.227.64/26', 'allocation_pools': [{'start': '16.102.227.66', 'end': '16.102.227.126'}], 'gateway_ip': '16.102.227.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.102.227.66', 'tags': [], 'project_id': '6e26281bd1634d1caccaa93caf8f7b9c'}} 2025-11-04 17:09:12,300 - INFO - Created VN ctest-vn1-39967350 2025-11-04 17:09:12,354 - DEBUG - VN ctest-vn1-39967350 UUID is dbfe6597-44ee-4799-ac85-d79935122218 2025-11-04 17:09:12,657 - DEBUG - Response for create_port : {'port': {'name': 'fde3644f-9810-4c00-b0b0-45687786c2f6', 'id': 'fde3644f-9810-4c00-b0b0-45687786c2f6', 'tenant_id': '6e26281bd1634d1caccaa93caf8f7b9c', 'network_id': 'dbfe6597-44ee-4799-ac85-d79935122218', 'mac_address': '02:fd:e3:64:4f:98', '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': '61.188.71.69', 'subnet_id': '589acf64-4a61-4f0f-9eb3-37bc5b2f5969'}], 'security_groups': ['24294e6c-13d6-46a4-99b5-5fabbbfe7050'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6e26281bd1634d1caccaa93caf8f7b9c'}} 2025-11-04 17:09:12,840 - DEBUG - Response for create_port : {'port': {'name': 'f15cd789-1507-4617-a62c-0317478e4148', 'id': 'f15cd789-1507-4617-a62c-0317478e4148', 'tenant_id': '6e26281bd1634d1caccaa93caf8f7b9c', 'network_id': 'dbfe6597-44ee-4799-ac85-d79935122218', 'mac_address': '02:f1:5c:d7:89:15', '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': '16.102.227.69', 'subnet_id': 'c4c25e72-a9b1-40b2-9a72-bf696c83cf1b'}], 'security_groups': ['24294e6c-13d6-46a4-99b5-5fabbbfe7050'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6e26281bd1634d1caccaa93caf8f7b9c'}} 2025-11-04 17:09:12,899 - DEBUG - Services list from nova: [, , ] 2025-11-04 17:09:13,251 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4618-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4618-1) 2025-11-04 17:09:13,656 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4618-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4618-1) 2025-11-04 17:09:13,657 - INFO - Waiting for VM ctest-vn1-vm1-34420671 to be up.. 2025-11-04 17:09:13,698 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 17:09:18,771 - DEBUG - VM is in ACTIVE state now 2025-11-04 17:09:18,771 - INFO - VM name : ctest-vn1-vm1-34420671 2025-11-04 17:09:18,851 - DEBUG - VM ctest-vn1-vm1-34420671 ID is bbb3e43a-28a5-4f83-b1e8-2d4e2ecbdbe9 2025-11-04 17:09:18,873 - DEBUG - VM ctest-vn1-vm1-34420671 launched on Node cn-jenkins-deploy-platform-ansible-os-4618-1 2025-11-04 17:09:18,953 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bbb3e43a-28a5-4f83-b1e8-2d4e2ecbdbe9 2025-11-04 17:09:18,963 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fde3644f-9810-4c00-b0b0-45687786c2f6 2025-11-04 17:09:22,215 - 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 1009ms') 2025-11-04 17:09:22,216 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34420671 failed! 2025-11-04 17:09:22,270 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87323143:ctest-vn1-39967350 is 61.188.71.65 and allocation pool is NOT set 2025-11-04 17:09:22,271 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87323143:ctest-vn1-39967350 is 16.102.227.65 and allocation pool is NOT set 2025-11-04 17:09:24,331 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.533 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.533/1.979/3.425/1.446 ms') 2025-11-04 17:09:24,332 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34420671 passed 2025-11-04 17:09:24,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:09:24,478 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34420671, IP 61.188.71.69, Port 22 2025-11-04 17:09:24,638 - DEBUG - VM ctest-vn1-vm1-34420671 is ready for SSH connections 2025-11-04 17:09:24,638 - INFO - Waiting for VM ctest-vn1-vm2-70043556 to be up.. 2025-11-04 17:09:24,706 - DEBUG - VM is in ACTIVE state now 2025-11-04 17:09:24,706 - INFO - VM name : ctest-vn1-vm2-70043556 2025-11-04 17:09:24,770 - DEBUG - VM ctest-vn1-vm2-70043556 ID is 0379a2ec-5b83-4017-9e45-d9e232f0fa3a 2025-11-04 17:09:24,770 - DEBUG - VM ctest-vn1-vm2-70043556 launched on Node cn-jenkins-deploy-platform-ansible-os-4618-1 2025-11-04 17:09:24,835 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0379a2ec-5b83-4017-9e45-d9e232f0fa3a 2025-11-04 17:09:24,843 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f15cd789-1507-4617-a62c-0317478e4148 2025-11-04 17:09:26,085 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.529 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.529/1.982/3.436/1.453 ms') 2025-11-04 17:09:26,085 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-70043556 passed 2025-11-04 17:09:26,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:09:26,242 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-70043556, IP 16.102.227.69, Port 22 2025-11-04 17:09:26,398 - DEBUG - VM ctest-vn1-vm2-70043556 is ready for SSH connections 2025-11-04 17:09:26,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:09:26,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:09:26,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:09:26,398 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.188.71.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 17:09:26,399 - DEBUG - ping -s 56 -c 3 -W 1 61.188.71.69 2025-11-04 17:09:28,994 - DEBUG - PING 61.188.71.69 (61.188.71.69): 56 data bytes 64 bytes from 61.188.71.69: seq=0 ttl=63 time=4.097 ms 64 bytes from 61.188.71.69: seq=1 ttl=63 time=0.939 ms 64 bytes from 61.188.71.69: seq=2 ttl=63 time=0.925 ms --- 61.188.71.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.925/1.987/4.097 ms 2025-11-04 17:09:28,994 - INFO - Ping to IP 61.188.71.69 from VM ctest-vn1-vm2-70043556 passed 2025-11-04 17:09:28,994 - INFO - Detaching port f15cd789-1507-4617-a62c-0317478e4148 from VM ctest-vn1-vm2-70043556 2025-11-04 17:09:29,043 - INFO - Deleting VM ctest-vn1-vm2-70043556 2025-11-04 17:09:29,109 - INFO - Detaching port fde3644f-9810-4c00-b0b0-45687786c2f6 from VM ctest-vn1-vm1-34420671 2025-11-04 17:09:29,141 - INFO - Deleting VM ctest-vn1-vm1-34420671 2025-11-04 17:09:29,368 - DEBUG - Response for delete_port : () 2025-11-04 17:09:29,517 - DEBUG - Response for delete_port : () 2025-11-04 17:09:29,517 - INFO - Deleting VN ctest-vn1-39967350 2025-11-04 17:09:29,645 - DEBUG - Response for deleting network () 2025-11-04 17:09:29,903 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 17:09:29,904 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-11-04 17:09:29,904 - INFO - -------------------------------------------------------------------------------- 2025-11-04 17:09:30,747 - INFO - Deleted project: ctest-TestPorts-87323143, ID : 6e26281b-d163-4d1c-acca-a93caf8f7b9c