2025-09-03 12:00:57,550 - INFO - Domain Default found not creating 2025-09-03 12:00:57,685 - INFO - Project ctest-TestPorts-23623517 not found, creating it 2025-09-03 12:00:58,148 - INFO - Created Project:ctest-TestPorts-23623517, ID : 88c660fb-1bca-4a92-ae43-42983b22a450 2025-09-03 12:00:59,619 - INFO - ================================================================================ 2025-09-03 12:00:59,620 - INFO - STARTING TEST : test_ports_bindings 2025-09-03 12:00:59,620 - 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-09-03 12:00:59,875 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-03 12:00:59,875 - INFO - Initial checks done. Running the testcase now 2025-09-03 12:00:59,875 - INFO - 2025-09-03 12:01:00,401 - DEBUG - Response for create_network : {'network': {'id': 'c11d8896-280a-4193-bf41-b38f3b298c52', 'name': 'ctest-vn-54051779', 'tenant_id': '88c660fb1bca4a92ae4342983b22a450', 'project_id': '88c660fb1bca4a92ae4342983b22a450', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23623517', 'ctest-vn-54051779'], 'port_security_enabled': True, 'description': ''}} 2025-09-03 12:01:00,618 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d5b4463-c807-4dc2-8ab2-820684b62fe6', 'name': '', 'tenant_id': '88c660fb1bca4a92ae4342983b22a450', 'network_id': 'c11d8896-280a-4193-bf41-b38f3b298c52', 'ip_version': 4, 'cidr': '147.8.112.64/26', 'allocation_pools': [{'start': '147.8.112.66', 'end': '147.8.112.126'}], 'gateway_ip': '147.8.112.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.8.112.66', 'tags': [], 'project_id': '88c660fb1bca4a92ae4342983b22a450'}} 2025-09-03 12:01:00,637 - INFO - Created VN ctest-vn-54051779 2025-09-03 12:01:00,690 - DEBUG - VN ctest-vn-54051779 UUID is c11d8896-280a-4193-bf41-b38f3b298c52 2025-09-03 12:01:00,789 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-23623517', 'ctest-vmi-35225446']} 2025-09-03 12:01:01,073 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-35225446', 'id': 'f469272a-95bd-4683-814f-2a6919b1458d', 'tenant_id': '88c660fb1bca4a92ae4342983b22a450', 'network_id': 'c11d8896-280a-4193-bf41-b38f3b298c52', 'mac_address': '02:f4:69:27:2a:95', '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': '147.8.112.67', 'subnet_id': '2d5b4463-c807-4dc2-8ab2-820684b62fe6'}], 'security_groups': ['673eda55-5a4c-4037-b13b-0922080f2956'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '88c660fb1bca4a92ae4342983b22a450'}} 2025-09-03 12:01:01,073 - DEBUG - Created port f469272a-95bd-4683-814f-2a6919b1458d 2025-09-03 12:01:01,178 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f469272a-95bd-4683-814f-2a6919b1458d 2025-09-03 12:01:01,466 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f469272a-95bd-4683-814f-2a6919b1458d 2025-09-03 12:01:01,497 - INFO - VMI f469272a-95bd-4683-814f-2a6919b1458d verification in API Server passed 2025-09-03 12:01:01,586 - DEBUG - Response for delete_port : () 2025-09-03 12:01:01,587 - INFO - Deleted port f469272a-95bd-4683-814f-2a6919b1458d 2025-09-03 12:01:01,587 - INFO - Deleting VN ctest-vn-54051779 2025-09-03 12:01:01,686 - DEBUG - Response for deleting network () 2025-09-03 12:01:01,953 - DEBUG - No XMPP flaps were noticed during the test 2025-09-03 12:01:01,953 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-03 12:01:01,954 - INFO - -------------------------------------------------------------------------------- 2025-09-03 12:01:01,956 - INFO - ================================================================================ 2025-09-03 12:01:01,956 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-03 12:01:01,956 - 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-09-03 12:01:02,234 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-03 12:01:02,234 - INFO - Initial checks done. Running the testcase now 2025-09-03 12:01:02,234 - INFO - 2025-09-03 12:01:02,403 - DEBUG - Response for create_network : {'network': {'id': '4a85b75c-43e0-49a0-9750-53fa1a169aad', 'name': 'ctest-vn1-14808137', 'tenant_id': '88c660fb1bca4a92ae4342983b22a450', 'project_id': '88c660fb1bca4a92ae4342983b22a450', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23623517', 'ctest-vn1-14808137'], 'port_security_enabled': True, 'description': ''}} 2025-09-03 12:01:02,582 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd80de49d-5ad1-4477-9ff7-89674a81419b', 'name': '', 'tenant_id': '88c660fb1bca4a92ae4342983b22a450', 'network_id': '4a85b75c-43e0-49a0-9750-53fa1a169aad', 'ip_version': 4, 'cidr': '214.59.80.64/26', 'allocation_pools': [{'start': '214.59.80.66', 'end': '214.59.80.126'}], 'gateway_ip': '214.59.80.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.59.80.66', 'tags': [], 'project_id': '88c660fb1bca4a92ae4342983b22a450'}} 2025-09-03 12:01:02,733 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee284488-83e9-4dc4-8e98-a76ac06e2557', 'name': '', 'tenant_id': '88c660fb1bca4a92ae4342983b22a450', 'network_id': '4a85b75c-43e0-49a0-9750-53fa1a169aad', 'ip_version': 4, 'cidr': '108.87.54.0/26', 'allocation_pools': [{'start': '108.87.54.2', 'end': '108.87.54.62'}], 'gateway_ip': '108.87.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.87.54.2', 'tags': [], 'project_id': '88c660fb1bca4a92ae4342983b22a450'}} 2025-09-03 12:01:02,751 - INFO - Created VN ctest-vn1-14808137 2025-09-03 12:01:02,802 - DEBUG - VN ctest-vn1-14808137 UUID is 4a85b75c-43e0-49a0-9750-53fa1a169aad 2025-09-03 12:01:03,099 - DEBUG - Response for create_port : {'port': {'name': 'dcc05c3e-c959-4a31-9de9-1feab3b54cec', 'id': 'dcc05c3e-c959-4a31-9de9-1feab3b54cec', 'tenant_id': '88c660fb1bca4a92ae4342983b22a450', 'network_id': '4a85b75c-43e0-49a0-9750-53fa1a169aad', 'mac_address': '02:dc:c0:5c:3e:c9', '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': '214.59.80.69', 'subnet_id': 'd80de49d-5ad1-4477-9ff7-89674a81419b'}], 'security_groups': ['673eda55-5a4c-4037-b13b-0922080f2956'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '88c660fb1bca4a92ae4342983b22a450'}} 2025-09-03 12:01:03,261 - DEBUG - Response for create_port : {'port': {'name': '5bdf1212-6603-4f6d-b07a-424e4eabf6e7', 'id': '5bdf1212-6603-4f6d-b07a-424e4eabf6e7', 'tenant_id': '88c660fb1bca4a92ae4342983b22a450', 'network_id': '4a85b75c-43e0-49a0-9750-53fa1a169aad', 'mac_address': '02:5b:df:12:12:66', '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': '108.87.54.5', 'subnet_id': 'ee284488-83e9-4dc4-8e98-a76ac06e2557'}], 'security_groups': ['673eda55-5a4c-4037-b13b-0922080f2956'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '88c660fb1bca4a92ae4342983b22a450'}} 2025-09-03 12:01:03,319 - DEBUG - Services list from nova: [, , ] 2025-09-03 12:01:03,625 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4005-1) 2025-09-03 12:01:04,000 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4005-1) 2025-09-03 12:01:04,001 - INFO - Waiting for VM ctest-vn1-vm1-90195164 to be up.. 2025-09-03 12:01:04,083 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-03 12:01:09,158 - DEBUG - VM is in ACTIVE state now 2025-09-03 12:01:09,158 - INFO - VM name : ctest-vn1-vm1-90195164 2025-09-03 12:01:09,241 - DEBUG - VM ctest-vn1-vm1-90195164 ID is 5e1b17fc-3a19-4d53-85d6-23bf6f7e325f 2025-09-03 12:01:09,266 - DEBUG - VM ctest-vn1-vm1-90195164 launched on Node cn-jenkins-deploy-platform-ansible-os-4005-1 2025-09-03 12:01:09,343 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5e1b17fc-3a19-4d53-85d6-23bf6f7e325f 2025-09-03 12:01:09,354 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dcc05c3e-c959-4a31-9de9-1feab3b54cec 2025-09-03 12:01:12,622 - 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 1026ms') 2025-09-03 12:01:12,622 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90195164 failed! 2025-09-03 12:01:12,674 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23623517:ctest-vn1-14808137 is 214.59.80.65 and allocation pool is NOT set 2025-09-03 12:01:12,674 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23623517:ctest-vn1-14808137 is 108.87.54.1 and allocation pool is NOT set 2025-09-03 12:01:14,734 - 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=2.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.66 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 = 2.478/2.569/2.660/0.091 ms') 2025-09-03 12:01:14,734 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90195164 passed 2025-09-03 12:01:14,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:01:14,886 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90195164, IP 214.59.80.69, Port 22 2025-09-03 12:01:15,049 - DEBUG - VM ctest-vn1-vm1-90195164 is ready for SSH connections 2025-09-03 12:01:15,049 - INFO - Waiting for VM ctest-vn1-vm2-73821771 to be up.. 2025-09-03 12:01:15,129 - DEBUG - VM is in ACTIVE state now 2025-09-03 12:01:15,129 - INFO - VM name : ctest-vn1-vm2-73821771 2025-09-03 12:01:15,201 - DEBUG - VM ctest-vn1-vm2-73821771 ID is 6634f014-daa9-40be-aad9-6a60577c7bfc 2025-09-03 12:01:15,201 - DEBUG - VM ctest-vn1-vm2-73821771 launched on Node cn-jenkins-deploy-platform-ansible-os-4005-1 2025-09-03 12:01:15,404 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6634f014-daa9-40be-aad9-6a60577c7bfc 2025-09-03 12:01:15,412 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5bdf1212-6603-4f6d-b07a-424e4eabf6e7 2025-09-03 12:01:16,646 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.94 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 = 1.936/2.923/3.911/0.987 ms') 2025-09-03 12:01:16,646 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-73821771 passed 2025-09-03 12:01:16,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:01:16,794 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-73821771, IP 108.87.54.5, Port 22 2025-09-03 12:01:16,957 - DEBUG - VM ctest-vn1-vm2-73821771 is ready for SSH connections 2025-09-03 12:01:16,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:01:16,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:01:16,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:01:16,957 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.59.80.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-03 12:01:16,957 - DEBUG - ping -s 56 -c 3 -W 1 214.59.80.69 2025-09-03 12:01:19,921 - DEBUG - PING 214.59.80.69 (214.59.80.69): 56 data bytes 64 bytes from 214.59.80.69: seq=0 ttl=63 time=3.437 ms 64 bytes from 214.59.80.69: seq=1 ttl=63 time=0.714 ms 64 bytes from 214.59.80.69: seq=2 ttl=63 time=0.873 ms --- 214.59.80.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.714/1.674/3.437 ms 2025-09-03 12:01:19,921 - INFO - Ping to IP 214.59.80.69 from VM ctest-vn1-vm2-73821771 passed 2025-09-03 12:01:19,922 - INFO - Detaching port 5bdf1212-6603-4f6d-b07a-424e4eabf6e7 from VM ctest-vn1-vm2-73821771 2025-09-03 12:01:19,971 - INFO - Deleting VM ctest-vn1-vm2-73821771 2025-09-03 12:01:20,036 - INFO - Detaching port dcc05c3e-c959-4a31-9de9-1feab3b54cec from VM ctest-vn1-vm1-90195164 2025-09-03 12:01:20,071 - INFO - Deleting VM ctest-vn1-vm1-90195164 2025-09-03 12:01:20,318 - DEBUG - Response for delete_port : () 2025-09-03 12:01:20,471 - DEBUG - Response for delete_port : () 2025-09-03 12:01:20,471 - INFO - Deleting VN ctest-vn1-14808137 2025-09-03 12:01:20,598 - DEBUG - Response for deleting network () 2025-09-03 12:01:20,851 - DEBUG - No XMPP flaps were noticed during the test 2025-09-03 12:01:20,852 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-09-03 12:01:20,852 - INFO - -------------------------------------------------------------------------------- 2025-09-03 12:01:21,519 - INFO - Deleted project: ctest-TestPorts-23623517, ID : 88c660fb-1bca-4a92-ae43-42983b22a450