2025-09-11 01:59:12,109 - INFO - Domain Default found not creating 2025-09-11 01:59:12,260 - INFO - Project ctest-TestPorts-55538732 not found, creating it 2025-09-11 01:59:12,700 - INFO - Created Project:ctest-TestPorts-55538732, ID : f1c22fa4-af30-423e-8e9d-b8a6fe65ca64 2025-09-11 01:59:14,097 - INFO - ================================================================================ 2025-09-11 01:59:14,097 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 01:59:14,097 - 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-11 01:59:14,357 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-09-11 01:59:14,358 - INFO - Initial checks done. Running the testcase now 2025-09-11 01:59:14,358 - INFO - 2025-09-11 01:59:14,930 - DEBUG - Response for create_network : {'network': {'id': '08b59f63-856b-4109-aea3-806056c4cdc3', 'name': 'ctest-vn-79611227', 'tenant_id': 'f1c22fa4af30423e8e9db8a6fe65ca64', 'project_id': 'f1c22fa4af30423e8e9db8a6fe65ca64', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55538732', 'ctest-vn-79611227'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 01:59:15,134 - DEBUG - Response for create_subnet : {'subnet': {'id': '635dfe51-f1a7-46d7-8f0c-a4ae826339ad', 'name': '', 'tenant_id': 'f1c22fa4af30423e8e9db8a6fe65ca64', 'network_id': '08b59f63-856b-4109-aea3-806056c4cdc3', 'ip_version': 4, 'cidr': '97.37.234.64/26', 'allocation_pools': [{'start': '97.37.234.66', 'end': '97.37.234.126'}], 'gateway_ip': '97.37.234.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.37.234.66', 'tags': [], 'project_id': 'f1c22fa4af30423e8e9db8a6fe65ca64'}} 2025-09-11 01:59:15,155 - INFO - Created VN ctest-vn-79611227 2025-09-11 01:59:15,212 - DEBUG - VN ctest-vn-79611227 UUID is 08b59f63-856b-4109-aea3-806056c4cdc3 2025-09-11 01:59:15,324 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-55538732', 'ctest-vmi-81600823']} 2025-09-11 01:59:15,622 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-81600823', 'id': '0e65dccf-17e1-4b7c-a3f0-421dd9c6970e', 'tenant_id': 'f1c22fa4af30423e8e9db8a6fe65ca64', 'network_id': '08b59f63-856b-4109-aea3-806056c4cdc3', 'mac_address': '02:0e:65:dc:cf:17', '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': '97.37.234.67', 'subnet_id': '635dfe51-f1a7-46d7-8f0c-a4ae826339ad'}], 'security_groups': ['5e32a9b8-3311-4422-a2a0-652fbf7bad6d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f1c22fa4af30423e8e9db8a6fe65ca64'}} 2025-09-11 01:59:15,622 - DEBUG - Created port 0e65dccf-17e1-4b7c-a3f0-421dd9c6970e 2025-09-11 01:59:15,732 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0e65dccf-17e1-4b7c-a3f0-421dd9c6970e 2025-09-11 01:59:16,024 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0e65dccf-17e1-4b7c-a3f0-421dd9c6970e 2025-09-11 01:59:16,057 - INFO - VMI 0e65dccf-17e1-4b7c-a3f0-421dd9c6970e verification in API Server passed 2025-09-11 01:59:16,137 - DEBUG - Response for delete_port : () 2025-09-11 01:59:16,137 - INFO - Deleted port 0e65dccf-17e1-4b7c-a3f0-421dd9c6970e 2025-09-11 01:59:16,137 - INFO - Deleting VN ctest-vn-79611227 2025-09-11 01:59:16,230 - DEBUG - Response for deleting network () 2025-09-11 01:59:16,487 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 01:59:16,487 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-11 01:59:16,487 - INFO - -------------------------------------------------------------------------------- 2025-09-11 01:59:16,490 - INFO - ================================================================================ 2025-09-11 01:59:16,490 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 01:59:16,490 - 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-11 01:59:16,772 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-09-11 01:59:16,772 - INFO - Initial checks done. Running the testcase now 2025-09-11 01:59:16,772 - INFO - 2025-09-11 01:59:16,938 - DEBUG - Response for create_network : {'network': {'id': 'c77cf6e4-7412-49fa-a703-1572956cdb3d', 'name': 'ctest-vn1-98698863', 'tenant_id': 'f1c22fa4af30423e8e9db8a6fe65ca64', 'project_id': 'f1c22fa4af30423e8e9db8a6fe65ca64', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55538732', 'ctest-vn1-98698863'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 01:59:17,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '05172d98-49d4-48af-bda9-309db1eab125', 'name': '', 'tenant_id': 'f1c22fa4af30423e8e9db8a6fe65ca64', 'network_id': 'c77cf6e4-7412-49fa-a703-1572956cdb3d', 'ip_version': 4, 'cidr': '67.158.26.0/26', 'allocation_pools': [{'start': '67.158.26.2', 'end': '67.158.26.62'}], 'gateway_ip': '67.158.26.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.158.26.2', 'tags': [], 'project_id': 'f1c22fa4af30423e8e9db8a6fe65ca64'}} 2025-09-11 01:59:17,262 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e190775-8dba-40dd-8cfc-b8ce88490148', 'name': '', 'tenant_id': 'f1c22fa4af30423e8e9db8a6fe65ca64', 'network_id': 'c77cf6e4-7412-49fa-a703-1572956cdb3d', 'ip_version': 4, 'cidr': '26.91.111.64/26', 'allocation_pools': [{'start': '26.91.111.66', 'end': '26.91.111.126'}], 'gateway_ip': '26.91.111.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.91.111.66', 'tags': [], 'project_id': 'f1c22fa4af30423e8e9db8a6fe65ca64'}} 2025-09-11 01:59:17,279 - INFO - Created VN ctest-vn1-98698863 2025-09-11 01:59:17,328 - DEBUG - VN ctest-vn1-98698863 UUID is c77cf6e4-7412-49fa-a703-1572956cdb3d 2025-09-11 01:59:17,636 - DEBUG - Response for create_port : {'port': {'name': '91199ffe-a207-4110-9ea1-8784234d8e84', 'id': '91199ffe-a207-4110-9ea1-8784234d8e84', 'tenant_id': 'f1c22fa4af30423e8e9db8a6fe65ca64', 'network_id': 'c77cf6e4-7412-49fa-a703-1572956cdb3d', 'mac_address': '02:91:19:9f:fe:a2', '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': '67.158.26.5', 'subnet_id': '05172d98-49d4-48af-bda9-309db1eab125'}], 'security_groups': ['5e32a9b8-3311-4422-a2a0-652fbf7bad6d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f1c22fa4af30423e8e9db8a6fe65ca64'}} 2025-09-11 01:59:17,814 - DEBUG - Response for create_port : {'port': {'name': 'e1542ce9-1074-4f2d-83dc-3f6b6a9aef92', 'id': 'e1542ce9-1074-4f2d-83dc-3f6b6a9aef92', 'tenant_id': 'f1c22fa4af30423e8e9db8a6fe65ca64', 'network_id': 'c77cf6e4-7412-49fa-a703-1572956cdb3d', 'mac_address': '02:e1:54:2c:e9:10', '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': '26.91.111.69', 'subnet_id': '5e190775-8dba-40dd-8cfc-b8ce88490148'}], 'security_groups': ['5e32a9b8-3311-4422-a2a0-652fbf7bad6d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f1c22fa4af30423e8e9db8a6fe65ca64'}} 2025-09-11 01:59:17,869 - DEBUG - Services list from nova: [, , ] 2025-09-11 01:59:18,183 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4076-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4076-1) 2025-09-11 01:59:18,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4076-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4076-1) 2025-09-11 01:59:18,698 - INFO - Waiting for VM ctest-vn1-vm1-33118816 to be up.. 2025-09-11 01:59:18,744 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 01:59:23,816 - DEBUG - VM is in ACTIVE state now 2025-09-11 01:59:23,816 - INFO - VM name : ctest-vn1-vm1-33118816 2025-09-11 01:59:23,881 - DEBUG - VM ctest-vn1-vm1-33118816 ID is 55fd552b-5cbf-49c9-889b-b3349e33b6c1 2025-09-11 01:59:23,902 - DEBUG - VM ctest-vn1-vm1-33118816 launched on Node cn-jenkins-deploy-platform-ansible-os-4076-1 2025-09-11 01:59:23,972 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/55fd552b-5cbf-49c9-889b-b3349e33b6c1 2025-09-11 01:59:23,979 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/91199ffe-a207-4110-9ea1-8784234d8e84 2025-09-11 01:59:27,242 - 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 1023ms') 2025-09-11 01:59:27,242 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-33118816 failed! 2025-09-11 01:59:27,296 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55538732:ctest-vn1-98698863 is 67.158.26.1 and allocation pool is NOT set 2025-09-11 01:59:27,296 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55538732:ctest-vn1-98698863 is 26.91.111.65 and allocation pool is NOT set 2025-09-11 01:59:29,361 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.780 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.780/4.162/7.545/3.382 ms') 2025-09-11 01:59:29,361 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-33118816 passed 2025-09-11 01:59:29,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 01:59:29,508 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-33118816, IP 67.158.26.5, Port 22 2025-09-11 01:59:29,677 - DEBUG - VM ctest-vn1-vm1-33118816 is ready for SSH connections 2025-09-11 01:59:29,677 - INFO - Waiting for VM ctest-vn1-vm2-29722779 to be up.. 2025-09-11 01:59:29,753 - DEBUG - VM is in ACTIVE state now 2025-09-11 01:59:29,753 - INFO - VM name : ctest-vn1-vm2-29722779 2025-09-11 01:59:29,822 - DEBUG - VM ctest-vn1-vm2-29722779 ID is 364ebe42-0b7f-488f-b5b8-af09dc40e154 2025-09-11 01:59:29,822 - DEBUG - VM ctest-vn1-vm2-29722779 launched on Node cn-jenkins-deploy-platform-ansible-os-4076-1 2025-09-11 01:59:29,900 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/364ebe42-0b7f-488f-b5b8-af09dc40e154 2025-09-11 01:59:29,908 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e1542ce9-1074-4f2d-83dc-3f6b6a9aef92 2025-09-11 01:59:31,142 - 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=2.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.520 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.520/1.716/2.912/1.196 ms') 2025-09-11 01:59:31,142 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-29722779 passed 2025-09-11 01:59:31,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 01:59:31,296 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-29722779, IP 26.91.111.69, Port 22 2025-09-11 01:59:31,459 - DEBUG - VM ctest-vn1-vm2-29722779 is ready for SSH connections 2025-09-11 01:59:31,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 01:59:31,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 01:59:31,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 01:59:31,459 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.158.26.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-11 01:59:31,459 - DEBUG - ping -s 56 -c 3 -W 1 67.158.26.5 2025-09-11 01:59:34,164 - DEBUG - PING 67.158.26.5 (67.158.26.5): 56 data bytes 64 bytes from 67.158.26.5: seq=0 ttl=63 time=3.798 ms 64 bytes from 67.158.26.5: seq=1 ttl=63 time=0.914 ms 64 bytes from 67.158.26.5: seq=2 ttl=63 time=1.052 ms --- 67.158.26.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/1.921/3.798 ms 2025-09-11 01:59:34,164 - INFO - Ping to IP 67.158.26.5 from VM ctest-vn1-vm2-29722779 passed 2025-09-11 01:59:34,164 - INFO - Detaching port e1542ce9-1074-4f2d-83dc-3f6b6a9aef92 from VM ctest-vn1-vm2-29722779 2025-09-11 01:59:34,209 - INFO - Deleting VM ctest-vn1-vm2-29722779 2025-09-11 01:59:34,270 - INFO - Detaching port 91199ffe-a207-4110-9ea1-8784234d8e84 from VM ctest-vn1-vm1-33118816 2025-09-11 01:59:34,305 - INFO - Deleting VM ctest-vn1-vm1-33118816 2025-09-11 01:59:34,535 - DEBUG - Response for delete_port : () 2025-09-11 01:59:34,706 - DEBUG - Response for delete_port : () 2025-09-11 01:59:34,706 - INFO - Deleting VN ctest-vn1-98698863 2025-09-11 01:59:34,848 - DEBUG - Response for deleting network () 2025-09-11 01:59:35,104 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 01:59:35,105 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-11 01:59:35,105 - INFO - -------------------------------------------------------------------------------- 2025-09-11 01:59:35,777 - INFO - Deleted project: ctest-TestPorts-55538732, ID : f1c22fa4-af30-423e-8e9d-b8a6fe65ca64