2025-10-23 10:45:07,492 - INFO - Domain Default found not creating 2025-10-23 10:45:07,683 - INFO - Project ctest-TestPorts-59368568 not found, creating it 2025-10-23 10:45:08,157 - INFO - Created Project:ctest-TestPorts-59368568, ID : 47eb91b1-63d3-4b1f-95ff-5c5456cf0c25 2025-10-23 10:45:09,594 - INFO - ================================================================================ 2025-10-23 10:45:09,595 - INFO - STARTING TEST : test_ports_bindings 2025-10-23 10:45:09,595 - 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-23 10:45:09,850 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-10-23 10:45:09,850 - INFO - Initial checks done. Running the testcase now 2025-10-23 10:45:09,850 - INFO - 2025-10-23 10:45:10,462 - DEBUG - Response for create_network : {'network': {'id': '46d71582-e42a-4c60-9ba3-bf09c2c24c7c', 'name': 'ctest-vn-45360514', 'tenant_id': '47eb91b163d34b1f95ff5c5456cf0c25', 'project_id': '47eb91b163d34b1f95ff5c5456cf0c25', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-59368568', 'ctest-vn-45360514'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:45:10,639 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9a84327-5072-4f79-bdb4-f8287c3fd7b2', 'name': '', 'tenant_id': '47eb91b163d34b1f95ff5c5456cf0c25', 'network_id': '46d71582-e42a-4c60-9ba3-bf09c2c24c7c', 'ip_version': 4, 'cidr': '202.156.228.0/26', 'allocation_pools': [{'start': '202.156.228.2', 'end': '202.156.228.62'}], 'gateway_ip': '202.156.228.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.156.228.2', 'tags': [], 'project_id': '47eb91b163d34b1f95ff5c5456cf0c25'}} 2025-10-23 10:45:10,674 - INFO - Created VN ctest-vn-45360514 2025-10-23 10:45:10,725 - DEBUG - VN ctest-vn-45360514 UUID is 46d71582-e42a-4c60-9ba3-bf09c2c24c7c 2025-10-23 10:45:10,930 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-59368568', 'ctest-vmi-99167819']} 2025-10-23 10:45:11,171 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99167819', 'id': '57a770e3-6de7-4ab5-8593-4867a885ad50', 'tenant_id': '47eb91b163d34b1f95ff5c5456cf0c25', 'network_id': '46d71582-e42a-4c60-9ba3-bf09c2c24c7c', 'mac_address': '02:57:a7:70:e3:6d', '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': '202.156.228.3', 'subnet_id': 'b9a84327-5072-4f79-bdb4-f8287c3fd7b2'}], 'security_groups': ['64761f9e-09fd-4417-9bde-1f63846fd92b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '47eb91b163d34b1f95ff5c5456cf0c25'}} 2025-10-23 10:45:11,171 - DEBUG - Created port 57a770e3-6de7-4ab5-8593-4867a885ad50 2025-10-23 10:45:11,277 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/57a770e3-6de7-4ab5-8593-4867a885ad50 2025-10-23 10:45:11,572 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/57a770e3-6de7-4ab5-8593-4867a885ad50 2025-10-23 10:45:11,603 - INFO - VMI 57a770e3-6de7-4ab5-8593-4867a885ad50 verification in API Server passed 2025-10-23 10:45:11,696 - DEBUG - Response for delete_port : () 2025-10-23 10:45:11,696 - INFO - Deleted port 57a770e3-6de7-4ab5-8593-4867a885ad50 2025-10-23 10:45:11,696 - INFO - Deleting VN ctest-vn-45360514 2025-10-23 10:45:11,807 - DEBUG - Response for deleting network () 2025-10-23 10:45:12,063 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 10:45:12,063 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-23 10:45:12,063 - INFO - -------------------------------------------------------------------------------- 2025-10-23 10:45:12,066 - INFO - ================================================================================ 2025-10-23 10:45:12,066 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-23 10:45:12,066 - 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-23 10:45:12,350 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-10-23 10:45:12,350 - INFO - Initial checks done. Running the testcase now 2025-10-23 10:45:12,351 - INFO - 2025-10-23 10:45:12,541 - DEBUG - Response for create_network : {'network': {'id': '5524dfa1-19a9-40d4-a4dd-4fa44bab3f33', 'name': 'ctest-vn1-19258454', 'tenant_id': '47eb91b163d34b1f95ff5c5456cf0c25', 'project_id': '47eb91b163d34b1f95ff5c5456cf0c25', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-59368568', 'ctest-vn1-19258454'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:45:12,717 - DEBUG - Response for create_subnet : {'subnet': {'id': '9af9840f-0494-4b5d-a089-1d646f5854d3', 'name': '', 'tenant_id': '47eb91b163d34b1f95ff5c5456cf0c25', 'network_id': '5524dfa1-19a9-40d4-a4dd-4fa44bab3f33', 'ip_version': 4, 'cidr': '103.152.83.0/26', 'allocation_pools': [{'start': '103.152.83.2', 'end': '103.152.83.62'}], 'gateway_ip': '103.152.83.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.152.83.2', 'tags': [], 'project_id': '47eb91b163d34b1f95ff5c5456cf0c25'}} 2025-10-23 10:45:12,932 - DEBUG - Response for create_subnet : {'subnet': {'id': '10f010f8-c14d-4841-8cfe-c0f2c792f90a', 'name': '', 'tenant_id': '47eb91b163d34b1f95ff5c5456cf0c25', 'network_id': '5524dfa1-19a9-40d4-a4dd-4fa44bab3f33', 'ip_version': 4, 'cidr': '187.192.75.128/26', 'allocation_pools': [{'start': '187.192.75.130', 'end': '187.192.75.190'}], 'gateway_ip': '187.192.75.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.192.75.130', 'tags': [], 'project_id': '47eb91b163d34b1f95ff5c5456cf0c25'}} 2025-10-23 10:45:12,951 - INFO - Created VN ctest-vn1-19258454 2025-10-23 10:45:13,005 - DEBUG - VN ctest-vn1-19258454 UUID is 5524dfa1-19a9-40d4-a4dd-4fa44bab3f33 2025-10-23 10:45:13,329 - DEBUG - Response for create_port : {'port': {'name': 'd521a454-a4da-4632-b083-6e4c020feb59', 'id': 'd521a454-a4da-4632-b083-6e4c020feb59', 'tenant_id': '47eb91b163d34b1f95ff5c5456cf0c25', 'network_id': '5524dfa1-19a9-40d4-a4dd-4fa44bab3f33', 'mac_address': '02:d5:21:a4:54:a4', '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': '103.152.83.5', 'subnet_id': '9af9840f-0494-4b5d-a089-1d646f5854d3'}], 'security_groups': ['64761f9e-09fd-4417-9bde-1f63846fd92b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '47eb91b163d34b1f95ff5c5456cf0c25'}} 2025-10-23 10:45:13,515 - DEBUG - Response for create_port : {'port': {'name': '48e6f204-38ed-4c21-915a-edc261373ff6', 'id': '48e6f204-38ed-4c21-915a-edc261373ff6', 'tenant_id': '47eb91b163d34b1f95ff5c5456cf0c25', 'network_id': '5524dfa1-19a9-40d4-a4dd-4fa44bab3f33', 'mac_address': '02:48:e6:f2:04:38', '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': '187.192.75.133', 'subnet_id': '10f010f8-c14d-4841-8cfe-c0f2c792f90a'}], 'security_groups': ['64761f9e-09fd-4417-9bde-1f63846fd92b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '47eb91b163d34b1f95ff5c5456cf0c25'}} 2025-10-23 10:45:13,581 - DEBUG - Services list from nova: [, , ] 2025-10-23 10:45:13,946 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4457-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4457-1) 2025-10-23 10:45:14,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4457-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4457-1) 2025-10-23 10:45:14,345 - INFO - Waiting for VM ctest-vn1-vm1-12327002 to be up.. 2025-10-23 10:45:14,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 10:45:19,480 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:45:19,480 - INFO - VM name : ctest-vn1-vm1-12327002 2025-10-23 10:45:19,561 - DEBUG - VM ctest-vn1-vm1-12327002 ID is 2c852456-b5bc-4d32-aebb-ede3534aa663 2025-10-23 10:45:19,582 - DEBUG - VM ctest-vn1-vm1-12327002 launched on Node cn-jenkins-deploy-platform-ansible-os-4457-1 2025-10-23 10:45:19,665 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/2c852456-b5bc-4d32-aebb-ede3534aa663 2025-10-23 10:45:19,675 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/d521a454-a4da-4632-b083-6e4c020feb59 2025-10-23 10:45:22,929 - 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-10-23 10:45:22,929 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12327002 failed! 2025-10-23 10:45:22,985 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-59368568:ctest-vn1-19258454 is 103.152.83.1 and allocation pool is NOT set 2025-10-23 10:45:22,985 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-59368568:ctest-vn1-19258454 is 187.192.75.129 and allocation pool is NOT set 2025-10-23 10:45:27,051 - 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=7.77 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 7.769/7.769/7.769/0.000 ms') 2025-10-23 10:45:27,051 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12327002 passed 2025-10-23 10:45:27,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:45:27,201 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12327002, IP 103.152.83.5, Port 22 2025-10-23 10:45:27,366 - DEBUG - VM ctest-vn1-vm1-12327002 is ready for SSH connections 2025-10-23 10:45:27,366 - INFO - Waiting for VM ctest-vn1-vm2-42036801 to be up.. 2025-10-23 10:45:27,449 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:45:27,449 - INFO - VM name : ctest-vn1-vm2-42036801 2025-10-23 10:45:27,530 - DEBUG - VM ctest-vn1-vm2-42036801 ID is 4107a275-41d2-4821-b68d-546aeab215f1 2025-10-23 10:45:27,531 - DEBUG - VM ctest-vn1-vm2-42036801 launched on Node cn-jenkins-deploy-platform-ansible-os-4457-1 2025-10-23 10:45:27,605 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/4107a275-41d2-4821-b68d-546aeab215f1 2025-10-23 10:45:27,614 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/48e6f204-38ed-4c21-915a-edc261373ff6 2025-10-23 10:45:28,852 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.512 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.512/1.759/3.006/1.247 ms') 2025-10-23 10:45:28,853 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-42036801 passed 2025-10-23 10:45:29,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:45:29,001 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-42036801, IP 187.192.75.133, Port 22 2025-10-23 10:45:29,157 - DEBUG - VM ctest-vn1-vm2-42036801 is ready for SSH connections 2025-10-23 10:45:29,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:45:29,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:45:29,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:45:29,157 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.152.83.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-23 10:45:29,159 - DEBUG - ping -s 56 -c 3 -W 1 103.152.83.5 2025-10-23 10:45:31,819 - DEBUG - PING 103.152.83.5 (103.152.83.5): 56 data bytes 64 bytes from 103.152.83.5: seq=0 ttl=63 time=4.140 ms 64 bytes from 103.152.83.5: seq=1 ttl=63 time=0.826 ms 64 bytes from 103.152.83.5: seq=2 ttl=63 time=1.344 ms --- 103.152.83.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/2.103/4.140 ms 2025-10-23 10:45:31,819 - INFO - Ping to IP 103.152.83.5 from VM ctest-vn1-vm2-42036801 passed 2025-10-23 10:45:31,820 - INFO - Detaching port 48e6f204-38ed-4c21-915a-edc261373ff6 from VM ctest-vn1-vm2-42036801 2025-10-23 10:45:31,870 - INFO - Deleting VM ctest-vn1-vm2-42036801 2025-10-23 10:45:31,959 - INFO - Detaching port d521a454-a4da-4632-b083-6e4c020feb59 from VM ctest-vn1-vm1-12327002 2025-10-23 10:45:31,999 - INFO - Deleting VM ctest-vn1-vm1-12327002 2025-10-23 10:45:32,226 - DEBUG - Response for delete_port : () 2025-10-23 10:45:32,396 - DEBUG - Response for delete_port : () 2025-10-23 10:45:32,397 - INFO - Deleting VN ctest-vn1-19258454 2025-10-23 10:45:32,538 - DEBUG - Response for deleting network () 2025-10-23 10:45:32,809 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 10:45:32,809 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-10-23 10:45:32,809 - INFO - -------------------------------------------------------------------------------- 2025-10-23 10:45:33,490 - INFO - Deleted project: ctest-TestPorts-59368568, ID : 47eb91b1-63d3-4b1f-95ff-5c5456cf0c25