2026-01-16 12:37:54,506 - INFO - Domain Default found not creating 2026-01-16 12:37:54,676 - INFO - Project ctest-TestPorts-72417014 not found, creating it 2026-01-16 12:37:55,166 - INFO - Created Project:ctest-TestPorts-72417014, ID : be9d861f-dadb-4030-b057-771c0ff8e9f9 2026-01-16 12:37:56,873 - INFO - ================================================================================ 2026-01-16 12:37:56,873 - INFO - STARTING TEST : test_ports_bindings 2026-01-16 12:37:56,873 - 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 2026-01-16 12:37:57,138 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.145': '0'}} with 2026-01-16 12:37:57,138 - INFO - Initial checks done. Running the testcase now 2026-01-16 12:37:57,139 - INFO - 2026-01-16 12:37:57,664 - DEBUG - Response for create_network : {'network': {'id': '5e6d1d3d-162e-4143-9778-ab5a54ecd951', 'name': 'ctest-vn-85826282', 'tenant_id': 'be9d861fdadb4030b057771c0ff8e9f9', 'project_id': 'be9d861fdadb4030b057771c0ff8e9f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72417014', 'ctest-vn-85826282'], 'port_security_enabled': True, 'description': ''}} 2026-01-16 12:37:57,879 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4dbcbc2-0fcf-4634-8edd-0bcfd00f4273', 'name': '', 'tenant_id': 'be9d861fdadb4030b057771c0ff8e9f9', 'network_id': '5e6d1d3d-162e-4143-9778-ab5a54ecd951', 'ip_version': 4, 'cidr': '53.187.21.0/26', 'allocation_pools': [{'start': '53.187.21.2', 'end': '53.187.21.62'}], 'gateway_ip': '53.187.21.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.187.21.2', 'tags': [], 'project_id': 'be9d861fdadb4030b057771c0ff8e9f9'}} 2026-01-16 12:37:57,899 - INFO - Created VN ctest-vn-85826282 2026-01-16 12:37:57,953 - DEBUG - VN ctest-vn-85826282 UUID is 5e6d1d3d-162e-4143-9778-ab5a54ecd951 2026-01-16 12:37:58,072 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-72417014', 'ctest-vmi-93700666']} 2026-01-16 12:37:58,327 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-93700666', 'id': '28ff8943-9bb8-4cef-8ccb-571015f7ae6c', 'tenant_id': 'be9d861fdadb4030b057771c0ff8e9f9', 'network_id': '5e6d1d3d-162e-4143-9778-ab5a54ecd951', 'mac_address': '02:28:ff:89:43:9b', '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': '53.187.21.3', 'subnet_id': 'e4dbcbc2-0fcf-4634-8edd-0bcfd00f4273'}], 'security_groups': ['ade6b1df-241c-490c-9ecd-61c8ea90ea49'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'be9d861fdadb4030b057771c0ff8e9f9'}} 2026-01-16 12:37:58,327 - DEBUG - Created port 28ff8943-9bb8-4cef-8ccb-571015f7ae6c 2026-01-16 12:37:58,433 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/28ff8943-9bb8-4cef-8ccb-571015f7ae6c 2026-01-16 12:37:58,728 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/28ff8943-9bb8-4cef-8ccb-571015f7ae6c 2026-01-16 12:37:58,764 - INFO - VMI 28ff8943-9bb8-4cef-8ccb-571015f7ae6c verification in API Server passed 2026-01-16 12:37:58,860 - DEBUG - Response for delete_port : () 2026-01-16 12:37:58,860 - INFO - Deleted port 28ff8943-9bb8-4cef-8ccb-571015f7ae6c 2026-01-16 12:37:58,860 - INFO - Deleting VN ctest-vn-85826282 2026-01-16 12:37:58,977 - DEBUG - Response for deleting network () 2026-01-16 12:37:59,244 - DEBUG - No XMPP flaps were noticed during the test
2026-01-16 12:37:59,244 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-01-16 12:37:59,245 - INFO - -------------------------------------------------------------------------------- 2026-01-16 12:37:59,247 - INFO - ================================================================================ 2026-01-16 12:37:59,247 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-16 12:37:59,247 - 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 2026-01-16 12:37:59,537 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.145': '0'}} with 2026-01-16 12:37:59,538 - INFO - Initial checks done. Running the testcase now 2026-01-16 12:37:59,538 - INFO - 2026-01-16 12:37:59,707 - DEBUG - Response for create_network : {'network': {'id': '2cb371f2-5fe9-44df-a613-43a258b654f9', 'name': 'ctest-vn1-92295705', 'tenant_id': 'be9d861fdadb4030b057771c0ff8e9f9', 'project_id': 'be9d861fdadb4030b057771c0ff8e9f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72417014', 'ctest-vn1-92295705'], 'port_security_enabled': True, 'description': ''}} 2026-01-16 12:37:59,856 - DEBUG - Response for create_subnet : {'subnet': {'id': '2dd283d3-45da-4363-89e1-9823c6d9ed6a', 'name': '', 'tenant_id': 'be9d861fdadb4030b057771c0ff8e9f9', 'network_id': '2cb371f2-5fe9-44df-a613-43a258b654f9', 'ip_version': 4, 'cidr': '41.201.69.192/26', 'allocation_pools': [{'start': '41.201.69.194', 'end': '41.201.69.254'}], 'gateway_ip': '41.201.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.201.69.194', 'tags': [], 'project_id': 'be9d861fdadb4030b057771c0ff8e9f9'}} 2026-01-16 12:37:59,994 - DEBUG - Response for create_subnet : {'subnet': {'id': 'adab15f4-78c7-43d0-9a88-1347a5e2b2ef', 'name': '', 'tenant_id': 'be9d861fdadb4030b057771c0ff8e9f9', 'network_id': '2cb371f2-5fe9-44df-a613-43a258b654f9', 'ip_version': 4, 'cidr': '126.148.141.128/26', 'allocation_pools': [{'start': '126.148.141.130', 'end': '126.148.141.190'}], 'gateway_ip': '126.148.141.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.148.141.130', 'tags': [], 'project_id': 'be9d861fdadb4030b057771c0ff8e9f9'}} 2026-01-16 12:38:00,014 - INFO - Created VN ctest-vn1-92295705 2026-01-16 12:38:00,069 - DEBUG - VN ctest-vn1-92295705 UUID is 2cb371f2-5fe9-44df-a613-43a258b654f9 2026-01-16 12:38:00,387 - DEBUG - Response for create_port : {'port': {'name': 'eef4094e-bb5f-44c4-8474-d86b46e1ead6', 'id': 'eef4094e-bb5f-44c4-8474-d86b46e1ead6', 'tenant_id': 'be9d861fdadb4030b057771c0ff8e9f9', 'network_id': '2cb371f2-5fe9-44df-a613-43a258b654f9', 'mac_address': '02:ee:f4:09:4e:bb', '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': '41.201.69.197', 'subnet_id': '2dd283d3-45da-4363-89e1-9823c6d9ed6a'}], 'security_groups': ['ade6b1df-241c-490c-9ecd-61c8ea90ea49'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'be9d861fdadb4030b057771c0ff8e9f9'}} 2026-01-16 12:38:00,572 - DEBUG - Response for create_port : {'port': {'name': '6adae8d2-5aa5-4e80-88a1-d4c9a68ffb8b', 'id': '6adae8d2-5aa5-4e80-88a1-d4c9a68ffb8b', 'tenant_id': 'be9d861fdadb4030b057771c0ff8e9f9', 'network_id': '2cb371f2-5fe9-44df-a613-43a258b654f9', 'mac_address': '02:6a:da:e8:d2:5a', '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': '126.148.141.133', 'subnet_id': 'adab15f4-78c7-43d0-9a88-1347a5e2b2ef'}], 'security_groups': ['ade6b1df-241c-490c-9ecd-61c8ea90ea49'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'be9d861fdadb4030b057771c0ff8e9f9'}} 2026-01-16 12:38:00,651 - DEBUG - Services list from nova: [, , ] 2026-01-16 12:38:01,017 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5030-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5030-1) 2026-01-16 12:38:01,447 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5030-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5030-1) 2026-01-16 12:38:01,447 - INFO - Waiting for VM ctest-vn1-vm1-72353094 to be up.. 2026-01-16 12:38:01,504 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-16 12:38:06,580 - DEBUG - VM is in ACTIVE state now 2026-01-16 12:38:06,580 - INFO - VM name : ctest-vn1-vm1-72353094 2026-01-16 12:38:06,662 - DEBUG - VM ctest-vn1-vm1-72353094 ID is a9999b9e-01bc-4343-9ee6-e02a80c2149e 2026-01-16 12:38:06,686 - DEBUG - VM ctest-vn1-vm1-72353094 launched on Node cn-jenkins-deploy-platform-ansible-os-5030-1 2026-01-16 12:38:06,769 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/a9999b9e-01bc-4343-9ee6-e02a80c2149e 2026-01-16 12:38:06,778 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/eef4094e-bb5f-44c4-8474-d86b46e1ead6 2026-01-16 12:38:10,032 - 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 1014ms') 2026-01-16 12:38:10,032 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72353094 failed! 2026-01-16 12:38:10,089 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72417014:ctest-vn1-92295705 is 41.201.69.193 and allocation pool is NOT set 2026-01-16 12:38:10,089 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72417014:ctest-vn1-92295705 is 126.148.141.129 and allocation pool is NOT set 2026-01-16 12:38:14,155 - 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.56 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 7.563/7.563/7.563/0.000 ms') 2026-01-16 12:38:14,155 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72353094 passed 2026-01-16 12:38:14,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 12:38:14,305 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72353094, IP 41.201.69.197, Port 22 2026-01-16 12:38:14,465 - DEBUG - VM ctest-vn1-vm1-72353094 is ready for SSH connections 2026-01-16 12:38:14,465 - INFO - Waiting for VM ctest-vn1-vm2-32819814 to be up.. 2026-01-16 12:38:14,546 - DEBUG - VM is in ACTIVE state now 2026-01-16 12:38:14,546 - INFO - VM name : ctest-vn1-vm2-32819814 2026-01-16 12:38:14,631 - DEBUG - VM ctest-vn1-vm2-32819814 ID is cc288903-bece-40de-8ca3-c568753a4b0f 2026-01-16 12:38:14,632 - DEBUG - VM ctest-vn1-vm2-32819814 launched on Node cn-jenkins-deploy-platform-ansible-os-5030-1 2026-01-16 12:38:14,709 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/cc288903-bece-40de-8ca3-c568753a4b0f 2026-01-16 12:38:14,719 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/6adae8d2-5aa5-4e80-88a1-d4c9a68ffb8b 2026-01-16 12:38:15,959 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.591 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.591/2.154/3.718/1.563 ms') 2026-01-16 12:38:15,959 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-32819814 passed 2026-01-16 12:38:16,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 12:38:16,109 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-32819814, IP 126.148.141.133, Port 22 2026-01-16 12:38:16,265 - DEBUG - VM ctest-vn1-vm2-32819814 is ready for SSH connections 2026-01-16 12:38:16,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 12:38:16,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 12:38:16,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 12:38:16,265 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.201.69.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-01-16 12:38:16,265 - DEBUG - ping -s 56 -c 3 -W 1 41.201.69.197 2026-01-16 12:38:18,944 - DEBUG - PING 41.201.69.197 (41.201.69.197): 56 data bytes 64 bytes from 41.201.69.197: seq=0 ttl=63 time=3.736 ms 64 bytes from 41.201.69.197: seq=1 ttl=63 time=0.833 ms 64 bytes from 41.201.69.197: seq=2 ttl=63 time=0.782 ms --- 41.201.69.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.782/1.783/3.736 ms 2026-01-16 12:38:18,944 - INFO - Ping to IP 41.201.69.197 from VM ctest-vn1-vm2-32819814 passed 2026-01-16 12:38:18,944 - INFO - Detaching port 6adae8d2-5aa5-4e80-88a1-d4c9a68ffb8b from VM ctest-vn1-vm2-32819814 2026-01-16 12:38:18,994 - INFO - Deleting VM ctest-vn1-vm2-32819814 2026-01-16 12:38:19,063 - INFO - Detaching port eef4094e-bb5f-44c4-8474-d86b46e1ead6 from VM ctest-vn1-vm1-72353094 2026-01-16 12:38:19,104 - INFO - Deleting VM ctest-vn1-vm1-72353094 2026-01-16 12:38:19,324 - DEBUG - Response for delete_port : () 2026-01-16 12:38:19,471 - DEBUG - Response for delete_port : () 2026-01-16 12:38:19,471 - INFO - Deleting VN ctest-vn1-92295705 2026-01-16 12:38:19,607 - DEBUG - Response for deleting network () 2026-01-16 12:38:19,865 - DEBUG - No XMPP flaps were noticed during the test
2026-01-16 12:38:19,866 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2026-01-16 12:38:19,866 - INFO - -------------------------------------------------------------------------------- 2026-01-16 12:38:20,554 - INFO - Deleted project: ctest-TestPorts-72417014, ID : be9d861f-dadb-4030-b057-771c0ff8e9f9