2025-11-24 02:13:14,692 - INFO - Domain Default found not creating 2025-11-24 02:13:14,871 - INFO - Project ctest-TestPorts-26774757 not found, creating it 2025-11-24 02:13:15,435 - INFO - Created Project:ctest-TestPorts-26774757, ID : e8bcb666-fea9-4eea-8487-c802c6d1e7a3 2025-11-24 02:13:17,002 - INFO - ================================================================================ 2025-11-24 02:13:17,002 - INFO - STARTING TEST : test_ports_bindings 2025-11-24 02:13:17,003 - 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:13:18,291 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.56': {'10.20.0.193': '0', '10.20.0.25': '0'}} with 2025-11-24 02:13:18,291 - INFO - Initial checks done. Running the testcase now 2025-11-24 02:13:18,291 - INFO - 2025-11-24 02:13:18,991 - DEBUG - Response for create_network : {'network': {'id': '7351c1c8-a7c8-46d6-a989-2d37a364aeab', 'name': 'ctest-vn-06055217', 'tenant_id': 'e8bcb666fea94eea8487c802c6d1e7a3', 'project_id': 'e8bcb666fea94eea8487c802c6d1e7a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-26774757', 'ctest-vn-06055217'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:13:19,309 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c97c7a9-4706-4901-bb39-c81d22054881', 'name': '', 'tenant_id': 'e8bcb666fea94eea8487c802c6d1e7a3', 'network_id': '7351c1c8-a7c8-46d6-a989-2d37a364aeab', 'ip_version': 4, 'cidr': '207.42.204.0/26', 'allocation_pools': [{'start': '207.42.204.2', 'end': '207.42.204.62'}], 'gateway_ip': '207.42.204.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.42.204.2', 'tags': [], 'project_id': 'e8bcb666fea94eea8487c802c6d1e7a3'}} 2025-11-24 02:13:19,334 - INFO - Created VN ctest-vn-06055217 2025-11-24 02:13:19,347 - DEBUG - VN ctest-vn-06055217 UUID is 7351c1c8-a7c8-46d6-a989-2d37a364aeab 2025-11-24 02:13:19,431 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-26774757', 'ctest-vmi-99742993']} 2025-11-24 02:13:19,776 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99742993', 'id': 'b11655d4-455d-4a22-ad03-f8a9f7867786', 'tenant_id': 'e8bcb666fea94eea8487c802c6d1e7a3', 'network_id': '7351c1c8-a7c8-46d6-a989-2d37a364aeab', 'mac_address': '02:b1:16:55:d4:45', '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': '207.42.204.3', 'subnet_id': '4c97c7a9-4706-4901-bb39-c81d22054881'}], 'security_groups': ['0b8fad55-5484-4dcf-87c3-0959556c16dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e8bcb666fea94eea8487c802c6d1e7a3'}} 2025-11-24 02:13:19,776 - DEBUG - Created port b11655d4-455d-4a22-ad03-f8a9f7867786 2025-11-24 02:13:19,852 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b11655d4-455d-4a22-ad03-f8a9f7867786 2025-11-24 02:13:20,151 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b11655d4-455d-4a22-ad03-f8a9f7867786 2025-11-24 02:13:20,190 - INFO - VMI b11655d4-455d-4a22-ad03-f8a9f7867786 verification in API Server passed 2025-11-24 02:13:20,378 - DEBUG - Response for delete_port : () 2025-11-24 02:13:20,378 - INFO - Deleted port b11655d4-455d-4a22-ad03-f8a9f7867786 2025-11-24 02:13:20,379 - INFO - Deleting VN ctest-vn-06055217 2025-11-24 02:13:20,564 - DEBUG - Response for deleting network () 2025-11-24 02:13:21,824 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 02:13:21,824 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04] 2025-11-24 02:13:21,824 - INFO - -------------------------------------------------------------------------------- 2025-11-24 02:13:21,829 - INFO - ================================================================================ 2025-11-24 02:13:21,829 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-24 02:13:21,829 - 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:13:23,094 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.56': {'10.20.0.193': '0', '10.20.0.25': '0'}} with 2025-11-24 02:13:23,094 - INFO - Initial checks done. Running the testcase now 2025-11-24 02:13:23,095 - INFO - 2025-11-24 02:13:23,465 - DEBUG - Response for create_network : {'network': {'id': '543319ae-97c6-43f9-acea-826d57d2f9f4', 'name': 'ctest-vn1-92999360', 'tenant_id': 'e8bcb666fea94eea8487c802c6d1e7a3', 'project_id': 'e8bcb666fea94eea8487c802c6d1e7a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-26774757', 'ctest-vn1-92999360'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:13:23,743 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0e13805-1354-408d-9208-83cbce7d4271', 'name': '', 'tenant_id': 'e8bcb666fea94eea8487c802c6d1e7a3', 'network_id': '543319ae-97c6-43f9-acea-826d57d2f9f4', 'ip_version': 4, 'cidr': '190.125.201.192/26', 'allocation_pools': [{'start': '190.125.201.194', 'end': '190.125.201.254'}], 'gateway_ip': '190.125.201.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.125.201.194', 'tags': [], 'project_id': 'e8bcb666fea94eea8487c802c6d1e7a3'}} 2025-11-24 02:13:23,999 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9b86d7f-80ab-42d8-9c5b-879eff00f15e', 'name': '', 'tenant_id': 'e8bcb666fea94eea8487c802c6d1e7a3', 'network_id': '543319ae-97c6-43f9-acea-826d57d2f9f4', 'ip_version': 4, 'cidr': '145.249.33.192/26', 'allocation_pools': [{'start': '145.249.33.194', 'end': '145.249.33.254'}], 'gateway_ip': '145.249.33.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.249.33.194', 'tags': [], 'project_id': 'e8bcb666fea94eea8487c802c6d1e7a3'}} 2025-11-24 02:13:24,029 - INFO - Created VN ctest-vn1-92999360 2025-11-24 02:13:24,044 - DEBUG - VN ctest-vn1-92999360 UUID is 543319ae-97c6-43f9-acea-826d57d2f9f4 2025-11-24 02:13:24,449 - DEBUG - Response for create_port : {'port': {'name': '259efe80-e9c6-48de-a81c-fcb84e796d9a', 'id': '259efe80-e9c6-48de-a81c-fcb84e796d9a', 'tenant_id': 'e8bcb666fea94eea8487c802c6d1e7a3', 'network_id': '543319ae-97c6-43f9-acea-826d57d2f9f4', 'mac_address': '02:25:9e:fe:80:e9', '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': '190.125.201.197', 'subnet_id': 'd0e13805-1354-408d-9208-83cbce7d4271'}], 'security_groups': ['0b8fad55-5484-4dcf-87c3-0959556c16dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e8bcb666fea94eea8487c802c6d1e7a3'}} 2025-11-24 02:13:24,720 - DEBUG - Response for create_port : {'port': {'name': 'e7fd5785-c406-477e-a782-7acf8bb4745a', 'id': 'e7fd5785-c406-477e-a782-7acf8bb4745a', 'tenant_id': 'e8bcb666fea94eea8487c802c6d1e7a3', 'network_id': '543319ae-97c6-43f9-acea-826d57d2f9f4', 'mac_address': '02:e7:fd:57:85:c4', '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': '145.249.33.197', 'subnet_id': 'f9b86d7f-80ab-42d8-9c5b-879eff00f15e'}], 'security_groups': ['0b8fad55-5484-4dcf-87c3-0959556c16dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e8bcb666fea94eea8487c802c6d1e7a3'}} 2025-11-24 02:13:24,775 - DEBUG - Services list from nova: [, , , ] 2025-11-24 02:13:25,321 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4803-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4803-2) 2025-11-24 02:13:25,858 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4803-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4803-1) 2025-11-24 02:13:25,858 - INFO - Waiting for VM ctest-vn1-vm1-52531432 to be up.. 2025-11-24 02:13:25,912 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 02:13:31,000 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:13:31,001 - INFO - VM name : ctest-vn1-vm1-52531432 2025-11-24 02:13:31,090 - DEBUG - VM ctest-vn1-vm1-52531432 ID is e5b6d783-7bba-4f33-b321-88c523889f2c 2025-11-24 02:13:31,120 - DEBUG - VM ctest-vn1-vm1-52531432 launched on Node an-jenkins-deploy-platform-ansible-os-4803-2 2025-11-24 02:13:31,213 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e5b6d783-7bba-4f33-b321-88c523889f2c 2025-11-24 02:13:31,515 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e5b6d783-7bba-4f33-b321-88c523889f2c 2025-11-24 02:13:31,552 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/259efe80-e9c6-48de-a81c-fcb84e796d9a 2025-11-24 02:13:34,725 - 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 1018ms') 2025-11-24 02:13:34,725 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52531432 failed! 2025-11-24 02:13:34,741 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-26774757:ctest-vn1-92999360 is 190.125.201.193 and allocation pool is NOT set 2025-11-24 02:13:34,741 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-26774757:ctest-vn1-92999360 is 145.249.33.193 and allocation pool is NOT set 2025-11-24 02:13:36,808 - 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=10.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.49 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 = 2.488/6.631/10.775/4.143 ms') 2025-11-24 02:13:36,808 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52531432 passed 2025-11-24 02:13:36,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:13:36,891 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52531432, IP 190.125.201.197, Port 22 2025-11-24 02:13:36,964 - 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-24 02:13:37,080 - DEBUG - VM ctest-vn1-vm1-52531432 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 02:13:42,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:13:42,081 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52531432, IP 190.125.201.197, Port 22 2025-11-24 02:13:42,253 - DEBUG - VM ctest-vn1-vm1-52531432 is ready for SSH connections 2025-11-24 02:13:42,253 - INFO - Waiting for VM ctest-vn1-vm2-19356813 to be up.. 2025-11-24 02:13:42,350 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:13:42,350 - INFO - VM name : ctest-vn1-vm2-19356813 2025-11-24 02:13:42,436 - DEBUG - VM ctest-vn1-vm2-19356813 ID is 03862cf9-c288-4ea5-8d1f-bd5233f053f2 2025-11-24 02:13:42,436 - DEBUG - VM ctest-vn1-vm2-19356813 launched on Node an-jenkins-deploy-platform-ansible-os-4803-1 2025-11-24 02:13:42,528 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/03862cf9-c288-4ea5-8d1f-bd5233f053f2 2025-11-24 02:13:42,540 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e7fd5785-c406-477e-a782-7acf8bb4745a 2025-11-24 02:13:43,711 - 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=3.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.738 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 = 0.738/1.918/3.099/1.180 ms') 2025-11-24 02:13:43,711 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-19356813 passed 2025-11-24 02:13:43,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:13:43,784 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-19356813, IP 145.249.33.197, Port 22 2025-11-24 02:13:43,953 - DEBUG - VM ctest-vn1-vm2-19356813 is ready for SSH connections 2025-11-24 02:13:43,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:13:43,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:13:43,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:13:43,954 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.125.201.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-24 02:13:43,954 - DEBUG - ping -s 56 -c 3 -W 1 190.125.201.197 2025-11-24 02:13:46,942 - DEBUG - PING 190.125.201.197 (190.125.201.197): 56 data bytes 64 bytes from 190.125.201.197: seq=0 ttl=63 time=7.241 ms 64 bytes from 190.125.201.197: seq=1 ttl=63 time=1.370 ms 64 bytes from 190.125.201.197: seq=2 ttl=63 time=1.599 ms --- 190.125.201.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.370/3.403/7.241 ms 2025-11-24 02:13:46,942 - INFO - Ping to IP 190.125.201.197 from VM ctest-vn1-vm2-19356813 passed 2025-11-24 02:13:46,942 - INFO - Detaching port e7fd5785-c406-477e-a782-7acf8bb4745a from VM ctest-vn1-vm2-19356813 2025-11-24 02:13:46,993 - INFO - Deleting VM ctest-vn1-vm2-19356813 2025-11-24 02:13:47,063 - INFO - Detaching port 259efe80-e9c6-48de-a81c-fcb84e796d9a from VM ctest-vn1-vm1-52531432 2025-11-24 02:13:47,106 - INFO - Deleting VM ctest-vn1-vm1-52531432 2025-11-24 02:13:47,652 - DEBUG - Response for delete_port : () 2025-11-24 02:13:47,987 - DEBUG - Response for delete_port : () 2025-11-24 02:13:47,987 - INFO - Deleting VN ctest-vn1-92999360 2025-11-24 02:13:48,245 - DEBUG - Response for deleting network () 2025-11-24 02:13:49,516 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 02:13:49,516 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28] 2025-11-24 02:13:49,516 - INFO - -------------------------------------------------------------------------------- 2025-11-24 02:13:50,261 - INFO - Deleted project: ctest-TestPorts-26774757, ID : e8bcb666-fea9-4eea-8487-c802c6d1e7a3