2026-08-24 02:24:29,704 - INFO - Domain Default found not creating 2026-08-24 02:24:29,871 - INFO - Project ctest-TestPorts-74200005 not found, creating it 2026-08-24 02:24:30,350 - INFO - Created Project:ctest-TestPorts-74200005, ID : f8e1015a-3f10-4ace-97d6-c874a6f6bc2c 2026-08-24 02:24:31,916 - INFO - ================================================================================ 2026-08-24 02:24:31,916 - INFO - STARTING TEST : test_ports_bindings 2026-08-24 02:24:31,916 - 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-08-24 02:24:32,176 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-08-24 02:24:32,176 - INFO - Initial checks done. Running the testcase now 2026-08-24 02:24:32,176 - INFO - 2026-08-24 02:24:32,778 - DEBUG - Response for create_network : {'network': {'id': '7ef43492-493e-45af-9852-dfa5ba66937d', 'name': 'ctest-vn-00422106', 'tenant_id': 'f8e1015a3f104ace97d6c874a6f6bc2c', 'project_id': 'f8e1015a3f104ace97d6c874a6f6bc2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74200005', 'ctest-vn-00422106'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-08-24 02:24:33,023 - DEBUG - Response for create_subnet : {'subnet': {'id': '315f3f33-82b5-4106-81ad-2cbf18f716f3', 'name': '', 'tenant_id': 'f8e1015a3f104ace97d6c874a6f6bc2c', 'network_id': '7ef43492-493e-45af-9852-dfa5ba66937d', 'ip_version': 4, 'cidr': '160.114.253.128/26', 'allocation_pools': [{'start': '160.114.253.130', 'end': '160.114.253.190'}], 'gateway_ip': '160.114.253.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-08-24T02:24:32.952842', 'updated_at': '2026-08-24T02:24:32.952842', 'dns_server_address': '160.114.253.130', 'tags': [], 'project_id': 'f8e1015a3f104ace97d6c874a6f6bc2c'}} 2026-08-24 02:24:33,044 - INFO - Created VN ctest-vn-00422106 2026-08-24 02:24:33,097 - DEBUG - VN ctest-vn-00422106 UUID is 7ef43492-493e-45af-9852-dfa5ba66937d 2026-08-24 02:24:33,202 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-74200005', 'ctest-vmi-16431351']} 2026-08-24 02:24:33,517 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-16431351', 'id': '17dfe96a-db4d-43e8-ac1d-89ede40c74fd', 'tenant_id': 'f8e1015a3f104ace97d6c874a6f6bc2c', 'network_id': '7ef43492-493e-45af-9852-dfa5ba66937d', 'mac_address': '02:17:df:e9:6a:db', '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': '160.114.253.131', 'subnet_id': '315f3f33-82b5-4106-81ad-2cbf18f716f3'}], 'security_groups': ['71679593-1736-4904-9a3f-42fed2e66aaf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-08-24T02:24:33.364424', 'updated_at': '2026-08-24T02:24:33.428739', 'project_id': 'f8e1015a3f104ace97d6c874a6f6bc2c'}} 2026-08-24 02:24:33,517 - DEBUG - Created port 17dfe96a-db4d-43e8-ac1d-89ede40c74fd 2026-08-24 02:24:33,630 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/17dfe96a-db4d-43e8-ac1d-89ede40c74fd 2026-08-24 02:24:33,967 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/17dfe96a-db4d-43e8-ac1d-89ede40c74fd 2026-08-24 02:24:34,001 - INFO - VMI 17dfe96a-db4d-43e8-ac1d-89ede40c74fd verification in API Server passed 2026-08-24 02:24:34,099 - DEBUG - Response for delete_port : () 2026-08-24 02:24:34,099 - INFO - Deleted port 17dfe96a-db4d-43e8-ac1d-89ede40c74fd 2026-08-24 02:24:34,099 - INFO - Deleting VN ctest-vn-00422106 2026-08-24 02:24:34,200 - DEBUG - Response for deleting network () 2026-08-24 02:24:34,455 - DEBUG - No XMPP flaps were noticed during the test
2026-08-24 02:24:34,455 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-08-24 02:24:34,455 - INFO - -------------------------------------------------------------------------------- 2026-08-24 02:24:34,457 - INFO - ================================================================================ 2026-08-24 02:24:34,457 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-08-24 02:24:34,457 - 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-08-24 02:24:34,753 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-08-24 02:24:34,753 - INFO - Initial checks done. Running the testcase now 2026-08-24 02:24:34,753 - INFO - 2026-08-24 02:24:34,929 - DEBUG - Response for create_network : {'network': {'id': '9e7a72cd-5208-41f0-8522-e65066dce5ce', 'name': 'ctest-vn1-05405020', 'tenant_id': 'f8e1015a3f104ace97d6c874a6f6bc2c', 'project_id': 'f8e1015a3f104ace97d6c874a6f6bc2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74200005', 'ctest-vn1-05405020'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-08-24 02:24:35,114 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ff18339-f9fe-4ab4-b0eb-38e4c6b9fc6e', 'name': '', 'tenant_id': 'f8e1015a3f104ace97d6c874a6f6bc2c', 'network_id': '9e7a72cd-5208-41f0-8522-e65066dce5ce', 'ip_version': 4, 'cidr': '187.72.97.0/26', 'allocation_pools': [{'start': '187.72.97.2', 'end': '187.72.97.62'}], 'gateway_ip': '187.72.97.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-08-24T02:24:35.055814', 'updated_at': '2026-08-24T02:24:35.055814', 'dns_server_address': '187.72.97.2', 'tags': [], 'project_id': 'f8e1015a3f104ace97d6c874a6f6bc2c'}} 2026-08-24 02:24:35,280 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aef3f96a-fe82-4e0f-b635-1a94d0dfdacc', 'name': '', 'tenant_id': 'f8e1015a3f104ace97d6c874a6f6bc2c', 'network_id': '9e7a72cd-5208-41f0-8522-e65066dce5ce', 'ip_version': 4, 'cidr': '105.76.207.0/26', 'allocation_pools': [{'start': '105.76.207.2', 'end': '105.76.207.62'}], 'gateway_ip': '105.76.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-08-24T02:24:35.229696', 'updated_at': '2026-08-24T02:24:35.229696', 'dns_server_address': '105.76.207.2', 'tags': [], 'project_id': 'f8e1015a3f104ace97d6c874a6f6bc2c'}} 2026-08-24 02:24:35,300 - INFO - Created VN ctest-vn1-05405020 2026-08-24 02:24:35,354 - DEBUG - VN ctest-vn1-05405020 UUID is 9e7a72cd-5208-41f0-8522-e65066dce5ce 2026-08-24 02:24:35,654 - DEBUG - Response for create_port : {'port': {'name': '16ce6493-2317-4251-a3e1-abbc7e547519', 'id': '16ce6493-2317-4251-a3e1-abbc7e547519', 'tenant_id': 'f8e1015a3f104ace97d6c874a6f6bc2c', 'network_id': '9e7a72cd-5208-41f0-8522-e65066dce5ce', 'mac_address': '02:16:ce:64:93:23', '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.72.97.5', 'subnet_id': '8ff18339-f9fe-4ab4-b0eb-38e4c6b9fc6e'}], 'security_groups': ['71679593-1736-4904-9a3f-42fed2e66aaf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-08-24T02:24:35.519959', 'updated_at': '2026-08-24T02:24:35.583585', 'project_id': 'f8e1015a3f104ace97d6c874a6f6bc2c'}} 2026-08-24 02:24:35,849 - DEBUG - Response for create_port : {'port': {'name': 'b2349aba-5e82-4b04-a9f0-8d9369aecd17', 'id': 'b2349aba-5e82-4b04-a9f0-8d9369aecd17', 'tenant_id': 'f8e1015a3f104ace97d6c874a6f6bc2c', 'network_id': '9e7a72cd-5208-41f0-8522-e65066dce5ce', 'mac_address': '02:b2:34:9a:ba:5e', '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': '105.76.207.5', 'subnet_id': 'aef3f96a-fe82-4e0f-b635-1a94d0dfdacc'}], 'security_groups': ['71679593-1736-4904-9a3f-42fed2e66aaf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-08-24T02:24:35.706157', 'updated_at': '2026-08-24T02:24:35.772789', 'project_id': 'f8e1015a3f104ace97d6c874a6f6bc2c'}} 2026-08-24 02:24:35,907 - DEBUG - Services list from nova: [, , ] 2026-08-24 02:24:36,245 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6210-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6210-1) 2026-08-24 02:24:36,632 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6210-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6210-1) 2026-08-24 02:24:36,632 - INFO - Waiting for VM ctest-vn1-vm1-57956395 to be up.. 2026-08-24 02:24:36,669 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:24:41,718 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:24:46,795 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:24:51,875 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:24:56,953 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:25:02,037 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:25:07,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:25:12,208 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 02:25:17,291 - DEBUG - VM is in ACTIVE state now 2026-08-24 02:25:17,291 - INFO - VM name : ctest-vn1-vm1-57956395 2026-08-24 02:25:17,372 - DEBUG - VM ctest-vn1-vm1-57956395 ID is 3fffdcf3-6ce6-44b0-80c3-7322537b3698 2026-08-24 02:25:17,394 - DEBUG - VM ctest-vn1-vm1-57956395 launched on Node cn-jenkins-deploy-platform-ansible-os-6210-1 2026-08-24 02:25:17,481 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3fffdcf3-6ce6-44b0-80c3-7322537b3698 2026-08-24 02:25:17,491 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/16ce6493-2317-4251-a3e1-abbc7e547519 2026-08-24 02:25:20,744 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-08-24 02:25:20,744 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-57956395 failed! 2026-08-24 02:25:20,802 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74200005:ctest-vn1-05405020 is 187.72.97.1 and allocation pool is NOT set 2026-08-24 02:25:20,802 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74200005:ctest-vn1-05405020 is 105.76.207.1 and allocation pool is NOT set 2026-08-24 02:25:22,865 - 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=5.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.501 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.501/3.180/5.859/2.679 ms') 2026-08-24 02:25:22,866 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-57956395 passed 2026-08-24 02:25:23,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 02:25:23,018 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57956395, IP 187.72.97.5, Port 22 2026-08-24 02:25:23,188 - DEBUG - VM ctest-vn1-vm1-57956395 is ready for SSH connections 2026-08-24 02:25:23,188 - INFO - Waiting for VM ctest-vn1-vm2-82401014 to be up.. 2026-08-24 02:25:23,269 - DEBUG - VM is in ACTIVE state now 2026-08-24 02:25:23,269 - INFO - VM name : ctest-vn1-vm2-82401014 2026-08-24 02:25:23,347 - DEBUG - VM ctest-vn1-vm2-82401014 ID is 3666d18a-a968-4006-8a29-42132512f083 2026-08-24 02:25:23,347 - DEBUG - VM ctest-vn1-vm2-82401014 launched on Node cn-jenkins-deploy-platform-ansible-os-6210-1 2026-08-24 02:25:23,425 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3666d18a-a968-4006-8a29-42132512f083 2026-08-24 02:25:23,435 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b2349aba-5e82-4b04-a9f0-8d9369aecd17 2026-08-24 02:25:24,684 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.506 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.506/2.063/3.620/1.557 ms') 2026-08-24 02:25:24,684 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-82401014 passed 2026-08-24 02:25:24,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 02:25:24,834 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-82401014, IP 105.76.207.5, Port 22 2026-08-24 02:25:25,001 - DEBUG - VM ctest-vn1-vm2-82401014 is ready for SSH connections 2026-08-24 02:25:25,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 02:25:25,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 02:25:25,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 02:25:25,001 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.72.97.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-24 02:25:25,001 - DEBUG - ping -s 56 -c 3 -W 1 187.72.97.5 2026-08-24 02:25:28,996 - DEBUG - PING 187.72.97.5 (187.72.97.5): 56 data bytes 64 bytes from 187.72.97.5: seq=0 ttl=63 time=4.513 ms 64 bytes from 187.72.97.5: seq=1 ttl=63 time=1.050 ms 64 bytes from 187.72.97.5: seq=2 ttl=63 time=1.022 ms --- 187.72.97.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.022/2.195/4.513 ms 2026-08-24 02:25:28,996 - INFO - Ping to IP 187.72.97.5 from VM ctest-vn1-vm2-82401014 passed 2026-08-24 02:25:28,997 - INFO - Detaching port b2349aba-5e82-4b04-a9f0-8d9369aecd17 from VM ctest-vn1-vm2-82401014 2026-08-24 02:25:29,059 - INFO - Deleting VM ctest-vn1-vm2-82401014 2026-08-24 02:25:29,136 - INFO - Detaching port 16ce6493-2317-4251-a3e1-abbc7e547519 from VM ctest-vn1-vm1-57956395 2026-08-24 02:25:29,170 - INFO - Deleting VM ctest-vn1-vm1-57956395 2026-08-24 02:25:29,419 - DEBUG - Response for delete_port : () 2026-08-24 02:25:29,570 - DEBUG - Response for delete_port : () 2026-08-24 02:25:29,570 - INFO - Deleting VN ctest-vn1-05405020 2026-08-24 02:25:29,718 - DEBUG - Response for deleting network () 2026-08-24 02:25:29,971 - DEBUG - No XMPP flaps were noticed during the test
2026-08-24 02:25:29,971 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:55]
2026-08-24 02:25:29,972 - INFO - -------------------------------------------------------------------------------- 2026-08-24 02:25:30,703 - INFO - Deleted project: ctest-TestPorts-74200005, ID : f8e1015a-3f10-4ace-97d6-c874a6f6bc2c