2025-12-08 19:24:16,239 - INFO - Domain Default found not creating 2025-12-08 19:24:16,388 - INFO - Project ctest-TestPorts-64543008 not found, creating it 2025-12-08 19:24:16,845 - INFO - Created Project:ctest-TestPorts-64543008, ID : 35560cd4-4d76-44a1-bfee-31ba6279c943 2025-12-08 19:24:18,366 - INFO - ================================================================================ 2025-12-08 19:24:18,366 - INFO - STARTING TEST : test_ports_bindings 2025-12-08 19:24:18,366 - 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 19:24:18,627 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-12-08 19:24:18,627 - INFO - Initial checks done. Running the testcase now 2025-12-08 19:24:18,628 - INFO - 2025-12-08 19:24:19,182 - DEBUG - Response for create_network : {'network': {'id': 'ce02cfdb-d0af-414d-97c3-15a5d21bc6a7', 'name': 'ctest-vn-51383983', 'tenant_id': '35560cd44d7644a1bfee31ba6279c943', 'project_id': '35560cd44d7644a1bfee31ba6279c943', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64543008', 'ctest-vn-51383983'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 19:24:19,407 - DEBUG - Response for create_subnet : {'subnet': {'id': '8233fc9b-6a87-4d8c-80bf-db8f5d3f67e8', 'name': '', 'tenant_id': '35560cd44d7644a1bfee31ba6279c943', 'network_id': 'ce02cfdb-d0af-414d-97c3-15a5d21bc6a7', 'ip_version': 4, 'cidr': '22.110.100.192/26', 'allocation_pools': [{'start': '22.110.100.194', 'end': '22.110.100.254'}], 'gateway_ip': '22.110.100.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.110.100.194', 'tags': [], 'project_id': '35560cd44d7644a1bfee31ba6279c943'}} 2025-12-08 19:24:19,427 - INFO - Created VN ctest-vn-51383983 2025-12-08 19:24:19,478 - DEBUG - VN ctest-vn-51383983 UUID is ce02cfdb-d0af-414d-97c3-15a5d21bc6a7 2025-12-08 19:24:19,586 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-64543008', 'ctest-vmi-52240103']} 2025-12-08 19:24:19,878 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-52240103', 'id': '0e6539fb-9498-4b9e-9d13-895c70130d67', 'tenant_id': '35560cd44d7644a1bfee31ba6279c943', 'network_id': 'ce02cfdb-d0af-414d-97c3-15a5d21bc6a7', 'mac_address': '02:0e:65:39:fb:94', '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': '22.110.100.195', 'subnet_id': '8233fc9b-6a87-4d8c-80bf-db8f5d3f67e8'}], 'security_groups': ['3c6caa36-0e59-4cf6-85cb-d2cc32a899f0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '35560cd44d7644a1bfee31ba6279c943'}} 2025-12-08 19:24:19,878 - DEBUG - Created port 0e6539fb-9498-4b9e-9d13-895c70130d67 2025-12-08 19:24:19,982 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0e6539fb-9498-4b9e-9d13-895c70130d67 2025-12-08 19:24:20,276 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0e6539fb-9498-4b9e-9d13-895c70130d67 2025-12-08 19:24:20,308 - INFO - VMI 0e6539fb-9498-4b9e-9d13-895c70130d67 verification in API Server passed 2025-12-08 19:24:20,402 - DEBUG - Response for delete_port : () 2025-12-08 19:24:20,402 - INFO - Deleted port 0e6539fb-9498-4b9e-9d13-895c70130d67 2025-12-08 19:24:20,402 - INFO - Deleting VN ctest-vn-51383983 2025-12-08 19:24:20,502 - DEBUG - Response for deleting network () 2025-12-08 19:24:20,763 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 19:24:20,763 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-08 19:24:20,763 - INFO - -------------------------------------------------------------------------------- 2025-12-08 19:24:20,765 - INFO - ================================================================================ 2025-12-08 19:24:20,765 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-08 19:24:20,766 - 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 19:24:21,051 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-12-08 19:24:21,051 - INFO - Initial checks done. Running the testcase now 2025-12-08 19:24:21,052 - INFO - 2025-12-08 19:24:21,237 - DEBUG - Response for create_network : {'network': {'id': '90b0d765-680c-483c-8647-a91ae4281489', 'name': 'ctest-vn1-92694881', 'tenant_id': '35560cd44d7644a1bfee31ba6279c943', 'project_id': '35560cd44d7644a1bfee31ba6279c943', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64543008', 'ctest-vn1-92694881'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 19:24:21,454 - DEBUG - Response for create_subnet : {'subnet': {'id': '876cd220-81f9-4e72-9bcc-e18feb7a955c', 'name': '', 'tenant_id': '35560cd44d7644a1bfee31ba6279c943', 'network_id': '90b0d765-680c-483c-8647-a91ae4281489', 'ip_version': 4, 'cidr': '37.17.35.192/26', 'allocation_pools': [{'start': '37.17.35.194', 'end': '37.17.35.254'}], 'gateway_ip': '37.17.35.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.17.35.194', 'tags': [], 'project_id': '35560cd44d7644a1bfee31ba6279c943'}} 2025-12-08 19:24:21,627 - DEBUG - Response for create_subnet : {'subnet': {'id': '18cbc13a-18fc-4b26-8e13-e9382885209a', 'name': '', 'tenant_id': '35560cd44d7644a1bfee31ba6279c943', 'network_id': '90b0d765-680c-483c-8647-a91ae4281489', 'ip_version': 4, 'cidr': '181.175.111.192/26', 'allocation_pools': [{'start': '181.175.111.194', 'end': '181.175.111.254'}], 'gateway_ip': '181.175.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.175.111.194', 'tags': [], 'project_id': '35560cd44d7644a1bfee31ba6279c943'}} 2025-12-08 19:24:21,645 - INFO - Created VN ctest-vn1-92694881 2025-12-08 19:24:21,694 - DEBUG - VN ctest-vn1-92694881 UUID is 90b0d765-680c-483c-8647-a91ae4281489 2025-12-08 19:24:22,003 - DEBUG - Response for create_port : {'port': {'name': 'b0236572-38c5-494e-9b60-22248a4eb26f', 'id': 'b0236572-38c5-494e-9b60-22248a4eb26f', 'tenant_id': '35560cd44d7644a1bfee31ba6279c943', 'network_id': '90b0d765-680c-483c-8647-a91ae4281489', 'mac_address': '02:b0:23:65:72:38', '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': '37.17.35.197', 'subnet_id': '876cd220-81f9-4e72-9bcc-e18feb7a955c'}], 'security_groups': ['3c6caa36-0e59-4cf6-85cb-d2cc32a899f0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '35560cd44d7644a1bfee31ba6279c943'}} 2025-12-08 19:24:22,173 - DEBUG - Response for create_port : {'port': {'name': 'f668056a-426b-48a5-b9b2-4376e62febbd', 'id': 'f668056a-426b-48a5-b9b2-4376e62febbd', 'tenant_id': '35560cd44d7644a1bfee31ba6279c943', 'network_id': '90b0d765-680c-483c-8647-a91ae4281489', 'mac_address': '02:f6:68:05:6a:42', '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': '181.175.111.197', 'subnet_id': '18cbc13a-18fc-4b26-8e13-e9382885209a'}], 'security_groups': ['3c6caa36-0e59-4cf6-85cb-d2cc32a899f0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '35560cd44d7644a1bfee31ba6279c943'}} 2025-12-08 19:24:22,234 - DEBUG - Services list from nova: [, , ] 2025-12-08 19:24:22,590 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4858-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4858-1) 2025-12-08 19:24:23,010 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4858-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4858-1) 2025-12-08 19:24:23,010 - INFO - Waiting for VM ctest-vn1-vm1-01364280 to be up.. 2025-12-08 19:24:23,065 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 19:24:28,135 - DEBUG - VM is in ACTIVE state now 2025-12-08 19:24:28,135 - INFO - VM name : ctest-vn1-vm1-01364280 2025-12-08 19:24:28,204 - DEBUG - VM ctest-vn1-vm1-01364280 ID is 73368c75-d0e0-4bd5-853e-f0457a0a8c2d 2025-12-08 19:24:28,221 - DEBUG - VM ctest-vn1-vm1-01364280 launched on Node cn-jenkins-deploy-platform-ansible-os-4858-1 2025-12-08 19:24:28,300 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/73368c75-d0e0-4bd5-853e-f0457a0a8c2d 2025-12-08 19:24:28,308 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b0236572-38c5-494e-9b60-22248a4eb26f 2025-12-08 19:24:31,573 - 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 1018ms') 2025-12-08 19:24:31,573 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01364280 failed! 2025-12-08 19:24:31,634 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64543008:ctest-vn1-92694881 is 37.17.35.193 and allocation pool is NOT set 2025-12-08 19:24:31,634 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64543008:ctest-vn1-92694881 is 181.175.111.193 and allocation pool is NOT set 2025-12-08 19:24:33,696 - 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=8.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.42 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 = 1.422/4.926/8.431/3.504 ms') 2025-12-08 19:24:33,697 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01364280 passed 2025-12-08 19:24:33,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:24:33,846 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01364280, IP 37.17.35.197, Port 22 2025-12-08 19:24:33,911 - 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 19:24:33,982 - DEBUG - VM ctest-vn1-vm1-01364280 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-08 19:24:38,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:24:38,983 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01364280, IP 37.17.35.197, Port 22 2025-12-08 19:24:39,137 - DEBUG - VM ctest-vn1-vm1-01364280 is ready for SSH connections 2025-12-08 19:24:39,137 - INFO - Waiting for VM ctest-vn1-vm2-71160656 to be up.. 2025-12-08 19:24:39,207 - DEBUG - VM is in ACTIVE state now 2025-12-08 19:24:39,207 - INFO - VM name : ctest-vn1-vm2-71160656 2025-12-08 19:24:39,278 - DEBUG - VM ctest-vn1-vm2-71160656 ID is 69bdf64a-9bcb-4de4-9ea6-21b02f056e0d 2025-12-08 19:24:39,278 - DEBUG - VM ctest-vn1-vm2-71160656 launched on Node cn-jenkins-deploy-platform-ansible-os-4858-1 2025-12-08 19:24:39,351 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/69bdf64a-9bcb-4de4-9ea6-21b02f056e0d 2025-12-08 19:24:39,358 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f668056a-426b-48a5-b9b2-4376e62febbd 2025-12-08 19:24:40,599 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.360 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.360/1.565/2.771/1.205 ms') 2025-12-08 19:24:40,599 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-71160656 passed 2025-12-08 19:24:40,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:24:40,746 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-71160656, IP 181.175.111.197, Port 22 2025-12-08 19:24:40,911 - DEBUG - VM ctest-vn1-vm2-71160656 is ready for SSH connections 2025-12-08 19:24:40,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:24:40,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:24:40,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:24:40,912 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.17.35.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 19:24:40,912 - DEBUG - ping -s 56 -c 3 -W 1 37.17.35.197 2025-12-08 19:24:43,565 - DEBUG - PING 37.17.35.197 (37.17.35.197): 56 data bytes 64 bytes from 37.17.35.197: seq=0 ttl=63 time=3.477 ms 64 bytes from 37.17.35.197: seq=1 ttl=63 time=1.090 ms 64 bytes from 37.17.35.197: seq=2 ttl=63 time=0.986 ms --- 37.17.35.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.986/1.851/3.477 ms 2025-12-08 19:24:43,565 - INFO - Ping to IP 37.17.35.197 from VM ctest-vn1-vm2-71160656 passed 2025-12-08 19:24:43,565 - INFO - Detaching port f668056a-426b-48a5-b9b2-4376e62febbd from VM ctest-vn1-vm2-71160656 2025-12-08 19:24:43,614 - INFO - Deleting VM ctest-vn1-vm2-71160656 2025-12-08 19:24:43,678 - INFO - Detaching port b0236572-38c5-494e-9b60-22248a4eb26f from VM ctest-vn1-vm1-01364280 2025-12-08 19:24:43,715 - INFO - Deleting VM ctest-vn1-vm1-01364280 2025-12-08 19:24:43,925 - DEBUG - Response for delete_port : () 2025-12-08 19:24:44,090 - DEBUG - Response for delete_port : () 2025-12-08 19:24:44,090 - INFO - Deleting VN ctest-vn1-92694881 2025-12-08 19:24:44,216 - DEBUG - Response for deleting network () 2025-12-08 19:24:44,479 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 19:24:44,479 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-12-08 19:24:44,479 - INFO - -------------------------------------------------------------------------------- 2025-12-08 19:24:45,201 - INFO - Deleted project: ctest-TestPorts-64543008, ID : 35560cd4-4d76-44a1-bfee-31ba6279c943