2025-11-10 10:14:48,856 - INFO - Domain Default found not creating 2025-11-10 10:14:49,017 - INFO - Project ctest-TestPorts-50792179 not found, creating it 2025-11-10 10:14:49,467 - INFO - Created Project:ctest-TestPorts-50792179, ID : 67ecf649-bf74-41b7-b454-2434ba042c18 2025-11-10 10:14:50,952 - INFO - ================================================================================ 2025-11-10 10:14:50,952 - INFO - STARTING TEST : test_ports_bindings 2025-11-10 10:14:50,952 - 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-11-10 10:14:51,206 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-10 10:14:51,206 - INFO - Initial checks done. Running the testcase now 2025-11-10 10:14:51,206 - INFO - 2025-11-10 10:14:51,778 - DEBUG - Response for create_network : {'network': {'id': '4d496600-3ede-4959-8798-630149d67d30', 'name': 'ctest-vn-45845337', 'tenant_id': '67ecf649bf7441b7b4542434ba042c18', 'project_id': '67ecf649bf7441b7b4542434ba042c18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50792179', 'ctest-vn-45845337'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 10:14:51,989 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7154753-0492-4a78-a13a-0587816494bc', 'name': '', 'tenant_id': '67ecf649bf7441b7b4542434ba042c18', 'network_id': '4d496600-3ede-4959-8798-630149d67d30', 'ip_version': 4, 'cidr': '13.46.108.0/26', 'allocation_pools': [{'start': '13.46.108.2', 'end': '13.46.108.62'}], 'gateway_ip': '13.46.108.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.46.108.2', 'tags': [], 'project_id': '67ecf649bf7441b7b4542434ba042c18'}} 2025-11-10 10:14:52,005 - INFO - Created VN ctest-vn-45845337 2025-11-10 10:14:52,056 - DEBUG - VN ctest-vn-45845337 UUID is 4d496600-3ede-4959-8798-630149d67d30 2025-11-10 10:14:52,158 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-50792179', 'ctest-vmi-01622894']} 2025-11-10 10:14:52,452 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-01622894', 'id': '7e19de02-490f-4c1f-9a45-a84bd359eaab', 'tenant_id': '67ecf649bf7441b7b4542434ba042c18', 'network_id': '4d496600-3ede-4959-8798-630149d67d30', 'mac_address': '02:7e:19:de:02:49', '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': '13.46.108.3', 'subnet_id': 'f7154753-0492-4a78-a13a-0587816494bc'}], 'security_groups': ['69b6ecf8-264f-4e47-afb4-76e7fc536f9f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '67ecf649bf7441b7b4542434ba042c18'}} 2025-11-10 10:14:52,452 - DEBUG - Created port 7e19de02-490f-4c1f-9a45-a84bd359eaab 2025-11-10 10:14:52,556 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7e19de02-490f-4c1f-9a45-a84bd359eaab 2025-11-10 10:14:52,871 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7e19de02-490f-4c1f-9a45-a84bd359eaab 2025-11-10 10:14:52,907 - INFO - VMI 7e19de02-490f-4c1f-9a45-a84bd359eaab verification in API Server passed 2025-11-10 10:14:53,001 - DEBUG - Response for delete_port : () 2025-11-10 10:14:53,002 - INFO - Deleted port 7e19de02-490f-4c1f-9a45-a84bd359eaab 2025-11-10 10:14:53,002 - INFO - Deleting VN ctest-vn-45845337 2025-11-10 10:14:53,106 - DEBUG - Response for deleting network () 2025-11-10 10:14:53,365 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 10:14:53,365 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-10 10:14:53,365 - INFO - -------------------------------------------------------------------------------- 2025-11-10 10:14:53,367 - INFO - ================================================================================ 2025-11-10 10:14:53,367 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-10 10:14:53,367 - 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-11-10 10:14:53,653 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-10 10:14:53,653 - INFO - Initial checks done. Running the testcase now 2025-11-10 10:14:53,653 - INFO - 2025-11-10 10:14:53,814 - DEBUG - Response for create_network : {'network': {'id': 'ccf4e6c0-7cb7-4604-82ea-f910c3d11555', 'name': 'ctest-vn1-52495585', 'tenant_id': '67ecf649bf7441b7b4542434ba042c18', 'project_id': '67ecf649bf7441b7b4542434ba042c18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50792179', 'ctest-vn1-52495585'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 10:14:53,997 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f1736c2-c7ce-48b2-9441-2ff86ab1b3d2', 'name': '', 'tenant_id': '67ecf649bf7441b7b4542434ba042c18', 'network_id': 'ccf4e6c0-7cb7-4604-82ea-f910c3d11555', 'ip_version': 4, 'cidr': '67.245.229.0/26', 'allocation_pools': [{'start': '67.245.229.2', 'end': '67.245.229.62'}], 'gateway_ip': '67.245.229.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.245.229.2', 'tags': [], 'project_id': '67ecf649bf7441b7b4542434ba042c18'}} 2025-11-10 10:14:54,174 - DEBUG - Response for create_subnet : {'subnet': {'id': '6492c3c4-65ab-4f5c-acf6-5fd2a67775c1', 'name': '', 'tenant_id': '67ecf649bf7441b7b4542434ba042c18', 'network_id': 'ccf4e6c0-7cb7-4604-82ea-f910c3d11555', 'ip_version': 4, 'cidr': '105.164.22.128/26', 'allocation_pools': [{'start': '105.164.22.130', 'end': '105.164.22.190'}], 'gateway_ip': '105.164.22.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.164.22.130', 'tags': [], 'project_id': '67ecf649bf7441b7b4542434ba042c18'}} 2025-11-10 10:14:54,191 - INFO - Created VN ctest-vn1-52495585 2025-11-10 10:14:54,244 - DEBUG - VN ctest-vn1-52495585 UUID is ccf4e6c0-7cb7-4604-82ea-f910c3d11555 2025-11-10 10:14:54,522 - DEBUG - Response for create_port : {'port': {'name': '2d028e6d-57dd-43b5-adab-0f0177a45c15', 'id': '2d028e6d-57dd-43b5-adab-0f0177a45c15', 'tenant_id': '67ecf649bf7441b7b4542434ba042c18', 'network_id': 'ccf4e6c0-7cb7-4604-82ea-f910c3d11555', 'mac_address': '02:2d:02:8e:6d:57', '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': '67.245.229.5', 'subnet_id': '1f1736c2-c7ce-48b2-9441-2ff86ab1b3d2'}], 'security_groups': ['69b6ecf8-264f-4e47-afb4-76e7fc536f9f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '67ecf649bf7441b7b4542434ba042c18'}} 2025-11-10 10:14:54,688 - DEBUG - Response for create_port : {'port': {'name': 'd3780def-734e-4b22-9b71-762ea603ba0b', 'id': 'd3780def-734e-4b22-9b71-762ea603ba0b', 'tenant_id': '67ecf649bf7441b7b4542434ba042c18', 'network_id': 'ccf4e6c0-7cb7-4604-82ea-f910c3d11555', 'mac_address': '02:d3:78:0d:ef:73', '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': '105.164.22.133', 'subnet_id': '6492c3c4-65ab-4f5c-acf6-5fd2a67775c1'}], 'security_groups': ['69b6ecf8-264f-4e47-afb4-76e7fc536f9f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '67ecf649bf7441b7b4542434ba042c18'}} 2025-11-10 10:14:54,744 - DEBUG - Services list from nova: [, , ] 2025-11-10 10:14:55,063 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4679-1) 2025-11-10 10:14:55,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4679-1) 2025-11-10 10:14:55,424 - INFO - Waiting for VM ctest-vn1-vm1-66864837 to be up.. 2025-11-10 10:14:55,459 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 10:15:00,529 - DEBUG - VM is in ACTIVE state now 2025-11-10 10:15:00,529 - INFO - VM name : ctest-vn1-vm1-66864837 2025-11-10 10:15:00,599 - DEBUG - VM ctest-vn1-vm1-66864837 ID is d2f1ec1f-c480-4bd7-bfb1-520010fd5489 2025-11-10 10:15:00,618 - DEBUG - VM ctest-vn1-vm1-66864837 launched on Node cn-jenkins-deploy-platform-ansible-os-4679-1 2025-11-10 10:15:00,684 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d2f1ec1f-c480-4bd7-bfb1-520010fd5489 2025-11-10 10:15:00,692 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2d028e6d-57dd-43b5-adab-0f0177a45c15 2025-11-10 10:15:03,940 - 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 1011ms') 2025-11-10 10:15:03,940 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66864837 failed! 2025-11-10 10:15:03,996 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50792179:ctest-vn1-52495585 is 67.245.229.1 and allocation pool is NOT set 2025-11-10 10:15:03,996 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50792179:ctest-vn1-52495585 is 105.164.22.129 and allocation pool is NOT set 2025-11-10 10:15:06,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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.935 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.935/2.017/3.100/1.082 ms') 2025-11-10 10:15:06,060 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66864837 passed 2025-11-10 10:15:06,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:15:06,212 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66864837, IP 67.245.229.5, Port 22 2025-11-10 10:15:06,371 - DEBUG - VM ctest-vn1-vm1-66864837 is ready for SSH connections 2025-11-10 10:15:06,371 - INFO - Waiting for VM ctest-vn1-vm2-75973048 to be up.. 2025-11-10 10:15:06,443 - DEBUG - VM is in ACTIVE state now 2025-11-10 10:15:06,443 - INFO - VM name : ctest-vn1-vm2-75973048 2025-11-10 10:15:06,510 - DEBUG - VM ctest-vn1-vm2-75973048 ID is e465e032-1bb2-433e-abbc-770e9ac08191 2025-11-10 10:15:06,511 - DEBUG - VM ctest-vn1-vm2-75973048 launched on Node cn-jenkins-deploy-platform-ansible-os-4679-1 2025-11-10 10:15:06,577 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e465e032-1bb2-433e-abbc-770e9ac08191 2025-11-10 10:15:06,585 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d3780def-734e-4b22-9b71-762ea603ba0b 2025-11-10 10:15:07,821 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/1.727/2.998/1.271 ms') 2025-11-10 10:15:07,821 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-75973048 passed 2025-11-10 10:15:07,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:15:07,980 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-75973048, IP 105.164.22.133, Port 22 2025-11-10 10:15:08,140 - DEBUG - VM ctest-vn1-vm2-75973048 is ready for SSH connections 2025-11-10 10:15:08,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:15:08,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:15:08,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:15:08,140 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.245.229.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-10 10:15:08,140 - DEBUG - ping -s 56 -c 3 -W 1 67.245.229.5 2025-11-10 10:15:11,052 - DEBUG - PING 67.245.229.5 (67.245.229.5): 56 data bytes 64 bytes from 67.245.229.5: seq=0 ttl=63 time=3.496 ms 64 bytes from 67.245.229.5: seq=1 ttl=63 time=0.845 ms 64 bytes from 67.245.229.5: seq=2 ttl=63 time=0.913 ms --- 67.245.229.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.845/1.751/3.496 ms 2025-11-10 10:15:11,052 - INFO - Ping to IP 67.245.229.5 from VM ctest-vn1-vm2-75973048 passed 2025-11-10 10:15:11,052 - INFO - Detaching port d3780def-734e-4b22-9b71-762ea603ba0b from VM ctest-vn1-vm2-75973048 2025-11-10 10:15:11,105 - INFO - Deleting VM ctest-vn1-vm2-75973048 2025-11-10 10:15:11,167 - INFO - Detaching port 2d028e6d-57dd-43b5-adab-0f0177a45c15 from VM ctest-vn1-vm1-66864837 2025-11-10 10:15:11,201 - INFO - Deleting VM ctest-vn1-vm1-66864837 2025-11-10 10:15:11,419 - DEBUG - Response for delete_port : () 2025-11-10 10:15:11,569 - DEBUG - Response for delete_port : () 2025-11-10 10:15:11,569 - INFO - Deleting VN ctest-vn1-52495585 2025-11-10 10:15:11,700 - DEBUG - Response for deleting network () 2025-11-10 10:15:11,966 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 10:15:11,967 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-11-10 10:15:11,967 - INFO - -------------------------------------------------------------------------------- 2025-11-10 10:15:12,697 - INFO - Deleted project: ctest-TestPorts-50792179, ID : 67ecf649-bf74-41b7-b454-2434ba042c18