2025-08-15 08:45:03,162 - INFO - Domain Default found not creating 2025-08-15 08:45:03,299 - INFO - Project ctest-TestPorts-56519963 not found, creating it 2025-08-15 08:45:03,751 - INFO - Created Project:ctest-TestPorts-56519963, ID : 970aa497-1d43-4ed0-a1b0-45c66f8d1a8c 2025-08-15 08:45:05,340 - INFO - ================================================================================ 2025-08-15 08:45:05,340 - INFO - STARTING TEST : test_ports_bindings 2025-08-15 08:45:05,340 - 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-15 08:45:05,603 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-08-15 08:45:05,603 - INFO - Initial checks done. Running the testcase now 2025-08-15 08:45:05,603 - INFO - 2025-08-15 08:45:06,195 - DEBUG - Response for create_network : {'network': {'id': '2d233a9c-51d1-4bce-8317-f7a55a722699', 'name': 'ctest-vn-31709028', 'tenant_id': '970aa4971d434ed0a1b045c66f8d1a8c', 'project_id': '970aa4971d434ed0a1b045c66f8d1a8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56519963', 'ctest-vn-31709028'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 08:45:06,355 - DEBUG - Response for create_subnet : {'subnet': {'id': '33d18a79-b4ed-4a23-bcef-72021607246f', 'name': '', 'tenant_id': '970aa4971d434ed0a1b045c66f8d1a8c', 'network_id': '2d233a9c-51d1-4bce-8317-f7a55a722699', 'ip_version': 4, 'cidr': '28.109.219.0/26', 'allocation_pools': [{'start': '28.109.219.2', 'end': '28.109.219.62'}], 'gateway_ip': '28.109.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.109.219.2', 'tags': [], 'project_id': '970aa4971d434ed0a1b045c66f8d1a8c'}} 2025-08-15 08:45:06,372 - INFO - Created VN ctest-vn-31709028 2025-08-15 08:45:06,425 - DEBUG - VN ctest-vn-31709028 UUID is 2d233a9c-51d1-4bce-8317-f7a55a722699 2025-08-15 08:45:06,530 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-56519963', 'ctest-vmi-60898817']} 2025-08-15 08:45:06,817 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-60898817', 'id': '69509bda-10cb-4c88-8045-5e841fef9f5b', 'tenant_id': '970aa4971d434ed0a1b045c66f8d1a8c', 'network_id': '2d233a9c-51d1-4bce-8317-f7a55a722699', 'mac_address': '02:69:50:9b:da:10', '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': '28.109.219.3', 'subnet_id': '33d18a79-b4ed-4a23-bcef-72021607246f'}], 'security_groups': ['822e7c16-851c-4bb3-b811-a727de106ae8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '970aa4971d434ed0a1b045c66f8d1a8c'}} 2025-08-15 08:45:06,817 - DEBUG - Created port 69509bda-10cb-4c88-8045-5e841fef9f5b 2025-08-15 08:45:06,921 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/69509bda-10cb-4c88-8045-5e841fef9f5b 2025-08-15 08:45:07,252 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/69509bda-10cb-4c88-8045-5e841fef9f5b 2025-08-15 08:45:07,286 - INFO - VMI 69509bda-10cb-4c88-8045-5e841fef9f5b verification in API Server passed 2025-08-15 08:45:07,379 - DEBUG - Response for delete_port : () 2025-08-15 08:45:07,379 - INFO - Deleted port 69509bda-10cb-4c88-8045-5e841fef9f5b 2025-08-15 08:45:07,379 - INFO - Deleting VN ctest-vn-31709028 2025-08-15 08:45:07,478 - DEBUG - Response for deleting network () 2025-08-15 08:45:07,742 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 08:45:07,743 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-15 08:45:07,743 - INFO - -------------------------------------------------------------------------------- 2025-08-15 08:45:07,745 - INFO - ================================================================================ 2025-08-15 08:45:07,746 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-15 08:45:07,746 - 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-15 08:45:08,035 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-08-15 08:45:08,035 - INFO - Initial checks done. Running the testcase now 2025-08-15 08:45:08,035 - INFO - 2025-08-15 08:45:08,218 - DEBUG - Response for create_network : {'network': {'id': '989a11cd-e362-47a0-95c1-075d3b88fe92', 'name': 'ctest-vn1-91164084', 'tenant_id': '970aa4971d434ed0a1b045c66f8d1a8c', 'project_id': '970aa4971d434ed0a1b045c66f8d1a8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-56519963', 'ctest-vn1-91164084'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 08:45:08,428 - DEBUG - Response for create_subnet : {'subnet': {'id': '89739fbd-e7b8-4cf1-a1a9-8e3821bff7db', 'name': '', 'tenant_id': '970aa4971d434ed0a1b045c66f8d1a8c', 'network_id': '989a11cd-e362-47a0-95c1-075d3b88fe92', 'ip_version': 4, 'cidr': '17.76.244.192/26', 'allocation_pools': [{'start': '17.76.244.194', 'end': '17.76.244.254'}], 'gateway_ip': '17.76.244.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.76.244.194', 'tags': [], 'project_id': '970aa4971d434ed0a1b045c66f8d1a8c'}} 2025-08-15 08:45:08,627 - DEBUG - Response for create_subnet : {'subnet': {'id': '6478e6a0-be00-4a34-a75d-ae7078a724b0', 'name': '', 'tenant_id': '970aa4971d434ed0a1b045c66f8d1a8c', 'network_id': '989a11cd-e362-47a0-95c1-075d3b88fe92', 'ip_version': 4, 'cidr': '14.187.100.0/26', 'allocation_pools': [{'start': '14.187.100.2', 'end': '14.187.100.62'}], 'gateway_ip': '14.187.100.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.187.100.2', 'tags': [], 'project_id': '970aa4971d434ed0a1b045c66f8d1a8c'}} 2025-08-15 08:45:08,647 - INFO - Created VN ctest-vn1-91164084 2025-08-15 08:45:08,697 - DEBUG - VN ctest-vn1-91164084 UUID is 989a11cd-e362-47a0-95c1-075d3b88fe92 2025-08-15 08:45:09,007 - DEBUG - Response for create_port : {'port': {'name': 'd59cb7f7-e653-4ad7-ad20-27a5a3f9e1e8', 'id': 'd59cb7f7-e653-4ad7-ad20-27a5a3f9e1e8', 'tenant_id': '970aa4971d434ed0a1b045c66f8d1a8c', 'network_id': '989a11cd-e362-47a0-95c1-075d3b88fe92', 'mac_address': '02:d5:9c:b7:f7:e6', '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': '17.76.244.197', 'subnet_id': '89739fbd-e7b8-4cf1-a1a9-8e3821bff7db'}], 'security_groups': ['822e7c16-851c-4bb3-b811-a727de106ae8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '970aa4971d434ed0a1b045c66f8d1a8c'}} 2025-08-15 08:45:09,185 - DEBUG - Response for create_port : {'port': {'name': '3a04eca0-e363-423a-84f5-29387a5f124a', 'id': '3a04eca0-e363-423a-84f5-29387a5f124a', 'tenant_id': '970aa4971d434ed0a1b045c66f8d1a8c', 'network_id': '989a11cd-e362-47a0-95c1-075d3b88fe92', 'mac_address': '02:3a:04:ec:a0:e3', '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.187.100.5', 'subnet_id': '6478e6a0-be00-4a34-a75d-ae7078a724b0'}], 'security_groups': ['822e7c16-851c-4bb3-b811-a727de106ae8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '970aa4971d434ed0a1b045c66f8d1a8c'}} 2025-08-15 08:45:09,239 - DEBUG - Services list from nova: [, , ] 2025-08-15 08:45:09,553 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3860-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3860-1) 2025-08-15 08:45:09,913 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3860-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3860-1) 2025-08-15 08:45:09,913 - INFO - Waiting for VM ctest-vn1-vm1-22137847 to be up.. 2025-08-15 08:45:09,951 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 08:45:15,027 - DEBUG - VM is in ACTIVE state now 2025-08-15 08:45:15,027 - INFO - VM name : ctest-vn1-vm1-22137847 2025-08-15 08:45:15,109 - DEBUG - VM ctest-vn1-vm1-22137847 ID is 0e868a93-183e-4747-bc95-3feb73a8f6c3 2025-08-15 08:45:15,131 - DEBUG - VM ctest-vn1-vm1-22137847 launched on Node cn-jenkins-deploy-platform-ansible-os-3860-1 2025-08-15 08:45:15,213 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0e868a93-183e-4747-bc95-3feb73a8f6c3 2025-08-15 08:45:15,223 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d59cb7f7-e653-4ad7-ad20-27a5a3f9e1e8 2025-08-15 08:45:18,498 - 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 1027ms') 2025-08-15 08:45:18,498 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22137847 failed! 2025-08-15 08:45:18,553 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-56519963:ctest-vn1-91164084 is 17.76.244.193 and allocation pool is NOT set 2025-08-15 08:45:18,553 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-56519963:ctest-vn1-91164084 is 14.187.100.1 and allocation pool is NOT set 2025-08-15 08:45:22,625 - 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=2 ttl=63 time=6.13 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 6.128/6.128/6.128/0.000 ms') 2025-08-15 08:45:22,625 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22137847 passed 2025-08-15 08:45:22,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:45:22,773 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22137847, IP 17.76.244.197, Port 22 2025-08-15 08:45:22,928 - DEBUG - VM ctest-vn1-vm1-22137847 is ready for SSH connections 2025-08-15 08:45:22,928 - INFO - Waiting for VM ctest-vn1-vm2-91921341 to be up.. 2025-08-15 08:45:23,008 - DEBUG - VM is in ACTIVE state now 2025-08-15 08:45:23,008 - INFO - VM name : ctest-vn1-vm2-91921341 2025-08-15 08:45:23,078 - DEBUG - VM ctest-vn1-vm2-91921341 ID is 3a2f8e00-8b61-4bcb-b01b-44beefb3d77e 2025-08-15 08:45:23,079 - DEBUG - VM ctest-vn1-vm2-91921341 launched on Node cn-jenkins-deploy-platform-ansible-os-3860-1 2025-08-15 08:45:23,148 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3a2f8e00-8b61-4bcb-b01b-44beefb3d77e 2025-08-15 08:45:23,156 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3a04eca0-e363-423a-84f5-29387a5f124a 2025-08-15 08:45:24,398 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 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.375/1.878/3.381/1.503 ms') 2025-08-15 08:45:24,398 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-91921341 passed 2025-08-15 08:45:24,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:45:24,553 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91921341, IP 14.187.100.5, Port 22 2025-08-15 08:45:24,708 - DEBUG - VM ctest-vn1-vm2-91921341 is ready for SSH connections 2025-08-15 08:45:24,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:45:24,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:45:24,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:45:24,709 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.76.244.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 08:45:24,709 - DEBUG - ping -s 56 -c 3 -W 1 17.76.244.197 2025-08-15 08:45:27,395 - DEBUG - PING 17.76.244.197 (17.76.244.197): 56 data bytes 64 bytes from 17.76.244.197: seq=0 ttl=63 time=3.483 ms 64 bytes from 17.76.244.197: seq=1 ttl=63 time=0.850 ms 64 bytes from 17.76.244.197: seq=2 ttl=63 time=0.732 ms --- 17.76.244.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.732/1.688/3.483 ms 2025-08-15 08:45:27,395 - INFO - Ping to IP 17.76.244.197 from VM ctest-vn1-vm2-91921341 passed 2025-08-15 08:45:27,395 - INFO - Detaching port 3a04eca0-e363-423a-84f5-29387a5f124a from VM ctest-vn1-vm2-91921341 2025-08-15 08:45:27,442 - INFO - Deleting VM ctest-vn1-vm2-91921341 2025-08-15 08:45:27,507 - INFO - Detaching port d59cb7f7-e653-4ad7-ad20-27a5a3f9e1e8 from VM ctest-vn1-vm1-22137847 2025-08-15 08:45:27,538 - INFO - Deleting VM ctest-vn1-vm1-22137847 2025-08-15 08:45:27,744 - DEBUG - Response for delete_port : () 2025-08-15 08:45:27,892 - DEBUG - Response for delete_port : () 2025-08-15 08:45:27,892 - INFO - Deleting VN ctest-vn1-91164084 2025-08-15 08:45:28,050 - DEBUG - Response for deleting network () 2025-08-15 08:45:28,310 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 08:45:28,310 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-08-15 08:45:28,311 - INFO - -------------------------------------------------------------------------------- 2025-08-15 08:45:29,049 - INFO - Deleted project: ctest-TestPorts-56519963, ID : 970aa497-1d43-4ed0-a1b0-45c66f8d1a8c