2025-11-24 02:00:07,710 - INFO - Domain Default found not creating 2025-11-24 02:00:07,876 - INFO - Project ctest-TestPorts-86442292 not found, creating it 2025-11-24 02:00:08,294 - INFO - Created Project:ctest-TestPorts-86442292, ID : e5ca116f-249a-4c2e-b7a7-99f63f7f374c 2025-11-24 02:00:10,004 - INFO - ================================================================================ 2025-11-24 02:00:10,004 - INFO - STARTING TEST : test_ports_bindings 2025-11-24 02:00:10,004 - 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-11-24 02:00:10,265 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-11-24 02:00:10,265 - INFO - Initial checks done. Running the testcase now 2025-11-24 02:00:10,265 - INFO - 2025-11-24 02:00:10,870 - DEBUG - Response for create_network : {'network': {'id': '120ba884-456a-4425-a3e1-78a80af63276', 'name': 'ctest-vn-85801890', 'tenant_id': 'e5ca116f249a4c2eb7a799f63f7f374c', 'project_id': 'e5ca116f249a4c2eb7a799f63f7f374c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86442292', 'ctest-vn-85801890'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:00:11,028 - DEBUG - Response for create_subnet : {'subnet': {'id': '9373b46a-d0e6-4e5c-ace7-c43a9304be08', 'name': '', 'tenant_id': 'e5ca116f249a4c2eb7a799f63f7f374c', 'network_id': '120ba884-456a-4425-a3e1-78a80af63276', 'ip_version': 4, 'cidr': '58.98.117.0/26', 'allocation_pools': [{'start': '58.98.117.2', 'end': '58.98.117.62'}], 'gateway_ip': '58.98.117.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.98.117.2', 'tags': [], 'project_id': 'e5ca116f249a4c2eb7a799f63f7f374c'}} 2025-11-24 02:00:11,045 - INFO - Created VN ctest-vn-85801890 2025-11-24 02:00:11,097 - DEBUG - VN ctest-vn-85801890 UUID is 120ba884-456a-4425-a3e1-78a80af63276 2025-11-24 02:00:11,201 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86442292', 'ctest-vmi-23449660']} 2025-11-24 02:00:11,470 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-23449660', 'id': 'c57d34e0-231e-4a83-b74a-5e1eb57d00c9', 'tenant_id': 'e5ca116f249a4c2eb7a799f63f7f374c', 'network_id': '120ba884-456a-4425-a3e1-78a80af63276', 'mac_address': '02:c5:7d:34:e0:23', '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': '58.98.117.3', 'subnet_id': '9373b46a-d0e6-4e5c-ace7-c43a9304be08'}], 'security_groups': ['2980ba00-1746-4f4b-9f6a-cdf088b50308'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5ca116f249a4c2eb7a799f63f7f374c'}} 2025-11-24 02:00:11,470 - DEBUG - Created port c57d34e0-231e-4a83-b74a-5e1eb57d00c9 2025-11-24 02:00:11,573 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c57d34e0-231e-4a83-b74a-5e1eb57d00c9 2025-11-24 02:00:11,911 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c57d34e0-231e-4a83-b74a-5e1eb57d00c9 2025-11-24 02:00:11,945 - INFO - VMI c57d34e0-231e-4a83-b74a-5e1eb57d00c9 verification in API Server passed 2025-11-24 02:00:12,031 - DEBUG - Response for delete_port : () 2025-11-24 02:00:12,031 - INFO - Deleted port c57d34e0-231e-4a83-b74a-5e1eb57d00c9 2025-11-24 02:00:12,031 - INFO - Deleting VN ctest-vn-85801890 2025-11-24 02:00:12,143 - DEBUG - Response for deleting network () 2025-11-24 02:00:12,403 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 02:00:12,403 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-24 02:00:12,403 - INFO - -------------------------------------------------------------------------------- 2025-11-24 02:00:12,406 - INFO - ================================================================================ 2025-11-24 02:00:12,406 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-24 02:00:12,406 - 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-11-24 02:00:12,691 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-11-24 02:00:12,691 - INFO - Initial checks done. Running the testcase now 2025-11-24 02:00:12,691 - INFO - 2025-11-24 02:00:12,867 - DEBUG - Response for create_network : {'network': {'id': '461d1697-46e3-4c0d-a984-94ca3cf125e6', 'name': 'ctest-vn1-63471638', 'tenant_id': 'e5ca116f249a4c2eb7a799f63f7f374c', 'project_id': 'e5ca116f249a4c2eb7a799f63f7f374c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86442292', 'ctest-vn1-63471638'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:00:13,106 - DEBUG - Response for create_subnet : {'subnet': {'id': '31bd11a2-c0c4-4670-83a1-f30d393d8530', 'name': '', 'tenant_id': 'e5ca116f249a4c2eb7a799f63f7f374c', 'network_id': '461d1697-46e3-4c0d-a984-94ca3cf125e6', 'ip_version': 4, 'cidr': '62.248.1.64/26', 'allocation_pools': [{'start': '62.248.1.66', 'end': '62.248.1.126'}], 'gateway_ip': '62.248.1.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.248.1.66', 'tags': [], 'project_id': 'e5ca116f249a4c2eb7a799f63f7f374c'}} 2025-11-24 02:00:13,305 - DEBUG - Response for create_subnet : {'subnet': {'id': '90e42ad9-80d3-4b6b-8600-6db29461b392', 'name': '', 'tenant_id': 'e5ca116f249a4c2eb7a799f63f7f374c', 'network_id': '461d1697-46e3-4c0d-a984-94ca3cf125e6', 'ip_version': 4, 'cidr': '147.17.5.64/26', 'allocation_pools': [{'start': '147.17.5.66', 'end': '147.17.5.126'}], 'gateway_ip': '147.17.5.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.17.5.66', 'tags': [], 'project_id': 'e5ca116f249a4c2eb7a799f63f7f374c'}} 2025-11-24 02:00:13,325 - INFO - Created VN ctest-vn1-63471638 2025-11-24 02:00:13,381 - DEBUG - VN ctest-vn1-63471638 UUID is 461d1697-46e3-4c0d-a984-94ca3cf125e6 2025-11-24 02:00:13,678 - DEBUG - Response for create_port : {'port': {'name': '399cebfc-5f76-46ba-8be9-1f4b8c6e4f9c', 'id': '399cebfc-5f76-46ba-8be9-1f4b8c6e4f9c', 'tenant_id': 'e5ca116f249a4c2eb7a799f63f7f374c', 'network_id': '461d1697-46e3-4c0d-a984-94ca3cf125e6', 'mac_address': '02:39:9c:eb:fc:5f', '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': '62.248.1.69', 'subnet_id': '31bd11a2-c0c4-4670-83a1-f30d393d8530'}], 'security_groups': ['2980ba00-1746-4f4b-9f6a-cdf088b50308'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5ca116f249a4c2eb7a799f63f7f374c'}} 2025-11-24 02:00:13,844 - DEBUG - Response for create_port : {'port': {'name': '7746c7b5-87ce-463e-9a25-c42c5578cb03', 'id': '7746c7b5-87ce-463e-9a25-c42c5578cb03', 'tenant_id': 'e5ca116f249a4c2eb7a799f63f7f374c', 'network_id': '461d1697-46e3-4c0d-a984-94ca3cf125e6', 'mac_address': '02:77:46:c7:b5:87', '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.17.5.69', 'subnet_id': '90e42ad9-80d3-4b6b-8600-6db29461b392'}], 'security_groups': ['2980ba00-1746-4f4b-9f6a-cdf088b50308'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5ca116f249a4c2eb7a799f63f7f374c'}} 2025-11-24 02:00:13,904 - DEBUG - Services list from nova: [, , ] 2025-11-24 02:00:14,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4800-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4800-1) 2025-11-24 02:00:14,645 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4800-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4800-1) 2025-11-24 02:00:14,645 - INFO - Waiting for VM ctest-vn1-vm1-72899016 to be up.. 2025-11-24 02:00:14,684 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 02:00:19,762 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:00:19,762 - INFO - VM name : ctest-vn1-vm1-72899016 2025-11-24 02:00:19,838 - DEBUG - VM ctest-vn1-vm1-72899016 ID is 1b79a7ba-4a6a-4368-889a-e1d9da8fd261 2025-11-24 02:00:19,858 - DEBUG - VM ctest-vn1-vm1-72899016 launched on Node cn-jenkins-deploy-platform-ansible-os-4800-1 2025-11-24 02:00:19,938 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/1b79a7ba-4a6a-4368-889a-e1d9da8fd261 2025-11-24 02:00:19,948 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/399cebfc-5f76-46ba-8be9-1f4b8c6e4f9c 2025-11-24 02:00:23,210 - 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 1015ms') 2025-11-24 02:00:23,211 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72899016 failed! 2025-11-24 02:00:23,265 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86442292:ctest-vn1-63471638 is 62.248.1.65 and allocation pool is NOT set 2025-11-24 02:00:23,265 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86442292:ctest-vn1-63471638 is 147.17.5.65 and allocation pool is NOT set 2025-11-24 02:00:27,339 - 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=10.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 10.042/10.042/10.042/0.000 ms') 2025-11-24 02:00:27,339 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72899016 passed 2025-11-24 02:00:27,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:00:27,494 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72899016, IP 62.248.1.69, Port 22 2025-11-24 02:00:27,649 - DEBUG - VM ctest-vn1-vm1-72899016 is ready for SSH connections 2025-11-24 02:00:27,649 - INFO - Waiting for VM ctest-vn1-vm2-57389383 to be up.. 2025-11-24 02:00:27,739 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:00:27,739 - INFO - VM name : ctest-vn1-vm2-57389383 2025-11-24 02:00:27,813 - DEBUG - VM ctest-vn1-vm2-57389383 ID is 904b85dc-19be-4821-8ad3-39a52f7d5571 2025-11-24 02:00:27,813 - DEBUG - VM ctest-vn1-vm2-57389383 launched on Node cn-jenkins-deploy-platform-ansible-os-4800-1 2025-11-24 02:00:27,886 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/904b85dc-19be-4821-8ad3-39a52f7d5571 2025-11-24 02:00:27,895 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/7746c7b5-87ce-463e-9a25-c42c5578cb03 2025-11-24 02:00:29,124 - 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=4.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 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.389/2.241/4.093/1.852 ms') 2025-11-24 02:00:29,124 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-57389383 passed 2025-11-24 02:00:29,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:00:29,278 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57389383, IP 147.17.5.69, Port 22 2025-11-24 02:00:29,433 - DEBUG - VM ctest-vn1-vm2-57389383 is ready for SSH connections 2025-11-24 02:00:29,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:00:29,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:00:29,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:00:29,434 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.248.1.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-24 02:00:29,434 - DEBUG - ping -s 56 -c 3 -W 1 62.248.1.69 2025-11-24 02:00:32,131 - DEBUG - PING 62.248.1.69 (62.248.1.69): 56 data bytes 64 bytes from 62.248.1.69: seq=0 ttl=63 time=4.539 ms 64 bytes from 62.248.1.69: seq=1 ttl=63 time=0.803 ms 64 bytes from 62.248.1.69: seq=2 ttl=63 time=0.808 ms --- 62.248.1.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.803/2.050/4.539 ms 2025-11-24 02:00:32,131 - INFO - Ping to IP 62.248.1.69 from VM ctest-vn1-vm2-57389383 passed 2025-11-24 02:00:32,132 - INFO - Detaching port 7746c7b5-87ce-463e-9a25-c42c5578cb03 from VM ctest-vn1-vm2-57389383 2025-11-24 02:00:32,187 - INFO - Deleting VM ctest-vn1-vm2-57389383 2025-11-24 02:00:32,263 - INFO - Detaching port 399cebfc-5f76-46ba-8be9-1f4b8c6e4f9c from VM ctest-vn1-vm1-72899016 2025-11-24 02:00:32,300 - INFO - Deleting VM ctest-vn1-vm1-72899016 2025-11-24 02:00:32,557 - DEBUG - Response for delete_port : () 2025-11-24 02:00:32,725 - DEBUG - Response for delete_port : () 2025-11-24 02:00:32,726 - INFO - Deleting VN ctest-vn1-63471638 2025-11-24 02:00:32,857 - DEBUG - Response for deleting network () 2025-11-24 02:00:33,115 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 02:00:33,115 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-11-24 02:00:33,116 - INFO - -------------------------------------------------------------------------------- 2025-11-24 02:00:33,861 - INFO - Deleted project: ctest-TestPorts-86442292, ID : e5ca116f-249a-4c2e-b7a7-99f63f7f374c