2025-09-14 22:36:17,446 - INFO - Domain Default found not creating 2025-09-14 22:36:17,568 - INFO - Project ctest-TestPorts-24531826 not found, creating it 2025-09-14 22:36:17,984 - INFO - Created Project:ctest-TestPorts-24531826, ID : 913cae9e-72a3-4e64-99c1-7b1af74cbe4f 2025-09-14 22:36:19,309 - INFO - ================================================================================ 2025-09-14 22:36:19,309 - INFO - STARTING TEST : test_ports_bindings 2025-09-14 22:36:19,309 - 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-09-14 22:36:19,562 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-14 22:36:19,562 - INFO - Initial checks done. Running the testcase now 2025-09-14 22:36:19,562 - INFO - 2025-09-14 22:36:20,161 - DEBUG - Response for create_network : {'network': {'id': '9a56c466-28b6-42be-bee9-93a6409a2672', 'name': 'ctest-vn-71740182', 'tenant_id': '913cae9e72a34e6499c17b1af74cbe4f', 'project_id': '913cae9e72a34e6499c17b1af74cbe4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-24531826', 'ctest-vn-71740182'], 'port_security_enabled': True, 'description': ''}} 2025-09-14 22:36:20,321 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd900fba-6791-40cc-b213-5609262d7bc5', 'name': '', 'tenant_id': '913cae9e72a34e6499c17b1af74cbe4f', 'network_id': '9a56c466-28b6-42be-bee9-93a6409a2672', 'ip_version': 4, 'cidr': '102.66.59.0/26', 'allocation_pools': [{'start': '102.66.59.2', 'end': '102.66.59.62'}], 'gateway_ip': '102.66.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.66.59.2', 'tags': [], 'project_id': '913cae9e72a34e6499c17b1af74cbe4f'}} 2025-09-14 22:36:20,335 - INFO - Created VN ctest-vn-71740182 2025-09-14 22:36:20,384 - DEBUG - VN ctest-vn-71740182 UUID is 9a56c466-28b6-42be-bee9-93a6409a2672 2025-09-14 22:36:20,481 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-24531826', 'ctest-vmi-08245836']} 2025-09-14 22:36:20,740 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-08245836', 'id': '4be330aa-22ae-4fbd-a8da-a3dd9aeef399', 'tenant_id': '913cae9e72a34e6499c17b1af74cbe4f', 'network_id': '9a56c466-28b6-42be-bee9-93a6409a2672', 'mac_address': '02:4b:e3:30:aa:22', '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': '102.66.59.3', 'subnet_id': 'dd900fba-6791-40cc-b213-5609262d7bc5'}], 'security_groups': ['2f7ae507-f34d-40a6-9124-6f26c9e0c2c4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '913cae9e72a34e6499c17b1af74cbe4f'}} 2025-09-14 22:36:20,740 - DEBUG - Created port 4be330aa-22ae-4fbd-a8da-a3dd9aeef399 2025-09-14 22:36:20,845 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4be330aa-22ae-4fbd-a8da-a3dd9aeef399 2025-09-14 22:36:21,130 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4be330aa-22ae-4fbd-a8da-a3dd9aeef399 2025-09-14 22:36:21,160 - INFO - VMI 4be330aa-22ae-4fbd-a8da-a3dd9aeef399 verification in API Server passed 2025-09-14 22:36:21,237 - DEBUG - Response for delete_port : () 2025-09-14 22:36:21,237 - INFO - Deleted port 4be330aa-22ae-4fbd-a8da-a3dd9aeef399 2025-09-14 22:36:21,237 - INFO - Deleting VN ctest-vn-71740182 2025-09-14 22:36:21,324 - DEBUG - Response for deleting network () 2025-09-14 22:36:21,581 - DEBUG - No XMPP flaps were noticed during the test
2025-09-14 22:36:21,581 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-14 22:36:21,581 - INFO - -------------------------------------------------------------------------------- 2025-09-14 22:36:21,583 - INFO - ================================================================================ 2025-09-14 22:36:21,583 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-14 22:36:21,583 - 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-09-14 22:36:21,868 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-14 22:36:21,868 - INFO - Initial checks done. Running the testcase now 2025-09-14 22:36:21,868 - INFO - 2025-09-14 22:36:22,038 - DEBUG - Response for create_network : {'network': {'id': '9544e233-a8e1-47ef-a7c6-e5fb0106a3f2', 'name': 'ctest-vn1-50714169', 'tenant_id': '913cae9e72a34e6499c17b1af74cbe4f', 'project_id': '913cae9e72a34e6499c17b1af74cbe4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-24531826', 'ctest-vn1-50714169'], 'port_security_enabled': True, 'description': ''}} 2025-09-14 22:36:22,213 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a474367-6f77-4962-9434-fe2f847bbab0', 'name': '', 'tenant_id': '913cae9e72a34e6499c17b1af74cbe4f', 'network_id': '9544e233-a8e1-47ef-a7c6-e5fb0106a3f2', 'ip_version': 4, 'cidr': '51.109.185.192/26', 'allocation_pools': [{'start': '51.109.185.194', 'end': '51.109.185.254'}], 'gateway_ip': '51.109.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.109.185.194', 'tags': [], 'project_id': '913cae9e72a34e6499c17b1af74cbe4f'}} 2025-09-14 22:36:22,410 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd236ff8d-a72e-4f5e-ae9e-7686eb18f3a1', 'name': '', 'tenant_id': '913cae9e72a34e6499c17b1af74cbe4f', 'network_id': '9544e233-a8e1-47ef-a7c6-e5fb0106a3f2', 'ip_version': 4, 'cidr': '120.232.226.192/26', 'allocation_pools': [{'start': '120.232.226.194', 'end': '120.232.226.254'}], 'gateway_ip': '120.232.226.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.232.226.194', 'tags': [], 'project_id': '913cae9e72a34e6499c17b1af74cbe4f'}} 2025-09-14 22:36:22,428 - INFO - Created VN ctest-vn1-50714169 2025-09-14 22:36:22,481 - DEBUG - VN ctest-vn1-50714169 UUID is 9544e233-a8e1-47ef-a7c6-e5fb0106a3f2 2025-09-14 22:36:22,753 - DEBUG - Response for create_port : {'port': {'name': 'd62e513e-b36f-4963-baa6-aef2dea72fdb', 'id': 'd62e513e-b36f-4963-baa6-aef2dea72fdb', 'tenant_id': '913cae9e72a34e6499c17b1af74cbe4f', 'network_id': '9544e233-a8e1-47ef-a7c6-e5fb0106a3f2', 'mac_address': '02:d6:2e:51:3e:b3', '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': '51.109.185.197', 'subnet_id': '4a474367-6f77-4962-9434-fe2f847bbab0'}], 'security_groups': ['2f7ae507-f34d-40a6-9124-6f26c9e0c2c4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '913cae9e72a34e6499c17b1af74cbe4f'}} 2025-09-14 22:36:22,913 - DEBUG - Response for create_port : {'port': {'name': '497e9de0-eee3-481d-9271-c18705a8da56', 'id': '497e9de0-eee3-481d-9271-c18705a8da56', 'tenant_id': '913cae9e72a34e6499c17b1af74cbe4f', 'network_id': '9544e233-a8e1-47ef-a7c6-e5fb0106a3f2', 'mac_address': '02:49:7e:9d:e0:ee', '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.232.226.197', 'subnet_id': 'd236ff8d-a72e-4f5e-ae9e-7686eb18f3a1'}], 'security_groups': ['2f7ae507-f34d-40a6-9124-6f26c9e0c2c4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '913cae9e72a34e6499c17b1af74cbe4f'}} 2025-09-14 22:36:22,962 - DEBUG - Services list from nova: [, , ] 2025-09-14 22:36:23,240 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4106-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4106-1) 2025-09-14 22:36:23,585 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4106-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4106-1) 2025-09-14 22:36:23,585 - INFO - Waiting for VM ctest-vn1-vm1-39883108 to be up.. 2025-09-14 22:36:23,618 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-14 22:36:28,688 - DEBUG - VM is in ACTIVE state now 2025-09-14 22:36:28,688 - INFO - VM name : ctest-vn1-vm1-39883108 2025-09-14 22:36:28,751 - DEBUG - VM ctest-vn1-vm1-39883108 ID is 405406d7-2cb0-4143-8d9b-cdf256ac0a95 2025-09-14 22:36:28,770 - DEBUG - VM ctest-vn1-vm1-39883108 launched on Node cn-jenkins-deploy-platform-ansible-os-4106-1 2025-09-14 22:36:28,837 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/405406d7-2cb0-4143-8d9b-cdf256ac0a95 2025-09-14 22:36:28,844 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d62e513e-b36f-4963-baa6-aef2dea72fdb 2025-09-14 22:36:32,098 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-09-14 22:36:32,098 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-39883108 failed! 2025-09-14 22:36:32,156 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24531826:ctest-vn1-50714169 is 51.109.185.193 and allocation pool is NOT set 2025-09-14 22:36:32,157 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24531826:ctest-vn1-50714169 is 120.232.226.193 and allocation pool is NOT set 2025-09-14 22:36:34,213 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.523 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.523/2.240/3.958/1.717 ms') 2025-09-14 22:36:34,214 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-39883108 passed 2025-09-14 22:36:34,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-14 22:36:34,361 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39883108, IP 51.109.185.197, Port 22 2025-09-14 22:36:34,416 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-14 22:36:34,484 - DEBUG - VM ctest-vn1-vm1-39883108 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-14 22:36:39,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-14 22:36:39,485 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39883108, IP 51.109.185.197, Port 22 2025-09-14 22:36:39,639 - DEBUG - VM ctest-vn1-vm1-39883108 is ready for SSH connections 2025-09-14 22:36:39,640 - INFO - Waiting for VM ctest-vn1-vm2-17639124 to be up.. 2025-09-14 22:36:39,711 - DEBUG - VM is in ACTIVE state now 2025-09-14 22:36:39,711 - INFO - VM name : ctest-vn1-vm2-17639124 2025-09-14 22:36:39,785 - DEBUG - VM ctest-vn1-vm2-17639124 ID is c22877c2-3559-4a02-a24a-5812ce1164d1 2025-09-14 22:36:39,785 - DEBUG - VM ctest-vn1-vm2-17639124 launched on Node cn-jenkins-deploy-platform-ansible-os-4106-1 2025-09-14 22:36:39,859 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c22877c2-3559-4a02-a24a-5812ce1164d1 2025-09-14 22:36:39,867 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/497e9de0-eee3-481d-9271-c18705a8da56 2025-09-14 22:36:41,097 - 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=2.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.398 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 = 0.398/1.651/2.905/1.253 ms') 2025-09-14 22:36:41,098 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-17639124 passed 2025-09-14 22:36:41,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-14 22:36:41,245 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17639124, IP 120.232.226.197, Port 22 2025-09-14 22:36:41,395 - DEBUG - VM ctest-vn1-vm2-17639124 is ready for SSH connections 2025-09-14 22:36:41,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-14 22:36:41,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-14 22:36:41,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-14 22:36:41,396 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.109.185.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-14 22:36:41,396 - DEBUG - ping -s 56 -c 3 -W 1 51.109.185.197 2025-09-14 22:36:45,368 - DEBUG - PING 51.109.185.197 (51.109.185.197): 56 data bytes 64 bytes from 51.109.185.197: seq=0 ttl=63 time=4.386 ms 64 bytes from 51.109.185.197: seq=1 ttl=63 time=0.789 ms 64 bytes from 51.109.185.197: seq=2 ttl=63 time=0.944 ms --- 51.109.185.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.789/2.039/4.386 ms 2025-09-14 22:36:45,368 - INFO - Ping to IP 51.109.185.197 from VM ctest-vn1-vm2-17639124 passed 2025-09-14 22:36:45,368 - INFO - Detaching port 497e9de0-eee3-481d-9271-c18705a8da56 from VM ctest-vn1-vm2-17639124 2025-09-14 22:36:45,416 - INFO - Deleting VM ctest-vn1-vm2-17639124 2025-09-14 22:36:45,475 - INFO - Detaching port d62e513e-b36f-4963-baa6-aef2dea72fdb from VM ctest-vn1-vm1-39883108 2025-09-14 22:36:45,507 - INFO - Deleting VM ctest-vn1-vm1-39883108 2025-09-14 22:36:45,707 - DEBUG - Response for delete_port : () 2025-09-14 22:36:45,845 - DEBUG - Response for delete_port : () 2025-09-14 22:36:45,845 - INFO - Deleting VN ctest-vn1-50714169 2025-09-14 22:36:45,975 - DEBUG - Response for deleting network () 2025-09-14 22:36:46,238 - DEBUG - No XMPP flaps were noticed during the test
2025-09-14 22:36:46,238 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-09-14 22:36:46,238 - INFO - -------------------------------------------------------------------------------- 2025-09-14 22:36:46,896 - INFO - Deleted project: ctest-TestPorts-24531826, ID : 913cae9e-72a3-4e64-99c1-7b1af74cbe4f