2025-10-31 16:23:32,041 - INFO - Domain Default found not creating 2025-10-31 16:23:32,324 - INFO - Project ctest-TestPorts-15316057 not found, creating it 2025-10-31 16:23:32,876 - INFO - Created Project:ctest-TestPorts-15316057, ID : f2d8e842-97cb-4353-bb43-19016f861560 2025-10-31 16:23:34,874 - INFO - ================================================================================ 2025-10-31 16:23:34,874 - INFO - STARTING TEST : test_ports_bindings 2025-10-31 16:23:34,874 - 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-31 16:23:35,167 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-10-31 16:23:35,167 - INFO - Initial checks done. Running the testcase now 2025-10-31 16:23:35,168 - INFO - 2025-10-31 16:23:35,881 - DEBUG - Response for create_network : {'network': {'id': '8a968919-394c-45ea-a3da-16b08def33ce', 'name': 'ctest-vn-98597139', 'tenant_id': 'f2d8e84297cb4353bb4319016f861560', 'project_id': 'f2d8e84297cb4353bb4319016f861560', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15316057', 'ctest-vn-98597139'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 16:23:36,114 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f19565c1-4d53-4c45-a02b-4adea393fa9d', 'name': '', 'tenant_id': 'f2d8e84297cb4353bb4319016f861560', 'network_id': '8a968919-394c-45ea-a3da-16b08def33ce', 'ip_version': 4, 'cidr': '86.198.159.64/26', 'allocation_pools': [{'start': '86.198.159.66', 'end': '86.198.159.126'}], 'gateway_ip': '86.198.159.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.198.159.66', 'tags': [], 'project_id': 'f2d8e84297cb4353bb4319016f861560'}} 2025-10-31 16:23:36,135 - INFO - Created VN ctest-vn-98597139 2025-10-31 16:23:36,189 - DEBUG - VN ctest-vn-98597139 UUID is 8a968919-394c-45ea-a3da-16b08def33ce 2025-10-31 16:23:36,313 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15316057', 'ctest-vmi-47055308']} 2025-10-31 16:23:36,668 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-47055308', 'id': '07878788-ec96-40a1-98b5-50f6e51857a7', 'tenant_id': 'f2d8e84297cb4353bb4319016f861560', 'network_id': '8a968919-394c-45ea-a3da-16b08def33ce', 'mac_address': '02:07:87:87:88:ec', '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': '86.198.159.67', 'subnet_id': 'f19565c1-4d53-4c45-a02b-4adea393fa9d'}], 'security_groups': ['f97ffaf9-818b-4070-964b-a5f1fdc8bf0a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f2d8e84297cb4353bb4319016f861560'}} 2025-10-31 16:23:36,668 - DEBUG - Created port 07878788-ec96-40a1-98b5-50f6e51857a7 2025-10-31 16:23:36,777 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/07878788-ec96-40a1-98b5-50f6e51857a7 2025-10-31 16:23:37,083 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/07878788-ec96-40a1-98b5-50f6e51857a7 2025-10-31 16:23:37,122 - INFO - VMI 07878788-ec96-40a1-98b5-50f6e51857a7 verification in API Server passed 2025-10-31 16:23:37,223 - DEBUG - Response for delete_port : () 2025-10-31 16:23:37,223 - INFO - Deleted port 07878788-ec96-40a1-98b5-50f6e51857a7 2025-10-31 16:23:37,223 - INFO - Deleting VN ctest-vn-98597139 2025-10-31 16:23:37,342 - DEBUG - Response for deleting network () 2025-10-31 16:23:37,640 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 16:23:37,640 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-31 16:23:37,640 - INFO - -------------------------------------------------------------------------------- 2025-10-31 16:23:37,647 - INFO - ================================================================================ 2025-10-31 16:23:37,647 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-31 16:23:37,647 - 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-31 16:23:37,989 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-10-31 16:23:37,990 - INFO - Initial checks done. Running the testcase now 2025-10-31 16:23:37,990 - INFO - 2025-10-31 16:23:38,311 - DEBUG - Response for create_network : {'network': {'id': 'cdf3fa3f-aae9-4ef1-8197-14904e0d4e90', 'name': 'ctest-vn1-53261445', 'tenant_id': 'f2d8e84297cb4353bb4319016f861560', 'project_id': 'f2d8e84297cb4353bb4319016f861560', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15316057', 'ctest-vn1-53261445'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 16:23:38,545 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a96374ec-d935-42f7-bd86-c1bbd4926395', 'name': '', 'tenant_id': 'f2d8e84297cb4353bb4319016f861560', 'network_id': 'cdf3fa3f-aae9-4ef1-8197-14904e0d4e90', 'ip_version': 4, 'cidr': '120.109.57.0/26', 'allocation_pools': [{'start': '120.109.57.2', 'end': '120.109.57.62'}], 'gateway_ip': '120.109.57.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.109.57.2', 'tags': [], 'project_id': 'f2d8e84297cb4353bb4319016f861560'}} 2025-10-31 16:23:38,788 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c73bc1f-62b1-4ca7-a3a0-5327905cc977', 'name': '', 'tenant_id': 'f2d8e84297cb4353bb4319016f861560', 'network_id': 'cdf3fa3f-aae9-4ef1-8197-14904e0d4e90', 'ip_version': 4, 'cidr': '192.206.44.64/26', 'allocation_pools': [{'start': '192.206.44.66', 'end': '192.206.44.126'}], 'gateway_ip': '192.206.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.206.44.66', 'tags': [], 'project_id': 'f2d8e84297cb4353bb4319016f861560'}} 2025-10-31 16:23:38,812 - INFO - Created VN ctest-vn1-53261445 2025-10-31 16:23:38,873 - DEBUG - VN ctest-vn1-53261445 UUID is cdf3fa3f-aae9-4ef1-8197-14904e0d4e90 2025-10-31 16:23:39,336 - DEBUG - Response for create_port : {'port': {'name': 'dbd61aa7-dc11-4a90-a259-8c928693ff53', 'id': 'dbd61aa7-dc11-4a90-a259-8c928693ff53', 'tenant_id': 'f2d8e84297cb4353bb4319016f861560', 'network_id': 'cdf3fa3f-aae9-4ef1-8197-14904e0d4e90', 'mac_address': '02:db:d6:1a:a7:dc', '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': '120.109.57.5', 'subnet_id': 'a96374ec-d935-42f7-bd86-c1bbd4926395'}], 'security_groups': ['f97ffaf9-818b-4070-964b-a5f1fdc8bf0a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f2d8e84297cb4353bb4319016f861560'}} 2025-10-31 16:23:39,571 - DEBUG - Response for create_port : {'port': {'name': '239767bb-6b42-4852-bedf-e420740f5d17', 'id': '239767bb-6b42-4852-bedf-e420740f5d17', 'tenant_id': 'f2d8e84297cb4353bb4319016f861560', 'network_id': 'cdf3fa3f-aae9-4ef1-8197-14904e0d4e90', 'mac_address': '02:23:97:67:bb:6b', '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.206.44.69', 'subnet_id': '7c73bc1f-62b1-4ca7-a3a0-5327905cc977'}], 'security_groups': ['f97ffaf9-818b-4070-964b-a5f1fdc8bf0a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f2d8e84297cb4353bb4319016f861560'}} 2025-10-31 16:23:39,640 - DEBUG - Services list from nova: [, , ] 2025-10-31 16:23:40,450 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4579-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4579-1) 2025-10-31 16:23:41,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4579-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4579-1) 2025-10-31 16:23:41,259 - INFO - Waiting for VM ctest-vn1-vm1-26941157 to be up.. 2025-10-31 16:23:41,331 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 16:23:46,432 - DEBUG - VM is in ACTIVE state now 2025-10-31 16:23:46,432 - INFO - VM name : ctest-vn1-vm1-26941157 2025-10-31 16:23:46,517 - DEBUG - VM ctest-vn1-vm1-26941157 ID is 978836e5-76df-4867-bee2-6a1b0d0aa9aa 2025-10-31 16:23:46,543 - DEBUG - VM ctest-vn1-vm1-26941157 launched on Node cn-jenkins-deploy-platform-ansible-os-4579-1 2025-10-31 16:23:46,633 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/978836e5-76df-4867-bee2-6a1b0d0aa9aa 2025-10-31 16:23:46,643 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dbd61aa7-dc11-4a90-a259-8c928693ff53 2025-10-31 16:23:49,939 - 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 1021ms') 2025-10-31 16:23:49,940 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26941157 failed! 2025-10-31 16:23:50,004 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15316057:ctest-vn1-53261445 is 120.109.57.1 and allocation pool is NOT set 2025-10-31 16:23:50,005 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15316057:ctest-vn1-53261445 is 192.206.44.65 and allocation pool is NOT set 2025-10-31 16:23:54,100 - 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=12.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 12.186/12.186/12.186/0.000 ms') 2025-10-31 16:23:54,100 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26941157 passed 2025-10-31 16:23:54,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:23:54,281 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-26941157, IP 120.109.57.5, Port 22 2025-10-31 16:23:54,354 - 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-10-31 16:23:54,557 - DEBUG - VM ctest-vn1-vm1-26941157 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 16:23:59,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:23:59,559 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-26941157, IP 120.109.57.5, Port 22 2025-10-31 16:23:59,772 - DEBUG - VM ctest-vn1-vm1-26941157 is ready for SSH connections 2025-10-31 16:23:59,772 - INFO - Waiting for VM ctest-vn1-vm2-98563932 to be up.. 2025-10-31 16:23:59,955 - DEBUG - VM is in ACTIVE state now 2025-10-31 16:23:59,955 - INFO - VM name : ctest-vn1-vm2-98563932 2025-10-31 16:24:00,090 - DEBUG - VM ctest-vn1-vm2-98563932 ID is 8b1c9adc-6e3d-4b1b-9d32-d7e4c081e43d 2025-10-31 16:24:00,091 - DEBUG - VM ctest-vn1-vm2-98563932 launched on Node cn-jenkins-deploy-platform-ansible-os-4579-1 2025-10-31 16:24:00,231 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8b1c9adc-6e3d-4b1b-9d32-d7e4c081e43d 2025-10-31 16:24:00,242 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/239767bb-6b42-4852-bedf-e420740f5d17 2025-10-31 16:24:01,556 - 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=11.0 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.586 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.586/5.788/10.991/5.202 ms') 2025-10-31 16:24:01,556 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-98563932 passed 2025-10-31 16:24:01,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:24:01,745 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-98563932, IP 192.206.44.69, Port 22 2025-10-31 16:24:01,915 - DEBUG - VM ctest-vn1-vm2-98563932 is ready for SSH connections 2025-10-31 16:24:01,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:24:01,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:24:01,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:24:01,915 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.109.57.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-31 16:24:01,915 - DEBUG - ping -s 56 -c 3 -W 1 120.109.57.5 2025-10-31 16:24:04,923 - DEBUG - PING 120.109.57.5 (120.109.57.5): 56 data bytes 64 bytes from 120.109.57.5: seq=0 ttl=63 time=4.550 ms 64 bytes from 120.109.57.5: seq=1 ttl=63 time=1.964 ms 64 bytes from 120.109.57.5: seq=2 ttl=63 time=2.150 ms --- 120.109.57.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.964/2.888/4.550 ms 2025-10-31 16:24:04,923 - INFO - Ping to IP 120.109.57.5 from VM ctest-vn1-vm2-98563932 passed 2025-10-31 16:24:04,924 - INFO - Detaching port 239767bb-6b42-4852-bedf-e420740f5d17 from VM ctest-vn1-vm2-98563932 2025-10-31 16:24:05,073 - INFO - Deleting VM ctest-vn1-vm2-98563932 2025-10-31 16:24:05,235 - INFO - Detaching port dbd61aa7-dc11-4a90-a259-8c928693ff53 from VM ctest-vn1-vm1-26941157 2025-10-31 16:24:05,296 - INFO - Deleting VM ctest-vn1-vm1-26941157 2025-10-31 16:24:05,648 - DEBUG - Response for delete_port : () 2025-10-31 16:24:05,817 - DEBUG - Response for delete_port : () 2025-10-31 16:24:05,817 - INFO - Deleting VN ctest-vn1-53261445 2025-10-31 16:24:05,967 - DEBUG - Response for deleting network () 2025-10-31 16:24:06,243 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 16:24:06,243 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29] 2025-10-31 16:24:06,244 - INFO - -------------------------------------------------------------------------------- 2025-10-31 16:24:06,910 - INFO - Deleted project: ctest-TestPorts-15316057, ID : f2d8e842-97cb-4353-bb43-19016f861560