2025-10-28 21:28:12,919 - INFO - Domain Default found not creating 2025-10-28 21:28:13,064 - INFO - Project ctest-TestPorts-12877651 not found, creating it 2025-10-28 21:28:13,491 - INFO - Created Project:ctest-TestPorts-12877651, ID : a9785159-e364-4051-ba6e-db722a26e166 2025-10-28 21:28:14,887 - INFO - ================================================================================ 2025-10-28 21:28:14,887 - INFO - STARTING TEST : test_ports_bindings 2025-10-28 21:28:14,887 - 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-28 21:28:15,146 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-28 21:28:15,146 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:28:15,146 - INFO - 2025-10-28 21:28:15,768 - DEBUG - Response for create_network : {'network': {'id': '6c130dd1-7c32-4402-9be6-9f4fbc8d5f06', 'name': 'ctest-vn-13624306', 'tenant_id': 'a9785159e3644051ba6edb722a26e166', 'project_id': 'a9785159e3644051ba6edb722a26e166', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12877651', 'ctest-vn-13624306'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:28:15,979 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4a04b30-64a5-468f-ab71-30cb13fd28d6', 'name': '', 'tenant_id': 'a9785159e3644051ba6edb722a26e166', 'network_id': '6c130dd1-7c32-4402-9be6-9f4fbc8d5f06', 'ip_version': 4, 'cidr': '78.241.242.64/26', 'allocation_pools': [{'start': '78.241.242.66', 'end': '78.241.242.126'}], 'gateway_ip': '78.241.242.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.241.242.66', 'tags': [], 'project_id': 'a9785159e3644051ba6edb722a26e166'}} 2025-10-28 21:28:15,998 - INFO - Created VN ctest-vn-13624306 2025-10-28 21:28:16,057 - DEBUG - VN ctest-vn-13624306 UUID is 6c130dd1-7c32-4402-9be6-9f4fbc8d5f06 2025-10-28 21:28:16,162 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-12877651', 'ctest-vmi-83065536']} 2025-10-28 21:28:16,437 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-83065536', 'id': '8a8186f3-6ca9-4c98-85b0-96c6a546536b', 'tenant_id': 'a9785159e3644051ba6edb722a26e166', 'network_id': '6c130dd1-7c32-4402-9be6-9f4fbc8d5f06', 'mac_address': '02:8a:81:86:f3:6c', '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': '78.241.242.67', 'subnet_id': 'f4a04b30-64a5-468f-ab71-30cb13fd28d6'}], 'security_groups': ['2836de4b-ebb4-4c59-bde1-52ce9b9a72ea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a9785159e3644051ba6edb722a26e166'}} 2025-10-28 21:28:16,437 - DEBUG - Created port 8a8186f3-6ca9-4c98-85b0-96c6a546536b 2025-10-28 21:28:16,540 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8a8186f3-6ca9-4c98-85b0-96c6a546536b 2025-10-28 21:28:16,842 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8a8186f3-6ca9-4c98-85b0-96c6a546536b 2025-10-28 21:28:16,879 - INFO - VMI 8a8186f3-6ca9-4c98-85b0-96c6a546536b verification in API Server passed 2025-10-28 21:28:16,967 - DEBUG - Response for delete_port : () 2025-10-28 21:28:16,967 - INFO - Deleted port 8a8186f3-6ca9-4c98-85b0-96c6a546536b 2025-10-28 21:28:16,967 - INFO - Deleting VN ctest-vn-13624306 2025-10-28 21:28:17,069 - DEBUG - Response for deleting network () 2025-10-28 21:28:17,325 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 21:28:17,326 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-28 21:28:17,326 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:28:17,329 - INFO - ================================================================================ 2025-10-28 21:28:17,329 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-28 21:28:17,329 - 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-28 21:28:17,616 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-28 21:28:17,617 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:28:17,617 - INFO - 2025-10-28 21:28:17,793 - DEBUG - Response for create_network : {'network': {'id': 'd134dcbb-4017-41a9-b0bd-b77dd351a121', 'name': 'ctest-vn1-54748383', 'tenant_id': 'a9785159e3644051ba6edb722a26e166', 'project_id': 'a9785159e3644051ba6edb722a26e166', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12877651', 'ctest-vn1-54748383'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:28:18,032 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a622e83-154c-4e7e-817a-d92ba6f802df', 'name': '', 'tenant_id': 'a9785159e3644051ba6edb722a26e166', 'network_id': 'd134dcbb-4017-41a9-b0bd-b77dd351a121', 'ip_version': 4, 'cidr': '38.58.41.192/26', 'allocation_pools': [{'start': '38.58.41.194', 'end': '38.58.41.254'}], 'gateway_ip': '38.58.41.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.58.41.194', 'tags': [], 'project_id': 'a9785159e3644051ba6edb722a26e166'}} 2025-10-28 21:28:18,228 - DEBUG - Response for create_subnet : {'subnet': {'id': '0084c86f-a5dd-4d0c-af83-c6501a61decb', 'name': '', 'tenant_id': 'a9785159e3644051ba6edb722a26e166', 'network_id': 'd134dcbb-4017-41a9-b0bd-b77dd351a121', 'ip_version': 4, 'cidr': '204.195.152.64/26', 'allocation_pools': [{'start': '204.195.152.66', 'end': '204.195.152.126'}], 'gateway_ip': '204.195.152.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.195.152.66', 'tags': [], 'project_id': 'a9785159e3644051ba6edb722a26e166'}} 2025-10-28 21:28:18,246 - INFO - Created VN ctest-vn1-54748383 2025-10-28 21:28:18,296 - DEBUG - VN ctest-vn1-54748383 UUID is d134dcbb-4017-41a9-b0bd-b77dd351a121 2025-10-28 21:28:18,593 - DEBUG - Response for create_port : {'port': {'name': 'b974f75a-b33d-4804-899d-91379a7cf595', 'id': 'b974f75a-b33d-4804-899d-91379a7cf595', 'tenant_id': 'a9785159e3644051ba6edb722a26e166', 'network_id': 'd134dcbb-4017-41a9-b0bd-b77dd351a121', 'mac_address': '02:b9:74:f7:5a:b3', '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': '38.58.41.197', 'subnet_id': '6a622e83-154c-4e7e-817a-d92ba6f802df'}], 'security_groups': ['2836de4b-ebb4-4c59-bde1-52ce9b9a72ea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a9785159e3644051ba6edb722a26e166'}} 2025-10-28 21:28:18,787 - DEBUG - Response for create_port : {'port': {'name': 'b839aca6-bd36-4e82-98f8-544d891e62df', 'id': 'b839aca6-bd36-4e82-98f8-544d891e62df', 'tenant_id': 'a9785159e3644051ba6edb722a26e166', 'network_id': 'd134dcbb-4017-41a9-b0bd-b77dd351a121', 'mac_address': '02:b8:39:ac:a6:bd', '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': '204.195.152.69', 'subnet_id': '0084c86f-a5dd-4d0c-af83-c6501a61decb'}], 'security_groups': ['2836de4b-ebb4-4c59-bde1-52ce9b9a72ea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a9785159e3644051ba6edb722a26e166'}} 2025-10-28 21:28:18,847 - DEBUG - Services list from nova: [, , ] 2025-10-28 21:28:19,178 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4517-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4517-1) 2025-10-28 21:28:19,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4517-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4517-1) 2025-10-28 21:28:19,578 - INFO - Waiting for VM ctest-vn1-vm1-47479711 to be up.. 2025-10-28 21:28:19,616 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 21:28:24,697 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:28:24,697 - INFO - VM name : ctest-vn1-vm1-47479711 2025-10-28 21:28:24,766 - DEBUG - VM ctest-vn1-vm1-47479711 ID is b9db02df-dd5e-449e-8952-0b54e91d7d70 2025-10-28 21:28:24,782 - DEBUG - VM ctest-vn1-vm1-47479711 launched on Node cn-jenkins-deploy-platform-ansible-os-4517-1 2025-10-28 21:28:24,852 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b9db02df-dd5e-449e-8952-0b54e91d7d70 2025-10-28 21:28:24,860 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b974f75a-b33d-4804-899d-91379a7cf595 2025-10-28 21:28:28,089 - 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 1003ms') 2025-10-28 21:28:28,089 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-47479711 failed! 2025-10-28 21:28:28,144 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12877651:ctest-vn1-54748383 is 38.58.41.193 and allocation pool is NOT set 2025-10-28 21:28:28,145 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12877651:ctest-vn1-54748383 is 204.195.152.65 and allocation pool is NOT set 2025-10-28 21:28:30,212 - 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=13.2 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.75 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.748/7.468/13.189/5.720 ms') 2025-10-28 21:28:30,212 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-47479711 passed 2025-10-28 21:28:30,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:28:30,365 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47479711, IP 38.58.41.197, Port 22 2025-10-28 21:28:30,431 - 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-28 21:28:30,507 - DEBUG - VM ctest-vn1-vm1-47479711 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-28 21:28:35,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:28:35,508 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47479711, IP 38.58.41.197, Port 22 2025-10-28 21:28:35,671 - DEBUG - VM ctest-vn1-vm1-47479711 is ready for SSH connections 2025-10-28 21:28:35,671 - INFO - Waiting for VM ctest-vn1-vm2-51223443 to be up.. 2025-10-28 21:28:35,746 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:28:35,746 - INFO - VM name : ctest-vn1-vm2-51223443 2025-10-28 21:28:35,819 - DEBUG - VM ctest-vn1-vm2-51223443 ID is 290c86b2-98a3-48c6-be1d-67a738c996b2 2025-10-28 21:28:35,819 - DEBUG - VM ctest-vn1-vm2-51223443 launched on Node cn-jenkins-deploy-platform-ansible-os-4517-1 2025-10-28 21:28:35,895 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/290c86b2-98a3-48c6-be1d-67a738c996b2 2025-10-28 21:28:35,905 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b839aca6-bd36-4e82-98f8-544d891e62df 2025-10-28 21:28:37,143 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.13 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 = 1.126/2.170/3.215/1.044 ms') 2025-10-28 21:28:37,143 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-51223443 passed 2025-10-28 21:28:37,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:28:37,297 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-51223443, IP 204.195.152.69, Port 22 2025-10-28 21:28:37,453 - DEBUG - VM ctest-vn1-vm2-51223443 is ready for SSH connections 2025-10-28 21:28:37,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:28:37,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:28:37,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:28:37,453 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.58.41.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-28 21:28:37,453 - DEBUG - ping -s 56 -c 3 -W 1 38.58.41.197 2025-10-28 21:28:41,143 - DEBUG - PING 38.58.41.197 (38.58.41.197): 56 data bytes 64 bytes from 38.58.41.197: seq=0 ttl=63 time=3.219 ms 64 bytes from 38.58.41.197: seq=1 ttl=63 time=1.146 ms 64 bytes from 38.58.41.197: seq=2 ttl=63 time=1.071 ms --- 38.58.41.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.071/1.812/3.219 ms 2025-10-28 21:28:41,143 - INFO - Ping to IP 38.58.41.197 from VM ctest-vn1-vm2-51223443 passed 2025-10-28 21:28:41,143 - INFO - Detaching port b839aca6-bd36-4e82-98f8-544d891e62df from VM ctest-vn1-vm2-51223443 2025-10-28 21:28:41,199 - INFO - Deleting VM ctest-vn1-vm2-51223443 2025-10-28 21:28:41,266 - INFO - Detaching port b974f75a-b33d-4804-899d-91379a7cf595 from VM ctest-vn1-vm1-47479711 2025-10-28 21:28:41,305 - INFO - Deleting VM ctest-vn1-vm1-47479711 2025-10-28 21:28:41,551 - DEBUG - Response for delete_port : () 2025-10-28 21:28:41,699 - DEBUG - Response for delete_port : () 2025-10-28 21:28:41,700 - INFO - Deleting VN ctest-vn1-54748383 2025-10-28 21:28:41,848 - DEBUG - Response for deleting network () 2025-10-28 21:28:42,106 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 21:28:42,106 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-10-28 21:28:42,106 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:28:42,792 - INFO - Deleted project: ctest-TestPorts-12877651, ID : a9785159-e364-4051-ba6e-db722a26e166