2025-08-31 00:09:20,544 - INFO - Domain Default found not creating 2025-08-31 00:09:20,764 - INFO - Project ctest-TestPorts-39260016 not found, creating it 2025-08-31 00:09:21,259 - INFO - Created Project:ctest-TestPorts-39260016, ID : 5c31e35d-c191-4913-a6a1-c1ede1caea95 2025-08-31 00:09:22,830 - INFO - ================================================================================ 2025-08-31 00:09:22,830 - INFO - STARTING TEST : test_ports_bindings 2025-08-31 00:09:22,830 - 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-08-31 00:09:23,087 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-31 00:09:23,088 - INFO - Initial checks done. Running the testcase now 2025-08-31 00:09:23,088 - INFO - 2025-08-31 00:09:23,680 - DEBUG - Response for create_network : {'network': {'id': '9fa52d9d-c442-4b2c-87bb-5cf4d71cf300', 'name': 'ctest-vn-84671929', 'tenant_id': '5c31e35dc1914913a6a1c1ede1caea95', 'project_id': '5c31e35dc1914913a6a1c1ede1caea95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39260016', 'ctest-vn-84671929'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 00:09:23,890 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc4351b2-7670-4728-8643-2fb4331850aa', 'name': '', 'tenant_id': '5c31e35dc1914913a6a1c1ede1caea95', 'network_id': '9fa52d9d-c442-4b2c-87bb-5cf4d71cf300', 'ip_version': 4, 'cidr': '99.63.106.0/26', 'allocation_pools': [{'start': '99.63.106.2', 'end': '99.63.106.62'}], 'gateway_ip': '99.63.106.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.63.106.2', 'tags': [], 'project_id': '5c31e35dc1914913a6a1c1ede1caea95'}} 2025-08-31 00:09:23,909 - INFO - Created VN ctest-vn-84671929 2025-08-31 00:09:23,962 - DEBUG - VN ctest-vn-84671929 UUID is 9fa52d9d-c442-4b2c-87bb-5cf4d71cf300 2025-08-31 00:09:24,076 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-39260016', 'ctest-vmi-39797746']} 2025-08-31 00:09:24,343 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-39797746', 'id': 'b4112a3f-7ae8-429f-8c87-7446a803c87c', 'tenant_id': '5c31e35dc1914913a6a1c1ede1caea95', 'network_id': '9fa52d9d-c442-4b2c-87bb-5cf4d71cf300', 'mac_address': '02:b4:11:2a:3f:7a', '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': '99.63.106.3', 'subnet_id': 'bc4351b2-7670-4728-8643-2fb4331850aa'}], 'security_groups': ['b00e0866-7b9f-493a-8cf3-049f9376f53e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5c31e35dc1914913a6a1c1ede1caea95'}} 2025-08-31 00:09:24,343 - DEBUG - Created port b4112a3f-7ae8-429f-8c87-7446a803c87c 2025-08-31 00:09:24,450 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b4112a3f-7ae8-429f-8c87-7446a803c87c 2025-08-31 00:09:24,751 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b4112a3f-7ae8-429f-8c87-7446a803c87c 2025-08-31 00:09:24,785 - INFO - VMI b4112a3f-7ae8-429f-8c87-7446a803c87c verification in API Server passed 2025-08-31 00:09:24,881 - DEBUG - Response for delete_port : () 2025-08-31 00:09:24,881 - INFO - Deleted port b4112a3f-7ae8-429f-8c87-7446a803c87c 2025-08-31 00:09:24,882 - INFO - Deleting VN ctest-vn-84671929 2025-08-31 00:09:24,990 - DEBUG - Response for deleting network () 2025-08-31 00:09:25,251 - DEBUG - No XMPP flaps were noticed during the test 2025-08-31 00:09:25,251 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-31 00:09:25,251 - INFO - -------------------------------------------------------------------------------- 2025-08-31 00:09:25,254 - INFO - ================================================================================ 2025-08-31 00:09:25,254 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-31 00:09:25,254 - 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-08-31 00:09:25,554 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-31 00:09:25,554 - INFO - Initial checks done. Running the testcase now 2025-08-31 00:09:25,554 - INFO - 2025-08-31 00:09:25,732 - DEBUG - Response for create_network : {'network': {'id': '21e694f9-0b4d-4ac4-8b5b-f9ba6aa70b04', 'name': 'ctest-vn1-13049541', 'tenant_id': '5c31e35dc1914913a6a1c1ede1caea95', 'project_id': '5c31e35dc1914913a6a1c1ede1caea95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39260016', 'ctest-vn1-13049541'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 00:09:25,879 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b94060c7-91e4-4672-9070-a964f13c4abe', 'name': '', 'tenant_id': '5c31e35dc1914913a6a1c1ede1caea95', 'network_id': '21e694f9-0b4d-4ac4-8b5b-f9ba6aa70b04', 'ip_version': 4, 'cidr': '182.221.232.192/26', 'allocation_pools': [{'start': '182.221.232.194', 'end': '182.221.232.254'}], 'gateway_ip': '182.221.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.221.232.194', 'tags': [], 'project_id': '5c31e35dc1914913a6a1c1ede1caea95'}} 2025-08-31 00:09:26,083 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4b3b476-32cd-4d22-b49c-44880b27fc5a', 'name': '', 'tenant_id': '5c31e35dc1914913a6a1c1ede1caea95', 'network_id': '21e694f9-0b4d-4ac4-8b5b-f9ba6aa70b04', 'ip_version': 4, 'cidr': '207.81.183.128/26', 'allocation_pools': [{'start': '207.81.183.130', 'end': '207.81.183.190'}], 'gateway_ip': '207.81.183.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.81.183.130', 'tags': [], 'project_id': '5c31e35dc1914913a6a1c1ede1caea95'}} 2025-08-31 00:09:26,112 - INFO - Created VN ctest-vn1-13049541 2025-08-31 00:09:26,170 - DEBUG - VN ctest-vn1-13049541 UUID is 21e694f9-0b4d-4ac4-8b5b-f9ba6aa70b04 2025-08-31 00:09:26,506 - DEBUG - Response for create_port : {'port': {'name': '566c7acf-eb77-464e-9240-4565fc8ada80', 'id': '566c7acf-eb77-464e-9240-4565fc8ada80', 'tenant_id': '5c31e35dc1914913a6a1c1ede1caea95', 'network_id': '21e694f9-0b4d-4ac4-8b5b-f9ba6aa70b04', 'mac_address': '02:56:6c:7a:cf:eb', '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': '182.221.232.197', 'subnet_id': 'b94060c7-91e4-4672-9070-a964f13c4abe'}], 'security_groups': ['b00e0866-7b9f-493a-8cf3-049f9376f53e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5c31e35dc1914913a6a1c1ede1caea95'}} 2025-08-31 00:09:26,706 - DEBUG - Response for create_port : {'port': {'name': '6e55afba-3935-4b90-a10f-a122072e628b', 'id': '6e55afba-3935-4b90-a10f-a122072e628b', 'tenant_id': '5c31e35dc1914913a6a1c1ede1caea95', 'network_id': '21e694f9-0b4d-4ac4-8b5b-f9ba6aa70b04', 'mac_address': '02:6e:55:af:ba:39', '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': '207.81.183.133', 'subnet_id': 'e4b3b476-32cd-4d22-b49c-44880b27fc5a'}], 'security_groups': ['b00e0866-7b9f-493a-8cf3-049f9376f53e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5c31e35dc1914913a6a1c1ede1caea95'}} 2025-08-31 00:09:26,779 - DEBUG - Services list from nova: [, , ] 2025-08-31 00:09:27,209 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3985-1) 2025-08-31 00:09:27,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3985-1) 2025-08-31 00:09:27,695 - INFO - Waiting for VM ctest-vn1-vm1-74110601 to be up.. 2025-08-31 00:09:27,738 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 00:09:32,840 - DEBUG - VM is in ACTIVE state now 2025-08-31 00:09:32,840 - INFO - VM name : ctest-vn1-vm1-74110601 2025-08-31 00:09:32,939 - DEBUG - VM ctest-vn1-vm1-74110601 ID is d9d374dc-62c0-43d7-8b62-2c2a9f50b93e 2025-08-31 00:09:32,968 - DEBUG - VM ctest-vn1-vm1-74110601 launched on Node cn-jenkins-deploy-platform-ansible-os-3985-1 2025-08-31 00:09:33,076 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d9d374dc-62c0-43d7-8b62-2c2a9f50b93e 2025-08-31 00:09:33,086 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/566c7acf-eb77-464e-9240-4565fc8ada80 2025-08-31 00:09:36,362 - 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 1017ms') 2025-08-31 00:09:36,362 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74110601 failed! 2025-08-31 00:09:36,418 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39260016:ctest-vn1-13049541 is 182.221.232.193 and allocation pool is NOT set 2025-08-31 00:09:36,418 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39260016:ctest-vn1-13049541 is 207.81.183.129 and allocation pool is NOT set 2025-08-31 00:09:40,518 - 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=7.77 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1032ms\r\nrtt min/avg/max/mdev = 7.774/7.774/7.774/0.000 ms') 2025-08-31 00:09:40,518 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74110601 passed 2025-08-31 00:09:40,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:09:40,674 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74110601, IP 182.221.232.197, Port 22 2025-08-31 00:09:40,740 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-31 00:09:40,838 - DEBUG - VM ctest-vn1-vm1-74110601 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-31 00:09:45,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:09:45,839 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74110601, IP 182.221.232.197, Port 22 2025-08-31 00:09:45,997 - DEBUG - VM ctest-vn1-vm1-74110601 is ready for SSH connections 2025-08-31 00:09:45,998 - INFO - Waiting for VM ctest-vn1-vm2-06424378 to be up.. 2025-08-31 00:09:46,082 - DEBUG - VM is in ACTIVE state now 2025-08-31 00:09:46,082 - INFO - VM name : ctest-vn1-vm2-06424378 2025-08-31 00:09:46,164 - DEBUG - VM ctest-vn1-vm2-06424378 ID is 41687e83-34b0-45e7-8a4b-67b0d6b34f08 2025-08-31 00:09:46,164 - DEBUG - VM ctest-vn1-vm2-06424378 launched on Node cn-jenkins-deploy-platform-ansible-os-3985-1 2025-08-31 00:09:46,244 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/41687e83-34b0-45e7-8a4b-67b0d6b34f08 2025-08-31 00:09:46,256 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6e55afba-3935-4b90-a10f-a122072e628b 2025-08-31 00:09:47,516 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 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.510/1.810/3.110/1.300 ms') 2025-08-31 00:09:47,516 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-06424378 passed 2025-08-31 00:09:47,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:09:47,674 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-06424378, IP 207.81.183.133, Port 22 2025-08-31 00:09:47,844 - DEBUG - VM ctest-vn1-vm2-06424378 is ready for SSH connections 2025-08-31 00:09:47,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:09:47,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:09:47,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:09:47,845 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.221.232.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-31 00:09:47,845 - DEBUG - ping -s 56 -c 3 -W 1 182.221.232.197 2025-08-31 00:09:50,926 - DEBUG - PING 182.221.232.197 (182.221.232.197): 56 data bytes 64 bytes from 182.221.232.197: seq=0 ttl=63 time=4.012 ms 64 bytes from 182.221.232.197: seq=1 ttl=63 time=1.410 ms 64 bytes from 182.221.232.197: seq=2 ttl=63 time=1.323 ms --- 182.221.232.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.323/2.248/4.012 ms 2025-08-31 00:09:50,926 - INFO - Ping to IP 182.221.232.197 from VM ctest-vn1-vm2-06424378 passed 2025-08-31 00:09:50,926 - INFO - Detaching port 6e55afba-3935-4b90-a10f-a122072e628b from VM ctest-vn1-vm2-06424378 2025-08-31 00:09:51,009 - INFO - Deleting VM ctest-vn1-vm2-06424378 2025-08-31 00:09:51,113 - INFO - Detaching port 566c7acf-eb77-464e-9240-4565fc8ada80 from VM ctest-vn1-vm1-74110601 2025-08-31 00:09:51,152 - INFO - Deleting VM ctest-vn1-vm1-74110601 2025-08-31 00:09:51,432 - DEBUG - Response for delete_port : () 2025-08-31 00:09:51,623 - DEBUG - Response for delete_port : () 2025-08-31 00:09:51,623 - INFO - Deleting VN ctest-vn1-13049541 2025-08-31 00:09:51,780 - DEBUG - Response for deleting network () 2025-08-31 00:09:52,055 - DEBUG - No XMPP flaps were noticed during the test 2025-08-31 00:09:52,055 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27] 2025-08-31 00:09:52,056 - INFO - -------------------------------------------------------------------------------- 2025-08-31 00:09:52,748 - INFO - Deleted project: ctest-TestPorts-39260016, ID : 5c31e35d-c191-4913-a6a1-c1ede1caea95