2025-08-15 16:30:49,750 - INFO - Domain Default found not creating 2025-08-15 16:30:49,881 - INFO - Project ctest-TestPorts-31457056 not found, creating it 2025-08-15 16:30:50,396 - INFO - Created Project:ctest-TestPorts-31457056, ID : 1653535a-e450-486c-9cce-550351bc6d5c 2025-08-15 16:30:51,760 - INFO - ================================================================================ 2025-08-15 16:30:51,760 - INFO - STARTING TEST : test_ports_bindings 2025-08-15 16:30:51,760 - 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 16:30:52,021 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-08-15 16:30:52,021 - INFO - Initial checks done. Running the testcase now 2025-08-15 16:30:52,021 - INFO - 2025-08-15 16:30:52,555 - DEBUG - Response for create_network : {'network': {'id': '8c737f6e-ced9-42c4-bd7e-426345414bf8', 'name': 'ctest-vn-23727807', 'tenant_id': '1653535ae450486c9cce550351bc6d5c', 'project_id': '1653535ae450486c9cce550351bc6d5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31457056', 'ctest-vn-23727807'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 16:30:52,763 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd7d6b3d-ebd8-42aa-9052-59183c398bd7', 'name': '', 'tenant_id': '1653535ae450486c9cce550351bc6d5c', 'network_id': '8c737f6e-ced9-42c4-bd7e-426345414bf8', 'ip_version': 4, 'cidr': '84.20.231.64/26', 'allocation_pools': [{'start': '84.20.231.66', 'end': '84.20.231.126'}], 'gateway_ip': '84.20.231.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.20.231.66', 'tags': [], 'project_id': '1653535ae450486c9cce550351bc6d5c'}} 2025-08-15 16:30:52,781 - INFO - Created VN ctest-vn-23727807 2025-08-15 16:30:52,836 - DEBUG - VN ctest-vn-23727807 UUID is 8c737f6e-ced9-42c4-bd7e-426345414bf8 2025-08-15 16:30:52,942 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-31457056', 'ctest-vmi-59352833']} 2025-08-15 16:30:53,176 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-59352833', 'id': '384f3ccb-f507-4a71-9804-8393ca1eb41d', 'tenant_id': '1653535ae450486c9cce550351bc6d5c', 'network_id': '8c737f6e-ced9-42c4-bd7e-426345414bf8', 'mac_address': '02:38:4f:3c:cb:f5', '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': '84.20.231.67', 'subnet_id': 'fd7d6b3d-ebd8-42aa-9052-59183c398bd7'}], 'security_groups': ['919f0ccf-228d-4e3e-8e2c-0b41f3228f60'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1653535ae450486c9cce550351bc6d5c'}} 2025-08-15 16:30:53,176 - DEBUG - Created port 384f3ccb-f507-4a71-9804-8393ca1eb41d 2025-08-15 16:30:53,280 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/384f3ccb-f507-4a71-9804-8393ca1eb41d 2025-08-15 16:30:53,568 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/384f3ccb-f507-4a71-9804-8393ca1eb41d 2025-08-15 16:30:53,598 - INFO - VMI 384f3ccb-f507-4a71-9804-8393ca1eb41d verification in API Server passed 2025-08-15 16:30:53,694 - DEBUG - Response for delete_port : () 2025-08-15 16:30:53,694 - INFO - Deleted port 384f3ccb-f507-4a71-9804-8393ca1eb41d 2025-08-15 16:30:53,694 - INFO - Deleting VN ctest-vn-23727807 2025-08-15 16:30:53,792 - DEBUG - Response for deleting network () 2025-08-15 16:30:54,045 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 16:30:54,045 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-15 16:30:54,046 - INFO - -------------------------------------------------------------------------------- 2025-08-15 16:30:54,048 - INFO - ================================================================================ 2025-08-15 16:30:54,048 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-15 16:30:54,048 - 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 16:30:54,341 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-08-15 16:30:54,341 - INFO - Initial checks done. Running the testcase now 2025-08-15 16:30:54,341 - INFO - 2025-08-15 16:30:54,524 - DEBUG - Response for create_network : {'network': {'id': '92835c87-6a62-459f-8504-88046c5090e9', 'name': 'ctest-vn1-42769122', 'tenant_id': '1653535ae450486c9cce550351bc6d5c', 'project_id': '1653535ae450486c9cce550351bc6d5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31457056', 'ctest-vn1-42769122'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 16:30:54,719 - DEBUG - Response for create_subnet : {'subnet': {'id': '99608c7a-f704-4058-90ca-995efa912ec1', 'name': '', 'tenant_id': '1653535ae450486c9cce550351bc6d5c', 'network_id': '92835c87-6a62-459f-8504-88046c5090e9', 'ip_version': 4, 'cidr': '188.229.136.0/26', 'allocation_pools': [{'start': '188.229.136.2', 'end': '188.229.136.62'}], 'gateway_ip': '188.229.136.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.229.136.2', 'tags': [], 'project_id': '1653535ae450486c9cce550351bc6d5c'}} 2025-08-15 16:30:54,913 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd4105ef-ab63-486d-97e3-60c5b9741dcc', 'name': '', 'tenant_id': '1653535ae450486c9cce550351bc6d5c', 'network_id': '92835c87-6a62-459f-8504-88046c5090e9', 'ip_version': 4, 'cidr': '74.98.249.0/26', 'allocation_pools': [{'start': '74.98.249.2', 'end': '74.98.249.62'}], 'gateway_ip': '74.98.249.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.98.249.2', 'tags': [], 'project_id': '1653535ae450486c9cce550351bc6d5c'}} 2025-08-15 16:30:54,931 - INFO - Created VN ctest-vn1-42769122 2025-08-15 16:30:54,983 - DEBUG - VN ctest-vn1-42769122 UUID is 92835c87-6a62-459f-8504-88046c5090e9 2025-08-15 16:30:55,277 - DEBUG - Response for create_port : {'port': {'name': '02ae3b90-b699-4061-b6f9-92e4bdee5a00', 'id': '02ae3b90-b699-4061-b6f9-92e4bdee5a00', 'tenant_id': '1653535ae450486c9cce550351bc6d5c', 'network_id': '92835c87-6a62-459f-8504-88046c5090e9', 'mac_address': '02:02:ae:3b:90:b6', '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': '188.229.136.5', 'subnet_id': '99608c7a-f704-4058-90ca-995efa912ec1'}], 'security_groups': ['919f0ccf-228d-4e3e-8e2c-0b41f3228f60'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1653535ae450486c9cce550351bc6d5c'}} 2025-08-15 16:30:55,443 - DEBUG - Response for create_port : {'port': {'name': '40e8ed54-6db6-4c39-bee4-a5753b685611', 'id': '40e8ed54-6db6-4c39-bee4-a5753b685611', 'tenant_id': '1653535ae450486c9cce550351bc6d5c', 'network_id': '92835c87-6a62-459f-8504-88046c5090e9', 'mac_address': '02:40:e8:ed:54:6d', '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': '74.98.249.5', 'subnet_id': 'bd4105ef-ab63-486d-97e3-60c5b9741dcc'}], 'security_groups': ['919f0ccf-228d-4e3e-8e2c-0b41f3228f60'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1653535ae450486c9cce550351bc6d5c'}} 2025-08-15 16:30:55,496 - DEBUG - Services list from nova: [, , ] 2025-08-15 16:30:55,785 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3866-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3866-1) 2025-08-15 16:30:56,155 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3866-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3866-1) 2025-08-15 16:30:56,155 - INFO - Waiting for VM ctest-vn1-vm1-17966778 to be up.. 2025-08-15 16:30:56,192 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 16:31:01,262 - DEBUG - VM is in ACTIVE state now 2025-08-15 16:31:01,262 - INFO - VM name : ctest-vn1-vm1-17966778 2025-08-15 16:31:01,326 - DEBUG - VM ctest-vn1-vm1-17966778 ID is 51eb7eff-d169-47d3-aaa3-c0adbc90dd5d 2025-08-15 16:31:01,343 - DEBUG - VM ctest-vn1-vm1-17966778 launched on Node cn-jenkins-deploy-platform-ansible-os-3866-1 2025-08-15 16:31:01,410 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/51eb7eff-d169-47d3-aaa3-c0adbc90dd5d 2025-08-15 16:31:01,418 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/02ae3b90-b699-4061-b6f9-92e4bdee5a00 2025-08-15 16:31:04,676 - 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 1020ms') 2025-08-15 16:31:04,677 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17966778 failed! 2025-08-15 16:31:04,732 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31457056:ctest-vn1-42769122 is 188.229.136.1 and allocation pool is NOT set 2025-08-15 16:31:04,732 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31457056:ctest-vn1-42769122 is 74.98.249.1 and allocation pool is NOT set 2025-08-15 16:31:06,793 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.37 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 = 1.365/2.560/3.756/1.195 ms') 2025-08-15 16:31:06,793 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17966778 passed 2025-08-15 16:31:06,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:31:06,944 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17966778, IP 188.229.136.5, Port 22 2025-08-15 16:31:07,103 - DEBUG - VM ctest-vn1-vm1-17966778 is ready for SSH connections 2025-08-15 16:31:07,103 - INFO - Waiting for VM ctest-vn1-vm2-31089993 to be up.. 2025-08-15 16:31:07,177 - DEBUG - VM is in ACTIVE state now 2025-08-15 16:31:07,177 - INFO - VM name : ctest-vn1-vm2-31089993 2025-08-15 16:31:07,244 - DEBUG - VM ctest-vn1-vm2-31089993 ID is 3e1e0f8f-d0a7-4987-9a8b-4dc80a37b0f0 2025-08-15 16:31:07,244 - DEBUG - VM ctest-vn1-vm2-31089993 launched on Node cn-jenkins-deploy-platform-ansible-os-3866-1 2025-08-15 16:31:07,308 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3e1e0f8f-d0a7-4987-9a8b-4dc80a37b0f0 2025-08-15 16:31:07,316 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/40e8ed54-6db6-4c39-bee4-a5753b685611 2025-08-15 16:31:08,552 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.387 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.387/1.477/2.567/1.090 ms') 2025-08-15 16:31:08,552 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-31089993 passed 2025-08-15 16:31:08,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:31:08,704 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-31089993, IP 74.98.249.5, Port 22 2025-08-15 16:31:08,855 - DEBUG - VM ctest-vn1-vm2-31089993 is ready for SSH connections 2025-08-15 16:31:08,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:31:08,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:31:08,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:31:08,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.229.136.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-15 16:31:08,855 - DEBUG - ping -s 56 -c 3 -W 1 188.229.136.5 2025-08-15 16:31:11,484 - DEBUG - PING 188.229.136.5 (188.229.136.5): 56 data bytes 64 bytes from 188.229.136.5: seq=0 ttl=63 time=4.178 ms 64 bytes from 188.229.136.5: seq=1 ttl=63 time=0.794 ms 64 bytes from 188.229.136.5: seq=2 ttl=63 time=0.769 ms --- 188.229.136.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/1.913/4.178 ms 2025-08-15 16:31:11,485 - INFO - Ping to IP 188.229.136.5 from VM ctest-vn1-vm2-31089993 passed 2025-08-15 16:31:11,485 - INFO - Detaching port 40e8ed54-6db6-4c39-bee4-a5753b685611 from VM ctest-vn1-vm2-31089993 2025-08-15 16:31:11,529 - INFO - Deleting VM ctest-vn1-vm2-31089993 2025-08-15 16:31:11,588 - INFO - Detaching port 02ae3b90-b699-4061-b6f9-92e4bdee5a00 from VM ctest-vn1-vm1-17966778 2025-08-15 16:31:11,624 - INFO - Deleting VM ctest-vn1-vm1-17966778 2025-08-15 16:31:11,822 - DEBUG - Response for delete_port : () 2025-08-15 16:31:11,962 - DEBUG - Response for delete_port : () 2025-08-15 16:31:11,962 - INFO - Deleting VN ctest-vn1-42769122 2025-08-15 16:31:12,088 - DEBUG - Response for deleting network () 2025-08-15 16:31:12,342 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 16:31:12,342 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-15 16:31:12,342 - INFO - -------------------------------------------------------------------------------- 2025-08-15 16:31:13,004 - INFO - Deleted project: ctest-TestPorts-31457056, ID : 1653535a-e450-486c-9cce-550351bc6d5c