2025-10-08 22:16:40,774 - INFO - Domain Default found not creating 2025-10-08 22:16:40,893 - INFO - Project ctest-TestPorts-65293280 not found, creating it 2025-10-08 22:16:41,353 - INFO - Created Project:ctest-TestPorts-65293280, ID : 6d3ce9bc-5102-40fa-9cb8-8265f8404b57 2025-10-08 22:16:42,737 - INFO - ================================================================================ 2025-10-08 22:16:42,737 - INFO - STARTING TEST : test_ports_bindings 2025-10-08 22:16:42,737 - 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-08 22:16:42,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.254': '0'}} with 2025-10-08 22:16:42,991 - INFO - Initial checks done. Running the testcase now 2025-10-08 22:16:42,991 - INFO - 2025-10-08 22:16:43,508 - DEBUG - Response for create_network : {'network': {'id': '92e80600-05c7-40c9-a9f0-1209b05e46d5', 'name': 'ctest-vn-50103845', 'tenant_id': '6d3ce9bc510240fa9cb88265f8404b57', 'project_id': '6d3ce9bc510240fa9cb88265f8404b57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65293280', 'ctest-vn-50103845'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:16:43,649 - DEBUG - Response for create_subnet : {'subnet': {'id': '4931a8cd-e516-452e-b1cb-f1588defe1a7', 'name': '', 'tenant_id': '6d3ce9bc510240fa9cb88265f8404b57', 'network_id': '92e80600-05c7-40c9-a9f0-1209b05e46d5', 'ip_version': 4, 'cidr': '143.119.29.64/26', 'allocation_pools': [{'start': '143.119.29.66', 'end': '143.119.29.126'}], 'gateway_ip': '143.119.29.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.119.29.66', 'tags': [], 'project_id': '6d3ce9bc510240fa9cb88265f8404b57'}} 2025-10-08 22:16:43,663 - INFO - Created VN ctest-vn-50103845 2025-10-08 22:16:43,714 - DEBUG - VN ctest-vn-50103845 UUID is 92e80600-05c7-40c9-a9f0-1209b05e46d5 2025-10-08 22:16:43,807 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65293280', 'ctest-vmi-54877594']} 2025-10-08 22:16:44,068 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-54877594', 'id': 'b53b9158-8d11-4f76-b232-6e9ac0cec7e6', 'tenant_id': '6d3ce9bc510240fa9cb88265f8404b57', 'network_id': '92e80600-05c7-40c9-a9f0-1209b05e46d5', 'mac_address': '02:b5:3b:91:58:8d', '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': '143.119.29.67', 'subnet_id': '4931a8cd-e516-452e-b1cb-f1588defe1a7'}], 'security_groups': ['1cf52374-2ad4-492f-9186-f51157b0d4f8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6d3ce9bc510240fa9cb88265f8404b57'}} 2025-10-08 22:16:44,068 - DEBUG - Created port b53b9158-8d11-4f76-b232-6e9ac0cec7e6 2025-10-08 22:16:44,170 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b53b9158-8d11-4f76-b232-6e9ac0cec7e6 2025-10-08 22:16:44,456 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b53b9158-8d11-4f76-b232-6e9ac0cec7e6 2025-10-08 22:16:44,483 - INFO - VMI b53b9158-8d11-4f76-b232-6e9ac0cec7e6 verification in API Server passed 2025-10-08 22:16:44,553 - DEBUG - Response for delete_port : () 2025-10-08 22:16:44,553 - INFO - Deleted port b53b9158-8d11-4f76-b232-6e9ac0cec7e6 2025-10-08 22:16:44,553 - INFO - Deleting VN ctest-vn-50103845 2025-10-08 22:16:44,634 - DEBUG - Response for deleting network () 2025-10-08 22:16:44,887 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 22:16:44,887 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-08 22:16:44,887 - INFO - -------------------------------------------------------------------------------- 2025-10-08 22:16:44,889 - INFO - ================================================================================ 2025-10-08 22:16:44,890 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-08 22:16:44,890 - 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-08 22:16:45,171 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.254': '0'}} with 2025-10-08 22:16:45,171 - INFO - Initial checks done. Running the testcase now 2025-10-08 22:16:45,171 - INFO - 2025-10-08 22:16:45,324 - DEBUG - Response for create_network : {'network': {'id': '3ed07829-ecac-4062-8e03-c15e5c14a121', 'name': 'ctest-vn1-95957212', 'tenant_id': '6d3ce9bc510240fa9cb88265f8404b57', 'project_id': '6d3ce9bc510240fa9cb88265f8404b57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65293280', 'ctest-vn1-95957212'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:16:45,483 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3cdd795-d162-4a4c-9479-a7f0dfdafc3e', 'name': '', 'tenant_id': '6d3ce9bc510240fa9cb88265f8404b57', 'network_id': '3ed07829-ecac-4062-8e03-c15e5c14a121', 'ip_version': 4, 'cidr': '130.66.151.192/26', 'allocation_pools': [{'start': '130.66.151.194', 'end': '130.66.151.254'}], 'gateway_ip': '130.66.151.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.66.151.194', 'tags': [], 'project_id': '6d3ce9bc510240fa9cb88265f8404b57'}} 2025-10-08 22:16:45,657 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a1cba8c-9602-4196-ae62-40a518705a73', 'name': '', 'tenant_id': '6d3ce9bc510240fa9cb88265f8404b57', 'network_id': '3ed07829-ecac-4062-8e03-c15e5c14a121', 'ip_version': 4, 'cidr': '106.180.221.64/26', 'allocation_pools': [{'start': '106.180.221.66', 'end': '106.180.221.126'}], 'gateway_ip': '106.180.221.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.180.221.66', 'tags': [], 'project_id': '6d3ce9bc510240fa9cb88265f8404b57'}} 2025-10-08 22:16:45,672 - INFO - Created VN ctest-vn1-95957212 2025-10-08 22:16:45,722 - DEBUG - VN ctest-vn1-95957212 UUID is 3ed07829-ecac-4062-8e03-c15e5c14a121 2025-10-08 22:16:45,981 - DEBUG - Response for create_port : {'port': {'name': '7e9452a7-dc1a-4ed8-9526-3d07d3c7853d', 'id': '7e9452a7-dc1a-4ed8-9526-3d07d3c7853d', 'tenant_id': '6d3ce9bc510240fa9cb88265f8404b57', 'network_id': '3ed07829-ecac-4062-8e03-c15e5c14a121', 'mac_address': '02:7e:94:52:a7:dc', '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': '130.66.151.197', 'subnet_id': 'f3cdd795-d162-4a4c-9479-a7f0dfdafc3e'}], 'security_groups': ['1cf52374-2ad4-492f-9186-f51157b0d4f8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6d3ce9bc510240fa9cb88265f8404b57'}} 2025-10-08 22:16:46,135 - DEBUG - Response for create_port : {'port': {'name': '7a4378f1-c468-40c8-8340-39e5773f0b48', 'id': '7a4378f1-c468-40c8-8340-39e5773f0b48', 'tenant_id': '6d3ce9bc510240fa9cb88265f8404b57', 'network_id': '3ed07829-ecac-4062-8e03-c15e5c14a121', 'mac_address': '02:7a:43:78:f1:c4', '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': '106.180.221.69', 'subnet_id': '0a1cba8c-9602-4196-ae62-40a518705a73'}], 'security_groups': ['1cf52374-2ad4-492f-9186-f51157b0d4f8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6d3ce9bc510240fa9cb88265f8404b57'}} 2025-10-08 22:16:46,182 - DEBUG - Services list from nova: [, , ] 2025-10-08 22:16:46,474 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4247-1) 2025-10-08 22:16:46,789 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4247-1) 2025-10-08 22:16:46,790 - INFO - Waiting for VM ctest-vn1-vm1-05642079 to be up.. 2025-10-08 22:16:46,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 22:16:51,887 - DEBUG - VM is in ACTIVE state now 2025-10-08 22:16:51,887 - INFO - VM name : ctest-vn1-vm1-05642079 2025-10-08 22:16:51,948 - DEBUG - VM ctest-vn1-vm1-05642079 ID is 2b2e6679-5b7b-403d-8ad2-ab6b36185343 2025-10-08 22:16:51,966 - DEBUG - VM ctest-vn1-vm1-05642079 launched on Node cn-jenkins-deploy-platform-ansible-os-4247-1 2025-10-08 22:16:52,029 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/2b2e6679-5b7b-403d-8ad2-ab6b36185343 2025-10-08 22:16:52,036 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/7e9452a7-dc1a-4ed8-9526-3d07d3c7853d 2025-10-08 22:16:55,268 - 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 1004ms') 2025-10-08 22:16:55,268 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05642079 failed! 2025-10-08 22:16:55,322 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65293280:ctest-vn1-95957212 is 130.66.151.193 and allocation pool is NOT set 2025-10-08 22:16:55,322 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65293280:ctest-vn1-95957212 is 106.180.221.65 and allocation pool is NOT set 2025-10-08 22:16:57,381 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.907 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.907/2.372/3.838/1.465 ms') 2025-10-08 22:16:57,381 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05642079 passed 2025-10-08 22:16:57,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:16:57,527 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05642079, IP 130.66.151.197, Port 22 2025-10-08 22:16:57,678 - DEBUG - VM ctest-vn1-vm1-05642079 is ready for SSH connections 2025-10-08 22:16:57,678 - INFO - Waiting for VM ctest-vn1-vm2-69780115 to be up.. 2025-10-08 22:16:57,741 - DEBUG - VM is in ACTIVE state now 2025-10-08 22:16:57,742 - INFO - VM name : ctest-vn1-vm2-69780115 2025-10-08 22:16:57,801 - DEBUG - VM ctest-vn1-vm2-69780115 ID is c3c6ca90-5607-45e4-9352-bd4292cad6cf 2025-10-08 22:16:57,801 - DEBUG - VM ctest-vn1-vm2-69780115 launched on Node cn-jenkins-deploy-platform-ansible-os-4247-1 2025-10-08 22:16:57,860 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c3c6ca90-5607-45e4-9352-bd4292cad6cf 2025-10-08 22:16:57,867 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/7a4378f1-c468-40c8-8340-39e5773f0b48 2025-10-08 22:16:59,098 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.361 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.361/1.533/2.705/1.172 ms') 2025-10-08 22:16:59,099 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-69780115 passed 2025-10-08 22:16:59,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:16:59,254 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-69780115, IP 106.180.221.69, Port 22 2025-10-08 22:16:59,405 - DEBUG - VM ctest-vn1-vm2-69780115 is ready for SSH connections 2025-10-08 22:16:59,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:16:59,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:16:59,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:16:59,406 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.66.151.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-10-08 22:16:59,406 - DEBUG - ping -s 56 -c 3 -W 1 130.66.151.197 2025-10-08 22:17:02,342 - DEBUG - PING 130.66.151.197 (130.66.151.197): 56 data bytes 64 bytes from 130.66.151.197: seq=0 ttl=63 time=3.507 ms 64 bytes from 130.66.151.197: seq=1 ttl=63 time=0.807 ms 64 bytes from 130.66.151.197: seq=2 ttl=63 time=0.880 ms --- 130.66.151.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.807/1.731/3.507 ms 2025-10-08 22:17:02,342 - INFO - Ping to IP 130.66.151.197 from VM ctest-vn1-vm2-69780115 passed 2025-10-08 22:17:02,342 - INFO - Detaching port 7a4378f1-c468-40c8-8340-39e5773f0b48 from VM ctest-vn1-vm2-69780115 2025-10-08 22:17:02,387 - INFO - Deleting VM ctest-vn1-vm2-69780115 2025-10-08 22:17:02,444 - INFO - Detaching port 7e9452a7-dc1a-4ed8-9526-3d07d3c7853d from VM ctest-vn1-vm1-05642079 2025-10-08 22:17:02,476 - INFO - Deleting VM ctest-vn1-vm1-05642079 2025-10-08 22:17:02,674 - DEBUG - Response for delete_port : () 2025-10-08 22:17:02,822 - DEBUG - Response for delete_port : () 2025-10-08 22:17:02,822 - INFO - Deleting VN ctest-vn1-95957212 2025-10-08 22:17:02,957 - DEBUG - Response for deleting network () 2025-10-08 22:17:03,215 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 22:17:03,215 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-08 22:17:03,216 - INFO - -------------------------------------------------------------------------------- 2025-10-08 22:17:03,855 - INFO - Deleted project: ctest-TestPorts-65293280, ID : 6d3ce9bc-5102-40fa-9cb8-8265f8404b57