2025-08-10 20:41:23,001 - INFO - Domain Default found not creating 2025-08-10 20:41:23,118 - INFO - Project ctest-TestPorts-84222762 not found, creating it 2025-08-10 20:41:23,580 - INFO - Created Project:ctest-TestPorts-84222762, ID : eaf6a5e8-d1c5-4e72-b2a0-f3962b7da07b 2025-08-10 20:41:24,868 - INFO - ================================================================================ 2025-08-10 20:41:24,868 - INFO - STARTING TEST : test_ports_bindings 2025-08-10 20:41:24,869 - 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-08-10 20:41:25,125 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.14': '0'}} with 2025-08-10 20:41:25,125 - INFO - Initial checks done. Running the testcase now 2025-08-10 20:41:25,125 - INFO - 2025-08-10 20:41:25,727 - DEBUG - Response for create_network : {'network': {'id': 'a54eb907-6f65-4267-91ef-1c0b43114b77', 'name': 'ctest-vn-87253657', 'tenant_id': 'eaf6a5e8d1c54e72b2a0f3962b7da07b', 'project_id': 'eaf6a5e8d1c54e72b2a0f3962b7da07b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-84222762', 'ctest-vn-87253657'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 20:41:25,929 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a65b323-b080-4573-b828-8e6c9725ec98', 'name': '', 'tenant_id': 'eaf6a5e8d1c54e72b2a0f3962b7da07b', 'network_id': 'a54eb907-6f65-4267-91ef-1c0b43114b77', 'ip_version': 4, 'cidr': '14.14.1.192/26', 'allocation_pools': [{'start': '14.14.1.194', 'end': '14.14.1.254'}], 'gateway_ip': '14.14.1.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.14.1.194', 'tags': [], 'project_id': 'eaf6a5e8d1c54e72b2a0f3962b7da07b'}} 2025-08-10 20:41:25,944 - INFO - Created VN ctest-vn-87253657 2025-08-10 20:41:26,000 - DEBUG - VN ctest-vn-87253657 UUID is a54eb907-6f65-4267-91ef-1c0b43114b77 2025-08-10 20:41:26,098 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-84222762', 'ctest-vmi-35224277']} 2025-08-10 20:41:26,366 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-35224277', 'id': '52e7ca76-7fad-4972-a4c5-0f7935f8f906', 'tenant_id': 'eaf6a5e8d1c54e72b2a0f3962b7da07b', 'network_id': 'a54eb907-6f65-4267-91ef-1c0b43114b77', 'mac_address': '02:52:e7:ca:76:7f', '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': '14.14.1.195', 'subnet_id': '3a65b323-b080-4573-b828-8e6c9725ec98'}], 'security_groups': ['a4c3df77-3623-462c-8de5-5c812f18293f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eaf6a5e8d1c54e72b2a0f3962b7da07b'}} 2025-08-10 20:41:26,366 - DEBUG - Created port 52e7ca76-7fad-4972-a4c5-0f7935f8f906 2025-08-10 20:41:26,468 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/52e7ca76-7fad-4972-a4c5-0f7935f8f906 2025-08-10 20:41:26,755 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/52e7ca76-7fad-4972-a4c5-0f7935f8f906 2025-08-10 20:41:26,785 - INFO - VMI 52e7ca76-7fad-4972-a4c5-0f7935f8f906 verification in API Server passed 2025-08-10 20:41:26,863 - DEBUG - Response for delete_port : () 2025-08-10 20:41:26,863 - INFO - Deleted port 52e7ca76-7fad-4972-a4c5-0f7935f8f906 2025-08-10 20:41:26,864 - INFO - Deleting VN ctest-vn-87253657 2025-08-10 20:41:26,950 - DEBUG - Response for deleting network () 2025-08-10 20:41:27,216 - DEBUG - No XMPP flaps were noticed during the test
2025-08-10 20:41:27,216 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-10 20:41:27,216 - INFO - -------------------------------------------------------------------------------- 2025-08-10 20:41:27,219 - INFO - ================================================================================ 2025-08-10 20:41:27,219 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-10 20:41:27,219 - 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-08-10 20:41:27,508 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.14': '0'}} with 2025-08-10 20:41:27,509 - INFO - Initial checks done. Running the testcase now 2025-08-10 20:41:27,509 - INFO - 2025-08-10 20:41:27,669 - DEBUG - Response for create_network : {'network': {'id': '7f5c74ed-2d25-4048-baea-ed497e4fe71f', 'name': 'ctest-vn1-49309581', 'tenant_id': 'eaf6a5e8d1c54e72b2a0f3962b7da07b', 'project_id': 'eaf6a5e8d1c54e72b2a0f3962b7da07b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-84222762', 'ctest-vn1-49309581'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 20:41:27,858 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a57f060-ddef-4eb3-bfe4-d57cb15afa28', 'name': '', 'tenant_id': 'eaf6a5e8d1c54e72b2a0f3962b7da07b', 'network_id': '7f5c74ed-2d25-4048-baea-ed497e4fe71f', 'ip_version': 4, 'cidr': '38.189.131.192/26', 'allocation_pools': [{'start': '38.189.131.194', 'end': '38.189.131.254'}], 'gateway_ip': '38.189.131.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.189.131.194', 'tags': [], 'project_id': 'eaf6a5e8d1c54e72b2a0f3962b7da07b'}} 2025-08-10 20:41:28,026 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bca3615e-eb1a-4b77-8857-7a355804c2a5', 'name': '', 'tenant_id': 'eaf6a5e8d1c54e72b2a0f3962b7da07b', 'network_id': '7f5c74ed-2d25-4048-baea-ed497e4fe71f', 'ip_version': 4, 'cidr': '143.150.134.0/26', 'allocation_pools': [{'start': '143.150.134.2', 'end': '143.150.134.62'}], 'gateway_ip': '143.150.134.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.150.134.2', 'tags': [], 'project_id': 'eaf6a5e8d1c54e72b2a0f3962b7da07b'}} 2025-08-10 20:41:28,043 - INFO - Created VN ctest-vn1-49309581 2025-08-10 20:41:28,096 - DEBUG - VN ctest-vn1-49309581 UUID is 7f5c74ed-2d25-4048-baea-ed497e4fe71f 2025-08-10 20:41:28,359 - DEBUG - Response for create_port : {'port': {'name': '54eb3869-e221-4bf3-99df-136a5ce66571', 'id': '54eb3869-e221-4bf3-99df-136a5ce66571', 'tenant_id': 'eaf6a5e8d1c54e72b2a0f3962b7da07b', 'network_id': '7f5c74ed-2d25-4048-baea-ed497e4fe71f', 'mac_address': '02:54:eb:38:69:e2', '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': '38.189.131.197', 'subnet_id': '2a57f060-ddef-4eb3-bfe4-d57cb15afa28'}], 'security_groups': ['a4c3df77-3623-462c-8de5-5c812f18293f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eaf6a5e8d1c54e72b2a0f3962b7da07b'}} 2025-08-10 20:41:28,515 - DEBUG - Response for create_port : {'port': {'name': 'b31bf8dc-0b8b-4970-a957-a2e467d04364', 'id': 'b31bf8dc-0b8b-4970-a957-a2e467d04364', 'tenant_id': 'eaf6a5e8d1c54e72b2a0f3962b7da07b', 'network_id': '7f5c74ed-2d25-4048-baea-ed497e4fe71f', 'mac_address': '02:b3:1b:f8:dc:0b', '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': '143.150.134.5', 'subnet_id': 'bca3615e-eb1a-4b77-8857-7a355804c2a5'}], 'security_groups': ['a4c3df77-3623-462c-8de5-5c812f18293f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eaf6a5e8d1c54e72b2a0f3962b7da07b'}} 2025-08-10 20:41:28,566 - DEBUG - Services list from nova: [, , ] 2025-08-10 20:41:28,842 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3789-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3789-1) 2025-08-10 20:41:29,272 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3789-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3789-1) 2025-08-10 20:41:29,273 - INFO - Waiting for VM ctest-vn1-vm1-89009593 to be up.. 2025-08-10 20:41:29,303 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 20:41:34,365 - DEBUG - VM is in ACTIVE state now 2025-08-10 20:41:34,365 - INFO - VM name : ctest-vn1-vm1-89009593 2025-08-10 20:41:34,421 - DEBUG - VM ctest-vn1-vm1-89009593 ID is 3ad3eadd-1a9b-40ad-9662-fe8044eb1e3c 2025-08-10 20:41:34,437 - DEBUG - VM ctest-vn1-vm1-89009593 launched on Node cn-jenkins-deploy-platform-ansible-os-3789-1 2025-08-10 20:41:34,534 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/3ad3eadd-1a9b-40ad-9662-fe8044eb1e3c 2025-08-10 20:41:34,550 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/54eb3869-e221-4bf3-99df-136a5ce66571 2025-08-10 20:41:37,933 - 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 1028ms') 2025-08-10 20:41:37,933 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89009593 failed! 2025-08-10 20:41:37,992 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-84222762:ctest-vn1-49309581 is 38.189.131.193 and allocation pool is NOT set 2025-08-10 20:41:37,992 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-84222762:ctest-vn1-49309581 is 143.150.134.1 and allocation pool is NOT set 2025-08-10 20:41:40,060 - 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=3.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.781 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 = 0.781/2.080/3.380/1.299 ms') 2025-08-10 20:41:40,060 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89009593 passed 2025-08-10 20:41:40,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:41:40,212 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89009593, IP 38.189.131.197, Port 22 2025-08-10 20:41:40,367 - DEBUG - VM ctest-vn1-vm1-89009593 is ready for SSH connections 2025-08-10 20:41:40,367 - INFO - Waiting for VM ctest-vn1-vm2-12493494 to be up.. 2025-08-10 20:41:40,437 - DEBUG - VM is in ACTIVE state now 2025-08-10 20:41:40,437 - INFO - VM name : ctest-vn1-vm2-12493494 2025-08-10 20:41:40,499 - DEBUG - VM ctest-vn1-vm2-12493494 ID is ab77f5f0-c7d6-4637-9e66-7c8d612092b9 2025-08-10 20:41:40,499 - DEBUG - VM ctest-vn1-vm2-12493494 launched on Node cn-jenkins-deploy-platform-ansible-os-3789-1 2025-08-10 20:41:40,555 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/ab77f5f0-c7d6-4637-9e66-7c8d612092b9 2025-08-10 20:41:40,562 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/b31bf8dc-0b8b-4970-a957-a2e467d04364 2025-08-10 20:41:41,804 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.362 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.362/1.449/2.536/1.087 ms') 2025-08-10 20:41:41,804 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-12493494 passed 2025-08-10 20:41:41,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:41:41,948 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-12493494, IP 143.150.134.5, Port 22 2025-08-10 20:41:42,103 - DEBUG - VM ctest-vn1-vm2-12493494 is ready for SSH connections 2025-08-10 20:41:42,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:41:42,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:41:42,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:41:42,103 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.189.131.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-10 20:41:42,103 - DEBUG - ping -s 56 -c 3 -W 1 38.189.131.197 2025-08-10 20:41:44,978 - DEBUG - PING 38.189.131.197 (38.189.131.197): 56 data bytes 64 bytes from 38.189.131.197: seq=0 ttl=63 time=3.119 ms 64 bytes from 38.189.131.197: seq=1 ttl=63 time=0.683 ms 64 bytes from 38.189.131.197: seq=2 ttl=63 time=0.886 ms --- 38.189.131.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.683/1.562/3.119 ms 2025-08-10 20:41:44,979 - INFO - Ping to IP 38.189.131.197 from VM ctest-vn1-vm2-12493494 passed 2025-08-10 20:41:44,979 - INFO - Detaching port b31bf8dc-0b8b-4970-a957-a2e467d04364 from VM ctest-vn1-vm2-12493494 2025-08-10 20:41:45,025 - INFO - Deleting VM ctest-vn1-vm2-12493494 2025-08-10 20:41:45,084 - INFO - Detaching port 54eb3869-e221-4bf3-99df-136a5ce66571 from VM ctest-vn1-vm1-89009593 2025-08-10 20:41:45,123 - INFO - Deleting VM ctest-vn1-vm1-89009593 2025-08-10 20:41:45,324 - DEBUG - Response for delete_port : () 2025-08-10 20:41:45,493 - DEBUG - Response for delete_port : () 2025-08-10 20:41:45,493 - INFO - Deleting VN ctest-vn1-49309581 2025-08-10 20:41:45,622 - DEBUG - Response for deleting network () 2025-08-10 20:41:45,889 - DEBUG - No XMPP flaps were noticed during the test
2025-08-10 20:41:45,889 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-10 20:41:45,889 - INFO - -------------------------------------------------------------------------------- 2025-08-10 20:41:46,577 - INFO - Deleted project: ctest-TestPorts-84222762, ID : eaf6a5e8-d1c5-4e72-b2a0-f3962b7da07b