2025-10-31 07:53:17,070 - INFO - Domain Default found not creating 2025-10-31 07:53:17,211 - INFO - Project ctest-TestPorts-30302820 not found, creating it 2025-10-31 07:53:17,769 - INFO - Created Project:ctest-TestPorts-30302820, ID : e5d3c819-ff3e-4193-b0dc-7dda75463b68 2025-10-31 07:53:19,180 - INFO - ================================================================================ 2025-10-31 07:53:19,180 - INFO - STARTING TEST : test_ports_bindings 2025-10-31 07:53:19,180 - 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-31 07:53:19,435 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-31 07:53:19,436 - INFO - Initial checks done. Running the testcase now 2025-10-31 07:53:19,436 - INFO - 2025-10-31 07:53:19,950 - DEBUG - Response for create_network : {'network': {'id': '7d2b07b4-9d5f-4231-94d4-4a12da594f5b', 'name': 'ctest-vn-10468651', 'tenant_id': 'e5d3c819ff3e4193b0dc7dda75463b68', 'project_id': 'e5d3c819ff3e4193b0dc7dda75463b68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30302820', 'ctest-vn-10468651'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 07:53:20,096 - DEBUG - Response for create_subnet : {'subnet': {'id': '82355620-ac64-4337-954f-5d1e63f919c7', 'name': '', 'tenant_id': 'e5d3c819ff3e4193b0dc7dda75463b68', 'network_id': '7d2b07b4-9d5f-4231-94d4-4a12da594f5b', 'ip_version': 4, 'cidr': '171.118.124.0/26', 'allocation_pools': [{'start': '171.118.124.2', 'end': '171.118.124.62'}], 'gateway_ip': '171.118.124.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.118.124.2', 'tags': [], 'project_id': 'e5d3c819ff3e4193b0dc7dda75463b68'}} 2025-10-31 07:53:20,110 - INFO - Created VN ctest-vn-10468651 2025-10-31 07:53:20,161 - DEBUG - VN ctest-vn-10468651 UUID is 7d2b07b4-9d5f-4231-94d4-4a12da594f5b 2025-10-31 07:53:20,262 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-30302820', 'ctest-vmi-52482061']} 2025-10-31 07:53:20,510 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-52482061', 'id': '26c80294-4a6f-4a07-9f33-8de14dd8e02f', 'tenant_id': 'e5d3c819ff3e4193b0dc7dda75463b68', 'network_id': '7d2b07b4-9d5f-4231-94d4-4a12da594f5b', 'mac_address': '02:26:c8:02:94:4a', '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': '171.118.124.3', 'subnet_id': '82355620-ac64-4337-954f-5d1e63f919c7'}], 'security_groups': ['2ad3bd1c-ae09-418d-8c37-d39e4d9e8d0d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5d3c819ff3e4193b0dc7dda75463b68'}} 2025-10-31 07:53:20,510 - DEBUG - Created port 26c80294-4a6f-4a07-9f33-8de14dd8e02f 2025-10-31 07:53:20,617 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/26c80294-4a6f-4a07-9f33-8de14dd8e02f 2025-10-31 07:53:20,905 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/26c80294-4a6f-4a07-9f33-8de14dd8e02f 2025-10-31 07:53:20,934 - INFO - VMI 26c80294-4a6f-4a07-9f33-8de14dd8e02f verification in API Server passed 2025-10-31 07:53:21,005 - DEBUG - Response for delete_port : () 2025-10-31 07:53:21,005 - INFO - Deleted port 26c80294-4a6f-4a07-9f33-8de14dd8e02f 2025-10-31 07:53:21,005 - INFO - Deleting VN ctest-vn-10468651 2025-10-31 07:53:21,090 - DEBUG - Response for deleting network () 2025-10-31 07:53:21,346 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 07:53:21,346 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-31 07:53:21,346 - INFO - -------------------------------------------------------------------------------- 2025-10-31 07:53:21,348 - INFO - ================================================================================ 2025-10-31 07:53:21,348 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-31 07:53:21,348 - 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-31 07:53:21,629 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-31 07:53:21,630 - INFO - Initial checks done. Running the testcase now 2025-10-31 07:53:21,630 - INFO - 2025-10-31 07:53:21,789 - DEBUG - Response for create_network : {'network': {'id': 'bbd2b0e2-06e2-4f49-ada9-3e60bcadb508', 'name': 'ctest-vn1-27375036', 'tenant_id': 'e5d3c819ff3e4193b0dc7dda75463b68', 'project_id': 'e5d3c819ff3e4193b0dc7dda75463b68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30302820', 'ctest-vn1-27375036'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 07:53:21,938 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d075c9b-8254-4140-8812-ce21c3f1f970', 'name': '', 'tenant_id': 'e5d3c819ff3e4193b0dc7dda75463b68', 'network_id': 'bbd2b0e2-06e2-4f49-ada9-3e60bcadb508', 'ip_version': 4, 'cidr': '13.158.147.128/26', 'allocation_pools': [{'start': '13.158.147.130', 'end': '13.158.147.190'}], 'gateway_ip': '13.158.147.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.158.147.130', 'tags': [], 'project_id': 'e5d3c819ff3e4193b0dc7dda75463b68'}} 2025-10-31 07:53:22,124 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4b4c8ee-a1a1-45e7-a52e-50e5708b1d1e', 'name': '', 'tenant_id': 'e5d3c819ff3e4193b0dc7dda75463b68', 'network_id': 'bbd2b0e2-06e2-4f49-ada9-3e60bcadb508', 'ip_version': 4, 'cidr': '201.245.191.64/26', 'allocation_pools': [{'start': '201.245.191.66', 'end': '201.245.191.126'}], 'gateway_ip': '201.245.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.245.191.66', 'tags': [], 'project_id': 'e5d3c819ff3e4193b0dc7dda75463b68'}} 2025-10-31 07:53:22,140 - INFO - Created VN ctest-vn1-27375036 2025-10-31 07:53:22,189 - DEBUG - VN ctest-vn1-27375036 UUID is bbd2b0e2-06e2-4f49-ada9-3e60bcadb508 2025-10-31 07:53:22,448 - DEBUG - Response for create_port : {'port': {'name': '238e3bac-f79f-473d-af0e-0a8f2f5f7ff6', 'id': '238e3bac-f79f-473d-af0e-0a8f2f5f7ff6', 'tenant_id': 'e5d3c819ff3e4193b0dc7dda75463b68', 'network_id': 'bbd2b0e2-06e2-4f49-ada9-3e60bcadb508', 'mac_address': '02:23:8e:3b:ac:f7', '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': '13.158.147.133', 'subnet_id': '1d075c9b-8254-4140-8812-ce21c3f1f970'}], 'security_groups': ['2ad3bd1c-ae09-418d-8c37-d39e4d9e8d0d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5d3c819ff3e4193b0dc7dda75463b68'}} 2025-10-31 07:53:22,595 - DEBUG - Response for create_port : {'port': {'name': '9fbabd99-6262-4a11-aa9c-ac94f96a79dd', 'id': '9fbabd99-6262-4a11-aa9c-ac94f96a79dd', 'tenant_id': 'e5d3c819ff3e4193b0dc7dda75463b68', 'network_id': 'bbd2b0e2-06e2-4f49-ada9-3e60bcadb508', 'mac_address': '02:9f:ba:bd:99:62', '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': '201.245.191.69', 'subnet_id': 'e4b4c8ee-a1a1-45e7-a52e-50e5708b1d1e'}], 'security_groups': ['2ad3bd1c-ae09-418d-8c37-d39e4d9e8d0d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5d3c819ff3e4193b0dc7dda75463b68'}} 2025-10-31 07:53:22,643 - DEBUG - Services list from nova: [, , ] 2025-10-31 07:53:22,922 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4572-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4572-1) 2025-10-31 07:53:23,252 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4572-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4572-1) 2025-10-31 07:53:23,253 - INFO - Waiting for VM ctest-vn1-vm1-34191361 to be up.. 2025-10-31 07:53:23,292 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 07:53:28,355 - DEBUG - VM is in ACTIVE state now 2025-10-31 07:53:28,355 - INFO - VM name : ctest-vn1-vm1-34191361 2025-10-31 07:53:28,422 - DEBUG - VM ctest-vn1-vm1-34191361 ID is 64ce1cd8-d7e4-454b-aaa2-3958cedb270d 2025-10-31 07:53:28,439 - DEBUG - VM ctest-vn1-vm1-34191361 launched on Node cn-jenkins-deploy-platform-ansible-os-4572-1 2025-10-31 07:53:28,517 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/64ce1cd8-d7e4-454b-aaa2-3958cedb270d 2025-10-31 07:53:28,525 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/238e3bac-f79f-473d-af0e-0a8f2f5f7ff6 2025-10-31 07:53:31,774 - 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 1015ms') 2025-10-31 07:53:31,774 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-34191361 failed! 2025-10-31 07:53:31,825 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30302820:ctest-vn1-27375036 is 13.158.147.129 and allocation pool is NOT set 2025-10-31 07:53:31,825 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30302820:ctest-vn1-27375036 is 201.245.191.65 and allocation pool is NOT set 2025-10-31 07:53:33,887 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.358 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.358/1.737/3.117/1.379 ms') 2025-10-31 07:53:33,887 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-34191361 passed 2025-10-31 07:53:34,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:53:34,041 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34191361, IP 13.158.147.133, Port 22 2025-10-31 07:53:34,101 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-31 07:53:34,172 - DEBUG - VM ctest-vn1-vm1-34191361 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 07:53:39,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:53:39,173 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34191361, IP 13.158.147.133, Port 22 2025-10-31 07:53:39,332 - DEBUG - VM ctest-vn1-vm1-34191361 is ready for SSH connections 2025-10-31 07:53:39,333 - INFO - Waiting for VM ctest-vn1-vm2-48759610 to be up.. 2025-10-31 07:53:39,402 - DEBUG - VM is in ACTIVE state now 2025-10-31 07:53:39,402 - INFO - VM name : ctest-vn1-vm2-48759610 2025-10-31 07:53:39,590 - DEBUG - VM ctest-vn1-vm2-48759610 ID is 3c39842a-095d-41a9-9da9-11eb46a45549 2025-10-31 07:53:39,590 - DEBUG - VM ctest-vn1-vm2-48759610 launched on Node cn-jenkins-deploy-platform-ansible-os-4572-1 2025-10-31 07:53:39,649 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3c39842a-095d-41a9-9da9-11eb46a45549 2025-10-31 07:53:39,655 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9fbabd99-6262-4a11-aa9c-ac94f96a79dd 2025-10-31 07:53:40,879 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.383 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.383/1.495/2.607/1.112 ms') 2025-10-31 07:53:40,879 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-48759610 passed 2025-10-31 07:53:41,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:53:41,025 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-48759610, IP 201.245.191.69, Port 22 2025-10-31 07:53:41,185 - DEBUG - VM ctest-vn1-vm2-48759610 is ready for SSH connections 2025-10-31 07:53:41,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:53:41,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:53:41,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:53:41,185 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.158.147.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 07:53:41,185 - DEBUG - ping -s 56 -c 3 -W 1 13.158.147.133 2025-10-31 07:53:45,161 - DEBUG - PING 13.158.147.133 (13.158.147.133): 56 data bytes 64 bytes from 13.158.147.133: seq=0 ttl=63 time=3.166 ms 64 bytes from 13.158.147.133: seq=1 ttl=63 time=0.810 ms 64 bytes from 13.158.147.133: seq=2 ttl=63 time=0.769 ms --- 13.158.147.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/1.581/3.166 ms 2025-10-31 07:53:45,161 - INFO - Ping to IP 13.158.147.133 from VM ctest-vn1-vm2-48759610 passed 2025-10-31 07:53:45,161 - INFO - Detaching port 9fbabd99-6262-4a11-aa9c-ac94f96a79dd from VM ctest-vn1-vm2-48759610 2025-10-31 07:53:45,228 - INFO - Deleting VM ctest-vn1-vm2-48759610 2025-10-31 07:53:45,305 - INFO - Detaching port 238e3bac-f79f-473d-af0e-0a8f2f5f7ff6 from VM ctest-vn1-vm1-34191361 2025-10-31 07:53:45,335 - INFO - Deleting VM ctest-vn1-vm1-34191361 2025-10-31 07:53:45,519 - DEBUG - Response for delete_port : () 2025-10-31 07:53:45,643 - DEBUG - Response for delete_port : () 2025-10-31 07:53:45,644 - INFO - Deleting VN ctest-vn1-27375036 2025-10-31 07:53:45,764 - DEBUG - Response for deleting network () 2025-10-31 07:53:46,018 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 07:53:46,018 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25] 2025-10-31 07:53:46,018 - INFO - -------------------------------------------------------------------------------- 2025-10-31 07:53:46,668 - INFO - Deleted project: ctest-TestPorts-30302820, ID : e5d3c819-ff3e-4193-b0dc-7dda75463b68