2025-10-27 11:33:12,475 - INFO - Domain Default found not creating 2025-10-27 11:33:12,640 - INFO - Project ctest-TestPorts-72591272 not found, creating it 2025-10-27 11:33:13,067 - INFO - Created Project:ctest-TestPorts-72591272, ID : e90407af-69c6-4e2f-aeca-4ed7278181d9 2025-10-27 11:33:14,527 - INFO - ================================================================================ 2025-10-27 11:33:14,527 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 11:33:14,527 - 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-27 11:33:14,783 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-10-27 11:33:14,783 - INFO - Initial checks done. Running the testcase now 2025-10-27 11:33:14,783 - INFO - 2025-10-27 11:33:15,340 - DEBUG - Response for create_network : {'network': {'id': '1730b23e-1135-41c0-9e4a-d3f86339786c', 'name': 'ctest-vn-36732871', 'tenant_id': 'e90407af69c64e2faeca4ed7278181d9', 'project_id': 'e90407af69c64e2faeca4ed7278181d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72591272', 'ctest-vn-36732871'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:33:15,518 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf42ce30-1bd4-4d1b-b3a5-38834e19b7bd', 'name': '', 'tenant_id': 'e90407af69c64e2faeca4ed7278181d9', 'network_id': '1730b23e-1135-41c0-9e4a-d3f86339786c', 'ip_version': 4, 'cidr': '86.120.219.192/26', 'allocation_pools': [{'start': '86.120.219.194', 'end': '86.120.219.254'}], 'gateway_ip': '86.120.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.120.219.194', 'tags': [], 'project_id': 'e90407af69c64e2faeca4ed7278181d9'}} 2025-10-27 11:33:15,539 - INFO - Created VN ctest-vn-36732871 2025-10-27 11:33:15,593 - DEBUG - VN ctest-vn-36732871 UUID is 1730b23e-1135-41c0-9e4a-d3f86339786c 2025-10-27 11:33:15,705 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-72591272', 'ctest-vmi-53908925']} 2025-10-27 11:33:15,946 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-53908925', 'id': '208731f5-f036-46f7-bbf8-2def3ff91688', 'tenant_id': 'e90407af69c64e2faeca4ed7278181d9', 'network_id': '1730b23e-1135-41c0-9e4a-d3f86339786c', 'mac_address': '02:20:87:31:f5:f0', '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.120.219.195', 'subnet_id': 'cf42ce30-1bd4-4d1b-b3a5-38834e19b7bd'}], 'security_groups': ['a3ddde75-a1d4-4af7-a96e-afc65dbbfc03'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e90407af69c64e2faeca4ed7278181d9'}} 2025-10-27 11:33:15,946 - DEBUG - Created port 208731f5-f036-46f7-bbf8-2def3ff91688 2025-10-27 11:33:16,049 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/208731f5-f036-46f7-bbf8-2def3ff91688 2025-10-27 11:33:16,372 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/208731f5-f036-46f7-bbf8-2def3ff91688 2025-10-27 11:33:16,410 - INFO - VMI 208731f5-f036-46f7-bbf8-2def3ff91688 verification in API Server passed 2025-10-27 11:33:16,491 - DEBUG - Response for delete_port : () 2025-10-27 11:33:16,491 - INFO - Deleted port 208731f5-f036-46f7-bbf8-2def3ff91688 2025-10-27 11:33:16,491 - INFO - Deleting VN ctest-vn-36732871 2025-10-27 11:33:16,640 - DEBUG - Response for deleting network () 2025-10-27 11:33:16,901 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 11:33:16,901 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-27 11:33:16,901 - INFO - -------------------------------------------------------------------------------- 2025-10-27 11:33:16,903 - INFO - ================================================================================ 2025-10-27 11:33:16,903 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 11:33:16,903 - 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-27 11:33:17,191 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-10-27 11:33:17,191 - INFO - Initial checks done. Running the testcase now 2025-10-27 11:33:17,191 - INFO - 2025-10-27 11:33:17,379 - DEBUG - Response for create_network : {'network': {'id': 'bf1b8a4c-2080-4536-8492-ac1ebedd56ba', 'name': 'ctest-vn1-71167718', 'tenant_id': 'e90407af69c64e2faeca4ed7278181d9', 'project_id': 'e90407af69c64e2faeca4ed7278181d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72591272', 'ctest-vn1-71167718'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:33:17,546 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f832f203-57fd-4517-a211-9d98a11242b0', 'name': '', 'tenant_id': 'e90407af69c64e2faeca4ed7278181d9', 'network_id': 'bf1b8a4c-2080-4536-8492-ac1ebedd56ba', 'ip_version': 4, 'cidr': '132.40.250.128/26', 'allocation_pools': [{'start': '132.40.250.130', 'end': '132.40.250.190'}], 'gateway_ip': '132.40.250.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.40.250.130', 'tags': [], 'project_id': 'e90407af69c64e2faeca4ed7278181d9'}} 2025-10-27 11:33:17,692 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd42679e5-1b91-4d1b-8ee5-d0fbf72fdf04', 'name': '', 'tenant_id': 'e90407af69c64e2faeca4ed7278181d9', 'network_id': 'bf1b8a4c-2080-4536-8492-ac1ebedd56ba', 'ip_version': 4, 'cidr': '201.238.192.64/26', 'allocation_pools': [{'start': '201.238.192.66', 'end': '201.238.192.126'}], 'gateway_ip': '201.238.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.238.192.66', 'tags': [], 'project_id': 'e90407af69c64e2faeca4ed7278181d9'}} 2025-10-27 11:33:17,711 - INFO - Created VN ctest-vn1-71167718 2025-10-27 11:33:17,765 - DEBUG - VN ctest-vn1-71167718 UUID is bf1b8a4c-2080-4536-8492-ac1ebedd56ba 2025-10-27 11:33:18,072 - DEBUG - Response for create_port : {'port': {'name': '9dfb4c50-38b7-4b41-b975-88d07f83df4a', 'id': '9dfb4c50-38b7-4b41-b975-88d07f83df4a', 'tenant_id': 'e90407af69c64e2faeca4ed7278181d9', 'network_id': 'bf1b8a4c-2080-4536-8492-ac1ebedd56ba', 'mac_address': '02:9d:fb:4c:50: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': '132.40.250.133', 'subnet_id': 'f832f203-57fd-4517-a211-9d98a11242b0'}], 'security_groups': ['a3ddde75-a1d4-4af7-a96e-afc65dbbfc03'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e90407af69c64e2faeca4ed7278181d9'}} 2025-10-27 11:33:18,242 - DEBUG - Response for create_port : {'port': {'name': '72154ca3-3f88-471e-a8c8-bcc6ca1e6ed4', 'id': '72154ca3-3f88-471e-a8c8-bcc6ca1e6ed4', 'tenant_id': 'e90407af69c64e2faeca4ed7278181d9', 'network_id': 'bf1b8a4c-2080-4536-8492-ac1ebedd56ba', 'mac_address': '02:72:15:4c:a3:3f', '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': '201.238.192.69', 'subnet_id': 'd42679e5-1b91-4d1b-8ee5-d0fbf72fdf04'}], 'security_groups': ['a3ddde75-a1d4-4af7-a96e-afc65dbbfc03'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e90407af69c64e2faeca4ed7278181d9'}} 2025-10-27 11:33:18,302 - DEBUG - Services list from nova: [, , ] 2025-10-27 11:33:18,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4499-1) 2025-10-27 11:33:19,027 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4499-1) 2025-10-27 11:33:19,027 - INFO - Waiting for VM ctest-vn1-vm1-88699131 to be up.. 2025-10-27 11:33:19,070 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 11:33:24,171 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:33:24,171 - INFO - VM name : ctest-vn1-vm1-88699131 2025-10-27 11:33:24,252 - DEBUG - VM ctest-vn1-vm1-88699131 ID is 2b88fe21-5410-45b6-a1e9-d21cdbe9d71c 2025-10-27 11:33:24,274 - DEBUG - VM ctest-vn1-vm1-88699131 launched on Node cn-jenkins-deploy-platform-ansible-os-4499-1 2025-10-27 11:33:24,355 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2b88fe21-5410-45b6-a1e9-d21cdbe9d71c 2025-10-27 11:33:24,364 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9dfb4c50-38b7-4b41-b975-88d07f83df4a 2025-10-27 11:33:27,618 - 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-10-27 11:33:27,618 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88699131 failed! 2025-10-27 11:33:27,673 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72591272:ctest-vn1-71167718 is 132.40.250.129 and allocation pool is NOT set 2025-10-27 11:33:27,673 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72591272:ctest-vn1-71167718 is 201.238.192.65 and allocation pool is NOT set 2025-10-27 11:33:29,735 - 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=4.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.57 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 = 2.566/3.463/4.360/0.897 ms') 2025-10-27 11:33:29,736 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88699131 passed 2025-10-27 11:33:29,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:33:29,893 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88699131, IP 132.40.250.133, Port 22 2025-10-27 11:33:29,949 - 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-27 11:33:30,028 - DEBUG - VM ctest-vn1-vm1-88699131 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 11:33:35,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:33:35,029 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88699131, IP 132.40.250.133, Port 22 2025-10-27 11:33:35,189 - DEBUG - VM ctest-vn1-vm1-88699131 is ready for SSH connections 2025-10-27 11:33:35,189 - INFO - Waiting for VM ctest-vn1-vm2-09545023 to be up.. 2025-10-27 11:33:35,263 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:33:35,264 - INFO - VM name : ctest-vn1-vm2-09545023 2025-10-27 11:33:35,336 - DEBUG - VM ctest-vn1-vm2-09545023 ID is 3d10a366-7f69-49d2-a221-3bd810d4b09a 2025-10-27 11:33:35,336 - DEBUG - VM ctest-vn1-vm2-09545023 launched on Node cn-jenkins-deploy-platform-ansible-os-4499-1 2025-10-27 11:33:35,406 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3d10a366-7f69-49d2-a221-3bd810d4b09a 2025-10-27 11:33:35,415 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/72154ca3-3f88-471e-a8c8-bcc6ca1e6ed4 2025-10-27 11:33:36,656 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.638 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.638/1.925/3.212/1.287 ms') 2025-10-27 11:33:36,656 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-09545023 passed 2025-10-27 11:33:36,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:33:36,806 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-09545023, IP 201.238.192.69, Port 22 2025-10-27 11:33:36,961 - DEBUG - VM ctest-vn1-vm2-09545023 is ready for SSH connections 2025-10-27 11:33:36,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:33:36,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:33:36,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:33:36,961 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.40.250.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-27 11:33:36,961 - DEBUG - ping -s 56 -c 3 -W 1 132.40.250.133 2025-10-27 11:33:39,612 - DEBUG - PING 132.40.250.133 (132.40.250.133): 56 data bytes 64 bytes from 132.40.250.133: seq=0 ttl=63 time=3.654 ms 64 bytes from 132.40.250.133: seq=1 ttl=63 time=0.988 ms 64 bytes from 132.40.250.133: seq=2 ttl=63 time=1.260 ms --- 132.40.250.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.988/1.967/3.654 ms 2025-10-27 11:33:39,612 - INFO - Ping to IP 132.40.250.133 from VM ctest-vn1-vm2-09545023 passed 2025-10-27 11:33:39,612 - INFO - Detaching port 72154ca3-3f88-471e-a8c8-bcc6ca1e6ed4 from VM ctest-vn1-vm2-09545023 2025-10-27 11:33:39,676 - INFO - Deleting VM ctest-vn1-vm2-09545023 2025-10-27 11:33:39,751 - INFO - Detaching port 9dfb4c50-38b7-4b41-b975-88d07f83df4a from VM ctest-vn1-vm1-88699131 2025-10-27 11:33:39,788 - INFO - Deleting VM ctest-vn1-vm1-88699131 2025-10-27 11:33:40,058 - DEBUG - Response for delete_port : () 2025-10-27 11:33:40,270 - DEBUG - Response for delete_port : () 2025-10-27 11:33:40,270 - INFO - Deleting VN ctest-vn1-71167718 2025-10-27 11:33:40,440 - DEBUG - Response for deleting network () 2025-10-27 11:33:40,699 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 11:33:40,699 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-27 11:33:40,699 - INFO - -------------------------------------------------------------------------------- 2025-10-27 11:33:41,416 - INFO - Deleted project: ctest-TestPorts-72591272, ID : e90407af-69c6-4e2f-aeca-4ed7278181d9