2025-10-30 22:05:11,574 - INFO - Domain Default found not creating 2025-10-30 22:05:11,733 - INFO - Project ctest-TestPorts-95898565 not found, creating it 2025-10-30 22:05:12,164 - INFO - Created Project:ctest-TestPorts-95898565, ID : 47b72f81-6a94-4194-b0f6-3bd8279d4d39 2025-10-30 22:05:13,629 - INFO - ================================================================================ 2025-10-30 22:05:13,629 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 22:05:13,630 - 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-30 22:05:13,885 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.5': '0'}} with 2025-10-30 22:05:13,885 - INFO - Initial checks done. Running the testcase now 2025-10-30 22:05:13,885 - INFO - 2025-10-30 22:05:14,501 - DEBUG - Response for create_network : {'network': {'id': 'e2480623-921e-41a9-a199-de42e9a3e8de', 'name': 'ctest-vn-79971949', 'tenant_id': '47b72f816a944194b0f63bd8279d4d39', 'project_id': '47b72f816a944194b0f63bd8279d4d39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95898565', 'ctest-vn-79971949'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 22:05:14,691 - DEBUG - Response for create_subnet : {'subnet': {'id': '762a4ffd-c0ff-4a48-baf5-cd6086f2baf1', 'name': '', 'tenant_id': '47b72f816a944194b0f63bd8279d4d39', 'network_id': 'e2480623-921e-41a9-a199-de42e9a3e8de', 'ip_version': 4, 'cidr': '143.227.152.128/26', 'allocation_pools': [{'start': '143.227.152.130', 'end': '143.227.152.190'}], 'gateway_ip': '143.227.152.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.227.152.130', 'tags': [], 'project_id': '47b72f816a944194b0f63bd8279d4d39'}} 2025-10-30 22:05:14,709 - INFO - Created VN ctest-vn-79971949 2025-10-30 22:05:14,762 - DEBUG - VN ctest-vn-79971949 UUID is e2480623-921e-41a9-a199-de42e9a3e8de 2025-10-30 22:05:14,871 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-95898565', 'ctest-vmi-22591101']} 2025-10-30 22:05:15,121 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-22591101', 'id': 'c2f7cadf-70f2-4f4d-869a-74e31d57a671', 'tenant_id': '47b72f816a944194b0f63bd8279d4d39', 'network_id': 'e2480623-921e-41a9-a199-de42e9a3e8de', 'mac_address': '02:c2:f7:ca:df:70', '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': '143.227.152.131', 'subnet_id': '762a4ffd-c0ff-4a48-baf5-cd6086f2baf1'}], 'security_groups': ['8c0e3937-3f4c-4f30-af4e-f035c41b0c5f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '47b72f816a944194b0f63bd8279d4d39'}} 2025-10-30 22:05:15,121 - DEBUG - Created port c2f7cadf-70f2-4f4d-869a-74e31d57a671 2025-10-30 22:05:15,226 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/c2f7cadf-70f2-4f4d-869a-74e31d57a671 2025-10-30 22:05:15,525 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/c2f7cadf-70f2-4f4d-869a-74e31d57a671 2025-10-30 22:05:15,556 - INFO - VMI c2f7cadf-70f2-4f4d-869a-74e31d57a671 verification in API Server passed 2025-10-30 22:05:15,675 - DEBUG - Response for delete_port : () 2025-10-30 22:05:15,675 - INFO - Deleted port c2f7cadf-70f2-4f4d-869a-74e31d57a671 2025-10-30 22:05:15,675 - INFO - Deleting VN ctest-vn-79971949 2025-10-30 22:05:15,777 - DEBUG - Response for deleting network () 2025-10-30 22:05:16,032 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 22:05:16,032 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-30 22:05:16,032 - INFO - -------------------------------------------------------------------------------- 2025-10-30 22:05:16,034 - INFO - ================================================================================ 2025-10-30 22:05:16,034 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 22:05:16,034 - 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-30 22:05:16,331 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.5': '0'}} with 2025-10-30 22:05:16,331 - INFO - Initial checks done. Running the testcase now 2025-10-30 22:05:16,331 - INFO - 2025-10-30 22:05:16,500 - DEBUG - Response for create_network : {'network': {'id': 'bf9e0e62-15d0-4eca-ab92-21867d312c7b', 'name': 'ctest-vn1-84941177', 'tenant_id': '47b72f816a944194b0f63bd8279d4d39', 'project_id': '47b72f816a944194b0f63bd8279d4d39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95898565', 'ctest-vn1-84941177'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 22:05:16,707 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ce701dc-8ee9-4d20-8795-93097e0e10f5', 'name': '', 'tenant_id': '47b72f816a944194b0f63bd8279d4d39', 'network_id': 'bf9e0e62-15d0-4eca-ab92-21867d312c7b', 'ip_version': 4, 'cidr': '50.73.32.64/26', 'allocation_pools': [{'start': '50.73.32.66', 'end': '50.73.32.126'}], 'gateway_ip': '50.73.32.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.73.32.66', 'tags': [], 'project_id': '47b72f816a944194b0f63bd8279d4d39'}} 2025-10-30 22:05:16,894 - DEBUG - Response for create_subnet : {'subnet': {'id': '57d89768-48da-4286-84ab-6be6015cf781', 'name': '', 'tenant_id': '47b72f816a944194b0f63bd8279d4d39', 'network_id': 'bf9e0e62-15d0-4eca-ab92-21867d312c7b', 'ip_version': 4, 'cidr': '177.84.123.0/26', 'allocation_pools': [{'start': '177.84.123.2', 'end': '177.84.123.62'}], 'gateway_ip': '177.84.123.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.84.123.2', 'tags': [], 'project_id': '47b72f816a944194b0f63bd8279d4d39'}} 2025-10-30 22:05:16,913 - INFO - Created VN ctest-vn1-84941177 2025-10-30 22:05:16,962 - DEBUG - VN ctest-vn1-84941177 UUID is bf9e0e62-15d0-4eca-ab92-21867d312c7b 2025-10-30 22:05:17,256 - DEBUG - Response for create_port : {'port': {'name': 'bd88db1d-4918-4f93-8d7e-4644570b8831', 'id': 'bd88db1d-4918-4f93-8d7e-4644570b8831', 'tenant_id': '47b72f816a944194b0f63bd8279d4d39', 'network_id': 'bf9e0e62-15d0-4eca-ab92-21867d312c7b', 'mac_address': '02:bd:88:db:1d:49', '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': '50.73.32.69', 'subnet_id': '5ce701dc-8ee9-4d20-8795-93097e0e10f5'}], 'security_groups': ['8c0e3937-3f4c-4f30-af4e-f035c41b0c5f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '47b72f816a944194b0f63bd8279d4d39'}} 2025-10-30 22:05:17,433 - DEBUG - Response for create_port : {'port': {'name': '8740823b-4260-44cc-844e-dbfb8a024397', 'id': '8740823b-4260-44cc-844e-dbfb8a024397', 'tenant_id': '47b72f816a944194b0f63bd8279d4d39', 'network_id': 'bf9e0e62-15d0-4eca-ab92-21867d312c7b', 'mac_address': '02:87:40:82:3b:42', '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': '177.84.123.5', 'subnet_id': '57d89768-48da-4286-84ab-6be6015cf781'}], 'security_groups': ['8c0e3937-3f4c-4f30-af4e-f035c41b0c5f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '47b72f816a944194b0f63bd8279d4d39'}} 2025-10-30 22:05:17,487 - DEBUG - Services list from nova: [, , ] 2025-10-30 22:05:17,797 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4558-1) 2025-10-30 22:05:18,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4558-1) 2025-10-30 22:05:18,195 - INFO - Waiting for VM ctest-vn1-vm1-40856864 to be up.. 2025-10-30 22:05:18,241 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 22:05:23,316 - DEBUG - VM is in ACTIVE state now 2025-10-30 22:05:23,316 - INFO - VM name : ctest-vn1-vm1-40856864 2025-10-30 22:05:23,396 - DEBUG - VM ctest-vn1-vm1-40856864 ID is 59a07518-8159-4481-b776-eb97e3dc56c8 2025-10-30 22:05:23,417 - DEBUG - VM ctest-vn1-vm1-40856864 launched on Node cn-jenkins-deploy-platform-ansible-os-4558-1 2025-10-30 22:05:23,497 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/59a07518-8159-4481-b776-eb97e3dc56c8 2025-10-30 22:05:23,506 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/bd88db1d-4918-4f93-8d7e-4644570b8831 2025-10-30 22:05:26,783 - 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 1027ms') 2025-10-30 22:05:26,783 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40856864 failed! 2025-10-30 22:05:26,838 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95898565:ctest-vn1-84941177 is 50.73.32.65 and allocation pool is NOT set 2025-10-30 22:05:26,839 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95898565:ctest-vn1-84941177 is 177.84.123.1 and allocation pool is NOT set 2025-10-30 22:05:28,904 - 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=7.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.879 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.879/4.151/7.424/3.272 ms') 2025-10-30 22:05:28,904 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40856864 passed 2025-10-30 22:05:29,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:05:29,054 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40856864, IP 50.73.32.69, Port 22 2025-10-30 22:05:29,111 - 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-10-30 22:05:29,187 - DEBUG - VM ctest-vn1-vm1-40856864 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 22:05:34,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:05:34,189 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40856864, IP 50.73.32.69, Port 22 2025-10-30 22:05:34,346 - DEBUG - VM ctest-vn1-vm1-40856864 is ready for SSH connections 2025-10-30 22:05:34,346 - INFO - Waiting for VM ctest-vn1-vm2-61597646 to be up.. 2025-10-30 22:05:34,424 - DEBUG - VM is in ACTIVE state now 2025-10-30 22:05:34,424 - INFO - VM name : ctest-vn1-vm2-61597646 2025-10-30 22:05:34,502 - DEBUG - VM ctest-vn1-vm2-61597646 ID is 60ddf748-5344-46e2-b653-0c4df866f3c4 2025-10-30 22:05:34,503 - DEBUG - VM ctest-vn1-vm2-61597646 launched on Node cn-jenkins-deploy-platform-ansible-os-4558-1 2025-10-30 22:05:34,580 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/60ddf748-5344-46e2-b653-0c4df866f3c4 2025-10-30 22:05:34,590 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/8740823b-4260-44cc-844e-dbfb8a024397 2025-10-30 22:05:35,830 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.495 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.495/2.397/4.299/1.902 ms') 2025-10-30 22:05:35,830 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-61597646 passed 2025-10-30 22:05:35,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:05:35,978 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-61597646, IP 177.84.123.5, Port 22 2025-10-30 22:05:36,141 - DEBUG - VM ctest-vn1-vm2-61597646 is ready for SSH connections 2025-10-30 22:05:36,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:05:36,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:05:36,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:05:36,142 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.73.32.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-30 22:05:36,143 - DEBUG - ping -s 56 -c 3 -W 1 50.73.32.69 2025-10-30 22:05:38,779 - DEBUG - PING 50.73.32.69 (50.73.32.69): 56 data bytes 64 bytes from 50.73.32.69: seq=0 ttl=63 time=4.525 ms 64 bytes from 50.73.32.69: seq=1 ttl=63 time=1.281 ms 64 bytes from 50.73.32.69: seq=2 ttl=63 time=1.196 ms --- 50.73.32.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.196/2.334/4.525 ms 2025-10-30 22:05:38,779 - INFO - Ping to IP 50.73.32.69 from VM ctest-vn1-vm2-61597646 passed 2025-10-30 22:05:38,779 - INFO - Detaching port 8740823b-4260-44cc-844e-dbfb8a024397 from VM ctest-vn1-vm2-61597646 2025-10-30 22:05:38,831 - INFO - Deleting VM ctest-vn1-vm2-61597646 2025-10-30 22:05:38,895 - INFO - Detaching port bd88db1d-4918-4f93-8d7e-4644570b8831 from VM ctest-vn1-vm1-40856864 2025-10-30 22:05:38,929 - INFO - Deleting VM ctest-vn1-vm1-40856864 2025-10-30 22:05:39,162 - DEBUG - Response for delete_port : () 2025-10-30 22:05:39,324 - DEBUG - Response for delete_port : () 2025-10-30 22:05:39,325 - INFO - Deleting VN ctest-vn1-84941177 2025-10-30 22:05:39,470 - DEBUG - Response for deleting network () 2025-10-30 22:05:39,730 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 22:05:39,730 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-10-30 22:05:39,731 - INFO - -------------------------------------------------------------------------------- 2025-10-30 22:05:40,425 - INFO - Deleted project: ctest-TestPorts-95898565, ID : 47b72f81-6a94-4194-b0f6-3bd8279d4d39