2025-12-08 10:09:39,032 - INFO - Domain Default found not creating 2025-12-08 10:09:39,192 - INFO - Project ctest-TestPorts-69089743 not found, creating it 2025-12-08 10:09:39,648 - INFO - Created Project:ctest-TestPorts-69089743, ID : c6d3138a-97af-48ad-83c7-9df95a2f957f 2025-12-08 10:09:41,154 - INFO - ================================================================================ 2025-12-08 10:09:41,154 - INFO - STARTING TEST : test_ports_bindings 2025-12-08 10:09:41,154 - 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-12-08 10:09:41,413 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-12-08 10:09:41,413 - INFO - Initial checks done. Running the testcase now 2025-12-08 10:09:41,413 - INFO - 2025-12-08 10:09:42,079 - DEBUG - Response for create_network : {'network': {'id': '69b66582-e005-4f54-b420-e0b24ee231a9', 'name': 'ctest-vn-30428222', 'tenant_id': 'c6d3138a97af48ad83c79df95a2f957f', 'project_id': 'c6d3138a97af48ad83c79df95a2f957f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-69089743', 'ctest-vn-30428222'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 10:09:42,278 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c34abae-3aa7-4978-ab51-ca6fd57fc674', 'name': '', 'tenant_id': 'c6d3138a97af48ad83c79df95a2f957f', 'network_id': '69b66582-e005-4f54-b420-e0b24ee231a9', 'ip_version': 4, 'cidr': '62.45.234.192/26', 'allocation_pools': [{'start': '62.45.234.194', 'end': '62.45.234.254'}], 'gateway_ip': '62.45.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.45.234.194', 'tags': [], 'project_id': 'c6d3138a97af48ad83c79df95a2f957f'}} 2025-12-08 10:09:42,300 - INFO - Created VN ctest-vn-30428222 2025-12-08 10:09:42,355 - DEBUG - VN ctest-vn-30428222 UUID is 69b66582-e005-4f54-b420-e0b24ee231a9 2025-12-08 10:09:42,463 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-69089743', 'ctest-vmi-66314309']} 2025-12-08 10:09:42,722 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-66314309', 'id': '76a70a48-389f-4a72-aa40-4d89abb16b93', 'tenant_id': 'c6d3138a97af48ad83c79df95a2f957f', 'network_id': '69b66582-e005-4f54-b420-e0b24ee231a9', 'mac_address': '02:76:a7:0a:48:38', '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': '62.45.234.195', 'subnet_id': '3c34abae-3aa7-4978-ab51-ca6fd57fc674'}], 'security_groups': ['3631c873-9397-4992-a31f-f13c439a8c69'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c6d3138a97af48ad83c79df95a2f957f'}} 2025-12-08 10:09:42,722 - DEBUG - Created port 76a70a48-389f-4a72-aa40-4d89abb16b93 2025-12-08 10:09:42,827 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/76a70a48-389f-4a72-aa40-4d89abb16b93 2025-12-08 10:09:43,126 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/76a70a48-389f-4a72-aa40-4d89abb16b93 2025-12-08 10:09:43,160 - INFO - VMI 76a70a48-389f-4a72-aa40-4d89abb16b93 verification in API Server passed 2025-12-08 10:09:43,246 - DEBUG - Response for delete_port : () 2025-12-08 10:09:43,246 - INFO - Deleted port 76a70a48-389f-4a72-aa40-4d89abb16b93 2025-12-08 10:09:43,247 - INFO - Deleting VN ctest-vn-30428222 2025-12-08 10:09:43,354 - DEBUG - Response for deleting network () 2025-12-08 10:09:43,610 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 10:09:43,610 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-08 10:09:43,610 - INFO - -------------------------------------------------------------------------------- 2025-12-08 10:09:43,614 - INFO - ================================================================================ 2025-12-08 10:09:43,614 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-08 10:09:43,614 - 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-12-08 10:09:43,908 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-12-08 10:09:43,908 - INFO - Initial checks done. Running the testcase now 2025-12-08 10:09:43,908 - INFO - 2025-12-08 10:09:44,078 - DEBUG - Response for create_network : {'network': {'id': '7d133d96-a666-4c66-bd06-7eab337a8f1e', 'name': 'ctest-vn1-45923009', 'tenant_id': 'c6d3138a97af48ad83c79df95a2f957f', 'project_id': 'c6d3138a97af48ad83c79df95a2f957f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-69089743', 'ctest-vn1-45923009'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 10:09:44,256 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd87e9ec3-d9cb-4029-b109-a8b089049792', 'name': '', 'tenant_id': 'c6d3138a97af48ad83c79df95a2f957f', 'network_id': '7d133d96-a666-4c66-bd06-7eab337a8f1e', 'ip_version': 4, 'cidr': '168.182.175.192/26', 'allocation_pools': [{'start': '168.182.175.194', 'end': '168.182.175.254'}], 'gateway_ip': '168.182.175.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.182.175.194', 'tags': [], 'project_id': 'c6d3138a97af48ad83c79df95a2f957f'}} 2025-12-08 10:09:44,452 - DEBUG - Response for create_subnet : {'subnet': {'id': '563bb868-d327-433b-9474-36ee92116b0a', 'name': '', 'tenant_id': 'c6d3138a97af48ad83c79df95a2f957f', 'network_id': '7d133d96-a666-4c66-bd06-7eab337a8f1e', 'ip_version': 4, 'cidr': '102.26.17.0/26', 'allocation_pools': [{'start': '102.26.17.2', 'end': '102.26.17.62'}], 'gateway_ip': '102.26.17.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.26.17.2', 'tags': [], 'project_id': 'c6d3138a97af48ad83c79df95a2f957f'}} 2025-12-08 10:09:44,471 - INFO - Created VN ctest-vn1-45923009 2025-12-08 10:09:44,523 - DEBUG - VN ctest-vn1-45923009 UUID is 7d133d96-a666-4c66-bd06-7eab337a8f1e 2025-12-08 10:09:44,819 - DEBUG - Response for create_port : {'port': {'name': 'cbe1a6ed-d10b-46d0-a717-d096917d4cb9', 'id': 'cbe1a6ed-d10b-46d0-a717-d096917d4cb9', 'tenant_id': 'c6d3138a97af48ad83c79df95a2f957f', 'network_id': '7d133d96-a666-4c66-bd06-7eab337a8f1e', 'mac_address': '02:cb:e1:a6:ed:d1', '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': '168.182.175.197', 'subnet_id': 'd87e9ec3-d9cb-4029-b109-a8b089049792'}], 'security_groups': ['3631c873-9397-4992-a31f-f13c439a8c69'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c6d3138a97af48ad83c79df95a2f957f'}} 2025-12-08 10:09:44,993 - DEBUG - Response for create_port : {'port': {'name': '4c0cfcb5-88b4-4c8d-80b2-6d4d44cadf1f', 'id': '4c0cfcb5-88b4-4c8d-80b2-6d4d44cadf1f', 'tenant_id': 'c6d3138a97af48ad83c79df95a2f957f', 'network_id': '7d133d96-a666-4c66-bd06-7eab337a8f1e', 'mac_address': '02:4c:0c:fc:b5:88', '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': '102.26.17.5', 'subnet_id': '563bb868-d327-433b-9474-36ee92116b0a'}], 'security_groups': ['3631c873-9397-4992-a31f-f13c439a8c69'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c6d3138a97af48ad83c79df95a2f957f'}} 2025-12-08 10:09:45,058 - DEBUG - Services list from nova: [, , ] 2025-12-08 10:09:45,413 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4856-1) 2025-12-08 10:09:45,952 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4856-1) 2025-12-08 10:09:45,952 - INFO - Waiting for VM ctest-vn1-vm1-33179428 to be up.. 2025-12-08 10:09:45,991 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 10:09:51,070 - DEBUG - VM is in ACTIVE state now 2025-12-08 10:09:51,070 - INFO - VM name : ctest-vn1-vm1-33179428 2025-12-08 10:09:51,142 - DEBUG - VM ctest-vn1-vm1-33179428 ID is 34702352-2aa8-4a59-9810-5e7db706c7a5 2025-12-08 10:09:51,161 - DEBUG - VM ctest-vn1-vm1-33179428 launched on Node cn-jenkins-deploy-platform-ansible-os-4856-1 2025-12-08 10:09:51,232 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/34702352-2aa8-4a59-9810-5e7db706c7a5 2025-12-08 10:09:51,239 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cbe1a6ed-d10b-46d0-a717-d096917d4cb9 2025-12-08 10:09:54,490 - 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-12-08 10:09:54,490 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-33179428 failed! 2025-12-08 10:09:54,547 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-69089743:ctest-vn1-45923009 is 168.182.175.193 and allocation pool is NOT set 2025-12-08 10:09:54,547 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-69089743:ctest-vn1-45923009 is 102.26.17.1 and allocation pool is NOT set 2025-12-08 10:09:56,606 - 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=10.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.90 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 = 2.897/6.872/10.847/3.975 ms') 2025-12-08 10:09:56,606 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-33179428 passed 2025-12-08 10:09:56,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 10:09:56,759 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-33179428, IP 168.182.175.197, Port 22 2025-12-08 10:09:56,829 - 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-12-08 10:09:56,909 - DEBUG - VM ctest-vn1-vm1-33179428 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-08 10:10:01,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 10:10:01,910 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-33179428, IP 168.182.175.197, Port 22 2025-12-08 10:10:02,067 - DEBUG - VM ctest-vn1-vm1-33179428 is ready for SSH connections 2025-12-08 10:10:02,067 - INFO - Waiting for VM ctest-vn1-vm2-10340788 to be up.. 2025-12-08 10:10:02,143 - DEBUG - VM is in ACTIVE state now 2025-12-08 10:10:02,143 - INFO - VM name : ctest-vn1-vm2-10340788 2025-12-08 10:10:02,229 - DEBUG - VM ctest-vn1-vm2-10340788 ID is 16be7753-4c59-4993-85c8-6ee9ceda08f6 2025-12-08 10:10:02,229 - DEBUG - VM ctest-vn1-vm2-10340788 launched on Node cn-jenkins-deploy-platform-ansible-os-4856-1 2025-12-08 10:10:02,306 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/16be7753-4c59-4993-85c8-6ee9ceda08f6 2025-12-08 10:10:02,315 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4c0cfcb5-88b4-4c8d-80b2-6d4d44cadf1f 2025-12-08 10:10:03,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=3.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/1.758/3.100/1.342 ms') 2025-12-08 10:10:03,556 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-10340788 passed 2025-12-08 10:10:03,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 10:10:03,707 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-10340788, IP 102.26.17.5, Port 22 2025-12-08 10:10:03,873 - DEBUG - VM ctest-vn1-vm2-10340788 is ready for SSH connections 2025-12-08 10:10:03,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 10:10:03,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 10:10:03,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 10:10:03,874 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.182.175.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-08 10:10:03,874 - DEBUG - ping -s 56 -c 3 -W 1 168.182.175.197 2025-12-08 10:10:06,879 - DEBUG - PING 168.182.175.197 (168.182.175.197): 56 data bytes 64 bytes from 168.182.175.197: seq=0 ttl=63 time=3.661 ms 64 bytes from 168.182.175.197: seq=1 ttl=63 time=0.858 ms 64 bytes from 168.182.175.197: seq=2 ttl=63 time=1.086 ms --- 168.182.175.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.858/1.868/3.661 ms 2025-12-08 10:10:06,880 - INFO - Ping to IP 168.182.175.197 from VM ctest-vn1-vm2-10340788 passed 2025-12-08 10:10:06,880 - INFO - Detaching port 4c0cfcb5-88b4-4c8d-80b2-6d4d44cadf1f from VM ctest-vn1-vm2-10340788 2025-12-08 10:10:06,936 - INFO - Deleting VM ctest-vn1-vm2-10340788 2025-12-08 10:10:07,016 - INFO - Detaching port cbe1a6ed-d10b-46d0-a717-d096917d4cb9 from VM ctest-vn1-vm1-33179428 2025-12-08 10:10:07,056 - INFO - Deleting VM ctest-vn1-vm1-33179428 2025-12-08 10:10:07,287 - DEBUG - Response for delete_port : () 2025-12-08 10:10:07,450 - DEBUG - Response for delete_port : () 2025-12-08 10:10:07,450 - INFO - Deleting VN ctest-vn1-45923009 2025-12-08 10:10:07,568 - DEBUG - Response for deleting network () 2025-12-08 10:10:07,824 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 10:10:07,824 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-12-08 10:10:07,824 - INFO - -------------------------------------------------------------------------------- 2025-12-08 10:10:08,501 - INFO - Deleted project: ctest-TestPorts-69089743, ID : c6d3138a-97af-48ad-83c7-9df95a2f957f