2025-09-18 12:41:28,414 - INFO - Domain Default found not creating 2025-09-18 12:41:28,543 - INFO - Project ctest-TestPorts-46385691 not found, creating it 2025-09-18 12:41:28,977 - INFO - Created Project:ctest-TestPorts-46385691, ID : d971d991-c7fc-462b-be0f-af57e407deac 2025-09-18 12:41:30,335 - INFO - ================================================================================ 2025-09-18 12:41:30,335 - INFO - STARTING TEST : test_ports_bindings 2025-09-18 12:41:30,335 - 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-18 12:41:30,587 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-18 12:41:30,587 - INFO - Initial checks done. Running the testcase now 2025-09-18 12:41:30,587 - INFO - 2025-09-18 12:41:31,109 - DEBUG - Response for create_network : {'network': {'id': '78f31737-06d6-4546-9d38-a1a20d2172c4', 'name': 'ctest-vn-14063324', 'tenant_id': 'd971d991c7fc462bbe0faf57e407deac', 'project_id': 'd971d991c7fc462bbe0faf57e407deac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46385691', 'ctest-vn-14063324'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:41:31,253 - DEBUG - Response for create_subnet : {'subnet': {'id': '528b92c4-a782-4c1c-bf23-f5d90959186d', 'name': '', 'tenant_id': 'd971d991c7fc462bbe0faf57e407deac', 'network_id': '78f31737-06d6-4546-9d38-a1a20d2172c4', 'ip_version': 4, 'cidr': '160.123.16.128/26', 'allocation_pools': [{'start': '160.123.16.130', 'end': '160.123.16.190'}], 'gateway_ip': '160.123.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.123.16.130', 'tags': [], 'project_id': 'd971d991c7fc462bbe0faf57e407deac'}} 2025-09-18 12:41:31,269 - INFO - Created VN ctest-vn-14063324 2025-09-18 12:41:31,318 - DEBUG - VN ctest-vn-14063324 UUID is 78f31737-06d6-4546-9d38-a1a20d2172c4 2025-09-18 12:41:31,416 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-46385691', 'ctest-vmi-23056922']} 2025-09-18 12:41:31,683 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-23056922', 'id': '3da6fe40-dab7-4824-a0e3-d18028426d34', 'tenant_id': 'd971d991c7fc462bbe0faf57e407deac', 'network_id': '78f31737-06d6-4546-9d38-a1a20d2172c4', 'mac_address': '02:3d:a6:fe:40:da', '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.123.16.131', 'subnet_id': '528b92c4-a782-4c1c-bf23-f5d90959186d'}], 'security_groups': ['b8468f20-83bd-44ce-a5ca-de8f73bd6bb7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd971d991c7fc462bbe0faf57e407deac'}} 2025-09-18 12:41:31,683 - DEBUG - Created port 3da6fe40-dab7-4824-a0e3-d18028426d34 2025-09-18 12:41:31,806 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3da6fe40-dab7-4824-a0e3-d18028426d34 2025-09-18 12:41:32,107 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3da6fe40-dab7-4824-a0e3-d18028426d34 2025-09-18 12:41:32,159 - INFO - VMI 3da6fe40-dab7-4824-a0e3-d18028426d34 verification in API Server passed 2025-09-18 12:41:32,385 - DEBUG - Response for delete_port : () 2025-09-18 12:41:32,385 - INFO - Deleted port 3da6fe40-dab7-4824-a0e3-d18028426d34 2025-09-18 12:41:32,385 - INFO - Deleting VN ctest-vn-14063324 2025-09-18 12:41:32,512 - DEBUG - Response for deleting network () 2025-09-18 12:41:32,774 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 12:41:32,774 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-18 12:41:32,774 - INFO - -------------------------------------------------------------------------------- 2025-09-18 12:41:32,776 - INFO - ================================================================================ 2025-09-18 12:41:32,776 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-18 12:41:32,776 - 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-18 12:41:33,062 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-18 12:41:33,062 - INFO - Initial checks done. Running the testcase now 2025-09-18 12:41:33,062 - INFO - 2025-09-18 12:41:33,225 - DEBUG - Response for create_network : {'network': {'id': '018aa92e-3bed-4577-9a4b-bc69082b52d0', 'name': 'ctest-vn1-28296759', 'tenant_id': 'd971d991c7fc462bbe0faf57e407deac', 'project_id': 'd971d991c7fc462bbe0faf57e407deac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46385691', 'ctest-vn1-28296759'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:41:33,415 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f896309-5aaa-4126-bd01-553705692904', 'name': '', 'tenant_id': 'd971d991c7fc462bbe0faf57e407deac', 'network_id': '018aa92e-3bed-4577-9a4b-bc69082b52d0', 'ip_version': 4, 'cidr': '14.191.248.192/26', 'allocation_pools': [{'start': '14.191.248.194', 'end': '14.191.248.254'}], 'gateway_ip': '14.191.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.191.248.194', 'tags': [], 'project_id': 'd971d991c7fc462bbe0faf57e407deac'}} 2025-09-18 12:41:33,546 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2658ab0-1b65-44dc-a9f6-8192098bbe3f', 'name': '', 'tenant_id': 'd971d991c7fc462bbe0faf57e407deac', 'network_id': '018aa92e-3bed-4577-9a4b-bc69082b52d0', 'ip_version': 4, 'cidr': '106.211.223.64/26', 'allocation_pools': [{'start': '106.211.223.66', 'end': '106.211.223.126'}], 'gateway_ip': '106.211.223.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.211.223.66', 'tags': [], 'project_id': 'd971d991c7fc462bbe0faf57e407deac'}} 2025-09-18 12:41:33,562 - INFO - Created VN ctest-vn1-28296759 2025-09-18 12:41:33,618 - DEBUG - VN ctest-vn1-28296759 UUID is 018aa92e-3bed-4577-9a4b-bc69082b52d0 2025-09-18 12:41:33,902 - DEBUG - Response for create_port : {'port': {'name': 'f7cc2356-d228-4bf5-8ee5-33cbdc0fe2bb', 'id': 'f7cc2356-d228-4bf5-8ee5-33cbdc0fe2bb', 'tenant_id': 'd971d991c7fc462bbe0faf57e407deac', 'network_id': '018aa92e-3bed-4577-9a4b-bc69082b52d0', 'mac_address': '02:f7:cc:23:56:d2', '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': '14.191.248.197', 'subnet_id': '9f896309-5aaa-4126-bd01-553705692904'}], 'security_groups': ['b8468f20-83bd-44ce-a5ca-de8f73bd6bb7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd971d991c7fc462bbe0faf57e407deac'}} 2025-09-18 12:41:34,057 - DEBUG - Response for create_port : {'port': {'name': '80c0e119-64e2-422f-b460-b916b9a90a25', 'id': '80c0e119-64e2-422f-b460-b916b9a90a25', 'tenant_id': 'd971d991c7fc462bbe0faf57e407deac', 'network_id': '018aa92e-3bed-4577-9a4b-bc69082b52d0', 'mac_address': '02:80:c0:e1:19:64', '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': '106.211.223.69', 'subnet_id': 'e2658ab0-1b65-44dc-a9f6-8192098bbe3f'}], 'security_groups': ['b8468f20-83bd-44ce-a5ca-de8f73bd6bb7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd971d991c7fc462bbe0faf57e407deac'}} 2025-09-18 12:41:34,109 - DEBUG - Services list from nova: [, , ] 2025-09-18 12:41:34,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4138-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4138-1) 2025-09-18 12:41:34,880 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4138-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4138-1) 2025-09-18 12:41:34,880 - INFO - Waiting for VM ctest-vn1-vm1-49272970 to be up.. 2025-09-18 12:41:34,915 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 12:41:39,980 - DEBUG - VM is in ACTIVE state now 2025-09-18 12:41:39,980 - INFO - VM name : ctest-vn1-vm1-49272970 2025-09-18 12:41:40,049 - DEBUG - VM ctest-vn1-vm1-49272970 ID is 1d6c48f6-76d3-4291-8890-8084eb06be50 2025-09-18 12:41:40,066 - DEBUG - VM ctest-vn1-vm1-49272970 launched on Node cn-jenkins-deploy-platform-ansible-os-4138-1 2025-09-18 12:41:40,134 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1d6c48f6-76d3-4291-8890-8084eb06be50 2025-09-18 12:41:40,141 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f7cc2356-d228-4bf5-8ee5-33cbdc0fe2bb 2025-09-18 12:41:43,389 - 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') 2025-09-18 12:41:43,389 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49272970 failed! 2025-09-18 12:41:43,442 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46385691:ctest-vn1-28296759 is 14.191.248.193 and allocation pool is NOT set 2025-09-18 12:41:43,442 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46385691:ctest-vn1-28296759 is 106.211.223.65 and allocation pool is NOT set 2025-09-18 12:41:45,507 - 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=4.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.85 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 = 1.850/3.185/4.520/1.335 ms') 2025-09-18 12:41:45,507 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49272970 passed 2025-09-18 12:41:45,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:41:45,662 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49272970, IP 14.191.248.197, Port 22 2025-09-18 12:41:45,813 - DEBUG - VM ctest-vn1-vm1-49272970 is ready for SSH connections 2025-09-18 12:41:45,813 - INFO - Waiting for VM ctest-vn1-vm2-11806535 to be up.. 2025-09-18 12:41:45,880 - DEBUG - VM is in ACTIVE state now 2025-09-18 12:41:45,880 - INFO - VM name : ctest-vn1-vm2-11806535 2025-09-18 12:41:45,943 - DEBUG - VM ctest-vn1-vm2-11806535 ID is e147953f-327d-49ed-a63e-61f4c2c13d66 2025-09-18 12:41:45,943 - DEBUG - VM ctest-vn1-vm2-11806535 launched on Node cn-jenkins-deploy-platform-ansible-os-4138-1 2025-09-18 12:41:46,006 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e147953f-327d-49ed-a63e-61f4c2c13d66 2025-09-18 12:41:46,013 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/80c0e119-64e2-422f-b460-b916b9a90a25 2025-09-18 12:41:47,242 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.851 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.851/2.697/4.544/1.846 ms') 2025-09-18 12:41:47,242 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11806535 passed 2025-09-18 12:41:47,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:41:47,390 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11806535, IP 106.211.223.69, Port 22 2025-09-18 12:41:47,445 - 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-09-18 12:41:47,508 - DEBUG - VM ctest-vn1-vm2-11806535 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-18 12:41:52,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:41:52,509 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11806535, IP 106.211.223.69, Port 22 2025-09-18 12:41:52,673 - DEBUG - VM ctest-vn1-vm2-11806535 is ready for SSH connections 2025-09-18 12:41:52,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:41:52,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:41:52,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:41:52,674 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.191.248.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 12:41:52,674 - DEBUG - ping -s 56 -c 3 -W 1 14.191.248.197 2025-09-18 12:41:55,633 - DEBUG - PING 14.191.248.197 (14.191.248.197): 56 data bytes 64 bytes from 14.191.248.197: seq=0 ttl=63 time=4.628 ms 64 bytes from 14.191.248.197: seq=1 ttl=63 time=1.090 ms 64 bytes from 14.191.248.197: seq=2 ttl=63 time=1.067 ms --- 14.191.248.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.067/2.261/4.628 ms 2025-09-18 12:41:55,633 - INFO - Ping to IP 14.191.248.197 from VM ctest-vn1-vm2-11806535 passed 2025-09-18 12:41:55,633 - INFO - Detaching port 80c0e119-64e2-422f-b460-b916b9a90a25 from VM ctest-vn1-vm2-11806535 2025-09-18 12:41:55,682 - INFO - Deleting VM ctest-vn1-vm2-11806535 2025-09-18 12:41:55,745 - INFO - Detaching port f7cc2356-d228-4bf5-8ee5-33cbdc0fe2bb from VM ctest-vn1-vm1-49272970 2025-09-18 12:41:55,776 - INFO - Deleting VM ctest-vn1-vm1-49272970 2025-09-18 12:41:55,979 - DEBUG - Response for delete_port : () 2025-09-18 12:41:56,138 - DEBUG - Response for delete_port : () 2025-09-18 12:41:56,138 - INFO - Deleting VN ctest-vn1-28296759 2025-09-18 12:41:56,261 - DEBUG - Response for deleting network () 2025-09-18 12:41:56,518 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 12:41:56,518 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-09-18 12:41:56,518 - INFO - -------------------------------------------------------------------------------- 2025-09-18 12:41:57,196 - INFO - Deleted project: ctest-TestPorts-46385691, ID : d971d991-c7fc-462b-be0f-af57e407deac