2025-11-07 20:11:52,095 - INFO - Domain Default found not creating 2025-11-07 20:11:52,328 - INFO - Project ctest-TestPorts-54225929 not found, creating it 2025-11-07 20:11:53,025 - INFO - Created Project:ctest-TestPorts-54225929, ID : aa0667e3-3305-4c70-bdeb-e78a107b7f06 2025-11-07 20:11:55,200 - INFO - ================================================================================ 2025-11-07 20:11:55,201 - INFO - STARTING TEST : test_ports_bindings 2025-11-07 20:11:55,201 - 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-07 20:11:55,524 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.252': '0'}} with 2025-11-07 20:11:55,524 - INFO - Initial checks done. Running the testcase now 2025-11-07 20:11:55,525 - INFO - 2025-11-07 20:11:56,229 - DEBUG - Response for create_network : {'network': {'id': '43f5b8d2-dc1e-4b74-a8ed-fd7f23db062f', 'name': 'ctest-vn-51953037', 'tenant_id': 'aa0667e333054c70bdebe78a107b7f06', 'project_id': 'aa0667e333054c70bdebe78a107b7f06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-54225929', 'ctest-vn-51953037'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 20:11:56,384 - DEBUG - Response for create_subnet : {'subnet': {'id': '21ccffcf-740e-4dee-bfac-96975069f254', 'name': '', 'tenant_id': 'aa0667e333054c70bdebe78a107b7f06', 'network_id': '43f5b8d2-dc1e-4b74-a8ed-fd7f23db062f', 'ip_version': 4, 'cidr': '217.34.224.128/26', 'allocation_pools': [{'start': '217.34.224.130', 'end': '217.34.224.190'}], 'gateway_ip': '217.34.224.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.34.224.130', 'tags': [], 'project_id': 'aa0667e333054c70bdebe78a107b7f06'}} 2025-11-07 20:11:56,402 - INFO - Created VN ctest-vn-51953037 2025-11-07 20:11:56,454 - DEBUG - VN ctest-vn-51953037 UUID is 43f5b8d2-dc1e-4b74-a8ed-fd7f23db062f 2025-11-07 20:11:56,629 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-54225929', 'ctest-vmi-44575476']} 2025-11-07 20:11:57,056 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-44575476', 'id': 'eaea55e1-e67e-4ae8-9c71-0f7946193b0d', 'tenant_id': 'aa0667e333054c70bdebe78a107b7f06', 'network_id': '43f5b8d2-dc1e-4b74-a8ed-fd7f23db062f', 'mac_address': '02:ea:ea:55:e1:e6', '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': '217.34.224.131', 'subnet_id': '21ccffcf-740e-4dee-bfac-96975069f254'}], 'security_groups': ['eb665e66-1233-46d4-aae4-a2c96bc45ebf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'aa0667e333054c70bdebe78a107b7f06'}} 2025-11-07 20:11:57,056 - DEBUG - Created port eaea55e1-e67e-4ae8-9c71-0f7946193b0d 2025-11-07 20:11:57,183 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/eaea55e1-e67e-4ae8-9c71-0f7946193b0d 2025-11-07 20:11:57,551 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/eaea55e1-e67e-4ae8-9c71-0f7946193b0d 2025-11-07 20:11:57,643 - INFO - VMI eaea55e1-e67e-4ae8-9c71-0f7946193b0d verification in API Server passed 2025-11-07 20:11:57,812 - DEBUG - Response for delete_port : () 2025-11-07 20:11:57,812 - INFO - Deleted port eaea55e1-e67e-4ae8-9c71-0f7946193b0d 2025-11-07 20:11:57,812 - INFO - Deleting VN ctest-vn-51953037 2025-11-07 20:11:57,915 - DEBUG - Response for deleting network () 2025-11-07 20:11:58,226 - DEBUG - No XMPP flaps were noticed during the test 2025-11-07 20:11:58,226 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-07 20:11:58,227 - INFO - -------------------------------------------------------------------------------- 2025-11-07 20:11:58,236 - INFO - ================================================================================ 2025-11-07 20:11:58,237 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-07 20:11:58,237 - 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-07 20:11:58,552 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.252': '0'}} with 2025-11-07 20:11:58,552 - INFO - Initial checks done. Running the testcase now 2025-11-07 20:11:58,553 - INFO - 2025-11-07 20:11:58,866 - DEBUG - Response for create_network : {'network': {'id': '915761b4-3a32-4025-b35e-41bcf52a40ef', 'name': 'ctest-vn1-38483263', 'tenant_id': 'aa0667e333054c70bdebe78a107b7f06', 'project_id': 'aa0667e333054c70bdebe78a107b7f06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-54225929', 'ctest-vn1-38483263'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 20:11:59,089 - DEBUG - Response for create_subnet : {'subnet': {'id': '84508885-6f4f-49a0-83bf-7975b89d86ad', 'name': '', 'tenant_id': 'aa0667e333054c70bdebe78a107b7f06', 'network_id': '915761b4-3a32-4025-b35e-41bcf52a40ef', 'ip_version': 4, 'cidr': '154.121.194.64/26', 'allocation_pools': [{'start': '154.121.194.66', 'end': '154.121.194.126'}], 'gateway_ip': '154.121.194.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.121.194.66', 'tags': [], 'project_id': 'aa0667e333054c70bdebe78a107b7f06'}} 2025-11-07 20:11:59,355 - DEBUG - Response for create_subnet : {'subnet': {'id': '1489b4ac-bad4-4b99-99e1-3a09fce6f701', 'name': '', 'tenant_id': 'aa0667e333054c70bdebe78a107b7f06', 'network_id': '915761b4-3a32-4025-b35e-41bcf52a40ef', 'ip_version': 4, 'cidr': '58.234.232.128/26', 'allocation_pools': [{'start': '58.234.232.130', 'end': '58.234.232.190'}], 'gateway_ip': '58.234.232.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.234.232.130', 'tags': [], 'project_id': 'aa0667e333054c70bdebe78a107b7f06'}} 2025-11-07 20:11:59,401 - INFO - Created VN ctest-vn1-38483263 2025-11-07 20:11:59,471 - DEBUG - VN ctest-vn1-38483263 UUID is 915761b4-3a32-4025-b35e-41bcf52a40ef 2025-11-07 20:11:59,939 - DEBUG - Response for create_port : {'port': {'name': '5ce21090-a331-4e67-9363-3c7c54d66cc0', 'id': '5ce21090-a331-4e67-9363-3c7c54d66cc0', 'tenant_id': 'aa0667e333054c70bdebe78a107b7f06', 'network_id': '915761b4-3a32-4025-b35e-41bcf52a40ef', 'mac_address': '02:5c:e2:10:90:a3', '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': '154.121.194.69', 'subnet_id': '84508885-6f4f-49a0-83bf-7975b89d86ad'}], 'security_groups': ['eb665e66-1233-46d4-aae4-a2c96bc45ebf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'aa0667e333054c70bdebe78a107b7f06'}} 2025-11-07 20:12:00,167 - DEBUG - Response for create_port : {'port': {'name': 'b454678f-7e19-4657-b360-8b913b06a6fe', 'id': 'b454678f-7e19-4657-b360-8b913b06a6fe', 'tenant_id': 'aa0667e333054c70bdebe78a107b7f06', 'network_id': '915761b4-3a32-4025-b35e-41bcf52a40ef', 'mac_address': '02:b4:54:67:8f:7e', '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.234.232.133', 'subnet_id': '1489b4ac-bad4-4b99-99e1-3a09fce6f701'}], 'security_groups': ['eb665e66-1233-46d4-aae4-a2c96bc45ebf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'aa0667e333054c70bdebe78a107b7f06'}} 2025-11-07 20:12:00,261 - DEBUG - Services list from nova: [, , ] 2025-11-07 20:12:00,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4672-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4672-1) 2025-11-07 20:12:01,581 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4672-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4672-1) 2025-11-07 20:12:01,582 - INFO - Waiting for VM ctest-vn1-vm1-88411645 to be up.. 2025-11-07 20:12:01,646 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 20:12:06,823 - DEBUG - VM is in ACTIVE state now 2025-11-07 20:12:06,823 - INFO - VM name : ctest-vn1-vm1-88411645 2025-11-07 20:12:06,939 - DEBUG - VM ctest-vn1-vm1-88411645 ID is 655f3160-8f8b-4236-9af4-692bd74c0ded 2025-11-07 20:12:06,973 - DEBUG - VM ctest-vn1-vm1-88411645 launched on Node cn-jenkins-deploy-platform-ansible-os-4672-1 2025-11-07 20:12:07,116 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/655f3160-8f8b-4236-9af4-692bd74c0ded 2025-11-07 20:12:07,133 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/5ce21090-a331-4e67-9363-3c7c54d66cc0 2025-11-07 20:12:10,437 - 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-11-07 20:12:10,437 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88411645 failed! 2025-11-07 20:12:10,503 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-54225929:ctest-vn1-38483263 is 154.121.194.65 and allocation pool is NOT set 2025-11-07 20:12:10,503 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-54225929:ctest-vn1-38483263 is 58.234.232.129 and allocation pool is NOT set 2025-11-07 20:12:14,567 - 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=11.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 11.746/11.746/11.746/0.000 ms') 2025-11-07 20:12:14,568 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88411645 passed 2025-11-07 20:12:14,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:12:14,738 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88411645, IP 154.121.194.69, Port 22 2025-11-07 20:12:14,806 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-07 20:12:14,922 - DEBUG - VM ctest-vn1-vm1-88411645 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-07 20:12:19,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:12:19,924 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88411645, IP 154.121.194.69, Port 22 2025-11-07 20:12:20,132 - DEBUG - VM ctest-vn1-vm1-88411645 is ready for SSH connections 2025-11-07 20:12:20,132 - INFO - Waiting for VM ctest-vn1-vm2-63722891 to be up.. 2025-11-07 20:12:20,321 - DEBUG - VM is in ACTIVE state now 2025-11-07 20:12:20,321 - INFO - VM name : ctest-vn1-vm2-63722891 2025-11-07 20:12:20,469 - DEBUG - VM ctest-vn1-vm2-63722891 ID is 206f72eb-18e5-4bd8-aad5-e9f47a7d75c1 2025-11-07 20:12:20,470 - DEBUG - VM ctest-vn1-vm2-63722891 launched on Node cn-jenkins-deploy-platform-ansible-os-4672-1 2025-11-07 20:12:20,637 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/206f72eb-18e5-4bd8-aad5-e9f47a7d75c1 2025-11-07 20:12:20,655 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/b454678f-7e19-4657-b360-8b913b06a6fe 2025-11-07 20:12:21,995 - 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=7.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.00 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 = 1.004/4.477/7.951/3.473 ms') 2025-11-07 20:12:21,995 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-63722891 passed 2025-11-07 20:12:22,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:12:22,180 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-63722891, IP 58.234.232.133, Port 22 2025-11-07 20:12:22,394 - DEBUG - VM ctest-vn1-vm2-63722891 is ready for SSH connections 2025-11-07 20:12:22,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:12:22,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:12:22,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:12:22,395 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.121.194.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-07 20:12:22,395 - DEBUG - ping -s 56 -c 3 -W 1 154.121.194.69 2025-11-07 20:12:25,435 - DEBUG - PING 154.121.194.69 (154.121.194.69): 56 data bytes 64 bytes from 154.121.194.69: seq=0 ttl=63 time=8.170 ms 64 bytes from 154.121.194.69: seq=1 ttl=63 time=2.558 ms 64 bytes from 154.121.194.69: seq=2 ttl=63 time=1.670 ms --- 154.121.194.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.670/4.132/8.170 ms 2025-11-07 20:12:25,436 - INFO - Ping to IP 154.121.194.69 from VM ctest-vn1-vm2-63722891 passed 2025-11-07 20:12:25,436 - INFO - Detaching port b454678f-7e19-4657-b360-8b913b06a6fe from VM ctest-vn1-vm2-63722891 2025-11-07 20:12:25,563 - INFO - Deleting VM ctest-vn1-vm2-63722891 2025-11-07 20:12:25,661 - INFO - Detaching port 5ce21090-a331-4e67-9363-3c7c54d66cc0 from VM ctest-vn1-vm1-88411645 2025-11-07 20:12:25,709 - INFO - Deleting VM ctest-vn1-vm1-88411645 2025-11-07 20:12:25,978 - DEBUG - Response for delete_port : () 2025-11-07 20:12:26,208 - DEBUG - Response for delete_port : () 2025-11-07 20:12:26,208 - INFO - Deleting VN ctest-vn1-38483263 2025-11-07 20:12:26,355 - DEBUG - Response for deleting network () 2025-11-07 20:12:26,633 - DEBUG - No XMPP flaps were noticed during the test 2025-11-07 20:12:26,633 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28] 2025-11-07 20:12:26,633 - INFO - -------------------------------------------------------------------------------- 2025-11-07 20:12:27,341 - INFO - Deleted project: ctest-TestPorts-54225929, ID : aa0667e3-3305-4c70-bdeb-e78a107b7f06